lfnetwork.com mark read register faq members calendar

Thread: limit to number of func_glass?
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-09-2003, 05:39 AM   #1
CWV__Odedge_
 
CWV__Odedge_'s Avatar
 
Join Date: May 2003
Location: Southern California
Posts: 1
limit to number of func_glass?

We have a map that has many buildings with glass windows (common/glass texture). The two choices we have:

1. Take out all of the glass (which is fine and works with the theme of the map).

2. Have the glass be breakable (which is preferred for the dynamic aspect of the game).

Question 1 Is there a limit to the number of func_glass? I have read there is a limit to the total number of func_???? you can have, but we have far less than 500 that was stated. Currently we have 105 func_glass and 54 func_groups. (If we put too many in, we receive a "C_InlineModel: Number Bad" right before the game is about to start.

Question 2 Does glass brushes effect your framerate? (they are all detail brushes).

Any help you can give would be much appreciated. We are on the lighting stage and hopefully will be done soon with your help.

CWV__Odedge_ is offline   you may: quote & reply,
Old 05-09-2003, 07:38 AM   #2
lassev
cryptoscripter
 
lassev's Avatar
 
Join Date: Jun 2002
Location: Finland
Posts: 1,087
You are right. There is a limit that restricts the absolute number of all entities (and entities are what is left of your map, if worldspawn is not counted, that is, everything else but structural and detail brushes).

Glass brushes have a fundamental impact on framerates, because everything that is seen behind a glass is drawn twice. First the "normal" view without glass, then the glass with varying transparencies on top of that. However, do not overestimate this impact, rather use glass or any transparent shader with reason and above all, artistic mind. If you don't see significant lag in the game, there's hardly a reason to remove them.

Above all, bear in mind that glass or any detail brush (or an honest hole in the wall) can connet VIS areas (nodes) and thus force the engine to draw very large unseen structures.
lassev is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JO Mapping > limit to number of func_glass?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:49 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.