Re: DEFract 0.2 - A 3D fractal explorer
Posted: Sun May 13, 2012 9:44 am
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.
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.
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!
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
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.
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:
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;).