Page 1 of 1

"Too big" error

Posted: Wed Jul 15, 2009 11:39 am
by Sean
I am new to CFDG so please excuse my limited knowledge

When I am rendering a simple shape I get a message that says "a shape got too big"

All of the shapes in the code are set <1

What does this mean?

Thanks for the help!

Posted: Wed Jul 15, 2009 1:56 pm
by MtnViewJohn
Can you post your code to this thread? The geometric information about a shape is stored in six 32-bit floating point numbers. If any of those numbers is infinite or not-a-number then you get the 'shape got too big' error message. This only happens if some shape replacements have a size greater than 1 and the rule probabilities are set so that this replacement happens too often.

Posted: Wed Jul 15, 2009 3:35 pm
by Sean
You were right: I think that in the rule to make to fractal recursive the size was too large and ended up expanding it too much.

I managed to fix it.

thanks

(plus the resulting fractal was pretty cool, I'll upload it to the gallery once I've tweaked it a bit)