|
-
May 4th, 2001, 02:49 AM
#1
Thread Starter
Fanatic Member
3D models
could anyone please tell me hot to or where to get a totorial on hot to make 3D models in vb, and make them move with the keyboard (left - right) ? anyone ?
I am verry new to this so sorry if it is a really stupid question.
! ---------------------->>
-
May 4th, 2001, 03:09 AM
#2
Retired VBF Adm1nistrator
Well what you could do is create .X files for use with Direct3D, and then use Direct3D to display the models for you.
Download the DirectX SDK for Visual Basic and you'll see X files, and the rotation/movement of them.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
May 4th, 2001, 06:42 AM
#3
Hyperactive Member
I have a 3d model how do I display it?
I've read through all that DirectX SDK stuff, but it's so confusing.
How can I display my 3d model, someone must know how. I don't want anything fance, just to display it. Thanx
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
-
May 4th, 2001, 11:42 AM
#4
Its a pain in the arse anyway =). Take a look at the D3DX.CreateMeshFromX, i think the call is. To render it, use <MeshObject>.DrawSubset(<subset num>). There are examples in the SDK.
Z.
-
May 4th, 2001, 12:11 PM
#5
-
May 4th, 2001, 03:10 PM
#6
Bah, better to make people think. Then they remember it =).
Z.
-
May 8th, 2001, 01:30 AM
#7
Retired VBF Adm1nistrator
Either that or they get spiteful of Direct3D and dont bother
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
May 8th, 2001, 04:24 AM
#8
Hyperactive Member
Yes, that's right ;)....
If you don't do it for me, I'll give up and fall into a hole of self-pity. Nuh I kinda understand it, and I got this model to show, but it's pretty bad cause it's like a white outline, with no colours. Plz, any further help is appreciated.
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
-
May 8th, 2001, 04:33 AM
#9
Retired VBF Adm1nistrator
Well Wak, thats further than I got before I gave up !
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
May 8th, 2001, 06:03 AM
#10
Hyperactive Member
ha ha ha.
I can rename the robot example from SDK... doez that count. I can make my own Robot, and it moves, just like on SDK, and looks, just like SDK, and falls over, just like SDK. What do you know. The file size, is the same size as that of the robot example of SDK. I am a genius. lol
*Get the Hint?*
*I need help*
Last edited by Wak; May 8th, 2001 at 06:07 AM.
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
-
May 8th, 2001, 06:28 AM
#11
Retired VBF Adm1nistrator
I got to just after the full stop at the end of "ha ha ha"
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
May 8th, 2001, 06:07 PM
#12
Well, ive got a C++ class that wraps the mesh up, and the code for loading the mesh is pretty much straight from microsoft =). try looking at http://www.vbexplorer.com/directx4vb/ for some good tutorials. It explains meshes and stuff fully.
Z.
-
May 9th, 2001, 02:06 AM
#13
Retired VBF Adm1nistrator
And zaei where the **** were you when _I_ was doing this stuff
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
May 9th, 2001, 03:37 AM
#14
Hyperactive Member
hmm, a step further I think I have gotten
Forget all the 3d-model stuff, I think I've worked it out. Anyway, the problem waz because I was using lit vertices, and therefore had no lights. I've updated my source Source Code and I've tried to add lights that work, therefore letting me use models, that aren't sillouette outlines. Anyway, I've tried to incorporate light, but it wasn't working, I have no idea where, and there are no errors, I think. But everything is black. I don't really care what type of light there is, as long as I can see something. Anyway, someone plz plz help me. Thanx.
Last edited by Wak; May 9th, 2001 at 03:40 AM.
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
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
|