pedro3145

pedro3145

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Box Mapping instances. Dec. 28, 2014, 5:24 p.m.

eetu
If you want to have a sharp edge, check which axis is the closest to your normal, and choose between 3 mapping nodes based on that.

Ok, I implemented what you said and is working fine.

Now, the last problem is that the texture is not moving with the points/instances, and this causes the uv coordinates to “shift”. like in the following pictures. How can I fix this?

Thanks in advance.

Box Mapping instances. Dec. 28, 2014, 3:02 p.m.

eetu
Shading in Mantra happens in camera coordinates. You need to add a transform vop before the uv mapping vop to work in object coordinates.

Thanks for the quick response eetu!

I had to do a minor tweak to the scene you submitted, the texture was being projected on each instance and not as a whole, so I changed “To Space” to space:world.

Now, to fully address my problem I need to project the texture on each side of the instances (Box Mapping), right now the shader is only doing an Orthographic Projection. Any tips?

Box Mapping instances. Dec. 28, 2014, 1:49 p.m.

Hi!

How can I project a texture (Box Mapping) onto instances?
The issue I have is that the texture is always facing the camera, as shown in the following screenshots:

Thanks in advance.