[Bf-committers] Blender Web Plugin :: Current Status

Marcelo Coraça de Freitas mfreitas at ydeasolutions.com.br
Fri Aug 15 15:00:10 CEST 2008


Hello all!

    The last two weeks have been of extensive research and headaches.
Now I finally got something that worth talking about - now, it's not the
plugin itself.

    I've managed to build a simple mozilla plugin (no interface yet, but
plugging gtk should be really straightforward - I'll do this only for
testing) and I isolated all the relevant code I'll need for a basic and
insecure (as I have not dealt with python sandbox yet) plugin.

    Among other things, I already know how to deal with streams in
mozilla plugins and I got everything sorted out to build an SCons build
script for this module and I got all the header files required to build
plugins - of course there will be needed some libraries already compiled
in the system.

    Now, for the properties window of the plugin I am considering using
GTK. For now there will be no such thing but I am wondering of that will
be a good idea or not - maybe using the libraries for the blender
interface will be better as we won't have many dependencies. What do you
think?

    The biggest issue right now is the Mozilla's header files. I can see
two options. Depend on user interaction so he will have mozilla
installed or we can add the Gecko SDK (a 8mb folder) into the extern
folder. I am in favour of the second one but I am not the one who should
decide this. So, what's gonna be?

    Other thing: is there any known issue in running two instances of
the game engine at the same time? Each plugin instance (each <embed>
HTML code) will be an instance of the game engine - I'll try to make the
instances share some portions of code but that's not my main priority
right now.

    By the way, I am using the legacy npapi instead of nsplugin as there
is no much documentation on the later one - even the samples that comes
with mozilla are based on the npapi.


Regards,




Marcelo Coraça de Freitas
Pesquisa e Desenvolvimento de Softwares 

Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - São Paulo - SP 
Tel.: 55-11-5523-0333 
Cel.: 55-11-8685-1429 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-committers/attachments/20080815/94ae6d95/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ydea.jpg
Type: image/jpeg
Size: 3721 bytes
Desc: not available
Url : http://lists.blender.org/pipermail/bf-committers/attachments/20080815/94ae6d95/attachment-0001.jpg 


More information about the Bf-committers mailing list