Results 1 to 2 of 2

Thread: [RESOLVED] What is the fastest rendering method?

  1. #1

    Thread Starter
    Addicted Member cc2^^'s Avatar
    Join Date
    Apr 2008
    Location
    Right behind you.
    Posts
    165

    Resolved [RESOLVED] What is the fastest rendering method?

    What is the quickest way to draw something in c++?
    I mean, let's say i have created a window, and now i want to draw something on it. It doesn't have to be sprites with textures. Just squares with colors is good enough.

    I've heard about OpenGL and DirectX11, but i don't know which one is faster.

    For those of you wondering why i need to know this, i am programming a galaxy collision simulator, and when rendering all the particles i need to draw all particles as quick as possible or it will lag ALOT. I first wrote this program in visual basic and it rendered with DirectX 8. But that was is wayyyy to slow. So now i'm learning C++ and hope that it will operate faster than visual basic.

    tl;dr: What is the fastest rendering method?
    I think I am, therefore, I am. I think.

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: What is the fastest rendering method?

    I am not convinced that the rendering will be the bottleneck in a collision simulator.
    I know for a fact that former VBF member timeshifter has written some pretty nifty particle physics rendering applications in C# and GDI+, running at a good amount of frames per second.

    Anyway, as for D3D vs OpenGL, there won't be any noticeable difference. What you choose can depend on a number of other factors:
    Do you need to compile cross-platform or just for Windows?
    Do you have any use for the extra features that DirectX provides? OpenGL is just a rendering library whereas DX11 is more than that.
    Are you familiar with any of the two already? You mention you have used DX8. This alone can be a reason to go with DX11 instead of OpenGL, as OpenGL is very different to use.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

Tags for this Thread

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