WhatMeWorry
2007.01.06, 01:19 PM
Anyone up for a challenge. I've been hacking at this Gordian Knot
for some time -- it's probably not that hard. I'm just no Alexander.
There are two fire/water example source code projects at
www.mkp.com/opengl (water.c and particle.c)
that I'd like to get working on OSX so I can play with the code
and learn from it. The code comes from the book "Advanced Graphics
Programming Using OpenGL".
It seems to be written for windows/linux. I can get both to compile
and link in Xcode with trivial tweaking, but when I run them I get
just... well, nothing.
The book is quite advanced (at least for me) and these guys really
know their stuff. There code is quite good too except for their
glutReshapeFunc(reshape) function: there is none!? Instead they
put the functionality that one would expect to go there, in their initialization
function.
for some time -- it's probably not that hard. I'm just no Alexander.
There are two fire/water example source code projects at
www.mkp.com/opengl (water.c and particle.c)
that I'd like to get working on OSX so I can play with the code
and learn from it. The code comes from the book "Advanced Graphics
Programming Using OpenGL".
It seems to be written for windows/linux. I can get both to compile
and link in Xcode with trivial tweaking, but when I run them I get
just... well, nothing.
The book is quite advanced (at least for me) and these guys really
know their stuff. There code is quite good too except for their
glutReshapeFunc(reshape) function: there is none!? Instead they
put the functionality that one would expect to go there, in their initialization
function.