Hello,
I come to ask advice on a problem I can not solve!
I work on a simulated home room in which are placed surveillance cameras / presence. My goal is to easily visualize vision's cone of these cameras. I added a transparent cone in my scene, work fine. The problem comes from that the cone is visible under objects in the scene, for example under the bed (see picture ).
Have you any ideas for solve solve my problems?
Tracks explored:
tested different parameters of zbuffer test, no effect;
replaced the cone by a light, but the visual is not suitable in my case;
considered using the principle of ray tracing, but it makes me a little scared!
Thank you for your advice and help.
Hide vertices of a mesh that are hidden by another
Strange, drawing with ignoring z-buffer should work for transparent as they are drawn last. But maybe the recent discussion here about drawing-order can help you find a solution: http://irrlicht.sourceforge.net/phpBB2/ ... highlight=
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium