[sldev] Mouse on 3D object
Lawson English
lenglish5 at cox.net
Tue Jan 26 16:32:14 PST 2010
Philippe (Merov) Bossut wrote:
> Hi,
>
> On Mon, Jan 25, 2010 at 10:39 PM, Lawson English <lenglish5 at cox.net
> <mailto:lenglish5 at cox.net>> wrote:
>
> There are facilities for the media plugin to track mouse and keyboard
> input. [...] Getting them to work with
> the media plugin may be reasonably easy.
>
>
> There is an example plug in in indra/test_apps/llplugintest called
> demo_media_plugin_2.cpp . It does track mouse movement on the media
> prim and draw "à la Paint" on it. It's primitive but it's a demo. I
> tried it some months ago and it worked fine then, I haven't tried
> recently I need to confess.
>
> The trick would be letting
> everyone else in a sim see them.
>
>
> Yes, that's the problem: if you're trying to get a user to paint in a
> texture IW for his/her own enjoyment and profit (may be saving and
> uploading the texture), mediaplugin should be fine. If you're trying
> to do collaborative painting, that's another story. There's no
> mechanism to p2p share the texture built in, though, as I'm saying
> this, I'm realizing that creating such a plugin should be possible
> (see Aimee's VNC plugin demo for an example of p2p texture sharing).
>
>
> Other alternatives would be some kind of VNC on a prim ala Aimee's
> Recursive Life demo. That goes back to the question of how to display
> the image for everyone else to see.
>
>
> May be Aimee could share some insights here.
>
> For sure, a collaborative p2p paint plugin would be a pretty cool plugin!
>
> Cheers,
> - Merov
>
Once I understand the TeaTime stuff a bit better (JUST a "bit") it
should be possible to share literally any kind of updates p2p between
squeak/cobalt plugins. All TObjects have connections to the TeaTime
collaboration architecture built into them and if I'm reading the wiki
correctly, teatime is actually responsible for updating the local object
as well as the remote clients, so if it works properly with the local
drawing board, it should with 2 people. And if it works with 2, it
should with arbitrary n once they establish a connection. I think it
automatically shares the current state of the object upon login, so
everyone should literally be on the same page, after the connection is
established.
http://www.opencroquet.org/index.php/System_Overview
http://www.opencroquet.org/index.php/TeaTime_Architecture#TeaTime_Overview
Lawson
More information about the SLDev
mailing list