Game Development Community

What is lighter DTS or DIF?

by UZON · in Artist Corner · 01/28/2008 (4:38 am) · 8 replies

What is lighter in the game, an ambient as DIF with objects as DTS (TSShape) or everything as DIF (Static Mesh imported in constructor and exported as DIF) ?

#1
01/30/2008 (1:02 am)
DIF is really just designed for convex objects--it's not merely an alternative file format. If an object is naturally convex, it should be best to use DIF.

On the other hand, I'm using the polysoup collision code, and I got a VERY significant performance boost moving from DIF to DTS. On the other other hand, my DIF's were not naturally convex objects, and certainly I wasn't using it in the envisioned way, so YMMV.

It probably comes down to what you're using them for.
#2
01/30/2008 (4:55 am)
Im modeling a School, and the responsables for the objects exported everything as DIF, and im thinking it is a little heavy. And someone said to me that portals dont occlude DIFs, only DTSs, so thats why i wana know.
#3
01/30/2008 (6:48 am)
DIF's are the things that can actually be portaled. You create a portal brush to work with the renderer.

Both DIF and DTS models can have level-of-detail, however, to provide the renderer optimized information.
#4
01/30/2008 (7:44 am)
Can you explain better the thing about criating the portal brush to work with the render? because i have a school with portals, and separated objects as dif with no portal on them, is it right ?
#5
01/30/2008 (8:01 am)
This will help explain it.
#6
01/30/2008 (8:08 am)
> Static Mesh imported in constructor and exported as DIF

i think you're referring to constructor's ability to bake DTS objects into DIFs,
which requires TGE 1.5+, i believe.

i may be wrong and/or the situation may have changed,
but last i heard there was a significant performance penalty for such DTSs,
and from a performance perspective you'd be better off to model the building as a DIF and keep the DTSs as DTSs. i would love to be corrected on that tho, as it's a great feature otherwise.
#7
01/30/2008 (11:03 am)
Orion Elenzil,

This is the case, do you remmember where did you read that?
#8
01/30/2008 (11:24 am)
I thought it was in a dev-snapshot,
but i don't see it in this one,

hm, i can't find it.

you might search/post in [http://www.garagegames.com/mg/forums/result.forum.php?qf=203]the constructor[/url] forum.