![]() |
|
#4
|
|||
|
|||
|
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()
|
|
|
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 |