View previous topic :: View next topic |
Author |
Message |
AlexanderX Member
Joined: 19 Jul 2005 Posts: 3
|
Posted: Wed Aug 24, 2005 9:12 am Post subject: Are the normals normalized? |
|
|
Hi! I'd have a question: if I export a project to a DirectX .X file, are the normals normalized? If not, [exuse me for the off-topic] do you know a way to normalize them in a DirectX application?
Thanks a lot! |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Wed Aug 24, 2005 2:20 pm Post subject: |
|
|
Yes they are. In D3D I guess you could use something like pD3DDevice->SetRenderState(D3DRS_NORMALIZENORMALS, TRUE);, but there are probably ways to normalize them once before the actual rendering takes place, too. |
|
Back to top |
|
|
|