I would like to fill a model with a single semi-transparent colour... how do I go about doing this? I have tried everything I can think of without success.
In addition to this I would like to outline the visible polygons of the model- i.e. use hidden line removal.
I found a solution to this, but I am unable to get it to work!
The solution was:
I sorted out the line thickness okay.Ok, just as cassini suggested. Works right away, just render the mesh two times. First with ColorMask set to ECP_NONE, then with wireframe enabled, ZBuffer set to ECF_LESSEQUAL (to avoid missing lines where the mesh is intersecting the wireframe) and Thickness set tom something larger than 1.f for better recognizable effect (the latter only works under OpenGL). Looks terrific
I guess that to render twice you call
smgr->drawAll();
twice.
But I can't even find some of the other things like ColorMask :/
And finally, I seem to be having some problems with low draw distance, is there any way to extend this?
Many thanks
Ben.