Hi Jerome,

Afaik you can also specify a single image as argument. That way you can at
least run the program.

good luck
Raymond


> Hi Robert,
>
> Thx for your help! I'm having trouble running the example. It seems I need
> some extra plugin to read a avi or mpg file. I'm running OSG on windows.
> I've built all the available plugin that comes with osg. Am I missing
> something ?
>
> Thanks again!
>
>
>
> Jerome
>
>
>
> Date: Thu, 10 Apr 2008 17:36:49 +0100
>
> From: "Robert Osfield" <[EMAIL PROTECTED]>
>
> Subject: Re: [osg-users] How to retrieve a U,  V texture coordinate
>
>       from a picking action ?
>
> To: "OpenSceneGraph Users" <osg-users@lists.openscenegraph.org>
>
> Message-ID:
>
>       <[EMAIL PROTECTED]>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> Hi Jerome,
>
>
>
> Have a look at the event handling in the osgmovie example as this does
> exactly what you are looking for.
>
>
>
> Robert.
>
>
>
> On Thu, Apr 10, 2008 at 2:13 PM, Jerome Hummel <
> <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]>
> wrote:
>
>
>
>>  Hi,
>
>>
>
>>
>
>>
>
>> I guess this is a beginner question here but I was wondering if there
>
>> was an easy way to retrieve a u,v coordinate from a ray with osg?
>
>>
>
>>
>
>>
>
>> The use case is the following:
>
>>
>
>> -a 3D Object  is loaded (let's say a cube)
>
>>
>
>> -it is textured with a glsl shader
>
>>
>
>> -The user picks a point on the cube (using the mouse)
>
>>
>
>>
>
>>
>
>> From the 3D point in world coordinate, how can I retrieve the uv point
>
>> in the texture ?
>
>>
>
>> Thanks for your help,
>
>>
>
>>
>
>>
>
>> Regards,
>
>>
>
>> Jerome
>
>>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to