willlinks Posted May 13, 2010 Share Posted May 13, 2010 Hi everyone, I'm trying to render world-position information for each object in the scene so that I can use it in comp. I tried VEX variable "P" in mantra but it looks like position based on camera... I attached the picture of the shot and position Y which I rendered with rgb and picked green channel in comp. You can see different y value on the same ground plate... Is there any way to do that? I appreciate it if you can help me. Thanks. Quote Link to comment Share on other sites More sharing options...
anim Posted May 13, 2010 Share Posted May 13, 2010 you can export P from your shader converted to world space with Transform VOP, name the variable for example "worldP" then in Mantra ROP create new image plane with "worldP" vector variable if you are not sure how to export variables from shaders, look inside for example Basic Surface Material there are green nodes like DiffuseExport, PaintExport, ... it's basic Parameter VOP, set as Export Always, invisible, correct type and Parameter Name set as you want your variable to call Quote Link to comment Share on other sites More sharing options...
willlinks Posted May 13, 2010 Author Share Posted May 13, 2010 Hello again Tomas, Thanks for helping me every time. Yeah, that was exactly what I wanted! I really appreciate your help 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.