[Opensim-users] Blender Exporter for OpenSim

Diva Canto diva at metaverseink.com
Sun Sep 21 17:26:55 UTC 2008


Shree Kumar wrote:
> Hi,
>
> I've been working for a couple of weeks, writing an exporter from 
> Blender to OpenSim. I didn't find any (most uses of Blender with 
> SL/OpenSim seem to be create sculpties, is that correct?), so decided to 
> write my own.
>
> OpenSim does not support meshes yet, so I made a few simplifying 
> assumptions for a start.
>      - I export only meshes which are cuboids.
>      - I set only the position, size & rotation of the prims in the 
> opensim database
>      - I only export to MySQL databases at the moment.
>
> The exporter writes directly to the MySQL database - specifically the 
> "prims" and the "primshapes" tables. I have been able to export scenes 
> with about 8k prims. Soon expect to use it to export a scene with about 
> 18k prims.
>
> A few questions
>  - I am not able to export texturing information since I do not know how 
> to decode the "Texture" field in the "primshapes" table. Any hints on 
> how to decode that field ? (pointers to the source would save me a lot 
> of work!)
>  - Anybody else interested in the exporter ?
>   

Yes! I can't wait for these tools to come around... Is anyone working on 
an importer from SketchUp?
If possible, it would be better if the objects would be exported to an 
external representation, instead of the MySql DB. Ideally, the external 
representation would refer to the textures by URL (including the local 
file system), and the right thing would happen when OpenSim would parse 
that. So no cryptic info.

Diva / Crista




More information about the Opensim-users mailing list