Search found 8 matches

by keltar
Thu Dec 01, 2005 7:18 pm
Forum: Python
Topic: Blender.Armature - broken?
Replies: 4
Views: 2687

2.40rc1
by keltar
Thu Dec 01, 2005 3:59 pm
Forum: Python
Topic: Blender.Armature - broken?
Replies: 4
Views: 2687

Blender.Armature - broken?

Armature.Bone.New, Armature.getBones and some other functions aren't work. Armature.Get() SIGSEGVing. This is API changes or bugs?
by keltar
Thu Jul 28, 2005 3:32 pm
Forum: Interface & Tools
Topic: fast export/import
Replies: 12
Views: 5913

very simple example : amounting of 1 million 3d-vectors 0m5.374s - python 0m0.012s - C (not C++) 5.374s / 0.012s ~= 478. So python slower than C by 478 times, isn't it? So C-plugin should be work with my model ~6 minules (python script works 2 days). I know that maybe I write not-optimised script (I...
by keltar
Wed Jul 27, 2005 3:16 pm
Forum: Interface & Tools
Topic: fast export/import
Replies: 12
Views: 5913

"yafray rendering" creates XML file contains all geometry and materials. It works VERY fast! So I rewrite 1 file and add my own file format support to blender yafray's xml generator. Now when I need export model, I chousing "yafray rendering" and seting X-resolution to 4 (minimal value) (if resoluti...
by keltar
Tue Jul 26, 2005 8:24 pm
Forum: Interface & Tools
Topic: fast export/import
Replies: 12
Views: 5913

thanks :)
so, i will rewrite Blender parts to extend c api
PS: python slower much more than 50-100 times. I benchmarks it
by keltar
Tue Jul 26, 2005 8:56 am
Forum: Interface & Tools
Topic: fast export/import
Replies: 12
Views: 5913

ok, if you like python very mach, maybe you want to trash ALL Blender C API and rewrite texture plugins on python (and ignore the low speed)??? I think, C API is the main defect of Blender. Too sad...
by keltar
Mon Jul 25, 2005 12:49 pm
Forum: Interface & Tools
Topic: fast export/import
Replies: 12
Views: 5913

hm.. Why change? Blender has exelent python api, but do not provide access to geometry to C-plugins. So, I talk about adding more usable api to C-plugins, because python is too slow (model with 300000 vertices exports more than 2 days!)
by keltar
Sun Jul 24, 2005 6:05 pm
Forum: Interface & Tools
Topic: fast export/import
Replies: 12
Views: 5913

fast export/import

Python scripts is too slow. dna library is also very slow, but faster than python.
I thing, C API for plugins may be faster becouse it can use already loaded blend-file.
Is the faster method exists?