>>Well, the intent of this is that eventually, you *won''t* need to know the assembly-like language. You can write your shaders in this higher level language, and have it work on all hardware that supports it.<<
this is correct, thats why i feel learning the current asm instructions are a waste of time. if u wanna see a more realistic example of how opengl2.0 shaders are gonna be see here
graphics.stanford.edu/projects/shading/ ( IIRC examples even worked on my tnt! )
>>Oh, and it''ll probably be a while before ATI and nVidia release OpenGL 2.0 compatible drivers. I''d guess that the spec is at least a year away from even being finalized. Part of the reason for 3D Labs releasing this compiler was to push things forward a bit. <<
from a pdf
• Jun 02 – First draft of complete spec
• Jul 02 – SIGGRAPH 2002 activities, public review draft of spec?
• Sep 02 – Final spec changes?
• Dec 02 – Ratified spec?
http://uk.geocities.com/sloppyturds/gotterdammerung.html
OpenGL 2.0 shading language compiler?
I hope they release the opengl 2.0 drivers fast
At this point I sometimes have the feeling that directx is ahead of opengl and I hope that opengl 2.0 will be better(man, my english is bad.. i wanted to say something different :D)
I have seen some screenshots from things you can do with the VS/PS and they look really cool so maybe it''s not a waist of effort to learn them now...
Does anyone now a good startingpoint to learn using the VS/PS in opengl?

At this point I sometimes have the feeling that directx is ahead of opengl and I hope that opengl 2.0 will be better(man, my english is bad.. i wanted to say something different :D)
I have seen some screenshots from things you can do with the VS/PS and they look really cool so maybe it''s not a waist of effort to learn them now...
Does anyone now a good startingpoint to learn using the VS/PS in opengl?
if you want to do it on nvidia hardware go to the nvidia page, if you want to do it on ati hardware, go to the ati page.
they have enough infos..
whats the power of ps/vs?
you can _REPLACE_ the current vertex programs / pixel programs by your own..
means you can transform your geometry on screen with your own code (for example non-linear projections, matrix-palette-skinning, automatic generated smooth animations etc..)
you can enlighten your geometry on your own (means do your own vertexlights, like a line-light or something, if you need this
, or set texcoords and everything up to do then perpixel the lighting in a pixel program (bumpmapping, perpixellighting, environmental maps on bumpmaps etc..))
or you can be a freak and simply create stuff never seen before..
play halo and you get an early idea what pixelshaders can do (take a look at the walls for example in the alienships.. or the spotlights of you and your team in the dark shining on the bumpy surface)
play wreckless to get an early idea what pixelshaders can do (they do imagepostprocessing to let it look like an old movie, to let everything bright glow and much other stuff)
gpu''s get programable. that means you need some compiler to generate the program..
_THIS_ is the compiler for opengl2.0, a c-style-compiler instead of the assemblers till now..
if you want to know what this is all capable, watch shrek
and for the creative guys:
http://tyrannen.starcraft3d.net/loprecisionraytracingonatiradeon8500.jpg
this is an image of a RAYTRACER completely on the gpu done on a radeon8500.
this is done with 8 bits precision per vector component..
next year gpu''s will support floatingpoints.. then this can be done in full precision..
the future is bright, the future is programable..
(and we all go for raytracing..
finally easy shadowing of everything, finally easy accurate lightingshemes with correct reflections and refractions.. and, with enough supersampling, all with softshadows, softreflections etc.. and in 10 years we have global illumination realtime, like our real world..)
"take a look around" - limp bizkit
www.google.com
they have enough infos..
whats the power of ps/vs?
you can _REPLACE_ the current vertex programs / pixel programs by your own..
means you can transform your geometry on screen with your own code (for example non-linear projections, matrix-palette-skinning, automatic generated smooth animations etc..)
you can enlighten your geometry on your own (means do your own vertexlights, like a line-light or something, if you need this

or you can be a freak and simply create stuff never seen before..
play halo and you get an early idea what pixelshaders can do (take a look at the walls for example in the alienships.. or the spotlights of you and your team in the dark shining on the bumpy surface)
play wreckless to get an early idea what pixelshaders can do (they do imagepostprocessing to let it look like an old movie, to let everything bright glow and much other stuff)
gpu''s get programable. that means you need some compiler to generate the program..
_THIS_ is the compiler for opengl2.0, a c-style-compiler instead of the assemblers till now..
if you want to know what this is all capable, watch shrek

and for the creative guys:
http://tyrannen.starcraft3d.net/loprecisionraytracingonatiradeon8500.jpg
this is an image of a RAYTRACER completely on the gpu done on a radeon8500.
this is done with 8 bits precision per vector component..
next year gpu''s will support floatingpoints.. then this can be done in full precision..
the future is bright, the future is programable..


"take a look around" - limp bizkit
www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
quote:Yeah, I''ve seen that, but I don''t put a whole lot of faith in it, since it''s 3DLabs plan, and there is some resistance to bringing it about that quickly, especially from NVIDIA, who want to move to 2.0 more gradually.
Original post by zedzeek
from a pdf
• Jun 02 – First draft of complete spec
• Jul 02 – SIGGRAPH 2002 activities, public review draft of spec?
• Sep 02 – Final spec changes?
• Dec 02 – Ratified spec?
quote:
Yeah, I''ve seen that, but I don''t put a whole lot of faith in it, since it''s 3DLabs plan, and there is some resistance to bringing it about that quickly, especially from NVIDIA, who want to move to 2.0 more gradually.
Now that''s tactics! Slowing OpenGL 2.0 development down so much, that agains the time it comes out, every gamer thinks OpenGL is crappy shit (directx will be better by the time), and they don''t want it anymore. And NVidia will by that time only have to develop DirectX drivers. Saves ''em time and money...
Newbie programmers think programming is hard.Amature programmers think programming is easy.Professional programmers know programming is hard.
May 04, 2002 02:36 PM
quote:
Original post by NaliXLYeah, I''ve seen that, but I don''t put a whole lot of faith in it, since it''s 3DLabs plan, and there is some resistance to bringing it about that quickly, especially from NVIDIA, who want to move to 2.0 more gradually.
Now that''s tactics! Slowing OpenGL 2.0 development down so much, that agains the time it comes out, every gamer thinks OpenGL is crappy shit (directx will be better by the time), and they don''t want it anymore. And NVidia will by that time only have to develop DirectX drivers. Saves ''em time and money…
That''s silly. nVidia employees are amoung the foremost proponents of OpenGL. They just want to make sure they get their say in the process.
quote:Their motivations are quite the opposite, actually. What they''re worried about is that even if everyone goes gung ho on getting 2.0 out as soon as possible, it''s still going to take a while, and that in the meantime, OpenGL will continue to lose ground to Direct3D, so that when 2.0 finally arrives, it''ll be too late. They''re proposing to release at least one more update (1.4) before 2.0 comes out to keep things competitive.
Original post by NaliXL
Now that''s tactics! Slowing OpenGL 2.0 development down so much, that agains the time it comes out, every gamer thinks OpenGL is crappy shit (directx will be better by the time), and they don''t want it anymore. And NVidia will by that time only have to develop DirectX drivers. Saves ''em time and money...
matrox develops gl2.0 supporting hardware
ati develops gl2.0 supporting hardware
3dlabs develops gl2.0 supporting hardware
nvidia does as well
why does nvidia try to block it?
because of xbox
if the major revolution in 3d grafics will come (and gl2.0 will be the beginning of it), theyr investiation xbox will get problems caused by pc-hardware.. they made their own enemy..
thats why gf4 is nothing bether than gf3 (except for speed)
thats why nvidia does not want to have technical new hardware before 2k3..
if they don''t move on, they''ll lose. for sure
ati radeon 10''000 is comming (r300 chip) and ati is yet now more advanced than nvidia technically (worlds best gpu is radeon 8500 (r200). possibly not fastest, but best in technique)
http://tyrannen.starcraft3d.net/loprecisionraytracingonatiradeon8500.jpg
ati can yet raytrace.. every gl2.0 hardware will have the power to raytrace with floatingpointprecision.. (this image is in 8bit precision for the vector-components!)
gl2.0 is the beginning of the next evolution. pushing rastericers is finished, now push stream-processors.
why?
with stream-processors you can:
rasterice (what we do for now) very fast
raytrace (with some nice structure) very fast
encode/decode video-streams very fast
process physic-routines very fast (update 10 to 100 million particles per second.. or do you want 1gig?.. 10gig? 1tera? we''ll see
)
process images (photoshop in hardware.. all effects realtime)
and we finally can drop the basic unit called triangle..
the next basic unit is float and float4.
textures are vertexarrays are screenbuffers are indeces are photoshop-images are mp3-files are models are heightmaps are fast fourier transformed waves from titanic or "a perfect storm" or are simply textures, as before
finally walls are beginning to break.. faster than initially thought.. great, thats how pc''s kicks ass..
one cpu to coordinate, one cpu to calculate (previously called gpu.. now spu, streaming processor unit?)
and.. do you want to program this all in assembler? no.. so there it is: the shading language compiler
"take a look around" - limp bizkit
www.google.com
ati develops gl2.0 supporting hardware
3dlabs develops gl2.0 supporting hardware
nvidia does as well
why does nvidia try to block it?
because of xbox
if the major revolution in 3d grafics will come (and gl2.0 will be the beginning of it), theyr investiation xbox will get problems caused by pc-hardware.. they made their own enemy..
thats why gf4 is nothing bether than gf3 (except for speed)
thats why nvidia does not want to have technical new hardware before 2k3..
if they don''t move on, they''ll lose. for sure
ati radeon 10''000 is comming (r300 chip) and ati is yet now more advanced than nvidia technically (worlds best gpu is radeon 8500 (r200). possibly not fastest, but best in technique)
http://tyrannen.starcraft3d.net/loprecisionraytracingonatiradeon8500.jpg
ati can yet raytrace.. every gl2.0 hardware will have the power to raytrace with floatingpointprecision.. (this image is in 8bit precision for the vector-components!)
gl2.0 is the beginning of the next evolution. pushing rastericers is finished, now push stream-processors.
why?
with stream-processors you can:
rasterice (what we do for now) very fast
raytrace (with some nice structure) very fast
encode/decode video-streams very fast
process physic-routines very fast (update 10 to 100 million particles per second.. or do you want 1gig?.. 10gig? 1tera? we''ll see

process images (photoshop in hardware.. all effects realtime)
and we finally can drop the basic unit called triangle..
the next basic unit is float and float4.
textures are vertexarrays are screenbuffers are indeces are photoshop-images are mp3-files are models are heightmaps are fast fourier transformed waves from titanic or "a perfect storm" or are simply textures, as before

finally walls are beginning to break.. faster than initially thought.. great, thats how pc''s kicks ass..

one cpu to coordinate, one cpu to calculate (previously called gpu.. now spu, streaming processor unit?)
and.. do you want to program this all in assembler? no.. so there it is: the shading language compiler

"take a look around" - limp bizkit
www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
quote:
Original post by davepermen
and we finally can drop the basic unit called triangle..
the next basic unit is float and float4.
Now that sounds interresting! Where can I find more about these float and float4 units?
At least I''m glad to head that OGL2.0 is coming up quite fast, although it sounds like I''ve got a lot to learn...
Newbie programmers think programming is hard.Amature programmers think programming is easy.Professional programmers know programming is hard.
well its easy:
you can set your data free.. vertex arrays can be floats (as today) or ints, shorts, chars what ever
texture data can be chars like now, or shorts, or ints, or floats as well (finally! yeah!)
the vertex pipelines run in 32bit floatingpointpresition
the pixel pipelnes run in 32bit floatingpointprecition as well!
the framebuffer is 128bit res with 4 floats for rgba...
that will make everything united..
and the programability realises it that you can take the screenbuffer as vertexarray as input.. means you can create a vertexbuffer, and render onto it (updating physics or animations completely on gpu) etc..
we''ll have some fun then
"take a look around" - limp bizkit
www.google.com
you can set your data free.. vertex arrays can be floats (as today) or ints, shorts, chars what ever
texture data can be chars like now, or shorts, or ints, or floats as well (finally! yeah!)
the vertex pipelines run in 32bit floatingpointpresition
the pixel pipelnes run in 32bit floatingpointprecition as well!
the framebuffer is 128bit res with 4 floats for rgba...
that will make everything united..
and the programability realises it that you can take the screenbuffer as vertexarray as input.. means you can create a vertexbuffer, and render onto it (updating physics or animations completely on gpu) etc..
we''ll have some fun then

"take a look around" - limp bizkit
www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement