Search found 380 matches

by GijsB
Fri Jan 06, 2017 9:26 pm
Forum: Support and Development
Topic: Accumulating Frames
Replies: 9
Views: 4965

Accumulating Frames

I'm porting a pathtracer to LÖVE but I'm having trouble collecting&averaging frames using GLSL & Canvases. Anyone ideas? What I currently have : newRenderFrame = love.graphics.newCanvas(Width,Height) love.graphics.setCanvas(newRenderFrame) love.graphics.setShader(RenderShader) love.graphics....
by GijsB
Fri Jan 06, 2017 4:53 pm
Forum: Games and Creations
Topic: Menger Sponge Explorer
Replies: 41
Views: 31909

Menger Sponge Explorer

Edit : Pathtracer Added! Edit : Movement and 'slider' controls are now scancodes and fractal iteration loop is unfolded. Edit : Movement speed can be changend and camera is now proper thanks to raidho36. Edit : Sun position editable. Edit : Fixed for some users. Edit : All controls scancodes. Edit :...
by GijsB
Fri Jan 06, 2017 4:52 pm
Forum: Games and Creations
Topic: GLSL Mandelbrot
Replies: 8
Views: 7047

Re: GLSL Mandelbrot

Thanks for the clarification on the mini-Mandelbrot colour. I said: It would be nice if it zoomed towards the mouse instead of using keys, à la Xaos. And here's a function to do that: local function PanTowardMouse(oldzoom, newzoom) local mx, my = love.mouse.getPosition() -- Transform mouse coords t...
by GijsB
Fri Jan 06, 2017 1:20 pm
Forum: Games and Creations
Topic: GLSL Mandelbrot
Replies: 8
Views: 7047

Re: GLSL Mandelbrot

Very cool. I take it it's single precision, right? It would be nice if it zoomed towards the mouse instead of using keys, à la Xaos. Is there any reason why some mini-Mandelbrots are blue instead of black? I take it that has to do with smoothing function edge cases; messing around with maximum numb...
by GijsB
Thu Jan 05, 2017 10:35 pm
Forum: Games and Creations
Topic: GLSL Mandelbrot
Replies: 8
Views: 7047

GLSL Mandelbrot

Explore the wonders of floating point precision errors.

All mouse controlled, you can even change the render resolution for screenshots :).

http://www.iquilezles.org/www/articles/ ... smooth.htm
by GijsB
Thu Jan 05, 2017 9:15 pm
Forum: Support and Development
Topic: Need some help with shaders
Replies: 2
Views: 1880

Re: Need some help with shaders

raidho36 wrote:It's never used in the shader so the GLSL compiler optimizes it away - hence the message that it doesn't exist.
Thanks, that fixed it!

Edit : How can force GLSL not to optimize the uniforms/externs away?
by GijsB
Thu Jan 05, 2017 9:01 pm
Forum: Support and Development
Topic: Need some help with shaders
Replies: 2
Views: 1880

Need some help with shaders

For some reason my code doesn't want to send my shader information, and I just can't figure out why.
by GijsB
Sun Jan 13, 2013 7:45 pm
Forum: Libraries and Tools
Topic: voronoi patterns
Replies: 4
Views: 3112

voronoi patterns

Jup that's it, Instruction are in game
by GijsB
Mon Dec 17, 2012 4:43 pm
Forum: Games and Creations
Topic: Hangman
Replies: 19
Views: 10289

Re: Hangman

Siriously? Is this a request for a Hangman game..?
by GijsB
Sat Dec 01, 2012 1:44 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1510749

Re: What's everyone working on? (tigsource inspired)

Larsii30 wrote:
SimonLarsen wrote:Lots of progress.
>img<
huge progress! Good work.

I recently finished the lighting system:
...
Dat lighting :D