Menger Sponge Explorer

Show off your games, demos and other (playable) creations.
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Menger Sponge Explorer

Post by GijsB »

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 : Actual working scancodes.

Edit : Now user friendly with GUI's.

Edit : Right click slider for fine-tuning.

Edit : Realized Offsets of the same 'direction' create the same fractal but scaled differently, so it's normalized now.

Edit : Render Resolution can be changed

Oh and please share you discoveries by taking a screenshot with the information screen on!
(Screenshot folder is located in %appdata%/roaming/LOVE)

And don't forget to press 'j' for EXTREME PHOTOREALISTIC RENDERING WOOO
Attachments
Menger Sponge.love
V.14
(7.82 KiB) Downloaded 305 times
1485181547.png
1485181547.png (1.43 MiB) Viewed 9744 times
1484347118.png
1484347118.png (899.83 KiB) Viewed 9744 times
Last edited by GijsB on Mon Jan 23, 2017 6:16 pm, edited 20 times in total.
User avatar
Le_juiceBOX
Citizen
Posts: 71
Joined: Sat Mar 26, 2016 3:07 pm

Re: Menger Sponge Explorer

Post by Le_juiceBOX »

Lol laptop crashed.
SteamLibrary-like Program For Love2D Games:
take me to the forum thread!
User avatar
skyHights
Citizen
Posts: 78
Joined: Mon Aug 25, 2014 12:14 pm

Re: Menger Sponge Explorer

Post by skyHights »

It's really cool, I have one problem though.

This is what I see when in normal render mode:
1483927839.png
1483927839.png (932.78 KiB) Viewed 10276 times
This is what I see when in ULTIMATE RENDER MODE:
1483927834.png
1483927834.png (1.71 MiB) Viewed 10276 times
Learning to Löve.
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Menger Sponge Explorer

Post by GijsB »

skyHights wrote:It's really cool, I have one problem though.

This is what I see when in normal render mode:
1483927839.png

This is what I see when in ULTIMATE RENDER MODE:
1483927834.png
Uhm yes that is not actually a bug! I implemented Depth of Field and your Focal Length and Aperture are wrong for this shot, literally a camera out of focus. Try to lower the aperture and make the important parts red by changing the focal length. (the red thingies in normal mode show focal length <=> red parts are sharp)
Last edited by GijsB on Tue Jan 10, 2017 9:07 am, edited 1 time in total.
User avatar
zorg
Party member
Posts: 3468
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Menger Sponge Explorer

Post by zorg »

You mind using scancodes instead of keycodes? :3
Makes it more i18n user friendly that way.

Edit: Works for me otherwise btw, though interestingly the "EXTREME PHOTOREALISTIC RENDERING WOOO" mode lags my PC without me seeing just what is happening; löve reports no extreme CPU or GPU usage... so it's a bit weird...
Last edited by zorg on Tue Jan 10, 2017 4:14 am, edited 1 time in total.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Menger Sponge Explorer

Post by raidho36 »

Crashed for me. The culprit is the sponge shader. Just having it loaded crashes the program shortly, without even using it to render anything - which crashes it instantly. Something must be terribly wrong with that shader. :huh: But also it crashes with a segfault without raising any errors, and that warrants LÖVE source code investigation.
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Menger Sponge Explorer

Post by GijsB »

raidho36 wrote:Crashed for me. The culprit is the sponge shader. Just having it loaded crashes the program shortly, without even using it to render anything - which crashes it instantly. Something must be terribly wrong with that shader. :huh: But also it crashes with a segfault without raising any errors, and that warrants LÖVE source code investigation.
Could be your graphics card actually. But yeah the shader is BIG.
zorg wrote:You mind using scancodes instead of keycodes? :3
Makes it more i18n user friendly that way.

Edit: Works for me otherwise btw, though interestingly the "EXTREME PHOTOREALISTIC RENDERING WOOO" mode lags my PC without me seeing just what is happening; löve reports no extreme CPU or GPU usage... so it's a bit weird...
I didn't know keycodes aren't universal, expect scancodes tomorrow. Also that is kind of weird, GPU usage should be through the roof...
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Menger Sponge Explorer

Post by raidho36 »

No I in fact believe it's your graphics card - 5 bucks says it's Nvidia. There could be very serious problems with the shader, but your GPU will try munching through them instead of raising errors, obscuring the very existence of the very real issues from you. For this single reason, Nvidia GPUs are the worst choice for graphics code development. But I digress; I'm not the only person who has it crash on them, and the evidence (runs fine for most but not on ATI and probably Intel) suggests that there are problems with the shader that Nvidia obscures but that are apparent on other vendor graphics, being a very common problem for Nvidia owners who try developing graphics code.
User avatar
zorg
Party member
Posts: 3468
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Menger Sponge Explorer

Post by zorg »

Raidho36: If you mean me, then yeah, i have a combined nvidia gtx 960 and gtx 750 ti (with latest drivers that support the latter)
Maybe it reports gpu usage wrongly, idk.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
srcn
Citizen
Posts: 59
Joined: Fri Dec 28, 2012 2:22 am
Location: Tartu
Contact:

Re: Menger Sponge Explorer

Post by srcn »

demoscene is not dead :D
I am a mad scientist!
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests