Search found 2 matches

by strangeland
Mon Dec 12, 2005 4:09 am
Forum: Bug reports
Topic: [fixed] .x face color
Replies: 9
Views: 1314

I confirmed this with the DirectX SDK docs available here. It would nice if this were corrected for the next release.
by strangeland
Fri Dec 09, 2005 6:37 pm
Forum: Bug reports
Topic: [fixed] .x face color
Replies: 9
Views: 1314

[fixed] .x face color

The direct x file loader reads the face color incorrectly:
In the file "CXFileReader.cpp":

bool CXFileReader::parseDataObjectMaterial(SXMaterial& material)
{
...
// read RGBA

findNextNoneWhiteSpaceNumber();
material.FaceColor.a = readFloat();
findNextNoneWhiteSpaceNumber();
material ...