GSoC project presentation

2011-06-10

GSoC project presentation

Permalink 02:38:54 am, Categories: glsl  

Welcome to my GSoC 2011 blog! Here you'll be able to follow the progression of my project for Crystal Space.

This is my first time participating to the Google Summer of Code, and I'm glad I've been accepted into the project I was most interested in. My project will consist of, basically, add support for OpenGL GLSL shaders into Crystal Space, which currently provide support for OpenGL ARB and nVidia Cg shaders. Ideally I'd also like to add support for the famous geometry and tessellation shaders, which would allow Crystal Space to implement new generation and cool rendering techniques based on them. The project will be implemented as a Crystal Space plugin.

The main design difference between Cg (and ARB) and GLSL shaders is that Cg allows you to bind the vertex and fragment shaders independently while GLSL requires them to be linked (and thus non-separable) into a "program" before being used. Fortunately, Crystal Space's architecture doesn't use much of the "separable" functionnality provided by Cg, facilitating therefore the setup of a "unified" design, much like GLSL's. This will involve a new syntax in the XML shader files used by Crystal Space in order to make explicit the use of the "unified" model.

I hope that by the end of the summer I could provide a nice tessellation demo, but for now I have to focus on the core of the new GLSL plugin and its integration into the engine.

Have a nice summer! :)

Trackback address for this post:

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

Comments, Trackbacks, Pingbacks:

Comment from: Kenneth Graunke [Visitor]
Awesome! Thanks for working on this---I'm really excited to see Crystal Space gaining the ability to use GLSL natively. I've never been a fan of Cg---for some reason, Cg's GLSL backend never worked for me, and my only other option was the ARB fp/vp backend, which is totally lame. Native GLSL will work so much better on the open source graphics drivers.
PermalinkPermalink 2011-06-29 @ 05:26

This post has 8 feedbacks awaiting moderation...

Comments are not allowed from anonymous visitors.

April 2014
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
             
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30      

Search

Categories

Archives

Misc

XML Feeds

What is this?

powered by
b2evolution