|
-
Nov 16th, 2001, 08:31 PM
#1
adding depth
Can someone tell me where a good tutorial on adding depth is. I mean like using a z axis. Please help.
-
Nov 16th, 2001, 09:58 PM
#2
Frenzied Member
Depends on how detailed the depth is supposed to be; if you want a full rotation 3d view (like an FPS) then you need to do some heavy research into DirectX or OpenGL or other similar 3D engines.
Could you detail what you have in mind?
-
Nov 16th, 2001, 11:13 PM
#3
I just want to draw some wireframe objects onto the screen and have it look good. I really dont want to get into Direct X or Open GL. I want to know the math to convert a 3d point into a 2d point. I found an article somewhere that had:
2dx = ((512*x)/(512+z))
2dy = (-(512*y)/(512+z))
and I tried that, and well it looks kinda funny. And fake. Any ideas?
-
Nov 17th, 2001, 12:47 AM
#4
Frenzied Member
Welllll you're basically talking about writing your own 3d renderer...that's quite a huge job.
It would be easier to get the DirectX SDK for VB and do it from there.
If you really want to make a simple 3d engine, there's a ton of tutorials on the web.
-
Nov 17th, 2001, 02:48 PM
#5
I've been looking for hours and haven't been able to find any helpful tutorials yet. Do you know where I could find one?
-
Nov 17th, 2001, 03:43 PM
#6
Frenzied Member
Unfortunately all the tutorials i've ever used are in C++...
try searching under "principles of 3d graphics"
Or if you've got some cash to shell out, you can learn the basic principles of 3d programming from a lot of books.
-
Nov 17th, 2001, 04:13 PM
#7
Ok I'll look some more. Thanks.
-
Nov 17th, 2001, 06:33 PM
#8
If you just want a simple transformation from 3D to 2D space, you can use fairly simple formulas, but if you want to do things like rotations, camera motion, etc, you are getting into the realm of Matrix transformations which are a bit more difficult. As mlewis, said, It would be best to check out D3D or OGL (D3D recommended, there are tutorials for VB at http://www.vbexplorer.com/directx4vb ).
Z.
-
Nov 17th, 2001, 07:53 PM
#9
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
|