mic Posted August 20, 2008 Share Posted August 20, 2008 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.. Quote Link to comment Share on other sites More sharing options...
mic Posted August 20, 2008 Author Share Posted August 20, 2008 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. Quote Link to comment Share on other sites More sharing options...
poltergeist Posted August 20, 2008 Share Posted August 20, 2008 http://odforce.net/wiki/index.php/Spaces Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.