WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-08-2011, 08:30 AM
natalia natalia is offline
Member
 
Join Date: Nov 2010
Posts: 2
Mirror question

Hello
I am curious how I can apply addMirror function, or better, how should I modify the script that I have found in WorldViz Knowledge Base called "Adding a Mirror", if I need to create other "mirrors" opposite the first one, and also two mirror glasses perpendicular to it. Actually, I have to make windows of metro carriage transparent and reflecting. I can't understand which parameters I have to change, what influences on the distance of clip plane and other distances, and how to manage it.
I would be thankful for any advice!
Reply With Quote
  #2  
Old 04-12-2011, 03:22 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
The mirror article was just updated to include some mirror examples that work with Vizard 4.

The mirror code does not support the reflection of one mirror inside of another.

You can add more than one mirror. Depending on your system and the complexity of your environment you can test to see what works for you. With each additional mirror there is more calculation necessary to render the scene. At some point the framerate will start to drop.

There is some example code towards the end of that article that describe how to change the alpha of a mirror object and change it's orientation.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 05:07 PM.


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