Planet maps - rocky

Tips for creating and manipulating planet textures for Celestia.

Moderator: selden

Planet maps - rocky

Postby john Van Vliet » Sun Jun 27, 2010 12:19 am

i have been seeing a bunch of NON Simple Cylindrical maps on the mother load lately
just the other day i took a look at the "new" list a randomly looked at one ( i am not picking on any one it was just rand. and near the top of the list)
an example
Image
north pole
Image

there are at least two programs out that can do a good job of making rand textures
"PlanetMaker" -- not the version i have on the ML , that one is very old
-- this one handles 16 bit unsinged bumpmaps --
http://www.diku.dk/hjemmesider/ansatte/torbenm/Planet/
an example the bump was a 16 bit unsigned tiff
{./planet -pq -x -C burrows.col -i -0.04 -s 1.38 -o test.xpm}
the bump was a custom made 16 bit bump *.col file
Image Image
and a normal map { nmsu 6500 1024 4 0 4 <bump.gray> testnormal.png }
Image

and
fracplanet
http://www.bottlenose.demon.co.uk/share/fracplanet

Image Image Image

the color is not all that great .But can be fixed in Gimp
the bump is nice
the normal map is NOT from the fracplanet program . I used the nms tool
OpenSUSE 12.2 x86_64 & ScientificLinux 6.4 x86_64
Celestia SVN 5217
User avatar
john Van Vliet
 
Posts: 2354
Joined: Wed Aug 28, 2002 3:08 pm

Re: Planet maps - rocky

Postby InconspicuousBarrel » Sun Jun 27, 2010 12:26 pm

It might just be my compiler (GCC through Code::Blocks) or my OS (Win7 64), but whenever I compile planet.c and run the resulting exe a command prompt window pops up and a second later it starts beeping and flashing seemingly random symbols.
Last edited by InconspicuousBarrel on Sun Jun 27, 2010 3:03 pm, edited 1 time in total.
InconspicuousBarrel
 
Posts: 55
Joined: Thu Apr 08, 2010 8:07 pm

Re: Planet maps - rocky

Postby john Van Vliet » Sun Jun 27, 2010 1:49 pm

well there is no gui it is text only

i do not own win7 64 bit so i have not done a windows build

and how are you running it ?
from cmd.exe ?
Code: Select all
planet.exe -pq -x -C burrows.col -i -0.04 -s 1.38 -o test.xpm

-- edit --
on MS Windows you might need to play with the format of the output
? change -x to -P and *.xpm to *.bmp or ppm

also the only way i get a 16 bit gray bump is to import the xmp into Nip2 ( using the imagemagick Q16 ) api

? photoshop ?? might ?
OpenSUSE 12.2 x86_64 & ScientificLinux 6.4 x86_64
Celestia SVN 5217
User avatar
john Van Vliet
 
Posts: 2354
Joined: Wed Aug 28, 2002 3:08 pm

Re: Planet maps - rocky

Postby john Van Vliet » Mon Jul 12, 2010 11:18 pm

here is a windows 32 bit MinGW build of Planet.c
http://www.zshare.net/download/7826067340ff15ec/
this works on XP so win7 64 ???? who knows ?
i do not plan on installing QT on windows xp so there will not be a build of the new fracplanet for MS Windows
OpenSUSE 12.2 x86_64 & ScientificLinux 6.4 x86_64
Celestia SVN 5217
User avatar
john Van Vliet
 
Posts: 2354
Joined: Wed Aug 28, 2002 3:08 pm

Re: Planet maps - rocky

Postby selden » Tue Jul 13, 2010 5:37 am

it seems to run OK under w7
whether it produces the right result is currently unknown.
:)
Selden
User avatar
selden
 
Posts: 9902
Joined: Tue Sep 03, 2002 7:21 pm
Location: NY, USA

Re: Planet maps - rocky

Postby john Van Vliet » Tue Jul 13, 2010 11:37 am

it seems to run OK under w7
whether it produces the right result is currently unknown.

in the " Manuel.txt"
i added a few examples and put the output in a folder

and the last is a 16 bit topo
Code: Select all
planet -pq -x -C 16bit.col  -s 1.41421  -o test2.ppm
convert -depth 16 test2.ppm test2a.tif


the ppm is in a "nonstandard " format 16bit RGB -- hence the "convert"
OpenSUSE 12.2 x86_64 & ScientificLinux 6.4 x86_64
Celestia SVN 5217
User avatar
john Van Vliet
 
Posts: 2354
Joined: Wed Aug 28, 2002 3:08 pm


Return to Textures

Who is online

Users browsing this forum: Bing [Bot] and 1 guest