WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-29-2011, 01:30 PM
Wehrdo Wehrdo is offline
Member
 
Join Date: Jun 2011
Posts: 2
Normal Map Light

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

Code:
object.bumpmap(imagefile)
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.

Code:
import viz
import vizcam
viz.go()

viz.cam.setHandler(vizcam.PivotNavigate())
viz.MainView.getHeadLight().disable()

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

norm_map = viz.add("bump.jpg")
cube.bumpmap(norm_map)
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 normal_map.zip (6.2 KB, 1160 views)
Reply With Quote
  #2  
Old 07-06-2011, 06:45 AM
Wehrdo Wehrdo is offline
Member
 
Join Date: Jun 2011
Posts: 2
Do I need to explain the problem better, or is everybody just as stumped as I am?
Reply With Quote
Reply

Tags
bump map, bumpmap, normal map

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 10:58 AM
Ambient light Enlil Vizard 0 05-03-2011 08:48 AM
V-Realm Builder background and light load problems mizutani_jun Vizard 0 10-08-2010 12:46 AM
Normal Map Workflow for Vizard shivanangel Vizard 2 03-10-2009 06:54 PM
Light parents in funny scenes Gladsomebeast Vizard 1 12-17-2008 11:38 AM


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


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