[osg-users] Decals on terrain

2009-05-15 Thread Guy Volckaert
Hi, Anyone has a good example on how to render decals on a terrain (for scorch mark, tracks, etc). For example, I want to put a scorch mark on a wall of a building, but I don't want it to potrude over the edges of the wall; it should be clipped to the edge of the wall. Any idea or (better

Re: [osg-users] Decals on terrain

2009-05-15 Thread Tomlinson, Gordon
__ -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Guy Volckaert Sent: Friday, May 15, 2009 9:21 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Decals on terrain Hi, Anyone has a good example on how

Re: [osg-users] Decals on terrain

2009-05-15 Thread Guy Volckaert
Hi Gordan, Multitexturing would apply if the scorch marks are permanent. In my situation I want to fire several gun rounds and only display a scorch mark where the wall was hit. Then they would fade out over time. I think this is usually done by adding a extra quad slightly in front of the