Jump to content

wo_space


mic

Recommended Posts

hello everyone! please help me to understand one moment. in tex_fog shader there are lines: p0 = wo_space(P); p1 = wo_space(Eye). Why we took P in object space is clear for me. But what is the object space of the Eye? in help we can read the following:

- When rendering, all variables are defined in 'camera' space

- Eye (read-only) - Position of the Eye

So, 'Eye' is the translate position of camera object, isn't it? And wo_space(Eye) is the position of xform SOP in camera object? 0 0 0 in most cases? I think i'm wrong somewhere..

Link to comment
Share on other sites

hmm.. i think i understood smth.. misunderstanding was caused of some differencies between global/local coords in maya and world/object spaces in houdini. in few words the answer is

World Space = Camera Space

Object Space = Global coords of the object

Texture Space = Local coords of the object.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...