Page 1 of 1

Cube mapping

Posted: Tue Jun 07, 2011 6:38 pm
by JensAyton
Moderator: split from here.

Nasty deprecated lat/long texture maps make me sad. :-(

Re: Screenshots

Posted: Tue Jun 07, 2011 6:50 pm
by DaddyHoggy
Ahruman wrote:
Nasty deprecated lat/long texture maps make me sad. :-(
Which is why I asked to see the poles...

Re: Screenshots

Posted: Tue Jun 07, 2011 6:59 pm
by Smivs
Ahruman wrote:
Nasty deprecated lat/long texture maps make me sad. :-(
Having something which is obviously very useful downloaded and sitting on my desktop with no instructions or user-guide makes me sad.
Please tell me how to use it!

Re: Screenshots

Posted: Tue Jun 07, 2011 7:00 pm
by another_commander
Use the Force, Smivs, use the Cube Maps.

Re: Screenshots

Posted: Tue Jun 07, 2011 8:19 pm
by JensAyton
Smivs wrote:
Having something which is obviously very useful downloaded and sitting on my desktop with no instructions or user-guide makes me sad.
Please tell me how to use it!
The thread I linked to quotes the tool’s built-in documentation, and links to the longer documentation on the wiki. How does this constitute “no instructions”?

In the example from the first post of that thread:
planettool --input latlong [i]my-latlong-map.png[/i] --output cube [i]my-cube-map.png[/i] --flip --size [i]512[/i]
the lat/long texture map my-latlong-map.png is converted to a cube map my-cube-map.png of size 512 (meaning each of the six sides is 512 × 512 pixels). The game will recognise it as a cube map based on its shape.

This glosses over the issue of putting the tool where the command line can find it. How to do this varies by platform. An alternative is to specify the path to the tool; for Mac OS X and most Linuxes, that would be ~/Desktop/planettool if the tool itself is on the desktop. I don’t know the equivalent for Linux.

If you have any other issues with the documentation, please be specific.

Re: Screenshots

Posted: Tue Jun 07, 2011 8:23 pm
by JensAyton
DaddyHoggy wrote:
Which is why I asked to see the poles...
It’s not just the poles. If you look closely at the rings, you’ll see that they form smoothed pentagons:
Image

A similar deformation exists along all six vertex axes of the underlying icosahedron.

Re: Cube mapping

Posted: Tue Jun 07, 2011 8:34 pm
by DaddyHoggy
So they do. Never really noticed, or perhaps I did, and it just wasn't as obvious as the neat pentagon in the centre...

Re: Screenshots

Posted: Tue Jun 07, 2011 8:34 pm
by Smivs
Ahruman wrote:
The thread I linked to quotes the tool’s built-in documentation, and links to the longer documentation on the wiki. How does this constitute “no instructions”?
OK, thanks. The 'in-built documentation' is starting to make sense after my fifth read of it, so I'll probably understand it eventually. The first read through left me baffled, so much so I didn't even realise this was the 'instructions'.
I hadn't read down to the second post on the second page, so I missed the link to the Wiki altogether.
I'll see how I get on. I expect I'll be back.

Re: Cube mapping

Posted: Tue Jun 07, 2011 8:37 pm
by JensAyton

Re: Cube mapping

Posted: Tue Jun 07, 2011 8:41 pm
by DaddyHoggy
I saw this effect on a programme about 20 or 30 years ago (Horizon, QED or something similar) - they also recreated Jupiter's Red Spot in the same show.