Hello Tristan,
See attached emails, or follow this link for the avi plugin:
http://openscenegraph.net/pipermail/osg-users/2005-November/059111.html
Zach
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tristan McMillan
Sent: Thursday, March 01, 2007 08:32
To: osg users
Subject: [osg-users] Osgmovie example
Hi
I'm having trouble running the osgmovie example. It seems that there are
some plugins missing. Also what format does the osgmovie example accept.
As I'm trying to use it on an .avi file
Thanks
Tristan
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--- Begin Message ---
Hi,
When you're on windows, you can take a look at the AVI plugin. See this
earlier message:
http://openscenegraph.net/pipermail/osg-users/2005-November/059111.html
Best regards
Raymond
Jeremy Moles wrote:
> On Thu, 2006-11-30 at 13:03 -0500, [EMAIL PROTECTED] wrote:
>
>> Hey Everyone,
>>
>> What is the latest on being able to play AVI's in OSG? I saw some
>> earlier archive notes by Gordon T. Really I am just wanting to play
>>
>
> Well, if you have Xine and Xine development headers/libs installed,
> build OSG with XINE_ISTALLED=1 as a Make variable and it'll build the
> proper plugins. Then you can do something like:
>
> osgviewer --movie $MOVIE
>
>
> If you're asking how to setup a movie code-wise, probably best to look
> at the osgmovie example and the Xine plugin.
>
>
>> cut-scenes for a game from within my OSG window, (I guess it does not
>> even need to be within the OSG window, as long as I can switch without
>> it being noticed mythe user) It does not even have to be an AVI,
>> perhaps a QuickTijme or whatever else is easy to get to the user. THe
>> other thing would be to play a movie as a texture on a poly, but that
>> could probably be just a sequence of stills,,,
>>
>> Thanks,
>> -- Rick
>>
>>
>>
>> ps:
>>
>> Thanks Paul for the notes:
>>
>> There are no stupid questions. I looked at this cross-eyed myself the
>> first
>> time I saw it. :-)
>>
>> RTT: "Render to texture".
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://openscenegraph.net/mailman/listinfo/osg-users
>> http://www.openscenegraph.org/
>>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--- End Message ---
--- Begin Message ---
Hi
The way I used it is by taking an .osg file, and change the texture
material description into this:
textureUnit 0 {
GL_TEXTURE_RECTANGLE ON
TextureRectangle {
file "somefile.avi"
min_filter LINEAR
mag_filter LINEAR
}
}
I believe I did it like this, it's been a while. The most important trick
is to use the TextureRectangle since that one does allow arbitrary sizes
of images.
good luck
Raymond
> Raymond,
>
> Thanks for the info! With that plugin you can also play a movie with this
> command:
> osgviewer test.avi.movie
> But, when you play it with that command it is very slow because it is
> scaling an image every frame from (1280,960) to (1024,1024) at least for
> me.
> Anybody know why this is?
> osgmovie test.avi.movie works just fine.
>
> I'd like things like
> osgdistortion test.avi.movie to work.
>
> Thanks.
>
> Zach
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Raymond de
> Vries
> Sent: Friday, December 01, 2006 06:28
> To: osg users
> Subject: Re: [osg-users] Playing a Movie
>
> Hi,
>
> When you're on windows, you can take a look at the AVI plugin. See this
> earlier message:
> http://openscenegraph.net/pipermail/osg-users/2005-November/059111.html
>
> Best regards
> Raymond
>
>
>
> Jeremy Moles wrote:
>> On Thu, 2006-11-30 at 13:03 -0500, [EMAIL PROTECTED] wrote:
>>
>>> Hey Everyone,
>>>
>>> What is the latest on being able to play AVI's in OSG? I saw some
>>> earlier archive notes by Gordon T. Really I am just wanting to play
>>>
>>
>> Well, if you have Xine and Xine development headers/libs installed,
>> build OSG with XINE_ISTALLED=1 as a Make variable and it'll build the
>> proper plugins. Then you can do something like:
>>
>> osgviewer --movie $MOVIE
>>
>>
>> If you're asking how to setup a movie code-wise, probably best to look
>> at the osgmovie example and the Xine plugin.
>>
>>
>>> cut-scenes for a game from within my OSG window, (I guess it does
>>> not even need to be within the OSG window, as long as I can switch
>>> without it being noticed mythe user) It does not even have to be an
>>> AVI, perhaps a QuickTijme or whatever else is easy to get to the
>>> user. THe other thing would be to play a movie as a texture on a
>>> poly, but that could probably be just a sequence of stills,,,
>>>
>>> Thanks,
>>> -- Rick
>>>
>>>
>>>
>>> ps:
>>>
>>> Thanks Paul for the notes:
>>>
>>> There are no stupid questions. I looked at this cross-eyed myself the
>>> first time I saw it. :-)
>>>
>>> RTT: "Render to texture".
>>>
>>>
>>> _______________________________________________
>>> osg-users mailing list
>>> [email protected]
>>> http://openscenegraph.net/mailman/listinfo/osg-users
>>> http://www.openscenegraph.org/
>>>
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://openscenegraph.net/mailman/listinfo/osg-users
>> http://www.openscenegraph.org/
>>
>>
>>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--- End Message ---
--- Begin Message ---
Hi Zach,
On 12/1/06, Zach Deedler <[EMAIL PROTECTED]> wrote:
> Thanks for the info! With that plugin you can also play a movie with this
> command:
> osgviewer test.avi.movie
>
> But, when you play it with that command it is very slow because it is
> scaling an image every frame from (1280,960) to (1024,1024) at least for
me.
> Anybody know why this is?
> osgmovie test.avi.movie works just fine.
I haven't played with the plugin, so I can only presume that its call
movie and creates a texture2D for you.
You could try something like:
osgmovie -e movie test.avi
Or:
osgmovie -e movie --movie test.avi
The -e movie here preloads the plugin with extension movie, and --move
tells osgDB to create a TextureRectangle for you.
> I'd like things like
> osgdistortion test.avi.movie to work.
Yes this will work, although I think the plugin itself is getting in
the way... The plugin shouldn't create a geometry for you, just a
image, that you then create the geometry for separately.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--- End Message ---
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/