Ok here it is:

void ARTManager::updateBkgImage(void){
        
        capVideo();
        
        beginEditCP(image, Image::PixelFieldMask);
                image->set( Image::OSG_RGBA_PF, 320, 240, 1, 1, 1, 0,
dataPtr );
        endEditCP(image, Image::PixelFieldMask);

        beginEditCP(tex, TextureChunk::ImageFieldMask);
                tex->imageContentChanged();
                //tex->setImage(image);
        endEditCP(tex, TextureChunk::ImageFieldMask);
        

}

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Dirk
Reiners
Gesendet: Donnerstag, 20. Januar 2005 17:09
An: users
Betreff: Re: AW: AW: [Opensg-users] Distortion of Objects


        Hi Manuel,

On Thu, 2005-01-20 at 02:24, Manuel Büchler wrote:
> Hi
> 
> Thanks for the example for the video background.

NP, hope it helps. Looking at your code below, it should. ;)

> Here you can see the only place where I use the cambeacon:
...

Could you also send me the part where you update the camera in the frame
loop? That's the more interesting part.

Thanks

        Dirk




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to