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

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Thu Apr 23 16:25:41 PDT 2020


This works perfectly!!!! Thank you very much for that hint, Robert!

Am Donnerstag, 23. April 2020 21:23:02 UTC+2 schrieb OpenSceneGraph Users:
>
> On Thu, 23 Apr 2020 at 20:01, OpenSceneGraph Users <
> osg-... at lists.openscenegraph.org <javascript:>> 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.
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/66d72293-41a8-4521-942b-f2925a651130%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200423/3eb8d834/attachment.html>


More information about the osg-users mailing list