[Bf-committers] Web Plugin Status #2

Enrico Fracasso enrico.fracasso at email.it
Sat Aug 23 12:38:39 CEST 2008


On Fri, Aug 22, 2008 at 14:02, Marcelo Coraça de Freitas
<mfreitas at ydeasolutions.com.br> wrote:
> Just to let everyone know, it's working perfectly!
wonderful!

>
> We still gotta sandbox python and implement scripting support.
it seems to me that sandboxing python it's pretty hard: the old plugin
had python completely disabled and we can do the same for the new one
(initially).

>
> Also, as the blenderplayer executable that's generate is 20m big each
> plugin instance uses at least this ammount of memory.
>
> A simple but yet efficient solution to this is to link the player
> dynamically.
>
> With this there is the problem of distributing a game created in
> blender, but couldn't we simply link another executable and use it,
> leaving the current blenderplayer executable the way it is?

I hope that multiple execution of the same executable share code
section in memory (after all, how many web player executions do you
expect concurrenty?).
As far as blenderplayer is concerned, my modification can be included
on normal blender player installation (so blenderplayer can be
embedded on any other running program); using this solution the web
plugin can use the blender player (already) installed on the system.

bye

-- 
Enrico Fracasso


More information about the Bf-committers mailing list