Player Visible While Behind Wall

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

Player Visible While Behind Wall

Post by Guest »

In my game i have the camera up and out of the level, looking down on the player. A 3/4 view.
is there anyway of having the outline of the player shown when it moves behind a wall? or any other similar effect?
Guest

Post by Guest »

?
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

instead of turning back-face culling off, you could have it draw backfaces with 50% transparency

this functionality is not currently built into the engine, but you could add it.
a screen cap is worth 0x100000 DWORDS
Guest

Post by Guest »

but wouldn't that just draw the backface at 50% transparency, then the frontface completely solid over the top?
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

geometry is only either back or front. its in relation to the camera.

anything that did have a front face would be drawn in full however, so yes, this isnt the best option, though it may still be viable
a screen cap is worth 0x100000 DWORDS
Guest

Post by Guest »

is there any function that would allow me to get the outline of a mesh?
Post Reply