Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Bug #664: Bugs in Matetrial Editor (MatED)
Product:
TV3D SDK 6.2
Language:
C#
Current State:
New
Resolution:
Unconfirmed
Created On:
February 7th, 2007
Last Modified:
February 7th, 2007
Reported By:
odaohan
There are couple of bugs for the generated code in C# using Material Editor.

1. The alpha value (the 4th parameter) of the My_D3DLight8's ambient, diffuse, and specular color is set to a wrong number (material's specular power value is used by mistake), so it needs to be changed to a proper value like 1.0f.

2. My_D3DLight8.Ambient, My_D3DLight8.Diffuse, and My_D3DLight8.Specular, should be My_D3DLight8.ambient, My_D3DLight8.diffuse, and My_D3DLight8.specular.

3. For assignment of My_D3DLight8.Ambient, My_D3DLight8.Attenuation0, My_D3DLight8.Attenuation1, and My_D3DLight8.Attenuation2, it has colon ':' in front of the assignment sign '=' by mistake, sothose need to be removed.

4. global.vector should be global.Vector, and global.dxcolor should be global.DXColor

Comments:

No comments available.