Is anyone aware of a Squeak image that includes both eToys & Croquet (the Navigator & Supplies flaps with a Croquet Flap)?
====== |
On Jan 22, 2008, at 18:51 , Rich White wrote: > Is anyone aware of a Squeak image that includes both eToys & > Croquet (the Navigator & Supplies flaps with a Croquet Flap)? Croquet does. Open the world menu, click flaps - install etoys flaps. - Bert - |
Okay, Can we now bring the etoys into the Croquet world?
----- Original Message ----- From: "Bert Freudenberg" <[hidden email]> To: <[hidden email]>; "Rich White" <[hidden email]> Sent: Tuesday, January 22, 2008 10:59 AM Subject: Re: [croquet-dev] eToys & Croquet Squeak Image? > > On Jan 22, 2008, at 18:51 , Rich White wrote: > >> Is anyone aware of a Squeak image that includes both eToys & Croquet >> (the Navigator & Supplies flaps with a Croquet Flap)? > > > Croquet does. Open the world menu, click flaps - install etoys flaps. > > - Bert - > > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: > 269.9.9/870 - Release Date: 6/26/2007 10:07 AM > > |
That would be very cool and useful for what we are doing in particular ... I asked that awhile back and the suggestions was a VNC window in the world ... it seems their would be another 2D window option, not familiar enough to know?
======= On Jan 22, 2008 3:27 PM, Chuck Smith <[hidden email]> wrote: Okay, Can we now bring the etoys into the Croquet world? |
O kay can some one walk me through the vnc. I
have logmein which is vnc. I paste the local host in the url and I get
errors. How do you get an object that will open with a logmein type vnc
software?
|
Why would you want to use VNC? That is only useful for external apps. A Morphic world can be shown directly. - Bert -
|
I want to share my desktop in a world so others can
see what I am doing with a CAD app. And every one says the only
way to do this is with vnc. I am not knowledgeable on the morphic
world.
|
In reply to this post by Bert Freudenberg
Bert Freudenberg wrote:
> Why would you want to use VNC? That is only useful for external apps. A > Morphic world can be shown directly. In demos yes, for production no. Morphic has way too many dependencies on (supposedly) global state which make it impossible to reliably run multiple Morphic worlds side-by-side (even in fairly trivial cases like the integrated text editor in Qwaq Forums). We ended up replacing all uses of Morphic with Tweak which doesn't have the same assumptions about global state. Cheers, - Andreas > > - Bert - > > Am Jan 22, 2008 um 22:50 schrieb "Chuck Smith" <[hidden email] > <mailto:[hidden email]>>: > >> O kay can some one walk me through the vnc. I have logmein which is >> vnc. I paste the local host in the url and I get errors. How do you >> get an object that will open with a logmein type vnc software? >> >> ----- Original Message ----- >> *From:* Rich White <mailto:[hidden email]> >> *To:* <mailto:[hidden email]>[hidden email] >> <mailto:[hidden email]> ; Chuck Smith >> <mailto:[hidden email]> >> *Sent:* Tuesday, January 22, 2008 2:32 PM >> *Subject:* Re: [croquet-dev] eToys & Croquet Squeak Image? >> >> That would be very cool and useful for what we are doing in >> particular ... I asked that awhile back and the suggestions was a >> VNC window in the world ... it seems their would be another 2D >> window option, not familiar enough to know? >> >> >> >> ======= >> >> On Jan 22, 2008 3:27 PM, Chuck Smith < >> <mailto:[hidden email]>[hidden email] >> <mailto:[hidden email]>> wrote: >> >> Okay, Can we now bring the etoys into the Croquet world? >> ----- Original Message ----- >> From: "Bert Freudenberg" < >> <mailto:[hidden email]>[hidden email] >> <mailto:[hidden email]>> >> To: < <mailto:[hidden email]>[hidden email] >> <mailto:[hidden email]>>; "Rich White" < >> <mailto:[hidden email]>[hidden email] >> <mailto:[hidden email]>> >> Sent: Tuesday, January 22, 2008 10:59 AM >> Subject: Re: [croquet-dev] eToys & Croquet Squeak Image? >> >> >> > >> > On Jan 22, 2008, at 18:51 , Rich White wrote: >> > >> >> Is anyone aware of a Squeak image that includes both eToys >> & Croquet >> >> (the Navigator & Supplies flaps with a Croquet Flap)? >> > >> > >> > Croquet does. Open the world menu, click flaps - install >> etoys flaps. >> > >> > - Bert - >> > >> > >> > >> > >> > -- >> > Internal Virus Database is out-of-date. >> > Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: >> > 269.9.9/870 - Release Date: 6/26/2007 10:07 AM >> > >> > >> >> >> ------------------------------------------------------------------------ >> >> Internal Virus Database is out-of-date. >> Checked by AVG Free Edition. >> Version: 7.5.476 / Virus Database: 269.9.9/870 - Release Date: >> 6/26/2007 10:07 AM >> |
Hi,
Okay, I'll bite. How does one show a Tweak world inside a Croquet space? Is there a working example somewhere? Can you make one available? Dave On 1/22/08, Andreas Raab <[hidden email]> wrote: > Bert Freudenberg wrote: > > Why would you want to use VNC? That is only useful for external apps. A > > Morphic world can be shown directly. > > In demos yes, for production no. Morphic has way too many dependencies > on (supposedly) global state which make it impossible to reliably run > multiple Morphic worlds side-by-side (even in fairly trivial cases like > the integrated text editor in Qwaq Forums). We ended up replacing all > uses of Morphic with Tweak which doesn't have the same assumptions about > global state. > > Cheers, > - Andreas > > > > > - Bert - > > > > Am Jan 22, 2008 um 22:50 schrieb "Chuck Smith" <[hidden email] > > <mailto:[hidden email]>>: > > > >> O kay can some one walk me through the vnc. I have logmein which is > >> vnc. I paste the local host in the url and I get errors. How do you > >> get an object that will open with a logmein type vnc software? > >> > >> ----- Original Message ----- > >> *From:* Rich White <mailto:[hidden email]> > >> *To:* <mailto:[hidden email]>[hidden email] > >> <mailto:[hidden email]> ; Chuck Smith > >> <mailto:[hidden email]> > >> *Sent:* Tuesday, January 22, 2008 2:32 PM > >> *Subject:* Re: [croquet-dev] eToys & Croquet Squeak Image? > >> > >> That would be very cool and useful for what we are doing in > >> particular ... I asked that awhile back and the suggestions was a > >> VNC window in the world ... it seems their would be another 2D > >> window option, not familiar enough to know? > >> > >> > >> > >> ======= > >> > >> On Jan 22, 2008 3:27 PM, Chuck Smith < > >> <mailto:[hidden email]>[hidden email] > >> <mailto:[hidden email]>> wrote: > >> > >> Okay, Can we now bring the etoys into the Croquet world? > >> ----- Original Message ----- > >> From: "Bert Freudenberg" < > >> <mailto:[hidden email]>[hidden email] > >> <mailto:[hidden email]>> > >> To: < <mailto:[hidden email]>[hidden email] > >> <mailto:[hidden email]>>; "Rich White" < > >> <mailto:[hidden email]>[hidden email] > >> <mailto:[hidden email]>> > >> Sent: Tuesday, January 22, 2008 10:59 AM > >> Subject: Re: [croquet-dev] eToys & Croquet Squeak Image? > >> > >> > >> > > >> > On Jan 22, 2008, at 18:51 , Rich White wrote: > >> > > >> >> Is anyone aware of a Squeak image that includes both eToys > >> & Croquet > >> >> (the Navigator & Supplies flaps with a Croquet Flap)? > >> > > >> > > >> > Croquet does. Open the world menu, click flaps - install > >> etoys flaps. > >> > > >> > - Bert - > >> > > >> > > >> > > >> > > >> > -- > >> > Internal Virus Database is out-of-date. > >> > Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: > >> > 269.9.9/870 - Release Date: 6/26/2007 10:07 AM > >> > > >> > > >> > >> > >> ------------------------------------------------------------------------ > >> > >> Internal Virus Database is out-of-date. > >> Checked by AVG Free Edition. > >> Version: 7.5.476 / Virus Database: 269.9.9/870 - Release Date: > >> 6/26/2007 10:07 AM > >> > |
> On 1/22/08, Andreas Raab <[hidden email]> wrote:
> > Bert Freudenberg wrote: > > > Why would you want to use VNC? That is only useful for external apps. A > > > Morphic world can be shown directly. > > > > In demos yes, for production no. Morphic has way too many dependencies > > on (supposedly) global state which make it impossible to reliably run > > multiple Morphic worlds side-by-side (even in fairly trivial cases like > > the integrated text editor in Qwaq Forums). We ended up replacing all > > uses of Morphic with Tweak which doesn't have the same assumptions about > > global state. > > > > Cheers, > > - Andreas On 1/23/08, David Faught <[hidden email]> wrote: > Hi, > > Okay, I'll bite. How does one show a Tweak world inside a Croquet > space? Is there a working example somewhere? Can you make one > available? > And a couple of further questions. If there is no current public example of putting a Tweak world into a Croquet space, what would be the general approach to doing this? In the related projects you have done at Qwaq, does the Tweak world actually appear in the rendered 3D space, or is there some kind of non-rendered proxy object for message processing in the island and the Tweak world actually appears locally. I am guessing that this is roughly how the text chat window works in Qwaq Forums. If this counts as reverse-engineering and goes against my agreement for using Qwaq Forums, then please forget I asked! Dave > Dave > > > > > > > > > - Bert - > > > > > > Am Jan 22, 2008 um 22:50 schrieb "Chuck Smith" <[hidden email] > > > <mailto:[hidden email]>>: > > > > > >> O kay can some one walk me through the vnc. I have logmein which is > > >> vnc. I paste the local host in the url and I get errors. How do you > > >> get an object that will open with a logmein type vnc software? > > >> > > >> ----- Original Message ----- > > >> *From:* Rich White <mailto:[hidden email]> > > >> *To:* <mailto:[hidden email]>[hidden email] > > >> <mailto:[hidden email]> ; Chuck Smith > > >> <mailto:[hidden email]> > > >> *Sent:* Tuesday, January 22, 2008 2:32 PM > > >> *Subject:* Re: [croquet-dev] eToys & Croquet Squeak Image? > > >> > > >> That would be very cool and useful for what we are doing in > > >> particular ... I asked that awhile back and the suggestions was a > > >> VNC window in the world ... it seems their would be another 2D > > >> window option, not familiar enough to know? > > >> > > >> > > >> > > >> ======= > > >> > > >> On Jan 22, 2008 3:27 PM, Chuck Smith < > > >> <mailto:[hidden email]>[hidden email] > > >> <mailto:[hidden email]>> wrote: > > >> > > >> Okay, Can we now bring the etoys into the Croquet world? > > >> ----- Original Message ----- > > >> From: "Bert Freudenberg" < > > >> <mailto:[hidden email]>[hidden email] > > >> <mailto:[hidden email]>> > > >> To: < <mailto:[hidden email]>[hidden email] > > >> <mailto:[hidden email]>>; "Rich White" < > > >> <mailto:[hidden email]>[hidden email] > > >> <mailto:[hidden email]>> > > >> Sent: Tuesday, January 22, 2008 10:59 AM > > >> Subject: Re: [croquet-dev] eToys & Croquet Squeak Image? > > >> > > >> > > >> > > > >> > On Jan 22, 2008, at 18:51 , Rich White wrote: > > >> > > > >> >> Is anyone aware of a Squeak image that includes both eToys > > >> & Croquet > > >> >> (the Navigator & Supplies flaps with a Croquet Flap)? > > >> > > > >> > > > >> > Croquet does. Open the world menu, click flaps - install > > >> etoys flaps. > > >> > > > >> > - Bert - > > >> > > > >> > > > >> > > > >> > > > >> > -- > > >> > Internal Virus Database is out-of-date. > > >> > Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: > > >> > 269.9.9/870 - Release Date: 6/26/2007 10:07 AM > > >> > > > >> > > > >> > > >> > > >> ------------------------------------------------------------------------ > > >> > > >> Internal Virus Database is out-of-date. > > >> Checked by AVG Free Edition. > > >> Version: 7.5.476 / Virus Database: 269.9.9/870 - Release Date: > > >> 6/26/2007 10:07 AM > > >> > > > |
David Faught wrote:
>> Okay, I'll bite. How does one show a Tweak world inside a Croquet >> space? Is there a working example somewhere? Can you make one >> available? There is nothing publicly available right now (our realization that Morphic wasn't reliable enough for our purposes post-dates the SDK release). > And a couple of further questions. If there is no current public > example of putting a Tweak world into a Croquet space, what would be > the general approach to doing this? The general approach is identical to what you see in the combination of TEmbeddableApp and TMorphicWorld. > In the related projects you have > done at Qwaq, does the Tweak world actually appear in the rendered 3D > space, or is there some kind of non-rendered proxy object for message > processing in the island and the Tweak world actually appears locally. It's somewhat like it, with a replicated portion (which is inside the replicated island) that holds relevant replicated state and scripts and the actual Tweak world being outside of the island and showing changes in the replicated environment. The main reason for this is that it cuts down on the size of the replicated island very significantly. > I am guessing that this is roughly how the text chat window works in > Qwaq Forums. What I was referring to is text editor in the panel (the one you get via Objects>>Documents>>Text Document). > If this counts as reverse-engineering and goes against my agreement > for using Qwaq Forums, then please forget I asked! Not really ;-) There is nothing really special about it - I would expect people to be able to pick up the principles from the code we've released already. It's not particular hard, it's just work. Cheers, - Andreas |
So, for a non programmer, does this mean I can not view or share the view
of a CAD app running on my desktop in a Croquet World? I really want to help!!!! Just need to find out where we are so I can learn and teach others. Thanks Chuck ----- Original Message ----- From: "Andreas Raab" <[hidden email]> To: <[hidden email]>; "David Faught" <[hidden email]> Cc: "Bert Freudenberg" <[hidden email]>; "Rich White" <[hidden email]> Sent: Wednesday, January 23, 2008 11:13 AM Subject: Re: [croquet-dev] eToys & Croquet Squeak Image? > David Faught wrote: >>> Okay, I'll bite. How does one show a Tweak world inside a Croquet >>> space? Is there a working example somewhere? Can you make one >>> available? > > There is nothing publicly available right now (our realization that > Morphic wasn't reliable enough for our purposes post-dates the SDK > release). > >> And a couple of further questions. If there is no current public >> example of putting a Tweak world into a Croquet space, what would be >> the general approach to doing this? > > The general approach is identical to what you see in the combination of > TEmbeddableApp and TMorphicWorld. > >> In the related projects you have >> done at Qwaq, does the Tweak world actually appear in the rendered 3D >> space, or is there some kind of non-rendered proxy object for message >> processing in the island and the Tweak world actually appears locally. > > It's somewhat like it, with a replicated portion (which is inside the > replicated island) that holds relevant replicated state and scripts and > the actual Tweak world being outside of the island and showing changes in > the replicated environment. The main reason for this is that it cuts down > on the size of the replicated island very significantly. > >> I am guessing that this is roughly how the text chat window works in >> Qwaq Forums. > > What I was referring to is text editor in the panel (the one you get via > Objects>>Documents>>Text Document). > >> If this counts as reverse-engineering and goes against my agreement >> for using Qwaq Forums, then please forget I asked! > > Not really ;-) There is nothing really special about it - I would expect > people to be able to pick up the principles from the code we've released > already. It's not particular hard, it's just work. > > Cheers, > - Andreas > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: > 269.9.9/870 - Release Date: 6/26/2007 10:07 AM > > |
You're confusing two things - VNC for displaying external apps in a
Croquet world, and Tweak which lets you program 2D UIs for Croquet. And yes, Croquet is a Software Development Kit, so unless you are a developer, it will be of not much use to you. - Bert - On Jan 23, 2008, at 19:29 , Chuck Smith wrote: > So, for a non programmer, does this mean I can not view or share > the view of a CAD app running on my desktop in a Croquet World? > > I really want to help!!!! Just need to find out where we are so I > can learn and teach others. > > Thanks > > Chuck > > > ----- Original Message ----- From: "Andreas Raab" > <[hidden email]> > To: <[hidden email]>; "David Faught" <[hidden email]> > Cc: "Bert Freudenberg" <[hidden email]>; "Rich White" > <[hidden email]> > Sent: Wednesday, January 23, 2008 11:13 AM > Subject: Re: [croquet-dev] eToys & Croquet Squeak Image? > > >> David Faught wrote: >>>> Okay, I'll bite. How does one show a Tweak world inside a Croquet >>>> space? Is there a working example somewhere? Can you make one >>>> available? >> >> There is nothing publicly available right now (our realization >> that Morphic wasn't reliable enough for our purposes post-dates >> the SDK release). >> >>> And a couple of further questions. If there is no current public >>> example of putting a Tweak world into a Croquet space, what would be >>> the general approach to doing this? >> >> The general approach is identical to what you see in the >> combination of TEmbeddableApp and TMorphicWorld. >> >>> In the related projects you have >>> done at Qwaq, does the Tweak world actually appear in the >>> rendered 3D >>> space, or is there some kind of non-rendered proxy object for >>> message >>> processing in the island and the Tweak world actually appears >>> locally. >> >> It's somewhat like it, with a replicated portion (which is inside >> the replicated island) that holds relevant replicated state and >> scripts and the actual Tweak world being outside of the island and >> showing changes in the replicated environment. The main reason for >> this is that it cuts down on the size of the replicated island >> very significantly. >> >>> I am guessing that this is roughly how the text chat window >>> works in >>> Qwaq Forums. >> >> What I was referring to is text editor in the panel (the one you >> get via Objects>>Documents>>Text Document). >> >>> If this counts as reverse-engineering and goes against my agreement >>> for using Qwaq Forums, then please forget I asked! >> >> Not really ;-) There is nothing really special about it - I would >> expect people to be able to pick up the principles from the code >> we've released already. It's not particular hard, it's just work. >> >> Cheers, >> - Andreas >> >> >> -- >> Internal Virus Database is out-of-date. >> Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: >> 269.9.9/870 - Release Date: 6/26/2007 10:07 AM >> > |
One has to start some where to become a developer. In the Croquet World
that is in the SDK how do I vnc an Cad app or is there another way to view the app in the Croquet World? Thanks Chuck ----- Original Message ----- From: "Bert Freudenberg" <[hidden email]> To: <[hidden email]> Sent: Wednesday, January 23, 2008 11:35 AM Subject: Re: [croquet-dev] eToys & Croquet Squeak Image? > You're confusing two things - VNC for displaying external apps in a > Croquet world, and Tweak which lets you program 2D UIs for Croquet. > > And yes, Croquet is a Software Development Kit, so unless you are a > developer, it will be of not much use to you. > > - Bert - > > On Jan 23, 2008, at 19:29 , Chuck Smith wrote: > >> So, for a non programmer, does this mean I can not view or share the >> view of a CAD app running on my desktop in a Croquet World? >> >> I really want to help!!!! Just need to find out where we are so I can >> learn and teach others. >> >> Thanks >> >> Chuck >> >> >> ----- Original Message ----- From: "Andreas Raab" <[hidden email]> >> To: <[hidden email]>; "David Faught" <[hidden email]> >> Cc: "Bert Freudenberg" <[hidden email]>; "Rich White" >> <[hidden email]> >> Sent: Wednesday, January 23, 2008 11:13 AM >> Subject: Re: [croquet-dev] eToys & Croquet Squeak Image? >> >> >>> David Faught wrote: >>>>> Okay, I'll bite. How does one show a Tweak world inside a Croquet >>>>> space? Is there a working example somewhere? Can you make one >>>>> available? >>> >>> There is nothing publicly available right now (our realization that >>> Morphic wasn't reliable enough for our purposes post-dates the SDK >>> release). >>> >>>> And a couple of further questions. If there is no current public >>>> example of putting a Tweak world into a Croquet space, what would be >>>> the general approach to doing this? >>> >>> The general approach is identical to what you see in the combination of >>> TEmbeddableApp and TMorphicWorld. >>> >>>> In the related projects you have >>>> done at Qwaq, does the Tweak world actually appear in the rendered 3D >>>> space, or is there some kind of non-rendered proxy object for message >>>> processing in the island and the Tweak world actually appears locally. >>> >>> It's somewhat like it, with a replicated portion (which is inside the >>> replicated island) that holds relevant replicated state and scripts and >>> the actual Tweak world being outside of the island and showing changes >>> in the replicated environment. The main reason for this is that it cuts >>> down on the size of the replicated island very significantly. >>> >>>> I am guessing that this is roughly how the text chat window works in >>>> Qwaq Forums. >>> >>> What I was referring to is text editor in the panel (the one you get >>> via Objects>>Documents>>Text Document). >>> >>>> If this counts as reverse-engineering and goes against my agreement >>>> for using Qwaq Forums, then please forget I asked! >>> >>> Not really ;-) There is nothing really special about it - I would >>> expect people to be able to pick up the principles from the code we've >>> released already. It's not particular hard, it's just work. >>> >>> Cheers, >>> - Andreas >>> >>> >>> -- >>> Internal Virus Database is out-of-date. >>> Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: >>> 269.9.9/870 - Release Date: 6/26/2007 10:07 AM >>> >> > > > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: > 269.9.9/870 - Release Date: 6/26/2007 10:07 AM > > |
Hi
> One has to start some where to become a developer. In the Croquet World > that is in the SDK how do I vnc an Cad app or is there another way to view > the app in the Croquet World? Well, you could also capture the CAD app using either: * a software capture method, such as: * vhscrcap http://www.hmelyoff.com/index.php?section=1 for windows * yukon http://dbservice.com/projects/yukon/wiki/LiveStreaming for linux * together with a streaming engine, that would send video supported by opencroquet * a hardware capture method, such as scan converters or vga grabbers, together with a streaming engine as well You won't have interactivity, it's more like webcasting. But if you rather want to develop a CAD program within opencroquet, go ahead :) Might take a bit of work and learning though.... Just my 2 cents... |
In reply to this post by Andreas.Raab
On 1/23/08, Andreas Raab <[hidden email]> wrote:
> David Faught wrote: > >> Okay, I'll bite. How does one show a Tweak world inside a Croquet > >> space? Is there a working example somewhere? Can you make one > >> available? > > There is nothing publicly available right now (our realization that > Morphic wasn't reliable enough for our purposes post-dates the SDK release). > > > And a couple of further questions. If there is no current public > > example of putting a Tweak world into a Croquet space, what would be > > the general approach to doing this? > > The general approach is identical to what you see in the combination of > TEmbeddableApp and TMorphicWorld. I have looked at this code and the class comments several times over the past months, and it still mystifies me a little as to exactly what is going on with these classes. Let me try to explain my current understanding, and please tell me where I go wrong. The actual TEmbeddableApp or TMorphicWorld instance lives in the user-local area, and renders into a TForm, which is replicated in the island. The TForm image appears in the 3D space rendered from the island, and can be the target of replicated keystrokes, mousemoves, events. The user-local app has some scripts set up at initialization that catch these replicated events and interpret them for the app. Any changes in this app cause the TForm to be re-rendered and replicated. If this is approximately how it works, then the first question that occurs is, if the app lives in the user-local area, then what happens if that user disconnects from the island? I would guess that the final TForm image would be left static on the island with no active app behind it. Is this one reason for having a "continuity server" like the Kat project's? Dave > > In the related projects you have > > done at Qwaq, does the Tweak world actually appear in the rendered 3D > > space, or is there some kind of non-rendered proxy object for message > > processing in the island and the Tweak world actually appears locally. > > It's somewhat like it, with a replicated portion (which is inside the > replicated island) that holds relevant replicated state and scripts and > the actual Tweak world being outside of the island and showing changes > in the replicated environment. The main reason for this is that it cuts > down on the size of the replicated island very significantly. > > > I am guessing that this is roughly how the text chat window works in > > Qwaq Forums. > > What I was referring to is text editor in the panel (the one you get via > Objects>>Documents>>Text Document). > > > If this counts as reverse-engineering and goes against my agreement > > for using Qwaq Forums, then please forget I asked! > > Not really ;-) There is nothing really special about it - I would expect > people to be able to pick up the principles from the code we've released > already. It's not particular hard, it's just work. > > Cheers, > - Andreas > |
On 1/24/08, David Faught <[hidden email]> wrote:
> On 1/23/08, Andreas Raab <[hidden email]> wrote: > > David Faught wrote: > > > And a couple of further questions. If there is no current public > > > example of putting a Tweak world into a Croquet space, what would be > > > the general approach to doing this? > > > > The general approach is identical to what you see in the combination of > > TEmbeddableApp and TMorphicWorld. > > I have looked at this code and the class comments several times over > the past months, and it still mystifies me a little as to exactly what > is going on with these classes. Let me try to explain my current > understanding, and please tell me where I go wrong. > > The actual TEmbeddableApp or TMorphicWorld instance lives in the > user-local area, and renders into a TForm, which is replicated in the > island. The TForm image appears in the 3D space rendered from the > island, and can be the target of replicated keystrokes, mousemoves, > events. The user-local app has some scripts set up at initialization > that catch these replicated events and interpret them for the app. > Any changes in this app cause the TForm to be re-rendered and > replicated. > > If this is approximately how it works, then the first question that > occurs is, if the app lives in the user-local area, then what happens > if that user disconnects from the island? I would guess that the > final TForm image would be left static on the island with no active > app behind it. Is this one reason for having a "continuity server" > like the Kat project's? Okay then. I'm just thinking out loud here. It's a little more complicated than this, but maybe not terribly so. Instead of just a TTexture related to the TForm existing on the island, there is TEmbeddedApp, which manages the display of the TForm and forwards island-replicated events to the user-local app. So, the steps that I see to make this work are: 1. resolve the TEmbeddableApp #newFrom: protocol and the Tweak world #bootstrap: in order to start a Tweak world, 2. figure out how to force the Tweak world to render itself into the TForm, and 3. overload the TEmbeddableApp event-handling to deal with forwarding things to the Tweak world. As Andreas said, none of this looks difficult, it just takes work. However, looking at the existing examples of combining Tweak with Croquet, mostly the UMN Tweak UI classes, it appears that there maybe a lot more to it because of timing/coordination issues. Maybe I'm just confusing the rendering issues, which should be much simpler for an embedded world. We'll see ... Dave |
> > > > And a couple of further questions. If there is no current public
> > > > example of putting a Tweak world into a Croquet space, what would be > > > > the general approach to doing this? > > > > > > The general approach is identical to what you see in the combination of > > > TEmbeddableApp and TMorphicWorld. ... > So, the steps that I see to make this work are: > > 1. resolve the TEmbeddableApp #newFrom: protocol and the Tweak world > #bootstrap: in order to start a Tweak world, > > 2. figure out how to force the Tweak world to render itself into the TForm, and > > 3. overload the TEmbeddableApp event-handling to deal with forwarding > things to the Tweak world. After a few hours, this is what I've got. The code includes most of step 1 and some part of step 2. You can see in the attached screencapture that I had the embeddable Tweak world open a CPainter, but it is not layed out properly. I apologize to anyone that doesn't like me attaching a picture to this email - I tried to keep it pretty small. Dave ScreenShot017s.PNG (24K) Download Attachment |
Free forum by Nabble | Edit this page |