Maps polar coordinates

Started by diverone, May 13, 2019, 07:37:15 pm

Previous topic - Next topic

diverone

Im trying to render out some nice Earth - Mars images closer to the upper atmosphere etc. How do I keep the map from pinching towards the polars like you see here? Far away it looks good but I can't displace or get any closer. Thanks. I did click translate textures in Planet Object etc.

bobbystahr

I think that's a bug that has yet to be overcome...see the attached thread


Re: Continents?
« Reply #4 on: June 10, 2011, 04:45:21 PM »
Quote
In the image map shader, you might want to change the projection from "Through camera" to Spherical and copy your planet's coordinates to the image map shader's center. Seeing as your image map isn't corrected for spherical projection, you'll get pinched landmasses near the poles. TG2's default camera position is near the north pole, move the camera closer to the equator so you don't see the pinched con
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

cyphyr

May 14, 2019, 04:21:27 pm #2 Last Edit: May 14, 2019, 04:23:17 pm by cyphyr
If you are using proper spherical image-maps this shouldn't be a problem.

The simplest solution would be to copy your planets position (the coordinates shown in the planet node, usually, 0, -6.378e+006, 0) to your image map shaders coordinates and make sure you have spherical projection selected.

Alternatively, you could reset your planets position to 0,0,0 and keep the image map shaders coordinates at their default of 0,0,0.

Basically, if the image map coordinates and the planet coordinates match and you have a proper spherical projection image it should work.

That said it is in the nature of geometry that you can't effectively map a plane onto a sphere so there will always be some distortion at the poles. If you can find a polar image map you could cover the poles with a masked plan y projection of just the polar regions.

Finally ... don't sweat what you can't see. Unless you actually need to see a particular region in your shot don't worry if the data is not working there. Just point the camera where the good stuff is and you're good to go.
www.richardfraser.co.uk
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 3900X @3.79Ghz, 64Gb (TG4 benchmark 6:20)
i7 5930K @3.5Ghz, 32Gb (TG4 benchmark 13.44)