WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-29-2017, 01:05 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The piazza was created in 3ds Max with lighting baked into the model. One way to create a scene that has both day and night is to have two versions of the same model, each with it's own baked lighting.

To darken the piazza in Vizard you could try blending in a black texture as described here or use a post process effect:

Code:
import viz
viz.go()

piazza = viz.addChild('piazza.osgb')

import vizfx.postprocess
from vizfx.postprocess.color import ExposureEffect
effect = ExposureEffect(-2)
vizfx.postprocess.addEffect(effect)
There's a night version of the sky you could swap in as well:

Code:
piazza.visible(viz.OFF,node='pz_skydome-GEODE')
viz.addChild('sky_night.osgb')
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing objects in scene Van Vizard 2 12-02-2016 02:04 AM
Changing scenes with proximity sensors BSUGeek Vizard 1 03-24-2015 01:10 AM
Changing parent without changing absolute global position? The SundanceKid Vizard 2 05-23-2014 02:43 PM
Get all Assets / Scene Root? shivanangel Vizard 0 03-26-2014 12:13 PM
Copying Scene? Brett Lindberg Vizard 0 08-28-2009 11:56 PM


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


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