Interior Mapping Shader Help

   2981   1   0
User Avatar
Member
6 posts
Joined: Oct. 2012
Offline
Hi!

Am having a problem trying to get my version of an interior mapping shader to work in Houdini. http://www.proun-gam…riorMapping.txt [proun-gam]

The surface takes two inputs position(P) and a direction from camera(I).

It works fine in world position however I would like to translate the geometry so as best to fit my “windows” in different positions/rotations. When I do this at object level the shader sticks to the surface and works fine.

How do I replicate this effect when transforming the geometry at sop level?

Using a rest position instead of the world position works for translation, however, if I rotate the surface it warps. How do I translate my I vector so that it will work as it does at object level?

Any help is much appreciated! I am really lacking in maths knowledge here and would appreciate anyone weighing in with their thoughts.

Files attached Thanks!

Attachments:
interiorMapping.rar (278.5 KB)

User Avatar
Member
8555 posts
Joined: July 2007
Online
http://forums.odforce.net/topic/19078-interior-mapping-shader-help/?p=114893 [forums.odforce.net]
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links