Hint Brush - Optimizing polygon count in complex levels....

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
shadow
Posts: 81
Joined: Mon Jul 25, 2005 5:37 am

Post by shadow »

RF does a pretty good job without hint brushes.

After completing my levels I use the wireframe view to walk around and see what gets rendered and what doesn't.
Most of the time it only draws whats necessary, and not every room.
really comes down to good level design.

If it can see part of a room it will draw the whole thing, but thats to be expected.
Hint brushes won't help in this case.
Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Post by Jay »

Yes RF does good job without hint brushes, but only with Full Vis enabled. With Full Vis enabled the compiler tests for ALL polys if they are to be drawn or not, not only for a part of all the polys. But sometimes the compiler makes mistakes especially when there are rooms a level up or down from the original room, say you are on the ground level and also some other, higher, levels are rendered.

However, hint brushes can't hurt. Why? More portals are better than lesser portals, because with more portals, there are lesser polys per portal and blablabla...in the end there is is a higher chance that lesser is rendered.

Using of areas is even more powerfull than relying on the compiler or placing hint brushes because with areas you are SURE that the area isn't rendered when you're outside of it.
Last edited by Jay on Fri Jul 21, 2006 9:49 am, edited 1 time in total.
Everyone can see the difficult, but only the wise can see the simple.
-----
User avatar
steven8
Posts: 1487
Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH

Post by steven8 »

Using of areas is even more powerfull than relying on the compiler or placing hint brushes because with areas you are SURE that the area isn't rendered when you're outside of it.
Areas. Do you mean area brushes?
Steve Dilworth - Resisting change since 1965!
Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Post by Jay »

Yes i mean area brushes.
Everyone can see the difficult, but only the wise can see the simple.
-----
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Post by Juutis »

Is there any way to see which polygons (of bsp geometry) are rendered in RF?
Pain is only psychological.
Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Post by Jay »

in realityfactory.ini type:

driver = wireframe

or something like that.
Everyone can see the difficult, but only the wise can see the simple.
-----
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Post by Juutis »

Thanks.

'driver = wire frame' did the trick.

Now I can really start optimizing my levels. :D

Thanks to everyone, BTW. I didn't have any clue about things like this before this thread. Very useful info.
Pain is only psychological.
MakerOfGames
Posts: 866
Joined: Fri Jul 08, 2005 4:27 am
Location: PA, USA

Post by MakerOfGames »

Its funny isnt it? I didn't know about hint brushes either, even when I created this thread.

I found out about the hint brushes when I was searching google images for some wireframe game screens. I found the article with the hallway pic from my first post in this thread and then came here to ask about these mysterious "hint brushes". Then only after finding out that RF has these things, I found some good tutorials that explained all about them.

Seems like I stumbled over a gold mine. :D

I am just getting into the level design phase of my game and knowing about hint brushes now will help me design the levels to enable the highest possible frame rates! :D
Think outside the box.
To go on an adventure, one must discard the comforts and safety of the known and trusted.
User avatar
steven8
Posts: 1487
Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH

Post by steven8 »

Seems like I stumbled over a gold mine. :D
I sure think so. I'm rather anxious to see how they can help in many areas.
Steve Dilworth - Resisting change since 1965!
User avatar
fps
Posts: 504
Joined: Mon Sep 26, 2005 9:54 pm
Location: in a magical land devoid of hope, happiness, and sanity.

Post by fps »

i dont understand what it means to create a portal in al level. i am sure it has somthing to do with a wall that divides what can and cannot be seen by the player depending on where he is in the level but i may be mistaken and i am sure i am mistaken about how to use them. i have a large out doors area with sections i am sure that i can block up with hint brushes because you cant see anything but inside walls up to a certain point but that still leaves me with a large area no blocked off. what should i do?

Thanks,
fps
User avatar
zany_001
Posts: 1047
Joined: Fri Mar 02, 2007 8:36 am
Location: Aotearoa

Post by zany_001 »

are u using farclip and distance fog,cos that helps.
Once I was sad, and I stopped being sad and was awesome instead.
True story.
creeper
Posts: 29
Joined: Thu Sep 06, 2007 12:41 am

Post by creeper »

QuestOfDreams wrote:Hint brushes are not really suited for outdoor environments (to be more precise, the bsp structure genesis3d is using is not suited for outdoor environments no matter how you try to optimize it)

That's too bad. Is anyone working on modifying Genesis3d to run outdoor environments better? It seems that as long as you have something like hills or buildings to keep the game from rendering huge open spaces,.. you can still have well performing outdoor areas. It would have a sound-stage type look to it. You'd have to fake it,.. but you can still make convincing outdoor areas, right? Maybe not huge open outdoor areas.
Post Reply