CviewRender::Render

CviewRender::Render

Re: CviewRender::Render Posted by rs6 on Fri Feb 3rd 2006 at 3:23am
rs6
640 posts
Posted 2006-02-03 3:23am
rs6
member
640 posts 94 snarkmarks Registered: Dec 31st 2004 Occupation: koledge Location: New Jersey, USA
I am embarking on a rahter ambitous jungle map for CS:S using quite a bit static props in one open area. According to the +showbudget the props aren't making that big of a hit, what is is something called CviewRender::Render, which is off the charts.
User posted image

What does CviewRender::Render mean?
Re: CviewRender::Render Posted by Carcase on Fri Feb 3rd 2006 at 4:07am
Carcase
145 posts
Posted 2006-02-03 4:07am
Carcase
member
145 posts 15 snarkmarks Registered: Nov 15th 2003 Location: Northern Virginia
Here is the definition valve gave us.

CViewRender::Render
Time spent determining what will be rendered that frame, and time spent sorting translucent objects (rendered back to front). The number of times the world is rendered per frame will directly increase the time spent here. Reduce the number of monitors, reflective water surfaces, and any other special effects that render extra views of the world. Large amounts of detail props will also contribute. Turning off detail props entirely may produce extra performance benefits when the engine does not have to consider sorting any detail props.
So, your trees and plants are probably the main issue. Theres probably several ways to get around this.

I for one, have made a test forest map with the JT woods model pack on this site, and havn't had much of a problem. I was using prop_statics. Perhaps you could get around this problem by turning some of them into prop_dynamic_override, or prop_static, or prop_detail (does detail actually work?)

Unfortunately, HL2 does not = Farcry, so you won't get as much vegetation as you hope to get. But you can make very lush areas, and have vis blockers, such as mountains, or you could turn on fog and set the maxfade distance in the map properties. Theres a lot of ways you can optimize it.

Show us a screenshot of your largest area, showing the most vegetation.
What makes life so great is that its there.