Spherical Texture Projection Problem during Transform

Houdini Integrated Plugin

Moderator: juanjgon

Post Reply
HBHATTI
Licensed Customer
Posts: 21
Joined: Fri Jun 07, 2019 10:15 pm

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?
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
HBHATTI
Licensed Customer
Posts: 21
Joined: Fri Jun 07, 2019 10:15 pm

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
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
Attachments
2021-06-03 23_36_39.jpg
HBHATTI
Licensed Customer
Posts: 21
Joined: Fri Jun 07, 2019 10:15 pm

Thanks a million for the help :) Now I have to learn how to do UV mapping lol :D Or I may use object level transform. Appreciate the help
Post Reply

Return to “Houdini”