View Poll Results: What is the best 3D programming language? (NOT THE 1 THAT WORKS BEST ON YOUR COMP!!!)
- Voters
- 13. You may not vote on this poll
-
Direct3D
-
OpenGL
-
Glide
-
Native/Do-It-Yourself
-
Mar 5th, 2001, 08:40 PM
#1
Thread Starter
Good Ol' Platypus
I would like to learn OpenGL for VB. Are there any sites that show VB code? I've seen sites with C and all the VB sites give me are examples. I need the code, like www.cason.addr.com where it gives you CODE. I need something in that format, because that is how I learn best.
Some info on Glide would be nice too, but not necessary, as 3Dfx is going out of business...
Cheers!
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 5th, 2001, 09:15 PM
#2
I would agree that there should be a 3D Graphics forum on here, but VB is slow with them, even with a C++ library, like D3D (Not to mention, VB math seems to follow its own different rules
-
Mar 5th, 2001, 09:21 PM
#3
Thread Starter
Good Ol' Platypus
Actually, I find VB just as fast, even for 3D.
C: 50 FPS 1152x864 OGL
VB: 45 FPS 1152x864 OGL
It was a presentation, showing cross-language browsing, (for a VRML browser) so people with VB and C didnt have to download another 20 megs of software... etc..
And yes, I do agree, VB DOES seem to follow it's own rules for math, probably Bill Gates' idea of a sick, sick joke...
PS - Zaei, your avatar scares me
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 5th, 2001, 09:28 PM
#4
My tests look something like:
D3D VB - Clip Range 80m, 640 x 480 22..27
D3D C++ - Clip Range 80m, 640 x 480 33..50
Pretty much the same thing, just a few extra things in
the VB one (im converting to C++, but im stuck, see my
Dilemma Post).
Somehow (360 - theta) gives me the opposite of theta
in VB...
My Avatar scares me too
-
Mar 6th, 2001, 03:42 AM
#5
Fanatic Member
-
Mar 6th, 2001, 03:48 AM
#6
Frenzied Member
I voted for Glide purely on the basis of what I've heard. People seem to like it. With Direct3D and OpenGL I have no particular preference, seem pretty much the same to me.
I wonder if the latest version of Glide will ever get used?
Harry.
"From one thing, know ten thousand things."
-
Mar 6th, 2001, 02:52 PM
#7
I like glide, because it does look nice. For me, D3D in most games looks all washed out and nasty. But D3D is so very easy to use. So I voted for D3D.
-
Mar 6th, 2001, 04:36 PM
#8
Frenzied Member
well i like open gl the most out of that and direct x because u dont need all of these crappy surfaces etc u just have a DC RC and some other stuff and it clogs along fine. I can help Sastraxi with any opengl help in C++ and should be able to in vb.
-
Mar 6th, 2001, 05:41 PM
#9
Thread Starter
Good Ol' Platypus
Great! Then you can start here:
http://www.vsj.co.uk/archive/
I am learning well, and I WILL be able to put a triangle on the screen after some help:
THE ARTICLE WRITER FORGOT SOME DECLARATIONS!
I need the declarations for these (in VB):
glViewPort
glFlush
glClear
Please help me!
ps. Zaei, you must use two of the same data type in VB or else things go screwy!
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 6th, 2001, 05:42 PM
#10
Thread Starter
Good Ol' Platypus
Psyvision, I agree, I tried learning Direct3D....
about a meg of starting code, 1/2 a meg of ending code, 5 lines for every vertex...
I gave up...
But now I have found OGL, and I have about 30 lines of code to make a coloured triangle, rotating.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 6th, 2001, 06:10 PM
#11
Monday Morning Lunatic
I had a type library for OpenGL somewhere...it's linked at http://www.parksie.net/simplegl/SimpleGL.html
And no, there won't be another tutorial I wrote that ages ago but I never managed to do any more on it...
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Mar 6th, 2001, 06:11 PM
#12
You must not have tried DX8 =P. The amount of code to get a D3D app up and running in D3D8 is about the same as the amount needed for OpenGL (or so I've heard).
As for that 5 lines of code for a vertex, you arent using a Helper function. Anyway, OpenGL runs like shiit on my comp, so i dislike it. =)
-
Mar 6th, 2001, 06:14 PM
#13
Monday Morning Lunatic
Big advantage of OpenGL...you can run your programs with very few modifications (especially with GLUT) on a supremely high-end SGI workstation. Now THAT REALLY ROCKS
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Mar 7th, 2001, 12:19 AM
#14
Fanatic Member
zaei the code should read:
Code:
If location = school then sleep(school.length)

-
Mar 7th, 2001, 01:15 PM
#15
Actually, my code is right. School is a Boolean, and
School is 6 and a half hours, or 23400000 milliseconds
long (you can try this one yourself, 6.5 * 60 * 60 *
1000).
[edit]
And happiness isnt a god given right. Its a US given right, and how much does that mean these days? =P
-
Mar 7th, 2001, 04:20 PM
#16
Frenzied Member
Glad im not the only one that likes open gl around here I have a vb src somewhere that creates a ship in open gl and shows it to the screen done in vb. If u search on p-s-c.com for 'fly' then you should find it.
Last edited by PsyVision; Mar 7th, 2001 at 04:25 PM.
-
Mar 7th, 2001, 04:46 PM
#17
Thread Starter
Good Ol' Platypus
What model formats (.x, .3ds, .mdl, .prj, etc) does OpenGL take? Or does it take none natively so you have to write a routine to load one?
If it is the second one, i would be glad if you could load .x files, as most of my models are in that format.
PS - I now know a lot of OpenGL! The site(s) I got my infinite knowledge from is/are:
nehe.gamedev.net
www.vsj.co.uk
VSJ has VB tutorials, while NEHE has C++ examples, i think all are translated into VB.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 7th, 2001, 04:49 PM
#18
Thread Starter
Good Ol' Platypus
Zaei, for your "dilemma" are you using two of the same data types and converting them to the right type before sending them? (glfloat if using ogl)
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 7th, 2001, 04:51 PM
#19
Thread Starter
Good Ol' Platypus
THANK YOU, ZAEI!
Your avatar no longer haunts the memories of VB-Worlders
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 7th, 2001, 05:09 PM
#20
I fixed my dilemma, the problem was that im stupid.
Check my post to see why =)
Actually its the same avatar, with a freaky background.
-
Mar 7th, 2001, 05:12 PM
#21
Monday Morning Lunatic
GLfloat == float
GLdouble = double
There's no change with the parameters.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Mar 7th, 2001, 05:19 PM
#22
Frenzied Member
Wahey 3 votes for open gl, and 3 for direct x (Damn microsoft)
-
Mar 7th, 2001, 07:40 PM
#23
Thread Starter
Good Ol' Platypus
I'd just like to know who voted for native/doityourself - it was a JOKE, you know...
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 7th, 2001, 08:23 PM
#24
Heh, i agree. Software in VB would be horrid...
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
|