Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design

Reply
 
Thread Tools Display Modes
Old 07-24-2012, 02:27 PM   #1
Jasa
 
 
 
Join Date: Sep 2009
Reputation: 79
Posts: 197
Stopping Hammer from dividing VisLeafs every 1024 units

How would I go about stopping it from dividing visleafs every 1024 units?
Jasa is offline  
Reply With Quote
Old 07-24-2012, 03:41 PM   #2
P-GLaDDy
 
 
 
Join Date: Oct 2011
Reputation: 0
Posts: 102
You'd need to edit the renderer source.
P-GLaDDy is offline   Reply With Quote
Old 07-24-2012, 04:46 PM   #3
episoder
 
Join Date: Aug 2011
Reputation: 60
Posts: 1,121
why'd you wanna stop it from doing so?
episoder is online now   Reply With Quote
Old 07-25-2012, 01:09 PM   #4
Jasa
 
 
 
Join Date: Sep 2009
Reputation: 79
Posts: 197
Quote:
Originally Posted by episoder View Post
why'd you wanna stop it from doing so?
I have my VisLeafs set up perfectly with hints but it keeps dividing them.
Jasa is offline   Reply With Quote
Old 07-26-2012, 11:31 AM   #5
ProZak
 
Join Date: Mar 2004
Reputation: 60
Posts: 675
This isn't possible. I believe VBSP does it, and the engine wants it.
ProZak is offline   Reply With Quote
Old 07-27-2012, 09:30 AM   #6
shawnolson
 
 
 
Join Date: Nov 2009
Reputation: 41
Posts: 165
I haven't tested this but you may be able to control this with the VBSP compile parameters:

-block # #
Control the grid size mins that vbsp chops the level on.
-blocks # # # #
Enter the mins and maxs for the grid size vbsp uses.

It is something I've been meaning to test/investigate.

Last edited by shawnolson: 07-27-2012 at 09:31 AM. Reason: fixed layout and typo
shawnolson is offline   Reply With Quote
Old 07-28-2012, 03:58 AM   #7
Francis_4_Dead
 
Join Date: Dec 2009
Reputation: 320
Posts: 1,650
You could try placing a func_viscluster throughout the map (or surrounding all of your map; you could make your own custom visgroup so you can disable/enable it at will (so it doesn't get in the way. Remember to turn it back on if you do make a visgroup, or it won't be rendered in the map).
Francis_4_Dead is offline   Reply With Quote
Old 07-28-2012, 02:30 PM   #8
stevethepocket
 
Join Date: Apr 2008
Reputation: 247
Posts: 1,816
That won't work. Visclusters don't stop the compiler from creating leaf boundaries; it just tells them that certain leaves can always see each other. I'm guessing Jasa up there is trying to prevent the visible "seams" that certain leaf boundaries produce in dark areas?
stevethepocket is offline   Reply With Quote
Old 08-19-2012, 03:09 AM   #9
happlezzz
 
Join Date: Apr 2012
Reputation: 1
Posts: 7
It is the -blocks command. Doing this is not a problem.
happlezzz is offline   Reply With Quote
Old 08-21-2012, 12:32 AM   #10
Keldorn
 
Join Date: Feb 2010
Reputation: 285
Posts: 3,507
I think 1024 is too small also. Cuts the vis really complex. this is not the old days either where lots of viscuts are necessary for optimization. Specifically speaking outdoor maps...
Keldorn is offline   Reply With Quote
Old 08-21-2012, 07:32 AM   #11
episoder
 
Join Date: Aug 2011
Reputation: 60
Posts: 1,121
1024 isn't small. it's pretty good measure. indoors it's like two appartment lenghts. outdoors much like the side lenght of a regular house or property. there you go outdoor levels. which btw in general uses more displacements than brushes. also the lightmapper tesselates the brushes anyway which results in the same grid like structure. i don't see any point in complaining.
episoder is online now   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design


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 On
HTML code is Off



All times are GMT -7. The time now is 02:25 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.