WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Infinite Terrain (https://forum.worldviz.com/showthread.php?t=4681)

slinkenauger 07-16-2013 01:26 PM

Infinite Terrain
 
Hi,
My infinite terrain is being displayed quite a bit below the origin position 0,0,0. I have tried set position; however, it doesn't work. Any ideas on how to get the terrain positioned where I need it?

Jeff 07-16-2013 05:07 PM

I'm not sure how to add an offset to the terrain. Have you tried applying an offset to the viewpoint?

slinkenauger 07-17-2013 05:10 AM

potentially, I could, but the problem is that when the tracking system is calibrated to 0,0,0, so I really need the terrain to be at floor position. Is it the default for it to be below the origin?

Jeff 07-19-2013 10:49 AM

Are you linking the viewpoint to the tracker? If so, you can apply a postTrans operation on the link so the viewpoint is below the tracker:
Code:

viewLink = viz.link(tracker, viz.MainView)
#move the viewpoint 1 meter below the tracker
viewLink.postTrans([0,-1,0])


slinkenauger 07-22-2013 10:53 AM

I'll give it a shot; thanks!


All times are GMT -7. The time now is 01:42 AM.

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