![]() |
|
#1
|
|||
|
|||
This thread is discussing the exact issue we need in our project. But after many tries, I still could not make the 3D effect on the on-the-fly objects. The cylinder and cone do not have the same lighting effect with the imported 3D ball. I changed the value of obj.shininess, obj.emissive,obj.specular, and etc. but it does not work. I believe Vizard does support this function, I just could not figure out how to make it happen. Can anybody help. I apprecate it....
Last edited by renama; 02-09-2011 at 07:01 PM. |
#2
|
|||
|
|||
How are you creating the cone/cylinder objects? Are you using the vizshape module?
I just tried it out, and the cylinder object created by the vizshape module is affected by light. If you could provide some sample code, that might help us debug your issue. |
#3
|
|||
|
|||
We use on-the-fly object by using viz.startlayer(), viz.endlayer(). I did not know the vizshape module. That works better. Thank you!
|
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
lighting issue | cantwelljm | Vizard | 3 | 02-18-2006 08:21 AM |
The effect of lighting on performance | JRichizzle | Vizard | 1 | 06-18-2004 10:40 AM |
Problems with lighting in 2.0 | murm | Vizard | 6 | 04-21-2004 09:59 AM |
Lighting Problem | Plasma | Vizard | 1 | 02-03-2004 11:09 AM |
Vizard 2.0x lighting | FlyingWren | Vizard | 4 | 08-11-2003 12:20 PM |