New objects in a mission stop rendering. Too many objects?
by Dusty Monk · in Torque 3D Professional · 09/26/2010 (3:57 am) · 4 replies
Has anyone seen a problem where newly added objects to a mission file don't render? That is, I have just started encountering a problem where when I create a new object in the mission, either by copying a previous object or dropping it using world editor, the object doesnt' render. I can see its selection box and edit it its properties, but I just can't see the object. If I save the mission, exit, and return, the object renders just fine. But now if I add new objects, they don't render.
It seems like I've reached some maximum cap of number of objects in the level. I currently have around 2000 static objects, and approximately 500 prefabs. Most of the prefabs have just 2 objects in them, but some of them have a dozen or so objects. So I'd say roughly around 3500 objects in the level right now. Now before you scream "ZOMG you can't do that!" even on my aging 9800GTX card the Torque engine is still holding up quite nicely, getting around 20FPS when looking across the level.
But I need to know if I've reached some upper limit on number of objects in the level inherit in the object editor, or if I've just encountered a bug. If it's a bug, I'll log it, and hope for a fix. But if it's a limitation, I need to seriously start redesigning my level. Like yesterday.
So if anyone else is building very complex objects with thousands of items, and you've seen this or something like it, or if you work on the editor and just might have an idea what's going on (some internal bin I can update or some such) I'd be much obliged.
This is Win7 64bit, T3D 1.1 B2, btw.
Thanks!
Dusty
It seems like I've reached some maximum cap of number of objects in the level. I currently have around 2000 static objects, and approximately 500 prefabs. Most of the prefabs have just 2 objects in them, but some of them have a dozen or so objects. So I'd say roughly around 3500 objects in the level right now. Now before you scream "ZOMG you can't do that!" even on my aging 9800GTX card the Torque engine is still holding up quite nicely, getting around 20FPS when looking across the level.
But I need to know if I've reached some upper limit on number of objects in the level inherit in the object editor, or if I've just encountered a bug. If it's a bug, I'll log it, and hope for a fix. But if it's a limitation, I need to seriously start redesigning my level. Like yesterday.
So if anyone else is building very complex objects with thousands of items, and you've seen this or something like it, or if you work on the editor and just might have an idea what's going on (some internal bin I can update or some such) I'd be much obliged.
This is Win7 64bit, T3D 1.1 B2, btw.
Thanks!
Dusty
About the author
Dusty Monk is founder and president of Windstorm Studios, an independant game studio. Formerly a sr. programmer at Ensemble Studios, Dusty has worked on AAA titles such as Age of Empires II & III, and Halo Wars.
#2
Well that's encouraging at least from a sheer number of objects standpoint. Still I wonder if it's an editor only bug with adding static objects to the level. Guess I'll log it and we'll see what comes of it.
09/26/2010 (2:43 pm)
Hey Chris:Well that's encouraging at least from a sheer number of objects standpoint. Still I wonder if it's an editor only bug with adding static objects to the level. Guess I'll log it and we'll see what comes of it.
#3
09/26/2010 (2:46 pm)
I remember in beta2 that over 4096 objects the selectable icon wouldn't display for them, and so you couldn't "grab" them - beta 3 has a system where the icons show only at closer range rather than attempting to draw all of them at once.
#4
I just logged this as a bug here, so if anyone has additional information please add it to the thread there.
And thanks for info Steve. Dude you're a machine on these forums.. :)
Dusty
09/26/2010 (3:05 pm)
Actually I see that behavior (of only drawing the icon when I mouse over the object) in Beta 2. However, 4096 sounds very close to the magic number in which I'm seeing this behavior, so that's really good info to know. I just logged this as a bug here, so if anyone has additional information please add it to the thread there.
And thanks for info Steve. Dude you're a machine on these forums.. :)
Dusty
Torque 3D Owner Chris