Hi Manuel,

On Thu, 2005-01-20 at 10:33, Manuel Büchler wrote:
> 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);
> }

so you don't update the camera while the app is running, i.e. you have a
fixed camera? That's a little unusual for ARToolkit.

        Dirk

P.S.: for imageContentChanged you don't need the begin/endEdit on hte
texture, it does what's necessary internally. See the other mail about
video.



-------------------------------------------------------
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