[Bf-python] Re: Your obj importer

Campbell Barton cbarton at metavr.com
Sun Jun 6 09:18:08 CEST 2004


Hi, I fixed all the bugs I could find.and changed licencing to GPL
I think its redy for distrobution- general usage.

If you want to get picky it might be better to import groups as seperate 
objects since most files have only 1 object with different groups, but 
its not that big a deal.

Some testing would be good,

Id like to test it with large scenes with many objects.

- Cam



Willian Padovani Germano wrote:

>----- Original Message -----
>From: "Campbell Barton" <cbarton at metavr.com>
>To: "Willian Padovani Germano" <wgermano at ig.com.br>; <bf-python at blender.org>
>Sent: Sunday, June 06, 2004 12:12 AM
>Subject: [Bf-python] Re: Your obj importer
>
>  
>
>>Hi, Im clearing some bugs in the OBJ importer.
>>
>>Mainly the material one (I think its a blender bug.)
>>Check thios out..
>>    
>>
>
>(...)
>
>It's probably comparing the pyobjects and they are different.  The right thing
>to do, though, is to compare the blender materials, so indeed we should be able
>to fix this in BPython.  It was done for cameras and other objects, Material was
>not updated accordingly.  We need to add a tp_compare method to the BPy_Material
>(Material_Type) table.
>
>Would you like to try yourself?  Just check Camera.c, for example, looking for
>tp_compare.  You need to write the compare method for materials (just like the
>camera one, no difficulty) and declare it at the type table.
>
>--
>Willian, wgermano at ig.com.br
>
>_______________________________________________
>Bf-python mailing list
>Bf-python at blender.org
>http://www.blender.org/mailman/listinfo/bf-python
>
>
>  
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: obj_import.py
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20040606/33148e19/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4851 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20040606/33148e19/attachment.bin>


More information about the Bf-python mailing list