[osg-users] Projecting a texture onto the scene geometry

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Thu Apr 23 12:22:37 PDT 2020


On Thu, 23 Apr 2020 at 20:01, OpenSceneGraph Users <
osg-users at lists.openscenegraph.org> wrote:

> Is there a way in osg to project a given texture, a 3d location and focal
> length onto the 3d geometry, for example a surface mesh, of a scene using
> osg?
>

Have a look at the osgspointlight example, this uses eye linear texgen to
project a texture onto a terrain to create a moving spot light.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200423/ed75e0e6/attachment.html>


More information about the osg-users mailing list