WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-07-2014, 12:03 PM
shivanangel shivanangel is offline
Member
 
Join Date: Feb 2006
Location: New Jersey
Posts: 182
That worked for the ambient occlusion map, however I'm not getting any lighting (specular in particular).
I added the model.enable(viz.LIGHTING) however I noticed no change.
Neither the headlamp seems to be doing anything or a basic directional light.

I also tried adding a light in the inspector and saving the model, but with nothing showing up in Vizard.

Code:
import viz
import vizfx
viz.enable(viz.EFFECTGEN_OSGMAXEXP)

viz.setMultiSample(4)
viz.go(viz.FULLSCREEN)
coolingCylinder = vizfx.addChild('StaticModels_New//CoolingCylinder.OSGT')
coolingCylinder.enable( viz.LIGHTING) 
viz.sensitivity(10, 0.75)

viz.addLight()
~George
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 11:58 AM
Vizard 4 Beta Testing farshizzo Announcements 0 02-01-2011 11:46 AM
Vizard 4 Beta Testing farshizzo Vizard 0 02-01-2011 11:46 AM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 12:13 PM
Particle effects in Vizard v-Salik Vizard 1 09-20-2007 04:42 PM


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


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