Mon Nov 9 03:52:37 2015 by Maezar |
Hello, I'd love to run this on my Mac but I haven't got a clue where to begin. I tried the Windows exe in parallels but it gives me the "matrix" window someone else mentioned... nothing but scrolling gibberish in a terminal. Any help would be appreciated. I have xXode, so I can run make, but I'm not sure what to do beyond that. Thanks,, -- M@ |
Mon Nov 9 05:12:27 2015 by M |
Well I got it running in Windows using VP Planet Generator. Trouble now is that I can render images, but I cannot for the life of me figure out how to SAVE them to disk. Any tips? Is there a manual? |
Mon Nov 9 10:44:18 2015 by Torben |
If you have Xcode, you should be able to compile using gcc, e.g., by the commandgcc planet.c -lm -O2 -o planet and then run the planet program using commands like ./planet -w 800 -h 400 -pM -s 0.65421 -o test.bmp which should produce an 800×400 map using the Mollweide projection from the seed 0.65421 in the file test.bmp. See the manual for more command-line options. |
Mon Nov 9 21:23:26 2015 by Ron Vantreese |
> Trouble now is that I can render images, but I cannot for the life of me figure out how to SAVE them to disk. If you go back to the Launchpad and look at the top of it, there's a "disk" button, which is the Save button. You can save images. Or let me know if it doesn't work like that. > I tried the Windows exe in parallels but it gives me the "matrix" window someone else mentioned.... Are you using the [ ] Heightfield option? That will give you a matrix. You can copy the matrix and paste it in a text editor.... until I figure out how to rightly save a matrix of numbers. Also, if you go back to the Launchpad, there's a thingy that looks like 1 and 0 and 2 beams... that will normalize the matrix of numbers in the range of 0 to 1. Again, you can copy the matrix using Control-C and paste the matrix into a text editor (Control-V or Edit/Paste). Or, re-reading, it might be that you need to enter a command like this.... planet.exe [list of options] > myplanet.bmp The ">" means capture the output from terminal and write it into a file. Or... planet.exe [list of options] -o myplanet.bmp -o means write output into a file instead of terminal window. |