Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cherrymount

    Scaling a meshes normals

    Thanks timmay3141, But that's not it! I already have the D3DRS_NORMALIZENORMALS flag set to true. All I know, is that when I dont call the above scale function - the light works fine! And when I do - the light has no affect whatsoever. Here are the render flags I set...
  2. cherrymount

    Scaling a meshes normals

    Hello, I've got a problem when scaling a mesh: I don't know how to scale the normals. So when I resize my mesh - the lighting doesnt work! Here's the code: LPD3DXMESH ScaleMesh(LPD3DXMESH pMesh, double xscale, double yscale, double zscale){ struct Vertex { D3DXVECTOR3 pos...

Part and Inventory Search

Back
Top