Author Topic: Consider adjusting Config.maxPolysVisible!  (Read 2545 times)

Offline yxbnnl

  • byte
  • *
  • Posts: 19
    • View Profile
Consider adjusting Config.maxPolysVisible!
« on: March 31, 2009, 09:15:33 am »
How to amend this warning?

[ Tue Mar 31 15:22:46 CST 2009 ] - WARNING: You've exceeded the configured triangle limit for the visibility list. Consider adjusting Config.maxPolysVisible!

Thanks!

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: Consider adjusting Config.maxPolysVisible!
« Reply #1 on: March 31, 2009, 11:04:23 am »
That message means you need to increase Config.maxPolysVisible.  If you don't, you won't be able to see all the polygons in your scene (models will look distorted).  Just read the output messages and add up how may polys are being loaded for your models.  Use that to calculate what Config.maxPolysVisible should be.  When you figure that number out, put this somewhere near the beginning of your program:

Code: [Select]
Config.maxPolysVisible = 10000 // <----- Some number here