Page 1 of 1
Spherical Texture Projection Problem during Transform
Posted: Wed Jun 02, 2021 7:46 am
by HBHATTI
I have a 2 K earth map, I am projecting a texture onto the sphere using the RGB texture node, when I transform my object to a different position the texture gets distorted very badly. What am I doing wrong?
Re: Spherical Texture Projection Problem during Transform
Posted: Wed Jun 02, 2021 9:21 pm
by juanjgon
Hmm, I'm not sure. Does your object have a proper UV map or are you using a projection node? If you want to share an example scene with this issue I could take a look at it here.
Thanks,
-Juanjo
Re: Spherical Texture Projection Problem during Transform
Posted: Thu Jun 03, 2021 3:12 am
by HBHATTI
- Files.zip
- Earth Files
- (9.54 MiB) Downloaded 134 times
Sure am attaching, just using simple projection mode. Appreciate the help, just have to relink the textures to your appropriate path
Re: Spherical Texture Projection Problem during Transform
Posted: Thu Jun 03, 2021 9:36 pm
by juanjgon
Sorry, you are transforming the object at the SOP level, which means that in fact, you are deforming the mesh, so a basic spherical projection centered in the origin is not going to work. You need to transform the object at the OBJ level or add a proper UV map to the sphere and remove the projection node.
Hope it helps,
-Juanjo
Re: Spherical Texture Projection Problem during Transform
Posted: Thu Jun 03, 2021 9:37 pm
by juanjgon
You could also add a transform node to the shader to match the sphere translation or rotation, but well, I think that a proper UV mapped sphere is the best solution to avoid problems.
Thanks,
-Juanjo
Re: Spherical Texture Projection Problem during Transform
Posted: Fri Jun 04, 2021 2:37 am
by HBHATTI
Thanks a million for the help

Now I have to learn how to do UV mapping lol

Or I may use object level transform. Appreciate the help