RE: [hlcoders] VGUI graphics primitives (DrawLine) on a 3d space vgui_screen?

2005-06-02 Thread Tim Holt
I figured this out by the way. Ends up the lines were being drawn behind the background of the VGUI panel. By removing the background I got them to show up. IT means I end up with a transparent panel, however by placing it in front of a black brush based background it works fine. Picture of it

Re: [hlcoders] VGUI graphics primitives (DrawLine) on a 3d space vgui_screen?

2005-06-02 Thread Ben Davison
-- [ Picked text/plain from multipart/alternative ] Seems very cool, what is it for? On 6/2/05, Tim Holt [EMAIL PROTECTED] wrote: I figured this out by the way. Ends up the lines were being drawn behind the background of the VGUI panel. By removing the background I got them to show up. IT

Re: [hlcoders] VGUI graphics primitives (DrawLine) on a 3d space vgui_screen?

2005-06-02 Thread Tim Holt
Part of a prototype/demo mod looking at ways to teach/convey medical training via games. A serious games project. Quoting Ben Davison [EMAIL PROTECTED]: -- [ Picked text/plain from multipart/alternative ] Seems very cool, what is it for? On 6/2/05, Tim Holt [EMAIL PROTECTED] wrote: I

RE: [hlcoders] VGUI graphics primitives (DrawLine) on a 3d space vgui_screen?

2005-05-31 Thread Yahn Bernier
I would write your own mathed using the material system using CMeshBuilder with MATERIAL_LINES as the primitive type. The cl_dll code has some examples of using a meshbuilder instead of surface() to do drawing. You'll need to hook in at the correct part of rendering to make sure the projection