Install Dev C++ and OpenGL | It Works
How to Install the free compiler Dev C++ and the free graphics library OpenGL on Windows 10.
Download Dev C++: http://www.mediafire.com/download/jvca73gqgg0l783/Setup_DEVC%2B%2B+5.4.1.rar
Right click this link to download zip of glutming: http://chortle.ccsu.edu/Bloodshed/glutming.zip
Raycaster Part 1 tutorial: https://youtu.be/gYRrGTC7GtA
-lglu32 -lglut32 -lopengl32
Replace less than sign with actual less than sign. YouTube prevents me from adding it here.
---C Code---
#include "LESS THAN SIGN" stdio.h "GREATER THAN SIGN"
int main()
{
printf("Hello World!!!\n\n");
system("pause");
}
---OpenGL Code---
#include "LESS THAN SIGN" GL/glut.h "GREATER THAN SIGN"
void display()
{
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1,0,0);
glBegin(GL_POLYGON);
glVertex2f(100,300);
glVertex2f(100,100);
glVertex2f(200,100);
glVertex2f(200,300);
glEnd();
glFlush();
glutSwapBuffers();
}
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA);
glutInitWindowSize(640,640);
glutCreateWindow("OpenGL");
glutDisplayFunc(display);
gluOrtho2D(0,640,0,640);
glClearColor(0.5,0.7,0.5,0);
glutMainLoop();
return 0;
}
Other Videos By 3DSage
2015-07-21 | Happy Birthday Song - 3D Printed |
2015-05-11 | 3D Animated Morphing |
2015-05-04 | 3D Printed barrel |
2015-05-03 | OpenGL C++ programming rigging and skinning |
2015-04-28 | 3D Printed Link from The Legend Of Zelda |
2015-04-19 | First Tool 3D Printed in Space |
2015-01-31 | Building 3D Printer DIY sound Proof Booth |
2015-01-26 | 3D Printed Alien Cube |
2015-01-20 | Super Mario Sounds Super Scary 3D Printed 👻 |
2015-01-11 | C++ OpenGL 3D Game Engine - 1990's Doom Style |
2014-12-28 | Install Dev C++ and OpenGL | It Works |
2014-10-05 | 3D Camera Tracking - 3ds Max and Voodoo |
2014-08-24 | Myself In a Gameboy Advanced Game |
2014-08-06 | How to Make 3D using only 2D | OpenGL Tutorial |
2014-03-21 | How to Make a Simple 3D Modeling Program | OpenGL Tutorial |
2013-07-10 | 3ds Max Rain (No Plugins) |
2013-06-10 | Evolution of my MD2 Reader |
2013-05-31 | OpenGL 3D Floating Camera |
2013-02-27 | 15 kilobyte game OpenGL |
2013-02-04 | SageHansen - demoreel 2013 |
2012-12-06 | C++ OpenGL 3D Game Engine |