Page 1 of 1

Hmmm... which is better?

PostPosted: Fri Feb 01, 2008 1:47 pm
by boblishman
I was just wondering ... which is better object design for the plasma engine (i.e. user performance in the game) :

(all objects use the same (single) texture)

a) One object with 10,000 faces

or

b) 50 objects with 200 faces

or

c) makes no different

Re: Hmmm... which is better?

PostPosted: Fri Feb 01, 2008 2:22 pm
by andylegate
Let me tell you about it in Blender, not Plasma.

Justin had some bookshelves with books on them. The bookshelves had over 500 faces on them. there were then 59 bookshelves.
Setting the objects to be displayed in the Blender 3D window for Wire, my poor little computer with its 512MB of Ram was almost locked up.

Nadnerb took the shelves and reduced the faces way down to 20 someodd faces. I then turned around and duplicated that book shelf 58 times.

Even in Textured mode, I was able to navigate around without a care in the world.

So I would have to say, in Blender at least, the more faces a single object has, the hard your computer has to work. So to me, at least, it would be better to have less faces period.

Now, would it have still lagged badly in Uru? I would think so. But I'm not an expert.

Re: Hmmm... which is better?

PostPosted: Fri Feb 01, 2008 3:15 pm
by Trylon
More objects with less vertices is better.

That way, the engine can choose not to render objects that are out of view.
If everything is stored in one object, the engine has to render the whole object at any time, regardless of what is in view

Re: Hmmm... which is better?

PostPosted: Fri Feb 01, 2008 5:04 pm
by Chacal
Make sure you don't set collisions on those objects. Rather use one big invisible collider with as few faces as possible.

Re: Hmmm... which is better?

PostPosted: Sat Feb 02, 2008 4:06 am
by boblishman
Trylon wrote:More objects with less vertices is better.

That way, the engine can choose not to render objects that are out of view.
If everything is stored in one object, the engine has to render the whole object at any time, regardless of what is in view


ahhh ... that is the answer I was looking for :) ... Thank you!

Re: Hmmm... which is better?

PostPosted: Sat Feb 02, 2008 11:51 am
by Aloys
As a side note: that is also true for large objects like landscapes. Rather than have one single continuous 20.000 faces terrain, it's a good idea to cut it down into several objects.
[/side note]