It is currently Tue May 21, 2013 4:01 am


zombie@computer wrote:vbsp doesnt snap to grid at all. Brushes are saved as a collection of planes, using a standard floating point precision, and using some outerworldly algoritm these planes are transformed into a collection of points. Only points < 0.01 (or some other arbitrary number, Valve calles it EPSYLON iirc) away from the nearest gridpoint are rounded (as in, moved towards the nearest whole number coordinate). Don't believe me? The sourcecode for vbsp is given, so you can look it up; you will be searching for clipwinding* functions.
Hammer may round some vectors, i dont know as i dont have its sourcecode (except a very old hammer), but i cant imagine Hammer rounding vectors at random, possibly corrupting every non-cubic brush in the map, for no reason whatsoever (points on grid are in no way rendered or handled faster than points off grid).



Mr. Happy wrote:Wait, are you making Hammer plugins somehow in addition to microbrush, or is this all about microbrush?
Mr. Happy wrote:[...] What does vbsp do?





Mr. Happy wrote:So that's where it's going!
Honestly, what microbrush needs is texture and displacement tools
But still, about vbsp,
I am really curious what it does for faces that occur between edges that it rounds in

Mr. Happy wrote:Honestly, what microbrush needs is texture and displacement tools ;)





zombie@computer wrote:...(epic explanation of vbsp working)...




Starving Hobo wrote:A way to make it possible to code into the map! So you could have custom player models for just one map, and things like that... Instead of needing to create a whole mod or a mod for servers which not all servers will have etc.

Gary wrote:Starving Hobo wrote:A way to make it possible to code into the map! So you could have custom player models for just one map, and things like that... Instead of needing to create a whole mod or a mod for servers which not all servers will have etc.
Code is loaded before the map...




Shrinker wrote:Hey guys,
how do you imagine good plugin support for Hammer?
I'm looking for a bit of inspiration.


Users browsing this forum: Google [Bot], Google Adsense [Bot]