[Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Justin Clark-Casey
Hey Homer (since this is primarily addressed to you :), I see you're making some progress on the up-and-coming new region modules mechanism. Instead of passing Scene itself to region modules, could we create an interface so that we better control the amount of innards that we expose to region

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Homer Horwitz
Hi Justin, On Tue, Apr 14, 2009 at 7:02 PM, Justin Clark-Casey wrote: > ... > Instead of passing Scene itself to region modules, could we create an > interface so that we better control the amount of > innards that we expose to region modules? It's convenient-ish to give the > original Scene c

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Stefan Andersson
os.de > Subject: [Opensim-dev] Supplying IScene instead of Scene for the future > region modules mechanism > > Hey Homer (since this is primarily addressed to you :), > > I see you're making some progress on the up-and-coming new region modules > mechanism. > > Inste

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Melanie
I'm not happy with supplying IScene. It would basically curtail the functionality of region modules to what core believes should be possible, and will lead to ugly upcasting "(Scene)IScene" that the code is already rife with. So, I'm not seeing that as a good idea at all, it limits things too m

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Melanie
edia AB > > > > >> Date: Tue, 14 Apr 2009 18:02:45 +0100 >> From: jjusti...@googlemail.com >> To: opensim-dev@lists.berlios.de >> Subject: [Opensim-dev] Supplying IScene instead of Scene for the future >> region modules mechanism >> >> Hey Home

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Stefan Andersson
r 2009 20:32:48 +0200 > From: mela...@t-data.com > To: opensim-dev@lists.berlios.de > Subject: Re: [Opensim-dev] Supplying IScene instead of Scene for the future > region modules mechanism > > I'm not happy with supplying IScene. It would basically curtail the > functiona

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Stefan Andersson
foundations for a > > ISceneAPI, if you will? > > > > On my mind for a long time, both these things has been. > > > > > > Best regards, > > Stefan Andersson > > Tribal Media AB > > > > > > > > > >> Date: Tue, 14

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Justin Clark-Casey
lly an indication that >> you should have a 'ISceneForRegionModules' instead - an facade enumerating >> the powers the core wish to expose to the scene, to force the region module >> coder to code in a hygienic way. Laying the foundations for a ISceneAPI, if >> y

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Justin Clark-Casey
pr 2009 18:02:45 +0100 > > From: jjusti...@googlemail.com > > To: opensim-dev@lists.berlios.de > > Subject: [Opensim-dev] Supplying IScene instead of Scene for the > future region modules mechanism > > > > Hey Homer (since this is primarily addressed to you :), &

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Teravus Ovares
in SceneGraph either... > > > > > On my mind for a long time, both these things has been. > > > > Best regards, > > Stefan Andersson > > Tribal Media AB > > > > > > > > > > > Date: Tue, 14 Apr 2009 18:02:45 +0100 > >

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Melanie
e ain't a great name. But I'm not too keen on >> ISceneForRegionModules either :). ISceneAPI perhaps... >> >> Of course, this also doesn't take into account the big lump of stuff hanging >> around in SceneGraph either... >> >> > >> > On my mind

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Melanie
numerated for smooth decoupling and encapsulation. > > Best regards, > Stefan Andersson > Tribal Media AB > > > > >> Date: Tue, 14 Apr 2009 20:32:48 +0200 >> From: mela...@t-data.com >> To: opensim-dev@lists.berlios.de >> Subject: Re: [Opensim

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Sean Dague
Melanie wrote: > Hi, > > as a mid to long range goal, +1, actually. > > but in the short run, the ability to load and unload regions is > blocked by the existing module API, and to fix this basic piece of > functionality, they need to be migrated to the new API, asap. > > If this is dragged in

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Stefan Andersson
ity, enumerated for smooth decoupling and > > encapsulation. > > > > Best regards, > > Stefan Andersson > > Tribal Media AB > > > > > > > > > >> Date: Tue, 14 Apr 2009 20:32:48 +0200 > >> From: mela...@t-data.com > >> To:

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Johan Berntsson
Better to keep it simple for now, but making a IScene is probably ok later on. I did a quick grep through my region modules (extsim, load balancer, some private stuff) and found that I'm using these functions. I'm sure other people use more. /Johan scene.AddNewSceneObject scene.AuthenticateHa

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-14 Thread Stefan Andersson
> scene.m_restorePresences O.o /Stefan ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-15 Thread Melanie
That member was actually introduced for the load balancer only, and is not supposed to be accessed by anything else. But, it's a case in point where a specialized application would not be possible if only an interface were passed. Melanie Stefan Andersson wrote: > > >> scene.m_restorePrese

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-15 Thread Stefan Andersson
v] Supplying IScene instead of Scene for the future > region modules mechanism > > That member was actually introduced for the load balancer only, and > is not supposed to be accessed by anything else. But, it's a case in > point where a specialized application would not be possi

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-15 Thread Justin Clark-Casey
Sean Dague wrote: > Melanie wrote: >> Hi, >> >> as a mid to long range goal, +1, actually. >> >> but in the short run, the ability to load and unload regions is >> blocked by the existing module API, and to fix this basic piece of >> functionality, they need to be migrated to the new API, asap. >

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-15 Thread Melanie
Looks like you didn't read my post. I said, as a mid to long range goal, yes. I didn't say we should never have it. I said it would block critical fixes if it were forced onto the new region module interface now. I'm not bullying anyone. You have not yet had the pleasure of seeing me bully anyo

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-15 Thread Justin Clark-Casey
Melanie wrote: > Looks like you didn't read my post. I said, as a mid to long range > goal, yes. I didn't say we should never have it. I said it would > block critical fixes if it were forced onto the new region module > interface now. In your earlier posts you vehemently decried any notion of

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-15 Thread Melanie
The important turning point of the discussion was when the talk turned to splitting things out of Scene. I'm still dead set against hiding Scene as it is today behind an interface, because it would turn into just as unmaintainable a behemoth as IClientAPI is. However, breaking things out of Scen

Re: [Opensim-dev] Supplying IScene instead of Scene for the future region modules mechanism

2009-04-15 Thread Justin Clark-Casey
Melanie wrote: > The important turning point of the discussion was when the talk > turned to splitting things out of Scene. I'm still dead set against > hiding Scene as it is today behind an interface, because it would > turn into just as unmaintainable a behemoth as IClientAPI is. > However, br