Author Topic: 250 demos converted and counting...  (Read 33492 times)

0 Members and 1 Guest are viewing this topic.

Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4424
    • View Profile
Re: 200 demos converted and counting...
« Reply #20 on: July 07, 2015, 06:42:58 PM »
Alps - shader of the week contains 2 typos in line #262.
I wonder why such bugs slip through in Shadertoy but not in GLSL Hacker?

replace Map(p) < .5 ? dist.x = halfwayT : dist.y = halfwayT;
with     Map(p) < .5 ; dist.x = halfwayT ; dist.y = halfwayT;




Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4424
    • View Profile
Re: 200 demos converted and counting...
« Reply #21 on: July 19, 2015, 10:22:44 AM »
[SIG 2015] Oblivion

Pretty bad ass shader, download in GLSL Hacker format >>>here<<<



Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4424
    • View Profile
Re: 250 demos converted and counting...
« Reply #22 on: July 22, 2015, 06:11:41 PM »
Download updated archive with 250 demos here

in future resolution will be 800x480 ;)

also fragment shaders will start with
#define fragColor gl_FragColor
#define fragCoord gl_FragCoord
to avoid annoying editing, i.e. only mainImage left over

some WIP shaders:

Awesome Star - NVIDIA only, AMD complains about a float command
Nightfall - compiles, but fails to render most stuff
Juggler spinoff - has 2 entry points mainText and mainImage, don't know what to do with that

Some other shaders had to be fixed because of using reserved words like "char" or "case"

Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4424
    • View Profile
Re: 250 demos converted and counting...
« Reply #23 on: July 23, 2015, 02:15:51 PM »
Today i was looking at some GLSL Sandbox demos.
I noticed that

Code: [Select]
uniform sampler2D backbuffer; // texture reference of the immediate prior frame
screws up the bottom of the screen.

Also i took a look at misc. text shaders.




Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4424
    • View Profile
Re: 250 demos converted and counting...
« Reply #24 on: July 28, 2015, 11:06:11 PM »
Download code for following demos from >>>here<<<
And the models from the original location.

San Miguel

Triangles: 7,880,512
Vertices: 6,720,106

GLSL Hacker allocates 2.7 GB RAM with NVIDiA or 4.4 GB with Intel GPU for that model.
It forgets some textures while rendering.





Dabrovic Sponza




Sibenik

« Last Edit: July 29, 2015, 05:45:51 AM by Stefan »

nuninho1980

  • NewsPosters
  • Full Member
  • *
  • Posts: 150
    • View Profile
Re: 250 demos converted and counting...
« Reply #25 on: July 29, 2015, 12:10:28 PM »
Download code for following demos from >>>here<<<
And the models from the original location.

San Miguel

Triangles: 7,880,512
Vertices: 6,720,106

GLSL Hacker allocates 2.7 GB RAM with NVIDiA or 4.4 GB with Intel GPU for that model.
It forgets some textures while rendering.


My GTX 780 Ti Classified is faster than your 750 Ti but I got only 29 fps running Win 8.1 x64 with my CPU i5-2500K@4.5GHz because GLSL Hacker seems be not good optimized for mega polygons - CPU gets bottlenecked.

I think that my videocard gets ~95 fps at ~95-99% GPU usage without CPU bottenecked.
« Last Edit: July 29, 2015, 12:15:01 PM by nuninho1980 »

Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4424
    • View Profile
Re: 250 demos converted and counting...
« Reply #26 on: July 29, 2015, 03:15:57 PM »

My GTX 780 Ti Classified is faster than your 750 Ti but I got only 29 fps running Win 8.1 x64 with my CPU i5-2500K@4.5GHz because GLSL Hacker seems be not good optimized for mega polygons - CPU gets bottlenecked.

I think that my videocard gets ~95 fps at ~95-99% GPU usage without CPU bottenecked.

Maybe the Python part could be CUDA accelerated?

Can you post a screenshot with your GPU? I wonder if you see more textures with more video RAM.

nuninho1980

  • NewsPosters
  • Full Member
  • *
  • Posts: 150
    • View Profile
Re: 250 demos converted and counting...
« Reply #27 on: July 29, 2015, 03:52:38 PM »
Maybe the Python part could be CUDA accelerated?
Run GLSL Hacker to open "sao miguel" and click "Python immediate mode box" and button "Execute!". Ok? But dunno how...

Quote
Can you post a screenshot with your GPU? I wonder if you see more textures with more video RAM.
1800 MB VRAM. But my number of textures is equal to your.
« Last Edit: July 29, 2015, 09:39:48 PM by nuninho1980 »

nuninho1980

  • NewsPosters
  • Full Member
  • *
  • Posts: 150
    • View Profile
Re: 250 demos converted and counting...
« Reply #28 on: July 29, 2015, 09:36:51 PM »
Should read again my post #27. - I'm sorry because I did badly about "quote".

For JeGX or any guy: Has GTX 980 Ti same problem?
« Last Edit: July 29, 2015, 09:43:55 PM by nuninho1980 »

Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4424
    • View Profile
Re: 250 demos converted and counting...
« Reply #29 on: July 30, 2015, 06:02:39 AM »
Maybe the Python part could be CUDA accelerated?
Run GLSL Hacker to open "sao miguel" and click "Python immediate mode box" and button "Execute!". Ok? But dunno how...

Actually i was thinking about "PYCUDA".



Shadertoy celebrates Win 10 launch it's own way


nuninho1980

  • NewsPosters
  • Full Member
  • *
  • Posts: 150
    • View Profile
Re: 250 demos converted and counting...
« Reply #30 on: July 30, 2015, 10:30:58 AM »
Actually i was thinking about "PYCUDA".
GLSL Hacker hasn't PyCUDA. I'll download "pycuda 2015.1.2", ok? How do I install this downloaded to GLSL Hacker?