im trying to make a program that will "draw" certain shapes. I have looked all over for any tutorials on how to do this, but i keep getting dead ends...help please!!
im trying to make a program that will "draw" certain shapes. I have looked all over for any tutorials on how to do this, but i keep getting dead ends...help please!!
ADRUMSOLO4U
Do you mean in its own window? If so, then it's harder then it sounds, and you'll need more then just c++. If your talking about just in the console window then it's different.
well, first i want to get rid of the normal window, and add windows XP like properties to it, then add different shapes inside it
ADRUMSOLO4U
Learn about Win32 and OpenGLOriginally Posted by adrumsolo4u
You have to go through creating a Window through the Windows class, and connect the rendering context to the device context, and all sorts of other goodies to set up a Win32 window that will support OpenGL.
It's a lot of stuff to learn, but usually, people don't go through the bother of writing out the code themselves....copying and pasting all the code (as long as you understand most of it) is usually what's done.
Don't let it all overwhelm you.
Last edited by Krak; 03-01-2005 at 07:49 PM.
To do that you will have to learn a graphics API, being a D3D lover myself I would recommend DirectX, but of course there will be differing opinions
Why not just learn the Windows API first, and then learn OpenGL or DirectX on top of it? Then you'll know more about what's going on "under the hood" (so to speak).
GDI and GDI+ (built-in Windows graphics) work fine for most (simple) purposes, even small-scale 2D games.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.