Page 1 of 1

LodMesh polygon limit?

Posted: Tue Mar 09, 2010 7:55 pm
by GreatEmerald
What is the polygon limit of a LodMesh in Unreal Engine 1, if any? I'm just curious, since it appears that the Horizon engine supports only a pathetic 64 polygons per model and anything more must be split into several meshes... And it was created about 1998 too...

Re: LodMesh polygon limit?

Posted: Tue Mar 09, 2010 8:13 pm
by []KAOS[]Casey
Judging by the headers the maximum possible is 2^32/2 {2147483648}

Code: Select all

      // LOD-specific objects.
      // Make lazy arrays where useful.
      TArray                  CollapsePointThus;  // Lod-collapse single-linked list for points.
      TArray           FaceLevel;          // Minimum lod-level indicator for each face.
      TArray       Faces;              // Faces 
      TArray                  CollapseWedgeThus;  // Lod-collapse single-linked list for the wedges.
      TArray            Wedges;             // 'Hoppe-style' textured vertices.
      TArray   Materials;          // Materials
      TArray       SpecialFaces;       // Invisible special-coordinate faces.

      // Misc Internal.
      INT    ModelVerts;     // Number of 'visible' vertices.
      INT         SpecialVerts;   // Number of 'invisible' (special attachment) vertices.
Of course the renderer probably would fail long before that many..

Re: LodMesh polygon limit?

Posted: Tue Mar 09, 2010 9:11 pm
by GreatEmerald
Hmm, interesting, so that means you can create as high-poly models as you wish... That+proper collision opens possibilities...
Though it would be interesting to see how many polygons each renderer supports.

Re: LodMesh polygon limit?

Posted: Wed Mar 10, 2010 12:53 am
by []KAOS[]Casey
A few UT2k4 models is enough to notice the slowdown. I'd say 1/4th of a UT2k4 model is as high as you'd want to go.

UT3 models slows unreal down to a crawl.

Re: LodMesh polygon limit?

Posted: Wed Mar 10, 2010 10:28 am
by GreatEmerald
That's interesting, is there a reason for that? UT3 models in UT2004 don't seem to have that much of effect on performance.

Re: LodMesh polygon limit?

Posted: Wed Mar 10, 2010 11:30 am
by Gizzy
UT3 rocket launcher and Linkgun models don't slow me down in Unreal at all o.o

Re: LodMesh polygon limit?

Posted: Wed Mar 10, 2010 5:50 pm
by []KAOS[]Casey
Yeah well i'm on a p4 2.4 ghz, ass :(

Re: LodMesh polygon limit?

Posted: Wed Mar 10, 2010 10:57 pm
by [§Ŕ] ŤhěxĐâŕkśîđěŕ
Doesn't UT3 lag on a P4 as well? :P