Re: another d demoscene entry

2009-10-18 Thread #ponce
> 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);







Re: another d demoscene entry

2009-10-17 Thread Sergey Gromov
Mon, 12 Oct 2009 00:30:16 -0400, Nick Sabalausky wrote:

> "#ponce"  wrote in message 
> news:hatvh5$gq...@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.

log.txt
Description: Attached file: log.txt


Re: another d demoscene entry

2009-10-12 Thread Nick Sabalausky
"#ponce"  wrote in message 
news:hav57m$2ms...@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... 




Re: another d demoscene entry

2009-10-12 Thread Denis Koroskin

On Tue, 13 Oct 2009 01:10:09 +0400, torhu  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?


Re: another d demoscene entry

2009-10-12 Thread torhu

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.


Re: another d demoscene entry

2009-10-12 Thread #ponce
> 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.

I'm totally clueless on this one.


Re: another d demoscene entry

2009-10-12 Thread Jeremie Pelletier

#ponce wrote:

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

sdl.State.this()



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



The most extensive GL info utility i've seen so far is this one:

http://www.realtech-vr.com/glview/index.html

It's just amazingly complete.


Re: another d demoscene entry

2009-10-12 Thread torhu

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.


Re: another d demoscene entry

2009-10-12 Thread novice2
> > can i get opengl 2 as separate distro?
> Nope.

ok. nevermind.

> I'm sorry i don't think the demo will ever run on Intel.
> Maybe Intel does not support further release of OpenGL with your card, i 
> don't know.

no no, i am not request, just thinked it is bug


Re: another d demoscene entry

2009-10-12 Thread #ponce
novice2 Wrote:

> i have intel 82945G Express.
> GLinfo2.exe say i have opengl 1.4.
> i can't find more new driver.
> can i get opengl 2 as separate distro?
Nope.
I'm sorry i don't think the demo will ever run on Intel.
Maybe Intel does not support further release of OpenGL with your card, i don't 
know.


Re: another d demoscene entry

2009-10-12 Thread novice2
i have intel 82945G Express.
GLinfo2.exe say i have opengl 1.4.
i can't find more new driver.
can i get opengl 2 as separate distro?

#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
> 
> 



Re: another d demoscene entry

2009-10-12 Thread #ponce
> 
> 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




Re: another d demoscene entry

2009-10-12 Thread novice2
#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()


Re: another d demoscene entry

2009-10-12 Thread #ponce
> > Why is my post duplicated ? I use Web-News.
> 
> Did you post it, and it failed to post, then posted again?
> 
> I've had that happen to me before.  Three words - Web News sucks.
> 
> -Steve

I don't really remember now.



Re: another d demoscene entry

2009-10-12 Thread Steven Schveighoffer

On Sun, 11 Oct 2009 21:09:53 -0400, #ponce  wrote:


Why is my post duplicated ? I use Web-News.


Did you post it, and it failed to post, then posted again?

I've had that happen to me before.  Three words - Web News sucks.

-Steve


Re: another d demoscene entry

2009-10-12 Thread #ponce
> 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)



Re: another d demoscene entry

2009-10-12 Thread #ponce
> 
> "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


Re: another d demoscene entry

2009-10-12 Thread Tom S

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


Re: another d demoscene entry

2009-10-12 Thread Lionello Lunesu

On 12-10-2009 12:30, Nick Sabalausky wrote:

"#ponce"  wrote in message
news:hatvh5$gq...@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.



Re: another d demoscene entry

2009-10-11 Thread Jeremie Pelletier

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).


Re: another d demoscene entry

2009-10-11 Thread Tom S

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


Re: another d demoscene entry

2009-10-11 Thread Nick Sabalausky
"#ponce"  wrote in message 
news:hatvh5$gq...@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. 




Re: another d demoscene entry

2009-10-11 Thread Chad J
*droo*

Good trip man.  Thanks for that.

Neat to see D getting use in the demoscene.


Re: another d demoscene entry

2009-10-11 Thread torhu

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?


Re: another d demoscene entry

2009-10-11 Thread Jeremie Pelletier

#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


Re: another d demoscene entry

2009-10-11 Thread davidl

在 Mon, 12 Oct 2009 09:07:49 +0800,#ponce  写道:


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/


Re: another d demoscene entry

2009-10-11 Thread Tom S

#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


Re: another d demoscene entry

2009-10-11 Thread Saaa
#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 :( 




another d demoscene entry

2009-10-11 Thread #ponce
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


another d demoscene entry

2009-10-11 Thread #ponce
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


Re: another d demoscene entry

2009-10-11 Thread #ponce
Why is my post duplicated ? I use Web-News.