[Bf-committers] Re: Blener-Database Integration

Gilbert, Joseph T. jgilbert at tigr.ORG
Wed Feb 15 16:34:39 CET 2006


MySQL access through python is very powerful and very easy to use.
There are a couple of issues you might run into going the python route:

1) You are dependant on the python API to get data for storage. The API
is not in a state that you would be able to pull every datablock to push
out to a database. Although the API is constantly getting better, it
would be possibly more complete to export G.main (the internal blender
data manager) through C. If blender was using a MySQL design internally
then python could pull, push, sort that data efficiently. However, right
now you're dependant on getting data through the API.

2) MySQL module for python is not a standard install for python. You'll
need to get people to install this module for their python installation
to run this script you're planning on.

-----Original Message-----
From: bf-committers-bounces at projects.blender.org
[mailto:bf-committers-bounces at projects.blender.org] On Behalf Of Conti
Davide (KLDA 21)
Sent: Wednesday, February 15, 2006 5:46 AM
To: bf-blender developers
Subject: RE: [Bf-committers] Re: Blener-Database Integration

Hi Peter,
I was digging in the Blender and in the Verse server code...
Now I can answer your question.
I started to think about a Blender DB because I wasn't satisfied with
the Blender object navigation system.

I want a system in which one can easily play and select inbetween 100
different versions of the same object.
So, primarly for me I want a "kind of a" separate system in which I pick
my objects to put in a given scene,
work on them on Blender and store them back on the DB.

This is not according to the principles of Blender, because in Blender
DB is equivalent to ".blend" File.

After that I was looking also at a verse server, which seems to be
interesting, but it has somehow another focus, 
since it tries to integrate Blender with other 3D rendering tools.

Unfortunaltely,however I haven't enough time to follow both streams, and
moreover I have lack of experience developing large projects in C.
So I would like to concentrate primarly on the DB for Blender with a Web
Server. 

My idea was also to realize it in Python, and I think that if I just
focus on the tasks:
-put objects in DB 
-get objects in DB 
-visualise them in a Web Server  
in this way I believe I can get very quickly (for me) interesting
results.

Nevertheless I want to hear what you think about it, or if you have
maybe an idea to integrate the verse server in my concept.
(PS: by the way I tried the verse server as well as the client pyverse,
but I didn't get big success in running them...)

So what do you think about it?
Regs,
Davide.



-----Original Message-----
From: bf-committers-bounces at projects.blender.org
[mailto:bf-committers-bounces at projects.blender.org] On Behalf Of Peter
Schlaile
Sent: Friday, February 10, 2006 1:16 PM
To: bf-committers at projects.blender.org
Subject: [Bf-committers] Re: Blener-Database Integration

Hi,

just my two cents:

why not just create a Verse-Server that has a database-backend?
That keeps the idea (shared objects on a central server accessible by
several people) seperated from the implementation (storing the data in a
database).

Greetings,
Peter



_______________________________________________
Bf-committers mailing list
Bf-committers at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-committers
_______________________________________________
Bf-committers mailing list
Bf-committers at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list