Creating a light reactive groundplane
Hi All,
Just thought I should post this tip in here with regards to how to create a light-reflective road surface...
ground = viz.addTexture('tarmac.jpg')
road = viz.addTexQuad(viz.WORLD,viz.MainScene,1000) # 100m sq quad
road.texture(ground)
road.setPosition(0,0,0) #
road.rotate(90,90,0)
road.appearance(viz.TEXGEN)
road.appearance(viz.TEXMODULATE)
Seems to work!
Mark
|