#1
|
|||
|
|||
how to hide 3D virtual object behind real object?
how in aumented reality i could resolve this problem(this also can be apply for a vr app to hide one virtual object behind another one but not showing the front one)
http://www.student.tue.nl/q/p.r.herm...creenshot2.jpg this image is not mine, i find it in artoolkit forum but it shows what is my problem. in that thread they told him to use occlude maps but i'm trying to do that but i cant. in 3ds max i try to use the matte shadow but when i export the model i doesn't work. I don't know if i can disable the colors of the virtual object Last edited by Darkmax; 03-18-2010 at 11:03 AM. |
#2
|
|||
|
|||
You can use node.disable(viz.COLOR_WRITE) to disable rendering the node to the color buffer. It will still be rendered to the depth buffer, which means it will occlude objects behind it.
|
#3
|
|||
|
|||
thanks it works
|
#4
|
|||
|
|||
I guess <node>.drawOrder(-1) is also should be their...
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
retrieve Object names | Geoffrey | Vizard | 11 | 12-11-2009 05:26 AM |
why is time faster in my virtual world? | billjarrold | Vizard | 1 | 11-24-2009 06:33 PM |
Human FOV and VIrtual FOV | giancamati | Vizard | 0 | 12-14-2006 04:33 AM |
rotate to object | jargon | Vizard | 1 | 08-08-2005 01:20 PM |