Thanks to the information I collected on the forum, I've made a sample application to test different features of the DirectX and I figured that maybe some people who are even bigger newbies to DX than myself might have use for it and overcome some initial trivial problems, so feel free to download it, compile it, tell me if something went wrong so maybe we could learn together. It's sort of a 3DS viewport look-alike application that uses old 3DS4 ASCII files and DX-generic meshes, so play with it and reply, if you wish, here or to janko.jerinic@gmail.com
Btw. could someone resolve this: in my application, when you check the "Draw Generic Mesh" checkbox, you enable two of 'em up-down boxes where you choose among mesh types and a scaling factors. Now why does the mesh start to darken when you scale it?? Look at the code, it's just one more matrix beeing applied to the world transform. Uniform scale shouldn't affect the geometry in a way that vertex normals would be changed, so why the sudden change in light intensity???
Please help
Janko Jerinic
Btw. could someone resolve this: in my application, when you check the "Draw Generic Mesh" checkbox, you enable two of 'em up-down boxes where you choose among mesh types and a scaling factors. Now why does the mesh start to darken when you scale it?? Look at the code, it's just one more matrix beeing applied to the world transform. Uniform scale shouldn't affect the geometry in a way that vertex normals would be changed, so why the sudden change in light intensity???
Please help
Janko Jerinic