Optimization Question

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Optimization Question

Post by metal_head »

In my game I got a lot of small brushes in the leves.They are just details and slow the game.For example I got a room with lights,but the lights are brushes with a light texture.I want to ask If making theese brushes empty will speed up the game,I've already made them detailed,but I need more speed.What do you think guys?
EDIT: also I marked the unseen faces of the brushes as Sky
User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Optimization Question

Post by paradoxnj »

Why not make the lights actors instead of brushes? That will speed up the level a bit.
Many Bothans died to bring you this signature....
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Optimization Question

Post by metal_head »

Well..I was thinking about that,but If I make the lights actors it will be the same,right?,because for each light I'll have to make an actor and if there are too many actors the game get's slow.I was thinking also of making all the lights an actor,but I'm not sure if this is a good idea so I decided to stay with brushes.
User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Optimization Question

Post by paradoxnj »

That is what static meshes are for. Static meshes take the same actor and render it in different places. Actors are rendered more efficiently than world geometry. Try it...you will notice a difference.
Many Bothans died to bring you this signature....
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Optimization Question

Post by metal_head »

Thanks,I will!
Post Reply