WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-18-2010, 10:56 AM
Darkmax Darkmax is offline
Member
 
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)

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


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 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


All times are GMT -7. The time now is 12:47 PM.


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