View Single Post
Old 06-29-2011, 02:30 PM
Wehrdo Wehrdo is offline
Join Date: Jun 2011
Posts: 2
Normal Map Light

I have been trying to use normal maps in Vizard with the command

When I do this, the object becomes normal mapped, but light no longer affects it. For example, when running the following code, the cube is fully lit, but if I leave out the last line, the cube is dark like it should be.

import viz
import vizcam

cube = viz.add("bump_test.dae")

norm_map = viz.add("bump.jpg")
The same goes for adding lights. They do not light the normal mapped object. I have attached the files referenced in the above code.

Is this a bug, or is there something I'm doing wrong? Thanks for you help!
Attached Files
File Type: zip (6.2 KB, 351 views)
Reply With Quote