Cube mapping
Moderators: winston, another_commander
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Cube mapping
E-mail: [email protected]
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Screenshots
Which is why I asked to see the poles...Ahruman wrote:Nasty deprecated lat/long texture maps make me sad.
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Screenshots
Having something which is obviously very useful downloaded and sitting on my desktop with no instructions or user-guide makes me sad.Ahruman wrote:Nasty deprecated lat/long texture maps make me sad.
Please tell me how to use it!
Commander Smivs, the friendliest Gourd this side of Riedquat.
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Screenshots
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”?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!
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.
E-mail: [email protected]
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Screenshots
It’s not just the poles. If you look closely at the rings, you’ll see that they form smoothed pentagons:DaddyHoggy wrote:Which is why I asked to see the poles...
A similar deformation exists along all six vertex axes of the underlying icosahedron.
E-mail: [email protected]
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Cube mapping
So they do. Never really noticed, or perhaps I did, and it just wasn't as obvious as the neat pentagon in the centre...
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Screenshots
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'.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”?
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.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Cube mapping
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.Ahruman wrote:
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.