DEFract 0.5 - 3D fractal explorer. Now with GUI!
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: DEFract 0.2 - A 3D fractal explorer
At first I thought it didn't work on my machine (black screen), but then I tried to move the mouse around and I saw the fractal. Ubuntu with nvidia.
When I write def I mean function.
Re: DEFract 0.2 - A 3D fractal explorer
i HATE canvases I cant use this with because of them
Your screen is very zoomed in...
Re: DEFract 0.2 - A 3D fractal explorer
Well, when I said I wasn't sure it'll work for everyone
So, what's uncool is that nobody got the same problem. The thing is that I only tested it on NVidia-powered computer (win and linux). And it seems that NVidia is much more tolerant to bad code...
For the graphical driver failures of TechnoCat and veethree, and jradich's crash, I hope that Boolsheet's correction will make it better, but be careful, you are running bugged code on your graphical card .
Here is a gif I forgot in the first post :
So, here is v0.3 wich include the uninitialized variable correction, some corrections that could make it run with ATI cards and a simplification of the way fractal's animation is detected. Talking of this, is there any way to detect if a variable exists in a pixeleffect? (currently, I try to send "time" in a pcall and catch the error...) I hope it will make it run for more people.
So, what's uncool is that nobody got the same problem. The thing is that I only tested it on NVidia-powered computer (win and linux). And it seems that NVidia is much more tolerant to bad code...
Thanks, that was a big one! And probably the source of a lot of problems.Boolsheet wrote:Yeah, there's the issue at render.lua:33: Usage of uninitialized value 'i'.
Well, I don't have any integer constant. Maybe that was the unitialized "i".coffee wrote:Very beautiful math art. Unfortunately for me gives error: error in fractal code, cannot compile shader error 0:26 constant integer overflow. Perhaps too much for my DuoCore only machine.
For the graphical driver failures of TechnoCat and veethree, and jradich's crash, I hope that Boolsheet's correction will make it better, but be careful, you are running bugged code on your graphical card .
Did you try to look around, or press tab to try another fractal? Sometimes you are just looking at the void. (Just as kikito on the next post).Jasoco wrote:I just get a black screen in 0.8.0. Pressing space does show the information. But nothing renders.
ishkabible wrote:this is amazing! This is the kind of stuff that keeps me coming back the this community.
Thanks, that's cool to hear!josefnpat wrote:Ran like a dog in heat in linux. Fantastic!
Here is a gif I forgot in the first post :
Sorry to hear that. I will try to make a canvas-free version (but it's really useful here, without it I barely can do anything on my computer while DEFract is running...)mickeyjm wrote:i HATE canvases I cant use this with because of them
So, here is v0.3 wich include the uninitialized variable correction, some corrections that could make it run with ATI cards and a simplification of the way fractal's animation is detected. Talking of this, is there any way to detect if a variable exists in a pixeleffect? (currently, I try to send "time" in a pcall and catch the error...) I hope it will make it run for more people.
- Attachments
-
- defract.love
- v0.3 - bugfixes
- (11.76 KiB) Downloaded 206 times
Current project : 3D fractal explorer DEFract ( viewtopic.php?t=9193)
Github : https://github.com/plule/ | Twitter : http://twitter.com/plule_
Github : https://github.com/plule/ | Twitter : http://twitter.com/plule_
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: DEFract 0.3 - A 3D fractal explorer
On my computer it works (Linux, with a reasonably crappy laptop), although very, very slowly (about 1-5 FPS).
Help us help you: attach a .love.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: DEFract 0.2 - A 3D fractal explorer
If I'm understanding you correctly, you can simply initialize your uniform variable with a number, like: uniform float time = 0.0; (or extern number time = 0.0;).Patalo wrote:Talking of this, is there any way to detect if a variable exists in a pixeleffect? (currently, I try to send "time" in a pcall and catch the error...) I hope it will make it run for more people.
Re: DEFract 0.3 - A 3D fractal explorer
Still same error with me, however no blue screen. Also I get a weird rendering of font as show here:
Re: DEFract 0.3 - A 3D fractal explorer
Hey I think I got it ! Please test with the attachment. (I hope you don't mind being exploited as alpha tester ) And don't worry for the weird rendering font, it's because I catch the errors in the fractals' code so the application don't quit.coffee wrote:Still same error with me, however no blue screen. Also I get a weird rendering of font as show here:
If it still doesn't work, you still can try another fractal by pressing 'tab', the error seems to be in the first fractal code.
You can lower the quality by scrolling down. Also, try not to look at the void, it's the worst case. Go inside a fractal (like the mandelbox, it has some predefined inside views you can access with 'return' key).Robin wrote:On my computer it works (Linux, with a reasonably crappy laptop), although very, very slowly (about 1-5 FPS).
Yeah, that would be exactly that kind of fix, but the problem is that with not animated fractals, this variable "time" is not used, and I guess the compiler delete it. So even by initializing it, I get the error «Cannot get location of shader variable `time'.» when I try to send it. I think I will switch to a simple boolean in the .lua file describing the fractal. This is far more simple than all I've currently tried.slime wrote: If I'm understanding you correctly, you can simply initialize your uniform variable with a number, like: uniform float time = 0.0; (or extern number time = 0.0;).
- Attachments
-
- defract.love
- v0.3.1
- (11.79 KiB) Downloaded 387 times
Current project : 3D fractal explorer DEFract ( viewtopic.php?t=9193)
Github : https://github.com/plule/ | Twitter : http://twitter.com/plule_
Github : https://github.com/plule/ | Twitter : http://twitter.com/plule_
Re: DEFract 0.3 - A 3D fractal explorer
Darn Canvases
This looks really impressive though! I'm about to go do some research on this
This looks really impressive though! I'm about to go do some research on this
Re: DEFract 0.3 - A 3D fractal explorer
Ran it on my WinXP low-medium level machine. Too sad that it can only run at < 1 FPS but it looks very very beautiful
How is it rendered (raytracing, something else)?
Also can we know your beast's specs that you ran it on?
I just looked at your code and I'm very curious because you made something similar that I tried to do. it's going to be a great learning resource
How is it rendered (raytracing, something else)?
Also can we know your beast's specs that you ran it on?
I just looked at your code and I'm very curious because you made something similar that I tried to do. it's going to be a great learning resource
Re: DEFract 0.3 - A 3D fractal explorer
You did it. It runs now well enough and with decent speed. Beautiful images thank you.
Travel inside that cube structure should be like Luke Skywalker dived in Death Star.
Isn't missing a FPS in "space" debug key?
Travel inside that cube structure should be like Luke Skywalker dived in Death Star.
Isn't missing a FPS in "space" debug key?
Who is online
Users browsing this forum: No registered users and 1 guest