Consider adjusting Config.maxPolysVisible!

Started by yxbnnl, March 31, 2009, 09:15:33 AM

Previous topic - Next topic

yxbnnl

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!

paulscode

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:

Config.maxPolysVisible = 10000 // <----- Some number here