WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 01-14-2011, 05:31 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The ground has lighting baked into it and does not seem to respond like the rest of the model with real time lighting. You could try blending in a black texture with the ground to darken it so it matches the surroundings. I created a black texture in an image editor and used the following code and it worked ok for a night scene:
Code:
blackTexture = viz.addTexture('black.jpg')

ground = city.getChild('ground')
ground.texture(blackTexture,unit=3)
ground.texblend(0.8,unit=3)

lanes = city.getChild('lanes')
lanes.texture(blackTexture,unit=3)
lanes.texblend(0.8,unit=3)

sidewalks = city.getChild('sidewalks')
sidewalks.texture(blackTexture,unit=3)
sidewalks.texblend(0.8,unit=3)
For the sky, you could set the background to different colors instead of using the sky texture.
Reply With Quote
 


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
Realistic Light and Shadows Using Vizard and 3DS Max jde Vizard 4 07-13-2012 10:58 AM
lighting and on-the-fly objects michaelrepucci Vizard 12 02-11-2011 08:26 AM
basic lighting question malte Vizard 6 12-01-2010 12:25 PM
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
The effect of lighting on performance JRichizzle Vizard 1 06-18-2004 10:40 AM


All times are GMT -7. The time now is 10:21 AM.


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