Skip to main content
GameDev.net gamedev.net
🔒 Locked

Small House...

Started by joshfly Mar 3, 2004 at 12:52 PM 0 replies 350+ views
Original Post
joshfly
joshfly
hello...since im new in opengl, can i have some source code or links that show me how to construct a small house (outline) with windows and door. The small house can be in 2d or 3d, i just want to learn how to code a small house in opengl in c/c++ only...any sample code would be appreciate.. =) Thanks alot
AndyL
AndyL
You''re looking for an outline of the house?

Well, you might try looking at the first few tutorials here on NeHe they show you how to set up an OpenGL program and how to draw a few basic shapes.

The tutorials show you how to make solid shapes but making outlines is just as easy.

Try this, In those tutorials instead of ''glBegin(GL_QUADS);'' try using ''glBegin(GL_LINES);'' or ''glBegin(GL_LINE_LOOP);''

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.