Skip to main content
GameDev.net gamedev.net
🔒 Locked

Changing Mesh Locations/Coordinates

Started by theneonirvana Jul 12, 2008 at 10:34 AM 0 replies 550+ views
Original Post
theneonirvana
theneonirvana
Ok, so im moddifying the simple teapot application on DirectX 9 C# Programming to do a couple more things, but basicly it just loads in an array of meshes, an arreay of 3 to be exact (0 , 1 , 2) each mesh is a diffrent model loaded in from a .X file that was exported out of 3Dstudio Max 9 with Pandasofts .x Exporter for 3dsmax9 THE PROBLEM IS i cannot find a property of method or anything for the mesh or for the device that draws the mesh to render the model in a diffrent location it seems the program will only render the .X file in the location that it was modeled in in 3dsMax (ex. if u modeled it at 0, 0, 0 it would be at those coordinates in the prograzm - or for another example if u modeled a box in sMAX that was at 0,0,-100 it would be rendered REALLY far away in the C# application I NEED TO BE ABLED to move these rendered models, to diffrent co-ordinantes, i have already begun playing with the camera position and linking it to keyboard commands but my final application will not function properly without being able to change Mesh locations CAN ANY ONE HELP ME PLEASE add me to msn for quick chat - theneonirvana@gmail.com
Endurion
Endurion
You "move" the object/mesh by setting the world matrix (use SetTransform for fixed function pipeline).
Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.