WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   cave distortion (https://forum.worldviz.com/showthread.php?t=6052)

mms 08-22-2017 06:05 AM

cave distortion
 
Hi,

is there a way to turn off the cave distortion correction or is it possible to apply the same distortion used in the cave configuration for a subwindow?

Best regards

Jeff 08-22-2017 09:24 PM

Quote:

is there a way to turn off the cave distortion correction
Can you explain what you are trying to do and the complete hardware setup?

Quote:

is it possible to apply the same distortion used in the cave configuration for a subwindow?
Yes, that's how the CAVE single machine example script is setup.

mms 08-24-2017 03:59 AM

I like to disable the distortion effect which is shown in this picture. http://docs.worldviz.com/vizard/images/cave_user.jpg
You can find this picture in the vizard 5 documentation in section “Position/Orientation tracking” of chapter “vizcave basics”, too.

Jeff 08-25-2017 11:40 PM

If you set the head tracker of the CAVE to a fixed position there will be no updates to the projection matrices. You can still move the CAVE origin around. Here's an example using the powerwall script:

Code:

'''
Use arrow keys and mouse
to move the viewpoint
'''

import viz
import vizcave
import viztracker
import vizinfo

viz.go()
vizinfo.InfoPanel()

#Dimension of PowerWall in meters
WIDTH      = 3.0
HEIGHT      = 3.0
DISTANCE    = 2.0

#Create single power wall
PowerWall = vizcave.Wall(  upperLeft=(-WIDTH/2.0,HEIGHT,DISTANCE),
                                                upperRight=(WIDTH/2.0,HEIGHT,DISTANCE),
                                                lowerLeft=(-WIDTH/2.0,0.0,DISTANCE),
                                                lowerRight=(WIDTH/2.0,0.0,DISTANCE),
                                                name='Power Wall' )

cave = vizcave.Cave()
cave.addWall(PowerWall)

# Set a fixed position for the cave tracker
head_tracker = viz.addGroup(pos=[0,1.8,0])
cave.setTracker(head_tracker)

cave_origin = vizcave.CaveView(head_tracker)
origin_tracker = viztracker.KeyboardMouse6DOF()
origin_link = viz.link(origin_tracker, cave_origin)

#Add gallery environment model
viz.add('gallery.osgb')



All times are GMT -7. The time now is 02:39 PM.

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