Can I optimize my round thingies?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Can I optimize my round thingies?

Post by Bjarne BZR »

Ello ello!

I have a big hall with a large number of distillers.
The FPS is very low ( around 20-25 ), and I'm trying everything to increase it. The distillers contains a lot of cylinders and cones, thus the question:
What is easier for MOHAA to draw? A 16-sided brush ( 64 triangles ) OR a Cylinder primitive ( looks like it has 16 sides in Radiant ) ?

Is there a difference? ( Besides that the Cylinder has no top or bottom surface, removing 28 triangles )
Admin .MAP Forums
Image
Head above heels.
User avatar
Gen Cobra
Major General
Posts: 739
Joined: Tue Jan 28, 2003 4:26 pm

Post by Gen Cobra »

If you take a look at the stock maps barrels for instance, they use 9 or 10 sided brushes. I rarely found cylinders in the maps. I would try and NOT use cylinders. I don't know for sure, but by looking at the mesh that is made I would think it would be harder for the cpu to draw the cylinder.
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Yes, but my theory is that a mathematically round object could be optimized and replaced by a simpler shape using shadow blending to create the smoth surface of a cylinder... but maby with fewer faces... no idea... just looking for someone to tell me...
Admin .MAP Forums
Image
Head above heels.
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

Creating a Primitive Cylinder would lower the facecount, which should help with the FPS.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Ahhh.. now were talking :D

MPowell1944... the name sounds really familiar... I have a feeling U know what U R talking about... :D
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I think curves are better, for reasons Bjarne mentioned...
Image
Post Reply