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

    4 30.77%
  • OpenGL

    4 30.77%
  • Glide

    3 23.08%
  • Native/Do-It-Yourself

    2 15.38%
Results 1 to 24 of 24

Thread: OpenGL (god they should open a 3d gfx forum) hint, hint

  1. #1

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  2. #2
    Guest
    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

  3. #3

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  4. #4
    Guest
    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

  5. #5
    Fanatic Member ExtremePimpness's Avatar
    Join Date
    Jan 2001
    Location
    Indianapolis, Indana - USA
    Posts
    550
    yes 3dfx is going out of buisness but they transfered all of the rights of their technology to nVidia. so they will always be around in memory

    *No pun intended*
    *E.P. Runs swiftly out of the room*
    Last edited by ExtremePimpness; Mar 6th, 2001 at 03:50 AM.

  6. #6
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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."

  7. #7
    Guest
    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.

  8. #8
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    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.

  9. #9

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  10. #10

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  12. #12
    Guest
    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. =)

  13. #13
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  14. #14
    Fanatic Member ExtremePimpness's Avatar
    Join Date
    Jan 2001
    Location
    Indianapolis, Indana - USA
    Posts
    550
    zaei the code should read:
    Code:
    If location = school then sleep(school.length)

  15. #15
    Guest
    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

  16. #16
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    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.

  17. #17

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  18. #18

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  19. #19

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  20. #20
    Guest
    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.

  21. #21
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  22. #22
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    Wahey 3 votes for open gl, and 3 for direct x (Damn microsoft)

  23. #23

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  24. #24
    Guest
    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
  •  



Click Here to Expand Forum to Full Width