|
-
Sep 22nd, 2002, 08:59 AM
#11
Thread Starter
Lively Member
Yeah guys I know how but the answer aint a 1 liner since u need to know VB, DirectX and 3D Studio Max (or some other 3D modelling package).
Basically u load the object u made in 3D Studio Max. There is a good tutorial on www.directx4vb.com on this. It is lesson 8.
Using conv3ds.exe convert the file to a .x file and then bobs ur uncle. Use the directX function d3dmatrixrotationy (or whichever axis u want) to rotate the object. The variable used with this function can be changed using the keyboard to give u keyboard control.
A tip:
When using conv3ds.exe use the parameters -m and suggested and also -s100 to make the object 100 times bigger, that way u will find it easier on screen u can then scale it.
Another tip:
The coords used in 3dstudio max matter. Make the object at 0,0,0 and point the camera at that same vector so u can see the object.
Go do the tut I suggested then read this again it will make more sense then
Dan
PS For materials use bitmaps as opposed to 3DS max materials. Use the asset browser to place such textures on bitmaps.
PPS There are some good tuts in 3ds max itself. Do the one on level design to help u out. It took me ages to get this working and I still have troubles with Vertex Paint (a subject in the 3D max tut i mentioned).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|