Can you wireframe a single object?

Blitz3D Forums/Blitz3D Programming/Can you wireframe a single object?

puki(Posted 2008) [#1]
Can you selectively wireframe an object - ie like setting WireFrame 1 - but applying it to a single object in a scene?


puki(Posted 2008) [#2]
The closest I came was EntityFx 20


Gabriel(Posted 2008) [#3]
Two renderpasses should do it. Hide all but the wire object. Enable wireframe. Render. Show all but the wire object. Disable wireframe. Render. Or vice versa.


puki(Posted 2008) [#4]
Interesting - I can cope with that


puki(Posted 2008) [#5]
It works but it is flickery.


Gabriel(Posted 2008) [#6]
Try CameraClsMode(Camera,False,False)

Where Camera is the camera you use last. And be sure not to flip until you've rendered with both cameras.


Ross C(Posted 2008) [#7]
The FastLib addon to blitz adds an extra entityFX parameter, so you can wireframe entities.

But Gab's way is the best you'll get in blitz standard :o)


puki(Posted 2008) [#8]
OOh - I'll check out FastLib.

I found another way to do it though - you can scan through the mesh, then rebuild the mesh structure to a simulated wireframe one - basically, just relinking the verts with a wireframe mesh structure.