Commit Graph

20 Commits

Author SHA1 Message Date
a70e32a306 fix issues
- revert nullptr check for BMap::MeshTrans pointer getter.
- fix pointer return error of BMap::MeshTrans
- fix type hint error and variable name error in PyBMap
- fix CKMesh flag init value error
- improve empty material slots saving. add a nullptr entry if no slots to make sure virtools can load it.
2023-12-01 23:31:09 +08:00
d8b7ace53d expose lit mode interface in CKMesh.
- provide lit mode and wrap mode getter and setter in CKMesh.
- add lost flags setter in CKMesh.
- show lit mode and wrap mode data in Unvirt.
- add interface for lit mode in BMap, because some old Ballance map use lit mode to light objects.
- expose a raw c callback when creating bmap to allow user decide how the log output by themselves.
- change python bindings for BMap interface changes.
2023-11-15 21:47:58 +08:00
9475e2abc5 fix x64 compile error. add arm support in IronPad 2023-10-29 12:36:03 +08:00
2bd0c980b5 add mesh interface functions 2023-10-08 20:56:29 +08:00
db6263cb53 finish CKMaterial writer. add lost SetClassId for each writer 2023-10-02 11:32:18 +08:00
9aa8b2b961 finish CKMesh writer
- fix some writing issue.
- create a internal object adder in CKFileWriter shared by AddObject and Ctor(copy Reader).
2023-10-02 09:16:45 +08:00
92f4271124 finish CKMesh writing (no test)
- finish CKMesh writing function
- remove useless CKMesh functions: material channels, vertex weight and face mask.
2023-10-01 23:48:55 +08:00
c0626eefee finish almost object output display 2023-09-22 22:31:51 +08:00
d37a552873 write some printer for ck class 2023-09-22 16:40:10 +08:00
ddf596faec create visitor for all existed CK class 2023-09-22 14:48:45 +08:00
81872053f0 finish PreDelete and CheckPreDeletion. now there is no problem when deleting object 2023-09-20 15:25:43 +08:00
a06f6a58c9 finish CKMesh remain reading and ctor 2023-09-20 14:42:44 +08:00
0a85832d63 update project 2023-09-20 13:13:08 +08:00
2d190ea30b finish BuildNormals 2023-09-19 15:20:40 +08:00
d381369ed6 now can read CKMesh without memory issue 2023-09-18 23:11:33 +08:00
678529a664 write some CKMesh 2023-09-18 21:06:34 +08:00
1ddeeb3b68 refactor project 2023-09-16 18:31:25 +08:00
8f960604ca add some reading function 2023-09-15 17:03:36 +08:00
312c746279 add some functions 2023-09-15 16:15:07 +08:00
b499d907f7 prepare CKMesh 2023-09-15 13:21:49 +08:00