"Too big" error

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
Sean
Posts: 2
Joined: Tue Jul 14, 2009 1:44 pm
Location: Washington State

"Too big" error

Post 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!

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post 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.

Sean
Posts: 2
Joined: Tue Jul 14, 2009 1:44 pm
Location: Washington State

Post 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)

Post Reply