Results 1 to 3 of 3

Thread: GLSL

  1. #1

    GLSL

    I was curious about GLSL, i saw some demos and it seems it's like C so i thought i should ask
    Is this the future of 3D programming ?
    Do i need to use this C-like language or can i use Pascal too ?
    If this language is a must, will Pascal be useless for 3D in the future ?
    If this will be the only way will you put tutorials about it ?

    So many questions... i wish it wasn't all about C.
    The future must be... Fast and OpenSource so...
    <br />Think Open and Lightning Fast!

  2. #2

    Re: GLSL

    Quote Originally Posted by Lightning
    Is this the future of 3D programming ?
    At least for OpenGL it is. Since the languages grow together with the features/power of GPUs, the languages also grow, so yes, high level languages (like glSlang or D3D-HLSL) are the future. If you want to do serious 3D developement with modern GPUs you won't get far without learning glSlang.

    Quote Originally Posted by Lightning
    Do i need to use this C-like language or can i use Pascal too ?
    glSlang is embedded in the OpenGL implementation (= the driver) and is C only. There was a pascal-like shader-language (made by Lars Middendorf) that you could write high-level shader in pascal with (which where then converted to ARB_VP/ARB_FP), but he isn't developing that anymore.

    Quote Originally Posted by Lightning
    If this language is a must, will Pascal be useless for 3D in the future ?
    No! glSlang is only for programming shaders on the GPU (=for programming the programmable parts of the GPU. As of now these are the vertex and the fragment pipeline, other parts may become programmable in the future), it can't be used to write whole 3D applications. So you still need another language to write the application itself.

    Quote Originally Posted by Lightning
    If this will be the only way will you put tutorials about it?
    I wrote one some time ago (see here), but it was in german only. Maybe you can use some online-translator to get it into your language. But there are many other tuts on it around the net.

  3. #3

    GLSL

    Thank you Sascha.
    I'm sad, this glSlang will destroy Pascal :twisted:
    C people will say "why use Pascal when you still need C for the shaders" and maybe they are right :? :cry:
    Maybe you can use some online-translator to get it into your language.
    Hehe, there is none for my language but english is nice too
    The future must be... Fast and OpenSource so...
    <br />Think Open and Lightning Fast!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Comodo SSL