WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-23-2010, 05:29 AM
kovitch kovitch is offline
Member
 
Join Date: Sep 2010
Posts: 30
Question Plain Infinite Terrain + Sky

Hi,

I'm trying to generate an infinite and plain terrain to my vizard world. However, I am troubled, because using:

Code:
terrain = viz.add('InfiniteTerrain.dlc',1,'0',0,30,15000,0.0005)
will mess with my sky texture (using skydome). The other problem is that the terrain doesn't seem 100% plain.

How can I solve this issues?
Reply With Quote
  #2  
Old 12-23-2010, 12:09 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Does this work for you?
Code:
import viz
viz.go()

viz.MainWindow.clip(1, 1000)

terrain = viz.add('InfiniteTerrain.dlc',1,'0',0,30,15000,0.0005)

env = viz.add(viz.ENVIRONMENT_MAP,'sky.jpg')
sky = viz.add('skydome.dlc') 
sky.texture(env)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Near and far clipping on infinite terrain vijaykiran Vizard 2 01-21-2011 04:59 AM
Infinite terrain code Saz Vizard 2 11-06-2008 02:32 AM
How to make avatars to follow terrain while walking? yyang Vizard 1 08-04-2008 02:54 PM
generate an infinite terrain vadrian Vizard 4 09-15-2004 01:09 PM
Can I see infinite distance sled Vizard 2 07-16-2003 04:18 PM


All times are GMT -7. The time now is 01:40 PM.


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