wireframe for individual mesh ?

Blitz3D Forums/Blitz3D Beginners Area/wireframe for individual mesh ?

rod54(Posted 2008) [#1]
Is it possible to enable wireframe view for an indivual mesh vice everything that is in a 3d scene ?


GfK(Posted 2008) [#2]
Short answer: no.

Long answer: Yes, but you need to use multi-pass rendering. First, hide the entity you want in wireframe, and call RenderWorld(). Then hide everything you just rendered, Show the entity you want in wireframe, use CameraClsMode Cam,False,False (since you don't want to clear the color buffer OR the zbuffer), then RenderWorld() again. Finally, call CameraClsMode Cam,True,True. Flip, job done.


Stevie G(Posted 2008) [#3]
There are a few functions in the archives if you have a hunt about.


rod54(Posted 2008) [#4]
Thanks

Wonder why it is that way -- You could do this in Dark Basic (both versions)easily.

Not to put down either -- I have all versions of Blitz and Dark Basic

They are all cool.. !!


Ross C(Posted 2008) [#5]
If your wanting some more functionality in blitz in general, you could try the FastExtend lib for blitz3d. I have found it very stable and good value for money. This gives you lots of new stuff you can't do in blitz3d, including wireframe mode, and decent look bump mapping.

I think wireframe is mainly a debug function tbh.


rod54(Posted 2008) [#6]
thanks will check it out.