Micheal,

I am not positive about this, but I would suspect that you are running into
problems because in HL you are inserting stuff into the middle of the HL
rendering chain.  I would suspect that at the point where your code is
being called, OpenGL is in a state that will not allow you to draw the
models directly.  You may be able to save off the state, reset, do your
render then reset the original state, but I am pretty rusty at OpenGL
programming and don't feel like diving into the books this morning :(  Good
luck.

Rob Prouse (Commando)
Tour of Duty Mod
http://www.tourofdutymod.com

At 04:01 PM 27/11/2002 +1100, you wrote:
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi,

Just curious, anyone got an explanation as to why loading a mdl file
using the source code from HLMV in OpenGL through a VGUI menu loads the
model's skin as the console background image?

I was playing around trying to get model loading for VGUI menus working,
and stumbled across this strange behavior.

Thanks,

Michael Shimmins <mailto:[EMAIL PROTECTED]>
Sesechial Software
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to