newPeak Posted October 23, 2007 Share Posted October 23, 2007 How to assign shader to DOP Objects ? Quote Link to comment Share on other sites More sharing options...
SpencerL Posted October 23, 2007 Share Posted October 23, 2007 How to assign shader to DOP Objects? You need to bring your DOP objects into SOPs and apply your shaders in the SOP/OBJ context. Quote Link to comment Share on other sites More sharing options...
newPeak Posted October 23, 2007 Author Share Posted October 23, 2007 Thank you very much! Quote Link to comment Share on other sites More sharing options...
crunch Posted October 23, 2007 Share Posted October 23, 2007 How to assign shader to DOP Objects ? In theory, in H9, you can use the render parms to assign a material to DOP objects. For example, your material could have a delayed load geometry shader to load geometry from disk as well as setting surface/displacement shading. However, there do seem to be some problems (transforms don't seem correct, etc.), so it probably is best to bring the DOPs back into SOPs and apply the shaders there. Quote Link to comment Share on other sites More sharing options...
curveU Posted May 21, 2008 Share Posted May 21, 2008 (edited) Hello, I want to know the right workflow for this case. when I use DOP Import or Object Merge to get a DOP object out to SOP and then assign a shader to it, it seems my material is assigned in word space, not the object space. When the object is falling down, the shader pattern (like those textures on Marble material) is changing. Maybe this is a basic question, but I just can't find where I could change the shader space. Thanks EDIT: I attached a test file with the problem. I rendered it from frame 1 to frame 48, where I could see the shader is on world space. shader_problem.hipnc Edited May 21, 2008 by curveU Quote Link to comment Share on other sites More sharing options...
GallenWolf Posted May 21, 2008 Share Posted May 21, 2008 Heya, Took a very quick look through the file and shader, I think you either need to specify UVs on your sphere object, or use a Rest Position sop in your dop-imported geo for rendering. Which means you will need an object merge to bring in the original, non moving geometry to pipe into the 2nd input of the Rest Position SOP. GW Quote Link to comment Share on other sites More sharing options...
curveU Posted May 21, 2008 Share Posted May 21, 2008 Heya,Took a very quick look through the file and shader, I think you either need to specify UVs on your sphere object, or use a Rest Position sop in your dop-imported geo for rendering. Which means you will need an object merge to bring in the original, non moving geometry to pipe into the 2nd input of the Rest Position SOP. GW Hi GallenWolf, thanks a lot. It works pretty well. 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.