[Opensim-users] Blender Exporter for OpenSim

Justin Clark-Casey jjustincc at googlemail.com
Sun Sep 21 17:34:07 UTC 2008


Diva Canto wrote:
> 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.

Roo Reynolds wrote a sketchup -> Second Life importer that used a notecard and LSL approach

http://eightbar.co.uk/2006/09/29/google-sketchup-second-life-export/

though I can't find a link to actually download it (it's probably there somewhere).  Possibly this is adaptable to a 
more direct approach with OpenSim.

> 
> Diva / Crista
> 
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
> 


-- 
justincc
Justin Clark-Casey
http://justincc.wordpress.com



More information about the Opensim-users mailing list