General Category > Anim8or v0.98 Discussion Forum

BUG: anim8or freezing from converted file. file too big?

<< < (3/3)

Steve:
The problem is that the grid size in the environment chunk is all zeros.  This causes Anim8or to go into a loop.  I don't know how this happened but I've added a patch to Anim8or to replace any 0 valued grid settings with the defaults so this won't happen:

header {
  version { "0.97d beta" }
  build { "2008.09.21" }
}
environment {
  grid { 0 0 0 0 }
  lighting {
    intensity { 1 }
    ambientintensity { 0.20000 }
  }
  framerate { 0 }
  film {
    size { 400 300 }
    ratio { 4 3 }
  }
}

Deepthought:
OK. Thanks. I'll add 1s for the grid to my program. I bet if the grid rendering code was incrementing by 0 it could never finish rendering the grid.

Steve:
It was dividing by 0.0 which resulted in +Inf for the number of lines to draw :-)

If you want to use the Anim8or defaults here are the values - you probably also want to set the frame rate to something besides 0:

  grid { 1 10 50 50 }
  framerate { 30 }

Navigation

[0] Message Index

[*] Previous page

Go to full version