Rendering in wireframe.

Posted By: Hogona

Rendering in wireframe. - 01/05/09 00:06

I was wondering if it is possible to render a model in wireframe mode during a game?
Posted By: Quad

Re: Rendering in wireframe. - 01/05/09 00:28

a simple fixed function effect maybe?
Posted By: Hogona

Re: Rendering in wireframe. - 01/05/09 00:50

Sorry Quadraxas, I don't know what a fixed function effect is.
Posted By: George

Re: Rendering in wireframe. - 01/05/09 09:12

I'd say that a FFE is the grandmother of shaders. Quadraxas is right: a FFE which sets FillMode to Wireframe should do the job. I think I've seen something like this being posted at the forum 1-2 years ago, so maybe a search will help you.
Posted By: Hogona

Re: Rendering in wireframe. - 01/06/09 06:24

Ok. I did search, but I will try again. Thank you both.
Posted By: PrenceOfDarkness

Re: Rendering in wireframe. - 01/10/09 13:03

If you hit f11 and then (i think i'm not 100% sure) hold alt and shift down and click an entity he turns into wireframe... This is a debug feature.. So go and look for it in the debug.c file or whatever it might be called.
Posted By: Roel

Re: Rendering in wireframe. - 01/23/09 14:26

Here is the effect:
just place it in an fx file, load it into a material with it's effect string,
and assign the material to the entity you want in wireframe.
If you have trouble, the manual should help.

technique Wired
{
pass p0
{
FillMode = Wireframe;
}
}
© 2023 lite-C Forums