PDA

View Full Version : GLSL Getting Started Tutorial out there?



brcain
02-26-2004, 08:16 AM
Has anyone created a GLSL tutorial? I'm sure I'm not the only one that's running into issues. The tutorial could list a number of FAQs (e.g. vendor specific driver issues, extension issues, compiler issues, etc.). It could start out with a "Hello World" example and build from there. The example, ogl2example.c, at www.3dlabs.com (http://www.3dlabs.com) doesn't include a Visual C++ 6.0 project (nor Linux makefile). I've not been able to get it to compile trying to build one myself referencing ogl2example.vcproj.

Tutorials have been done very nicely for Cg -- with numerous examples. And, being an experienced Cg programmer makes it a bit frustrating to be dealing with configuration issues due to GLSL. ... just trying to get over the hump here http://www.opengl.org/discussion_boards/ubb/smile.gif

Much thanks for any help!

glninja
02-26-2004, 08:29 AM
Have you tried 3dlabs developer section?

They have examples and their SIGGRAPH slides should also be there.

brcain
02-26-2004, 09:57 AM
I've looked through the slides and have downloaded a few examples. However, nothing I've found addresses issues such as: setup, drivers, extensions, compilation, etc. Note, I'm not looking for a description of shaders or GLSL necessarily, but, rather a startup tutorial such as the articles found at www.cgshaders.com. (http://www.cgshaders.com.)

Maybe I'm asking for something that just hasn't had time to mature yet. Hopefully, we'll see something like the CgTutorial soon.

[This message has been edited by brcain (edited 02-26-2004).]

Ffelagund
02-26-2004, 11:15 AM
I was created a project and compiled the example3.c without problem, if you want i'll send to you

vazycbonca
09-23-2004, 03:24 AM
please, can you send me your exemple ? :)
i want to use glsl on linux, and i dont find one help...
thank you ;)

Corrail
09-23-2004, 03:41 AM
I've written an article on NeHe's site:
http://nehe.gamedev.net/data/articles/article.asp?article=21

It covers the basics of GLSL.

Silkut
09-24-2004, 07:00 AM
sh*t, my video card doesn't support ARB_vertex_shader ARB_fragment_shader :mad:
f*ckin' Radeon 9200se :(

brcain
09-29-2004, 09:44 AM
Originally posted by vazycbonca:
please, can you send me your exemple ? :)
i want to use glsl on linux, and i dont find one help...
thank you ;) I was able to get GLSL to work with Fedora Core 2 after downloading the latest nVIDIA driver. I haven't tried lately with RH.