|
-
Aug 15th, 2001, 09:55 AM
#1
Thread Starter
Hyperactive Member
3D wire box??????
Hello,
How do I make a 3D Box in VB6? How do I put bitmap textures on the sides?
Visual Basic 6, HTML, JavaScript, learning C++
-
Aug 15th, 2001, 10:37 AM
#2
Junior Member
This might work
Check out this link. Select the Vector graphics option and modify the oval to a rectangle with the same size as the faces. It'll look like a cube, methinks.
Modify the code to put into VB6. That's how I learned this morning. For more complicated models use the conv3ds.exe program with the -x parameter. It'll convert a model into .x format from .3ds. It is up on the internet, but happy hunting. I got mine from a search for conv3ds on hotbot, and then a link on one of the pages. You only get a couple of results.
Useage:
conv3ds -x file.3ds
output is:
file.x
in same directory.
-
Aug 15th, 2001, 10:42 AM
#3
Thread Starter
Hyperactive Member
thanks for the link, i am new to 3d graphics programming.
Here is another question.
say I have a 2d rectangle. How can I draw another rectangle directly below it in the Z dimension (3rd)? What is the code for this?
Visual Basic 6, HTML, JavaScript, learning C++
-
Aug 15th, 2001, 11:54 AM
#4
Junior Member
Ah, I see
I see how you are trying to do it. If you're experienced with packages and functions and stuff, try this:
You'll need the DAnim.dll reference in you application. Insert it with references/ DirectAnimation Control. Pick either window or windowless, and draw onto the form where you want the cube to go.
If you then use the View/Object Inspector, you might be able towork out how to do the rectangle things. I haven't got time to do the code now, it's going home time. And I'm getting A-Level results tomorrow ( ), find out if I can get into Uni. If you still need it on Friday I'll see what I can do.
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
|