Hi Antonio,

> I tried to modify the image (ImagePtr), but if I call the addImage only
> the first time the foreground isn't updated. I also tried to call the
> addImage every time I modify the image, but in this way the images overlap (I 
> also
> see part of all the old images under the new one).
> Is this problem caused by the use of a rendering cluster (i.e. each server
> keeps locally the Foreground)?

first a word of warning: my knowledge about the cluster mechanisms is very 
superficial, but I think the problem is that when you modify the Image, there 
is no automatic way the foreground gets informed and hence the (modified) image 
is not retransmitted over the network.
I believe the following should suffice to make it work:

ImageForegroundPtr ifp;

beginEditCP(ifp, ImageForeground::ImagesFieldMask);
endEditCP(ifp, ImageForeground::ImagesFieldMask);

If you call the add method, the Foreground knows that the image has changed and 
thus transmitts the data over the network. And the old images remain visible, 
because the the ImageForeground actually supports to display more than one 
image at different positions on the screen, so you keep adding new ones by 
repeatedly calling the add method.

   Hope it helps,
     Carsten
-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to