Skip to main content
gamedev.net
🔒 Locked

Really primitive primitives

Started by JWAce Mar 30, 2000 at 11:41 AM 8 replies 1.8k views
Original Post
JWAce
JWAce
Hey all, I''ve just started learning to code OGL (it''s a hell of a lot easier than DX), so this may sound like a stupid question, but I''m wondering how you can use OGL to draw the really primitive primitives aka lines and points. I''m trying to get some simple animation routines to work, and for what I''m doing lines and points are sufficient. JWAce
SiCrane
SiCrane
When you call glBegin you can specify GL_POINTS or GL_LINES.
drago
drago
STOP!

stop with whatever you''re doing and go to the closest bookstore and buy the OpenGL Programming Guide.. NOW!

----------
Drago
osu!
awigga
awigga
that is sofa king cool dude.
Styles
awigga
awigga
I agree with the guy who says to go buy a book for opengl. Maybe its just me, but I think it is easier to have a program in front of you and a book next to you at the same time as a reference. Usually, tutorials suck because they don''t explain all the necassary details.
Styles
JWAce
JWAce
Oh I totally agree with getting a book, I just haven''t seen any good books on the subject the last few times I visited the bookstore. Any suggestions?

JW
Jallen
Jallen
I know of two very good books, one is sort of beginner to advanced and the other is more intermediate to advanced.

The beginner book is called the OpenGL SuperBible, a VERY good book if you are just getting into OpenGL, one drawback is its kinda old but all the information is still relevant they just don''t cover newer features of OpenGL.

The more advanced one is the so called OpenGL Red Book (it has a red cover). NeHe has a link on his main page to the web version.

Jason A.

---
I write code.
---I write code.DelphiGL (http://delphigl.cfxweb.net)

Topic Locked

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

Sign in to reply to this topic.