PDA

View Full Version : Looking for testers for a OGL 3 Samples Pack



Groovounet
11-16-2009, 03:41 AM
Hi,

I'm the main developer of a OpenGL 3 Samples Pack (http://www.g-truc.net/post-0216.html).

I'm looking for testers for the Linux version to stabilize the Linux port on Linux platforms.

Thanks for participating to this community project!

Dark Photon
11-16-2009, 06:44 PM
Sounds like fun. I'll put it on my list.

marshats
11-16-2009, 07:17 PM
Some help instructions for Linux'ers:
Download and unzip the above noted file: OpenGL 3 Samples Pack 20091103 (ZIP, 3.6 MB) (http://www.g-truc.net/post-0216.html)
cd /<your_path_to_unziped_folder>/ogl3-samples-pack-20091103/sample
cmake ./CMakeLists.txt
make -k
cd /<your_path_to_unzip>/ogl3-samples-pack-20091103/sample/build/release
../ogl3-rasterizer-viewport (yes the ../ prefix is necessary on my ubuntu box -- wondering if other flavors of linux also need the ../prefix?)

move mouse over window and zoom by left mouse clicking+moving mouse or rotate view with right mouse click+moving mouse. Escape key to exit.

ls .. (to see other executables to try besides ogl3-rasterizer-viewport)

Some prerequisites (if cmake step fails most likely fixed by installing svn from your linux package manager):
cmake uses "svn" command to download latest SDL for ogl3.2 context creation. SDL will be compiled but installed locally within the ogl3-samples-pack-20091103/sample/SDL folder to not affect already installed SDL (SDL with ogl3 context creation still in testing phase so don't want to install globally in /usr/... until fully proven)

also GLM samples expect the header file <GL3/gl3.h> to be installed as described at GL3 getting started (http://www.opengl.org/wiki/Getting_started) which I accomplish by


wget http://www.opengl.org/registry/api/gl3.h
sudo cp gl3.h /usr/include/GL3/
!!! you may have to make the /usr/include/GL3/ folder manually


Hopefully when gl3 is more mature all this setup will be supplied by SDL and the hardware drivers by default. But until then there are just these two simple prerequisite steps to get up and running in GL3 :)

p.s. noticed that line 394 in sample/ogl3-fbo-multiple-output/sample.cpp does not need the EXT postfix -- line should read
glBindFramebuffer(GL_FRAMEBUFFER, 0);

Groovounet
11-17-2009, 04:09 AM
Great! Thanks marshats for these instructions!

I would like to add that I just start to just Trac for Bug Tracking and request.

https://sourceforge.net/apps/trac/glf/report

You need to have an account on SF.net to post a ticket but it would be great to keep tracs on the issues.

Thanks! :)

Groovounet
11-24-2009, 02:04 AM
the new version is available:
http://www.g-truc.net/post-0225.html

I try to really simplify the use. Let me know about the issues you may have.

Thanks!

Groovounet
12-07-2009, 07:35 AM
New update!

http://www.g-truc.net/post-0229.html

I don't believe the Linux port is fine yet but it getting closer!

strattonbrazil
12-30-2009, 11:31 PM
I didn't feel yet that this was a bug per se, but I'm getting a wglGetProcAddress not declared in this scope although I'm running Ubuntu Linux. It shouldn't be calling this since it's a Windows function, correct?

I didn't think it would help, but I already tried copying over the gl3.h and installed it.

I figured I wasn't building it correctly, but I do



cmake CMakeLists.txt
make -k


and still get the error.