#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
I'm not sure how to add an offset to the terrain. Have you tried applying an offset to the viewpoint?
|
#3
|
|||
|
|||
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?
|
#4
|
|||
|
|||
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]) |
#5
|
|||
|
|||
I'll give it a shot; thanks!
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
infinite terrain | shahramy | Vizard | 0 | 11-05-2011 02:34 AM |
Near and far clipping on infinite terrain | vijaykiran | Vizard | 2 | 01-21-2011 04:59 AM |
Plain Infinite Terrain + Sky | kovitch | Vizard | 1 | 12-23-2010 12:09 PM |
Infinite terrain code | Saz | Vizard | 2 | 11-06-2008 02:32 AM |
generate an infinite terrain | vadrian | Vizard | 4 | 09-15-2004 01:09 PM |