Game Development Community

How do i view an object as a wireframe?

by Devin D · in Torque 3D Beginner · 07/07/2010 (2:22 pm) · 4 replies

Hello, playing with the torque 3d demo here, want to know if there is a way to view an object as a wireframe.
I remember in tge i could run "glenableoutline(true);" in the console and that would work. There appears to be a post on this in the private forums, but i cant read it as i only have the demo.

About the author

Recent Threads


#1
07/07/2010 (2:33 pm)
$gfx::wireframe = true;

true/false or 0/1 are valid settings to use
#2
07/07/2010 (5:09 pm)
Thanks for the quick reply. Would there be a way to make just a certain object wireframe not the entire game? If not i understand, thank you for helping me with this:)
#3
07/07/2010 (5:55 pm)
I don't think (by default) you can for a single object... but there are switches for various environmental objects to be rendered in wireframe:

$DecalRoad::wireframe
$MeshRoad::wireframe
$River::showWireframe
$WaterObject::wireframe

I think the terrain has various wireframe toggles also...

And of course there is $gfx::wireframe which shows everything that has a material as a wireframe.
#4
07/07/2010 (8:24 pm)
Ok thank you that helps out alot. Again thank you for the quick responses and the helpful information.