www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - another d demoscene entry

reply #ponce <aliloko gmail.com> writes:
Hi,

We won another demo compo with a D entry (at MAIN demoparty)
http://www.pouet.net/prod.php?which=53942

We tried to make a bigger and more impressive entry this time. Note that it's a
french party so it's not Breakpoint.

D clearly allowed us to be more productive without a demotool. Still, mature
demotools are one order of magnitude more productive (and awfully long to
make). To be honest i don't expect demosceners to switch so easily from C++ but
it could encourage some newcomers (like us) with a small code base.

I just released the source (again under WTFPL).
http://adinpsz.org/data/az-02_-_Extatique_src.zip
Oct 11 2009
next sibling parent "Saaa" <empty needmail.com> writes:
#ponce wrote...
 Hi,

 We won another demo compo with a D entry (at MAIN demoparty)
 http://www.pouet.net/prod.php?which=53942

 We tried to make a bigger and more impressive entry this time. Note that 
 it's a french party so it's not Breakpoint.

 D clearly allowed us to be more productive without a demotool. Still, 
 mature demotools are one order of magnitude more productive (and awfully 
 long to make). To be honest i don't expect demosceners to switch so easily 
 from C++ but it could encourage some newcomers (like us) with a small code 
 base.

 I just released the source (again under WTFPL).
 http://adinpsz.org/data/az-02_-_Extatique_src.zip

Fragment Shader not supported by HW :(
Oct 11 2009
prev sibling next sibling parent Tom S <h3r3tic remove.mat.uni.torun.pl> writes:
#ponce wrote:
 Hi,
 
 We won another demo compo with a D entry (at MAIN demoparty)
 http://www.pouet.net/prod.php?which=53942
 
 We tried to make a bigger and more impressive entry this time. Note that it's
a french party so it's not Breakpoint.
 
 D clearly allowed us to be more productive without a demotool. Still, mature
demotools are one order of magnitude more productive (and awfully long to
make). To be honest i don't expect demosceners to switch so easily from C++ but
it could encourage some newcomers (like us) with a small code base.
 
 I just released the source (again under WTFPL).
 http://adinpsz.org/data/az-02_-_Extatique_src.zip

Congrats! You're on a roll! I've just watched the demo (works beautifully of my GTX260 on Win7) and damn... this is some trippy s**t :D The final touch with quickly going backwards was particularly jaw-dropping. Great job, guys. Keep it up! -- Tomasz Stachowiak http://h3.team0xf.com/ h3/h3r3tic on #D freenode
Oct 11 2009
prev sibling next sibling parent davidl <davidl nospam.org> writes:
在 Mon, 12 Oct 2009 09:07:49 +0800,#ponce <aliloko gmail.com> 写道:

 Hi,

 We won another demo compo with a D entry (at MAIN demoparty)
 http://www.pouet.net/prod.php?which=53942

 We tried to make a bigger and more impressive entry this time. Note that  
 it's a french party so it's not Breakpoint.

 D clearly allowed us to be more productive without a demotool. Still,  
 mature demotools are one order of magnitude more productive (and awfully  
 long to make). To be honest i don't expect demosceners to switch so  
 easily from C++ but it could encourage some newcomers (like us) with a  
 small code base.

 I just released the source (again under WTFPL).
 http://adinpsz.org/data/az-02_-_Extatique_src.zip

Awesome work!The vid rocks! -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
Oct 11 2009
prev sibling next sibling parent Jeremie Pelletier <jeremiep gmail.com> writes:
#ponce wrote:
 Hi,
 
 We won another demo compo with a D entry (at MAIN demoparty)
 http://www.pouet.net/prod.php?which=53942
 
 We tried to make a bigger and more impressive entry this time. Note that it's
a french party so it's not Breakpoint.
 
 D clearly allowed us to be more productive without a demotool. Still, mature
demotools are one order of magnitude more productive (and awfully long to
make). To be honest i don't expect demosceners to switch so easily from C++ but
it could encourage some newcomers (like us) with a small code base.
 
 I just released the source (again under WTFPL).
 http://adinpsz.org/data/az-02_-_Extatique_src.zip

Loved it, ran smoothly in 1920x1200 on my laptop! That was some trippy graphics, very nice shader effects too, and the animations were so fluid. It made me remember my college days.. :D I'm definitely gonna dig into the source, the code doesn't look too complex from the few files I read so far and I might learn a few things. How about a Beatles medley demo next time? In any ways, great job! Jeremie
Oct 11 2009
prev sibling next sibling parent reply torhu <no spam.invalid> writes:
On 12.10.2009 03:07, #ponce wrote:
 Hi,

 We won another demo compo with a D entry (at MAIN demoparty)
 http://www.pouet.net/prod.php?which=53942

 We tried to make a bigger and more impressive entry this time. Note that it's
a french party so it's not Breakpoint.

 D clearly allowed us to be more productive without a demotool. Still, mature
demotools are one order of magnitude more productive (and awfully long to
make). To be honest i don't expect demosceners to switch so easily from C++ but
it could encourage some newcomers (like us) with a small code base.

 I just released the source (again under WTFPL).
 http://adinpsz.org/data/az-02_-_Extatique_src.zip

I only get a black screen, but with music. Can't see any errors in the log. I've got a Radeon mobility hd 3650. Is my gfx card no up to it?
Oct 11 2009
next sibling parent reply Tom S <h3r3tic remove.mat.uni.torun.pl> writes:
torhu wrote:
 I only get a black screen, but with music.  Can't see any errors in the 
 log.  I've got a Radeon mobility hd 3650. Is my gfx card no up to it?

That's what happens when you cross AMD/ATI with OpenGL. -- Tomasz Stachowiak http://h3.team0xf.com/ h3/h3r3tic on #D freenode
Oct 11 2009
parent reply Jeremie Pelletier <jeremiep gmail.com> writes:
Tom S wrote:
 torhu wrote:
 I only get a black screen, but with music.  Can't see any errors in 
 the log.  I've got a Radeon mobility hd 3650. Is my gfx card no up to it?

That's what happens when you cross AMD/ATI with OpenGL.

Strange, my first steps in OpenGL years ago were on my 'old' 1950xtx, I never had any issues with ATI and GL. It's most likely an issue in the code than the card, like trying to use an extension not present in the driver (the function pointers to that extension are then null).
Oct 11 2009
parent Tom S <h3r3tic remove.mat.uni.torun.pl> writes:
Jeremie Pelletier wrote:
 Tom S wrote:
 torhu wrote:
 I only get a black screen, but with music.  Can't see any errors in 
 the log.  I've got a Radeon mobility hd 3650. Is my gfx card no up to 
 it?

That's what happens when you cross AMD/ATI with OpenGL.

Strange, my first steps in OpenGL years ago were on my 'old' 1950xtx, I never had any issues with ATI and GL. It's most likely an issue in the code than the card, like trying to use an extension not present in the driver (the function pointers to that extension are then null).

The hardware is fine, since AMD/ATI works fine in D3D. It's their OpenGL implementation that smells. It's been slowly improving over the last few years (from the state of unworkable to barely OK), but they're still far behind NVidia. -- Tomasz Stachowiak http://h3.team0xf.com/ h3/h3r3tic on #D freenode
Oct 12 2009
prev sibling next sibling parent reply #ponce <aliloko gmail.com> writes:
 I only get a black screen, but with music.  Can't see any errors in the 
 log.  I've got a Radeon mobility hd 3650. Is my gfx card no up to it?

We've a whole range of strange bugs on ATI... It _should_ work but there must be an oddity somewhere in my code. Could you please test if the debug version tells more ? Thanks ! http://adinpsz.org/data/az-02 - Extatique (debug version).zip
Oct 12 2009
next sibling parent reply novice2 <sorry noem.ail> writes:
#ponce Wrote:

 Could you please test if the debug version tells more ? Thanks !
 
 http://adinpsz.org/data/az-02 - Extatique (debug version).zip
 

C:\Temp\az-02 - Extatique (debug version)\az02.exe ### create app
sdl.State.this()

Error: Failed to load proc glPointParameteri from shared library opengl32.dll
Oct 12 2009
parent reply #ponce <aliloko gmail.com> writes:
 
 C:\Temp\az-02 - Extatique (debug version)\az02.exe
 ### create app
sdl.State.this()

Error: Failed to load proc glPointParameteri from shared library opengl32.dll

Ok, you need at least OpenGL 2.0. For example by updating your drivers. This program can give you your OpenGL version: http://dl.getdropbox.com/u/541786/GLinfo2.exe
Oct 12 2009
parent Jeremie Pelletier <jeremiep gmail.com> writes:
#ponce wrote:
 C:\Temp\az-02 - Extatique (debug version)\az02.exe
 ### create app
 sdl.State.this()

Error: Failed to load proc glPointParameteri from shared library opengl32.dll

Ok, you need at least OpenGL 2.0. For example by updating your drivers. This program can give you your OpenGL version: http://dl.getdropbox.com/u/541786/GLinfo2.exe

http://www.realtech-vr.com/glview/index.html It's just amazingly complete.
Oct 12 2009
prev sibling next sibling parent torhu <no spam.invalid> writes:
On 12.10.2009 13:59, #ponce wrote:
  I only get a black screen, but with music.  Can't see any errors in the
  log.  I've got a Radeon mobility hd 3650. Is my gfx card no up to it?

We've a whole range of strange bugs on ATI... It _should_ work but there must be an oddity somewhere in my code. Could you please test if the debug version tells more ? Thanks ! http://adinpsz.org/data/az-02 - Extatique (debug version).zip

The only suspicious thing in the log is this, which appears twice: --- Fragment shader was successfully compiled to run on hardware. Fragment shader(s) linked, vertex shader(s) linked. Validation failed - samplers of different types are bound to the same texture image unit. --- Doesn't look that bad, though. I'll try updating the driver and see.
Oct 12 2009
prev sibling parent torhu <no spam.invalid> writes:
On 12.10.2009 13:59, #ponce wrote:
  I only get a black screen, but with music.  Can't see any errors in the
  log.  I've got a Radeon mobility hd 3650. Is my gfx card no up to it?

We've a whole range of strange bugs on ATI... It _should_ work but there must be an oddity somewhere in my code. Could you please test if the debug version tells more ? Thanks ! http://adinpsz.org/data/az-02 - Extatique (debug version).zip

I updated to the latest driver now, using Mobility Modder.NET to get the latest desktop driver to install on my Acer laptop. Now I get the picture of the girl, then it just hangs after that, and Windows pops up a message about atikmdag driver having a problem. Looks like the driver crashes or something... The last line in the log is this:
Demo.createTextureAndFBOs()

So it appears to hang in that function. The release and debug builds seem to behave exactly the same.
Oct 12 2009
prev sibling parent "Denis Koroskin" <2korden gmail.com> writes:
On Tue, 13 Oct 2009 01:10:09 +0400, torhu <no spam.invalid> wrote:

 On 12.10.2009 13:59, #ponce wrote:
  I only get a black screen, but with music.  Can't see any errors in  
 the
  log.  I've got a Radeon mobility hd 3650. Is my gfx card no up to it?

We've a whole range of strange bugs on ATI... It _should_ work but there must be an oddity somewhere in my code. Could you please test if the debug version tells more ? Thanks ! http://adinpsz.org/data/az-02 - Extatique (debug version).zip

I updated to the latest driver now, using Mobility Modder.NET to get the latest desktop driver to install on my Acer laptop. Now I get the picture of the girl, then it just hangs after that, and Windows pops up a message about atikmdag driver having a problem. Looks like the driver crashes or something... The last line in the log is this:
 Demo.createTextureAndFBOs()

So it appears to hang in that function. The release and debug builds seem to behave exactly the same.

You most probably don't have enough video memory available. How much do you have installed?
Oct 12 2009
prev sibling next sibling parent Chad J <chadjoan __spam.is.bad__gmail.com> writes:
*droollll*

Good trip man.  Thanks for that.

Neat to see D getting use in the demoscene.
Oct 11 2009
prev sibling parent reply "Nick Sabalausky" <a a.a> writes:
"#ponce" <aliloko gmail.com> wrote in message 
news:hatvh5$gqs$1 digitalmars.com...
 Hi,

 We won another demo compo with a D entry (at MAIN demoparty)
 http://www.pouet.net/prod.php?which=53942

 We tried to make a bigger and more impressive entry this time. Note that 
 it's a french party so it's not Breakpoint.

 D clearly allowed us to be more productive without a demotool. Still, 
 mature demotools are one order of magnitude more productive (and awfully 
 long to make). To be honest i don't expect demosceners to switch so easily 
 from C++ but it could encourage some newcomers (like us) with a small code 
 base.

 I just released the source (again under WTFPL).
 http://adinpsz.org/data/az-02_-_Extatique_src.zip

"az02.exe" crashed upon starting with no error/warning in the log.
Oct 11 2009
next sibling parent reply Lionello Lunesu <lio lunesu.remove.com> writes:
On 12-10-2009 12:30, Nick Sabalausky wrote:
 "#ponce"<aliloko gmail.com>  wrote in message
 news:hatvh5$gqs$1 digitalmars.com...
 Hi,

 We won another demo compo with a D entry (at MAIN demoparty)
 http://www.pouet.net/prod.php?which=53942

 We tried to make a bigger and more impressive entry this time. Note that
 it's a french party so it's not Breakpoint.

 D clearly allowed us to be more productive without a demotool. Still,
 mature demotools are one order of magnitude more productive (and awfully
 long to make). To be honest i don't expect demosceners to switch so easily
 from C++ but it could encourage some newcomers (like us) with a small code
 base.

 I just released the source (again under WTFPL).
 http://adinpsz.org/data/az-02_-_Extatique_src.zip

"az02.exe" crashed upon starting with no error/warning in the log.

Same here. Do you also use an intel x3100 graphics card? L.
Oct 12 2009
parent #ponce <aliloko gmail.com> writes:
 Same here. Do you also use an intel x3100 graphics card?
 
 L.

The demo is unlikely to work on Intel GMA's because it requires more than 128 mb of VRAM (i don't know the state of intel GMA OpenGL support either)
Oct 12 2009
prev sibling next sibling parent reply #ponce <aliloko gmail.com> writes:
 
 "az02.exe" crashed upon starting with no error/warning in the log. 
 

Maybe the debug version will tell more / work better : http://adinpsz.org/data/az-02 - Extatique (debug version).zip
Oct 12 2009
parent "Nick Sabalausky" <a a.a> writes:
"#ponce" <aliloko gmail.com> wrote in message 
news:hav57m$2msh$1 digitalmars.com...
 "az02.exe" crashed upon starting with no error/warning in the log.

Maybe the debug version will tell more / work better : http://adinpsz.org/data/az-02 - Extatique (debug version).zip

Same exact results. It's been forever since I cared about graphics cards, so I had too look up what I have (although I knew it was either ATI or NVidia). Device manager's reporting "Radeon 9200 series" (ATI, of coruse). I have no idea how much RAM that has. It does have TV-out, if that helps...
Oct 12 2009
prev sibling parent reply Sergey Gromov <snake.scaly gmail.com> writes:
Content-type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Mon, 12 Oct 2009 00:30:16 -0400, Nick Sabalausky wrote:

 "#ponce" <aliloko gmail.com> wrote in message 
 news:hatvh5$gqs$1 digitalmars.com...
 Hi,

 We won another demo compo with a D entry (at MAIN demoparty)
 http://www.pouet.net/prod.php?which=53942

 We tried to make a bigger and more impressive entry this time. Note that 
 it's a french party so it's not Breakpoint.

 D clearly allowed us to be more productive without a demotool. Still, 
 mature demotools are one order of magnitude more productive (and awfully 
 long to make). To be honest i don't expect demosceners to switch so easily 
 from C++ but it could encourage some newcomers (like us) with a small code 
 base.

 I just released the source (again under WTFPL).
 http://adinpsz.org/data/az-02_-_Extatique_src.zip

"az02.exe" crashed upon starting with no error/warning in the log.

Same for me. It just crashes while loading. The debug version is more informative. It says: Error: CompileError : Cannot compile data/shaders/glow.fs LOG : (1) : error C5018: length of constructed vectors cannot exceed 4 These three lines are not in log.txt, but everything else is. The log.txt is attached.
Oct 17 2009
parent #ponce <aliloko gmail.com> writes:
 Same for me.  It just crashes while loading.  The debug version is more
 informative.  It says:
 
 Error: CompileError : Cannot compile data/shaders/glow.fs
 LOG :
 (1) : error C5018: length of constructed vectors cannot exceed 4
 
 These three lines are not in log.txt, but everything else is.  The
 log.txt is attached.

Hey, thanks :) ! Indeed there is an error. uniform sampler1D tex; gl_FragColor = gl_Color * vec4(1.0,1.0,1.0, texture1D(tex, a)); should be replaced by: gl_FragColor = gl_Color * vec4(1.0,1.0,1.0, texture1D(tex, a).x);
Oct 18 2009