We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Introduction to computer graphics
Page Index Toggle Pages: 1
Introduction to computer graphics (Read 841 times)
Introduction to computer graphics
Jun 26th, 2008, 1:25am
 

Inspired by johnG's very cool "small galaxy" in Exhibition I've decided to experiment around with openGL, and 3d graphics.

After only a little bit of poking I realize that computer graphics is a vast field. So I'm wondering if anyone has any recommendation on how to learn this stuff specificaly openGL and 3D graphics, for someone with no previous experience in this field?

Any ideas?

Thanks
Re: Introduction to computer graphics
Reply #1 - Jun 27th, 2008, 12:34am
 
Pretty obvious, but the OpenGL tutorials that come with Processing are pretty decent. Just fiddle around drawing objects and all that.
Re: Introduction to computer graphics
Reply #2 - Jun 27th, 2008, 3:39am
 
If you don't already know about the matrix stack, its an important concept for learning about transformations.  You might START by looking at pushMatrix() and popMatrix() in reference.
Re: Introduction to computer graphics
Reply #3 - Jul 1st, 2008, 12:15am
 
Thanks for the ponters guys.

The tutorials included in Processing are quite good, but I'm looking for something to learn the basics of 3D programming. For example what is pushMatrix? The Processing tutorial assumes you know what pushMatrix is, and doesn't really explain the matrices in the context of computer graphics.

This books looks like a good introduction to computer graphics and openGL, where all the basics are covered:

http://www.amazon.com/OpenGL-SuperBible-Comprehensive-Tutorial-Reference/dp/0321498828

Anyone has any experience with this book?

semiD
Re: Introduction to computer graphics
Reply #4 - Jul 1st, 2008, 11:09am
 
the OpenGl Red Book is available online here:

http://www.glprogramming.com/red/

pushMatrix and popMatrix are explained in chapter 3

(push basically saves the current state and pop takes you back to it effectively forgetting everything that went on in between, a saved game as it were)
Re: Introduction to computer graphics
Reply #5 - Jul 3rd, 2008, 12:39am
 
Thanks for the pointers.

I think the red book is just the kind of thing I'm looking for.

I thought that's what pushMatrix does, but I'm sure there is bit more to it than that... But I think I know where to look now.

Re: Introduction to computer graphics
Reply #6 - Jul 5th, 2008, 10:09pm
 
Nobody has yet mentioned NeHe's OpenGL Tutorials, at http://nehe.gamedev.net/ - those are pretty good intros to OpenGL, and they start out basic and work their way up very quickly.  Not Java, but the differences between C++ and Java OpenGL are pretty minimal, and code in Java is available for most of the examples.
Re: Introduction to computer graphics
Reply #7 - Jul 6th, 2008, 1:08am
 
the above two links should be your best friend if you want to learn opengl / 3d programming. And you can also find loads of tutorials and articles on http://www.lighthouse3d.com/opengl/
Page Index Toggle Pages: 1