Sankar Kumar Posted October 26, 2015 Share Posted October 26, 2015 Hello Friends, I have doubt, How do we project an image on packed primitive geometries (having very high poly counts) without unpacking them. I used copy sop to scatter the packed geometries on a plane. If i unpack the geometry the projection will work. Any one give me a good suggestion. Quote Link to comment Share on other sites More sharing options...
koen Posted October 26, 2015 Share Posted October 26, 2015 Can you do it in the shader? If you transform P into ndc space you can easily look up an image. If you store rest-p, you can make it stick to a frame. Cheers, koen 1 Quote Link to comment Share on other sites More sharing options...
Sankar Kumar Posted October 26, 2015 Author Share Posted October 26, 2015 (edited) Can you do it in the shader? If you transform P into ndc space you can easily look up an image. If you store rest-p, you can make it stick to a frame. Cheers, koen Can you give me a detail tip please, Can't able to understand this method. I am getting projection without unpacking the geos but how to connect specific camera/UV texture. Thanks in advance Edited October 26, 2015 by sankarakumar Quote Link to comment Share on other sites More sharing options...
Sankar Kumar Posted October 26, 2015 Author Share Posted October 26, 2015 (edited) Got it Finally i figure it out thanks for the valuable tip It works for a specific camera, If i try to render other than projection camera it looks different. How do i store the rest-p Edited October 26, 2015 by sankarakumar Quote Link to comment Share on other sites More sharing options...
anim Posted October 26, 2015 Share Posted October 26, 2015 to use different camera than the one you are rendering with you will need to recreate camera projection in the shader, I remember seeing some examples on the forums, I'll try to look for them 1 Quote Link to comment Share on other sites More sharing options...
anim Posted October 26, 2015 Share Posted October 26, 2015 found it https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=171846#171846 you would need to plug rest VOP into P as well as you will have to have rest attribute on your geo (using Rest SOP) before packing and simming if you want it to be projected at the rest pose and then stick with your deformation 1 Quote Link to comment Share on other sites More sharing options...
Sankar Kumar Posted October 26, 2015 Author Share Posted October 26, 2015 Thank you very much, Tomas 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.