Pretty water!
-
- Posts: 268
- Joined: Tue Nov 24, 2009 2:20 am
- Contact:
I'm going to go with C, based on the Wikipedia page.reckless wrote:neither it uses glslang or opengl's variant of directx hardware shaders.
darkplaces supports external scripts for making cool effects
Get off my lawn!Ken Thompson wrote:One of my most productive days was throwing away 1000 lines of code.
possible to do hardware shading in in pure c but you will be in for a rough ride
the same code in glsl maybe takes 50 lines of code where as if you do it in C you will most likely end up writing about 5000 lines of code
the benefit of doing it the hard way is it might run on legacy hardware that dont support glsl (need a really old card) even my old geforce 2 can do em (to some extent) but my voodoo2 breaks
the same code in glsl maybe takes 50 lines of code where as if you do it in C you will most likely end up writing about 5000 lines of code
the benefit of doing it the hard way is it might run on legacy hardware that dont support glsl (need a really old card) even my old geforce 2 can do em (to some extent) but my voodoo2 breaks
*scratches head*dreadlorde wrote:I'm going to go with C, based on the Wikipedia page.reckless wrote:neither it uses glslang or opengl's variant of directx hardware shaders.
darkplaces supports external scripts for making cool effects
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
-
- Posts: 268
- Joined: Tue Nov 24, 2009 2:20 am
- Contact:
GLSL is based on C, so I'm just going to say that the pretty water was done in C.Sajt wrote:*scratches head*dreadlorde wrote:I'm going to go with C, based on the Wikipedia page.reckless wrote:neither it uses glslang or opengl's variant of directx hardware shaders.
darkplaces supports external scripts for making cool effects
Get off my lawn!Ken Thompson wrote:One of my most productive days was throwing away 1000 lines of code.
Well, the only similarity is in the syntax... but if you meant whether the shaders were done in an assembly-style shader language or a non-assembly-style shader language, I guess you can say that...
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
-
- Posts: 2126
- Joined: Sat Nov 25, 2006 1:49 pm
A lot of languages are syntax-based on C, but they aren't C.dreadlorde wrote:GLSL is based on C, so I'm just going to say that the pretty water was done in C.Sajt wrote:*scratches head*dreadlorde wrote:I'm going to go with C, based on the Wikipedia page.
Also, any statement from Wikipedia should be considered with at a bit of salt.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC (LordHavoc)
bit more to it than that aye most code is in some form or another based on the standards like C/C++
say for example python is more of a script language with the capability of making programs but those programs will then depend on the python runtime dll to run.
glsl has a bit of the same behaviour but you dont really notice it because the runtime dll comes with your gfx card in form of an opengl interpreter.
and java has the same behaviour as spike pointed out
the benefit of glsl is it uses something that you allready have namely the drivers for your video card (i do hope you have em)
say for example python is more of a script language with the capability of making programs but those programs will then depend on the python runtime dll to run.
glsl has a bit of the same behaviour but you dont really notice it because the runtime dll comes with your gfx card in form of an opengl interpreter.
and java has the same behaviour as spike pointed out
the benefit of glsl is it uses something that you allready have namely the drivers for your video card (i do hope you have em)
-
- Posts: 268
- Joined: Tue Nov 24, 2009 2:20 am
- Contact:
AluminumHaste@
Try this one http://www.mediafire.com/?maqtng2ged5 (I've packed and tested it just a moment ago)
Thanks to new version of DarkPlaces water now can have glossy surface like on this picture
But now water looks very static, because you can see that it is just moving. So here is my question: does anybody know how to change script to add animation frames?
Try this one http://www.mediafire.com/?maqtng2ged5 (I've packed and tested it just a moment ago)
Thanks to new version of DarkPlaces water now can have glossy surface like on this picture
But now water looks very static, because you can see that it is just moving. So here is my question: does anybody know how to change script to add animation frames?
-
- Posts: 268
- Joined: Tue Nov 24, 2009 2:20 am
- Contact: