> This is a followup to my previous posts on the clipping problems
> introduced by rescaling.  I apologize for not replying to that
> thread, but I've deleted the original message.  I wanted to post
> this to share the "solution" (more of a hack) that I found in case
> anyone else is interested.
>
> It appears that the problems occur because of changing the mins
> in GetHullBounds and HUD_GetHullBounds.  When the mins are changed,
> it causes an offset in any hull traces equal to the difference
> of the new mins minus the original (-16, -16, -36) mins.  My guess
> is that the engine adds the original mins as a constant to the
> start and end positions of the trace at some point (I would
> appreciate it if someone from Valve could confirm this).  My
> "solution" was to change hlcsg so that the brush expansion for
> making the clipping trees (if that's the correct term) compensates
> for this.  I changed the following code in Zoner's Half Life Tools'
> hlcsg project, in hullfile.cpp, in the function LoadHullfile:

<snip>

GetHullBounds() in the engine just calls HUD_GetHullBounds() in the client
DLL code (in cl_dll\cdll_int.cpp).  Did you try changing the hull bounds in
the 'switch' statement inside this code?  (the default there is
(-16, -16, -36)).

Jeffrey "botman" Broome


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to