Argent Stonecutter wrote:
> On 2009-08-31, at 08:53, Lawson English wrote:
>   
>> Certainly possible with Squeak smalltalk since you can direct the  
>> rendering to an offscreen buffer if you want. Unfortunately, I'm not  
>> so hep on how to take the shared buffer created by the SL plugin   
>> and pass it on to the squeak-side plugin. I guess just pass the  
>> address in with a POST to the localhost URL
>>     
>
> It should be possible with arbitrary programs. In OS X and Linux, at  
> least, it shouldn't be that hard to project the rendered output from  
> any arbitrary program onto an OpenGL texture. I don't know Windows  
> that well, but I suspect that it's also possible there.
>
> Restricting it to a specific language, runtime, or API is a lot less  
> interesting.
>   

Well, drawing to a shared-memory bitmap isn't hard at all, but unless 
your application already has provisions for drawing to arbitrary shared 
memory via an externally-provided pointer, you still need to work 
something up to actually use that pointer, regardless of what API you're 
drawing with. If nothing else, how does your program know which bit of 
memory to use since this isn't provided via the normal windowing system?

I mean, with Squeak, it *might* be possible to type in the address of 
the shared memory at runtime and render to it, but most drawing programs 
don't have the ability to use pasted-in memory pointers.


Lawson






_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to