Thread: Simple, non 3d games - what to use??

  1. #16
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I'm working on a Direct3D 9.0 (DirectX 9.0) framework class that will allow you to fire up D3D with a window in one function call.

    Writing to the surface is as simple as retrieving a pointer to the primary surface (buffer) or secondary surface (back buffer) and using that to do pixel ops.

    D3D will allow you to access the surfaces and you won't take a performance hit if you create the surfaces with the right flags.

    Check back here in a few days. The framework is very easy and I will make it available to the board complete with docs on how to use it.

    Perhaps another board member could do something similar for OpenGL.

    You don't have to use 3D in DirectX 9.0, you can still create 2D games and I'm sure you can do this in OpenGL as well.

  2. #17
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    Of course you can do complete 2D with OpenGL, I am LOL. To write a class which sets up OpenGL and makes a window display would be quite easy. Might do something like that this weekend just for fun .

  3. #18
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Oh yeah Shakti....LOL....ooops.

    Contact me sometime bud....have new code started for ya.

  4. #19
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    I'm working on a Direct3D 9.0 (DirectX 9.0) framework class that will allow you to fire up D3D with a window in one function call.
    I have built one and use it quite frequently, although mine only let's you draw to the back buffer. When you're done, I'd like to share ideas with you bubba =).

  5. #20
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Sure thing skorman.

    Perhaps we could come up with a simple efficient framework that we could give to the board so newbies can fire up D3D w/o worrying about all the unecessary Windows garbage.

  6. #21
    Registered User
    Join Date
    Jun 2004
    Posts
    6
    The downside to that is that it discourages us newbies from bothering to learn the windows junk in the first place :s

  7. #22
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    You don't need the windows junk to code games.

  8. #23
    Registered User
    Join Date
    Jun 2004
    Posts
    6
    That's true but nevertheless it's still useful to know. . .
    I look forward to a newbie friendly release

  9. #24
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Its already up and ready to test in the D3DFrameWork thread. Source not yet available until I get some people to test it and see if it works on their system.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. When to start 3D Game Programming?
    By m3rk in forum Game Programming
    Replies: 42
    Last Post: 04-23-2009, 07:37 AM
  2. 3d graphics without API
    By h3ro in forum Game Programming
    Replies: 6
    Last Post: 05-31-2008, 11:51 AM
  3. A 3D Program for my 3D models...?
    By Rune Hunter in forum C++ Programming
    Replies: 26
    Last Post: 08-19-2004, 10:04 AM
  4. 3D Engines
    By Peter_D3T in forum C++ Programming
    Replies: 5
    Last Post: 06-22-2002, 03:59 PM
  5. Please point to some really simple 3D tutorials
    By Tazar in forum Game Programming
    Replies: 6
    Last Post: 02-08-2002, 12:34 AM