WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 03-18-2010, 09:56 AM
Darkmax Darkmax is offline
Join Date: Feb 2010
Posts: 108
Smile 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)

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 10:03 AM.
Reply With Quote
Old 03-18-2010, 10:31 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
Old 03-18-2010, 10:36 AM
Darkmax Darkmax is offline
Join Date: Feb 2010
Posts: 108
thanks it works
Reply With Quote
Old 05-29-2012, 09:39 AM
goro goro is offline
Join Date: May 2012
Posts: 33
I guess <node>.drawOrder(-1) is also should be their...
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
retrieve Object names Geoffrey Vizard 11 12-11-2009 04:26 AM
why is time faster in my virtual world? billjarrold Vizard 1 11-24-2009 05:33 PM
Human FOV and VIrtual FOV giancamati Vizard 0 12-14-2006 03:33 AM
rotate to object jargon Vizard 1 08-08-2005 12:20 PM

All times are GMT -7. The time now is 09:10 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC