update Blender .pie import scripts for PIE 3 format #1584
Comments
stiv uploaded file update blender pie import scripts |
stiv changed type from |
stiv commented Fix for bug http://developer.wz2100.net/ticket/1545 |
stiv uploaded file latest greatest. import discards bad polygons |
MaNGusT commented change status to fixed pls. I can't download new version of plugins. |
i-NoD uploaded file Here are the plugins from 'blender-pie-2.patch'. |
MaNGusT commented thanks. now it works great with pie=3 and floating points. bugs are fixed. |
i-NoD commented Replying to Warzone2100/old-trac-import#1584 (comment:3):
I guess you've already figured if we can use floats in pie? |
Buginator changed status from |
Buginator commented stiv, is it OK to commit this? What about #359 ? |
i-NoD commented Please wait until I enable a complete support for floating point in PIE3 (#1678). Then scripts should be changed accordingly... |
stiv commented The Blender plugins already handle floating point coords both for verts and texture coords. I don't see any reason not to commit them. They are PIE 3 compatible. i-node: what do you mean by floating point support? Are you thinking of changing the texture space to 0.0-1.0 or simply changing the 0-256 space from ints to floats? Is the WZM format up to date? It looks like it is using 0.0-256.0 for the texture coordinate space. |
stiv changed status from |
i-NoD commented
Current PIE 3 format can handle FP for vertexes, but only 8-bit integers for texture coords. The idea is to use PIE2 format for integers (for PieSlicer compatibility) and PIE3 for FP (blender and such). Current trunk models will be rolledback to PIE2 state as they will gain nothing from PIE3 format. Plus renewed PIE3 format will lack ANIDATA structure, so any effects in .pie should be in PIE2 format. New TCMask flag will availabel on PIE3 format. PIE3 format will be a test ground before WZM format, although I think whole WZM is in a 'idea' state... |
Per changed status from |
Per changed resolution from `` to |
stiv commented Can we get a definitive declaration of what the PIE* format state is with regards to 3.1? I stopped working on this because it seemed the format and usage was in flux, although I'm not sure anything ever came of it. The scripts also need to be re-worked for use in new Blender (2.6x) since it has a completely different Python API and mechanism for registering plug-ins, something I have been poking at a bit lately. |
dak180 commented Replying to Warzone2100/old-trac-import#1584 (comment:10):
It is my understanding that the format for 3.1 will not be undergoing any more changes; 3.2 on the other hand may be getting support for the the |
resolution_Needs reevaluating for current version (3.2.3)
type_patch (an actual patch, not a request for one)
| by stivupdate blender .pie import/export scripts to handle PIE 3 format.
add comments, code cleanup.
pie_import:
change 'import * from Blender' to 'import Blender as B' and
make associated B.* name changes. The 'import *' is not a good
programming practice in general and it steps on the Python sys
module
Issue migrated from trac:1584 at 2022-04-15 21:05:56 -0700
The text was updated successfully, but these errors were encountered: