danday1974
Sep 23rd, 2002, 05:05 PM
Hi all
Ive just seen specular materials at work and Im well impressed. Ill post a little prog I made wen I have finished it so u can all have a look and be impressed too (for those of u who havent seen specular materials at work). Two things though:
(1) When I scale the mesh using D3DXMatrixScaling it mucks up the specular stuff - not too important but just in case some1 is aware of this and knows why this is making things go wrong I would be interested. (I got around this using conv3ds -m -s0.1 to scale the mesh to 1/10th of its original size).
(2) I havent used specular values with vertices. I assume wen u provide a vertex value for specular that is the specular power of the vertex?
Thanks :)
Dan
Ive just seen specular materials at work and Im well impressed. Ill post a little prog I made wen I have finished it so u can all have a look and be impressed too (for those of u who havent seen specular materials at work). Two things though:
(1) When I scale the mesh using D3DXMatrixScaling it mucks up the specular stuff - not too important but just in case some1 is aware of this and knows why this is making things go wrong I would be interested. (I got around this using conv3ds -m -s0.1 to scale the mesh to 1/10th of its original size).
(2) I havent used specular values with vertices. I assume wen u provide a vertex value for specular that is the specular power of the vertex?
Thanks :)
Dan