Thread: 3D graphics for a noob?

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    27

    3D graphics for a noob?

    Over the last few months, ive been working on an artificial life simulator in C#. Everything is working fine, but the graphics leave a bit to be desired. All the program really shows is a bunch of red and blue arrows moving on a grid in time steps, eating poorly drawn plants or eachother. Is there any simple way I can implement 3D graphics so that I can spice things up a bit? It doesnt have to be anything really fancy. Just some flying cones or cubes would be enough. Would this be too complicated to achieve by the end of xmas break?

  2. #2
    GA ichijoji's Avatar
    Join Date
    Nov 2002
    Posts
    179
    I would take a look at ogre. It's an open-source graphics library that takes care of the heavy lifting of 3d graphics and lets you get right to results. I'm currently using it in my engine with good results.
    Illusion and reality become impartiality and confidence.

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    simple way I can implement 3D graphics
    Simple 3D graphics? Good luck with that one.

    If you are looking for a quick 'fix' to do 3D graphics then take my advice and don't. All you will do is confuse yourself beyond measure. If you want to do 3D, you have to learn 3D...period. Taking some other shortcut is not going to work.

    Now once you learn 3D I'd say you would be more than capable of finding which engine you wish to use or deciding whether or not you want to roll your own.
    Last edited by VirtualAce; 12-13-2006 at 06:04 AM.

  4. #4
    Registered User
    Join Date
    Oct 2005
    Posts
    27
    would openGL be too complicated you think?

  5. #5
    Registered User
    Join Date
    May 2006
    Posts
    169
    Certainly not too complicated, just dive in and see how well it goes along.

  6. #6
    In the Land of Diddly-Doo g4j31a5's Avatar
    Join Date
    Jul 2006
    Posts
    476
    It will be complicated if you don't know your 3D like what Bubba has said. That means you'll have to know about vector, matrix, transformation, projection, quaternion, lighting, etc.
    ERROR: Brain not found. Please insert a new brain!

    “Do nothing which is of no use.” - Miyamoto Musashi.

  7. #7
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Why not go 2D? You said so yourself you didn't want anything fancy.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  8. #8
    Registered User
    Join Date
    Oct 2005
    Posts
    27
    lol i dont want anything fancy in terms of 3d graphics. But id prefer 3d as opposed to 2d just because it would look much more impressive i think

  9. #9
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    Might look more impressive, but the extra coding is TONS!

    As somebody said, start out with 2D and get the hang of the design behind the scene. Then move on to 3D. The problem many times isnt the rendering per say. The problem (at least for me) is the general design of the application. You will have the same problem with design if you use 2D but with 1 dimension less to think about your more likely to succeed.
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 3d graphics without API
    By h3ro in forum Game Programming
    Replies: 6
    Last Post: 05-31-2008, 11:51 AM
  2. Beginning Game Programming Type Books
    By bumfluff in forum Game Programming
    Replies: 36
    Last Post: 09-13-2006, 04:15 PM
  3. Vector Operations in 3D Graphics
    By The Dog in forum Game Programming
    Replies: 27
    Last Post: 09-13-2005, 05:11 PM
  4. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 07:18 AM
  5. 3D Modelling + Graphics Cards
    By MethodMan in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 10-17-2002, 10:29 PM