[osg-users] Rendering a Depthmap

Glenn Waldron gwaldron at gmail.com
Wed Jun 12 05:25:14 PDT 2019

Just guessing, but it sounds like you are experiencing a problem knows as
"shadow acne." There's a good explanation of it here along with some
possible mitigation ideas. Very common problem when projecting a depth map
back onto the main camera.


Glenn Waldron

On Wed, Jun 12, 2019 at 6:47 AM Lucas Amparo <lucas.barbosa at fieb.org.br>

> Hi, everyone
> I'm trying to render a depthmap using shaders. Very simple, just using the
> distance from an arbitrary point P to the camera's eye. That map will be
> deprojected into a pointcloud.
> The problem is an unexpected (by me lol) behavior from the deprojection.
> Using a tutorial (can't post links yet), I've done the work but the result
> seems weird.
> For example, if I had a perfect wall on the scene, the depthmap is
> projected similar to a "rinnegan" (do you remember naruto? Is the best way
> to represent the problem kkkk)
> Someone already did something similar to that? What's the best way to make
> a depthmap on OSG? Tutorials, examples, books are very welcomed.
> Thank you!
> Cheers,
> Lucas
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=76186#76186
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190612/297265f2/attachment.html>

More information about the osg-users mailing list