Planetside Software Forums

General => Terragen Discussion => Topic started by: Jack on December 24, 2008, 09:16:12 PM

Title: mapping an image on a planet
Post by: Jack on December 24, 2008, 09:16:12 PM
hello planetside forums

im new here :)
i have tried to map am image map of jupiter on to the default planet but every time I rotate the camera th map rotates with it ???
how do I rotate the camera and get the image map of jupiter to stay in the same place?
sam
Title: Re: mapping an image on a planet
Post by: Oshyan on December 24, 2008, 09:42:21 PM
It sounds like you're using "through camera" projection. If your source image is in spherical projection, then you should use the same "spherical projection" in the Image Map Shader. You will need to set the position of the shader to the same as the planet in order for it to work correctly.

If your image is *not* in spherical projection (for example a picture of Jupiter from a NASA probe), then you will not get proper planetary coverage, but you can still use it with through camera projection if you really want to. In this case you would simply make a copy of your main camera, keeping it static, and link your through camera texture projection to the camera copy rather than your original camera.

- Oshyan