WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 03-11-2010, 11:59 AM
Josh Josh is offline
Join Date: Jan 2010
Posts: 63
Mirror: vizMatrix() - what exactly is this for?

Hi all

I'm having problem getting the code for the mirror example to work.

As long as I'm taking the default IVE map (the art gallery), everything works as expected, but when I'm trying to use the same code with my own map, then the mirroring is quite weird. It seems I have to place the mirror exactly on a specified spot, so it mirrors correctly, otherwise some stuff is not mirrored or the wrong "direction" of the room is mirrored... Strange stuff!

I guess it has something to do with his:

# Use existing mirror object within the room and specify the matrix
mirror = room.getChild('art04-FACES')
m = viz.Matrix()

Sadly I have no idea what to do with this... Anyone can tell me, what I have to do, so I can put my mirror to anywhere I want and it reflects correctly?

Thanks a lot
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

All times are GMT -7. The time now is 06:27 AM.

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