WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 01-12-2005, 02:06 PM
vadrian vadrian is offline
Join Date: Sep 2004
Posts: 32
environment maps, scenes, and you!

so i want to make an experiment where i change the scenes (each with a different environment map). the code i have from the examples is:

env_map = viz.add(viz.ENVIRONMENT_MAP,'Terrain.png')
sky = viz.add('skydome.dlc')

however, this only adds the terrain to the first scene. i have tried

env_map = viz.add(viz.ENVIRONMENT_MAP,'Terrain.png', viz.WORLD, scene)


sky = viz.add('skydome.dlc', scene)


sky = viz.add('skydome.dlc', viz.WORLD, scene)

but the code either throws an error, or it doesn't change anything.
Reply With Quote
Old 01-12-2005, 04:04 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

To add the skydome to the second scene you would do the following:
skydome = viz.add('skydome.dlc',0,'',0,0,0,0,viz.WORLD,2)
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 11:23 PM.

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