View Single Post
  #1  
Old 01-12-2005, 02:06 PM
vadrian vadrian is offline
Member
 
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')
sky.texture(env_map)

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)

and

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

and

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

but the code either throws an error, or it doesn't change anything.
Reply With Quote