Hmm, haven't played with D3D at all, is the problem you just can't get reference to the surfaces/device context the engine uses i guess?
HL2 will be interesting to see if there is something available up in the client code such that we can do our own D3D calls should we need to... ;).
At 12:56 AM 10/19/2003 -0400, you wrote:
Yes to the opengl, no to the d3d.
-omega http://www.frontline2.com
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Jackson Sent: October 19, 2003 12:34 AM To: [EMAIL PROTECTED] Subject: [hlcoders] TriAPI Question
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Alright, I've been researching the past few hours, my eyes hurt, and I'm tired. I want to draw triangles without a texture. Just colors. Why waste speed doing textures if I just want a flat color? Is this possible? I cannot make it work at all. As soon as I take the TexCoord calls out, it no longer works, regardless of me putting in Color() and Brightness() calls.
So, is the TriAPI only for textured triangles? I can obviously get around this by making a solid colored texture, but that seems like an awful hack to me.
Also, where should I start looking to get 'deeper' into the drawing code? Can I find if we are in OpenGL mode and just start making gl* calls on my own? Or if we are in DX mode and start making DirectX calls?
Thanks ahead of time.
Keith
--
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders