Learn 3D Graphics Programming with OpenGL for Physics

  • Thread starter Thread starter cscott
  • Start date Start date
  • Tags Tags
    Physics
Click For Summary

Discussion Overview

The discussion revolves around recommendations for books and resources on 3D graphics programming, particularly from a mathematical perspective. Participants explore various approaches, tools, and literature relevant to OpenGL and related topics in graphics programming.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants suggest the official OpenGL books for foundational knowledge on rendering pipelines.
  • Others propose VTK for visualizing scientific data, though one participant warns against its use for dynamic rendering due to performance concerns.
  • A participant recommends the "Red Book" and "Blue Book" as essential resources for learning OpenGL.
  • Hands-on tutorials like Nehe Tutorials and Nate Robins' resources are mentioned as valuable for practical learning.
  • Several books are suggested for understanding the mathematics involved in 3D programming, including Eric Lengyel's and Christof Ericson's works, which cover various aspects of 3D math and physics.
  • One participant mentions "The Art of Computer Programming" as a mathematically oriented programming resource.
  • A suggestion is made to consider writing a ray-tracer instead of using OpenGL, with a reference to the open-source software POV-Ray.

Areas of Agreement / Disagreement

Participants express a range of opinions on the best resources for learning 3D graphics programming, with no clear consensus on a single approach or set of materials. Some favor OpenGL, while others advocate for alternative methods like ray-tracing.

Contextual Notes

Participants express varying levels of experience with computer science and numerical analysis, which may influence their recommendations and the perceived accessibility of suggested resources.

Who May Find This Useful

This discussion may be useful for physics students, computer science students, or anyone interested in 3D graphics programming from a mathematical perspective.

cscott
Messages
778
Reaction score
1
I want to learn 3d graphics programming from a math point of view. Can anyone recommend a good book? The best I've found is

[I'm a physics major and like doing computational science stuff]
 
Last edited by a moderator:
Technology news on Phys.org
cscott said:
I want to learn 3d graphics programming from a math point of view. Can anyone recommend a good book? The best I've found is

[I'm a physics major and like doing computational science stuff]

If you want OpenGL, maybe try the official OpenGL books? They'll have a lot on the basics of rendering pipelines, etc.

If you'd like something a little higher level, maybe try VTK: http://www.vtk.org. The emphasis in their books (and free software) will be more on visualizing scientific data, less on the actual algorithms.
 
Last edited by a moderator:
i would avoid using vtk...as a physics student i would assume you want to do dynamics rendering and not just static. VTK is inherently slow if you do lots of dynamics and the books for VTK are written in script(python? no wait tcl/tk). Its not hard to learn VTK C syntax through the script but its annoying and takes a long time, time away from other stuff you can do as a student.

If you just want to learn how to use opengl: the red book and blue book(the official books mentioned above) are probably your best bet. They are on the official site,i think its opengl.org or its from SUN? just search "opengl red book"

If you want hands on tutorials: Nehe Tutorials and Nate Robins(i hope that's the correct name and spelling) used to be open source i Don't know if they are now...but Nate Robins code is probably better because it follows most opengl book schemes

if you want to learn about interactive camera navigation:
www.libsdl.org OR glut(opengl's version) which are the easier GUI sdks to use with Opengl.

if you want to learn about 3D math involved in 3D engine progrmaming:
with opengl: I suggest picking up the Opengl for Game programming books, the one i learned from is from the primatech series(do they still exists) editor andre lamothe
This one has an entire physics one at the back but its in OO design

OR david eberly's "3D game engine development" also in OO design

[and the better 2 that i have been introduced]
if you want to learn just the coding for the mathematics & physics(classical?) components
Eric Lengyel: 3D Mathematic for Game programming( or something by a similar name)
has no code but its structure will lead you in the order you should code stuff and it covers so much of 3D math & physics including basic numeircal principles if you haven't already covered them as well as curves/surfaces and bounding volumes/collision stuff.

Christof Ericson: Realtime collision detection. The book I am currently working through.
Its got all the geometry stuff that the lengyel book doesn't have organized in a better order but its first few chapter orders don't compare to the lengyel book.
The great thing abotu this book its got code, gives you a great starting point for the code, has an extensive geometry section, and talks about spatial partitioning as well as robustness. Bad thing is that though most of the functions are complete..there are a lot of snippet codes and "if you want to go further look at this reference".

Lastly
[0] Chris Hecker's papers on 3D physics if you can find them (siggraph or the gaming one)
[1] THe bible for graphics Foley and Van Damm (u go to waterloo right? this book should be in the library).
 
Thanks for all the suggestions. I'll definitely look up some of these books.

Has anyone heard of the book I linked? It was linked on the OpenGL website and I was especially interested in the bit on raytracing. Based on the contents, at what level is it at? I've only taken a year of CS and a basic numerical analysis class.
 
If I were you, I would actually skip OpenGL completely, and just write your own ray-tracer. Look into the open-source povray, for example.

- Warren
 
ooo I never knew about povray. Thanks!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 102 ·
4
Replies
102
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
1
Views
2K
Replies
10
Views
5K
  • · Replies 43 ·
2
Replies
43
Views
7K