Hi there!
I am adding this bit of information to the background of the problem that I have provided above.
--I have used a Flexible Vertex Format or FVF for describing attributes of a vertex.
--Later, I set the vertex shader to our FVF by invoking the function SetVertexShader()
Just adding to...
Background: To create a mini-solar system with the earth being orbited by satellites. This is the way I approached the problem:
(1) Used Shape Creation Function for Meshes namely D3DXCreateSphere to create the mesh containing a sphere
(2) Used D3DXCloneMeshFVF function to create a duplicate of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.