WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-16-2016, 05:19 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
If you have the source file and 3ds Max you can create these effects using shaders. A light map is used to add shadows and light to a model. The emissive effect simulates glow emitted from the model.

If you don't have the source model try loading the model into Inspector and experiment with the positioning of directional or spot lights (create > light). To see the effects of the custom lights without the default headlight go to view > lighting and turn lighting off. To change the ambient color go to the view > colors menu. In Vizard, use the following to add your model with saved lights and disable the ambient light:

Code:
earth = vizfx.addChild('earth.osgb')
vizfx.setAmbientColor(viz.BLACK)
See the lighting effects page for more on lighting.
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
Change the color of button Eugene Vizard 1 06-23-2016 05:25 AM
Color roobert Vizard 4 07-26-2014 12:45 PM
Change textbox color? renama Vizard 2 10-19-2010 07:44 PM
trouble changing subnode (child node) color, alpha, etc. michaelrepucci Vizard 7 01-14-2009 08:38 PM
Changing the Color of On-the-Fly Objects vjosh Vizard 1 01-04-2005 11:48 PM


All times are GMT -7. The time now is 04:50 AM.


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