Jump to content

Graphics in C++

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Guest_Kaabi_*

Guest_Kaabi_*
  • Guests
I've read that video games can be made with C++, but it can't just be C++, there must be other programs. How do you write graphics with words? I know of turtle graphics, but I'm sure imagines involving thousands of polygons don't use that.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
They usually use DirectX or OpenGL for the graphics.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
So you are saying that to create a 3d object only coding is required? I think some 3d software should be used and then imported into your project?

#4
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
You can create graphics with only code...what do you think those 3D graphics you make are? (- the text format ones like .obj...)

And yes, the most common ones are OpenGL and DirectX. DX has premade model loader functions, while OpenGL you would need to download/make one. If you do, go with .obj, which unlike formats like max, its just a list of vertices and faces.