Commit Graph

20 Commits

Author SHA1 Message Date
b319e0fcb6 feat: finish basic function of BMapSharp.
- fix weird C sharp behavior about calling FreeNativeData without calling ManagedToNative, which cause segment fault.
- disable unhandled exception handler in debug mode for BMap.
- change all associated code involving these issues.
2024-10-05 11:58:25 +08:00
7c88b3614a fix: update BMap bindings
- send message in console if PyBMap fail to load native dynamic library. this is good for user experience.
- remove snippet from BMap bindings generator. We now insert generated code manually.
- fix C sharp code generation issue in BMap bidnings generator.
- add some content for BMapSharp.
2024-09-21 16:50:53 +08:00
9903b61cac fix: fix issues
- fix BMapBindings generator due to the rename of LIBCMO_EXPORT -> BMAP_EXPORT.
- fix relative path issue in Python scripts within CodeGen.
- remove all references to LIBCMO_PANIC. use exception instead to tell user they are fool.
- basically finish universal encoding tables. add lost encoding name.
2024-08-17 23:29:08 +08:00
da575e42f5 fix: update csharp interop code generator.
- update csharp interop code generator to have short output result.
2024-08-15 19:11:27 +08:00
a2fb376231 feat: add csharp interop code generation but no test.
- add csharp interop code generation without testing.
- add annotation for bmap binding project.
- fix README.
2024-04-23 16:01:26 +08:00
afd4abadbb fix bugs
- fix typing hint error in PyBMap
- remove UNKNOWN_PF in PixelFormat enum in PyBMap.virtools_type. because it is a fallback value and should not be used directly. so when I apply it to Blender plugin, it cause a error.
2024-01-08 10:54:14 +08:00
b8b2368ef5 fix issues
- fix lifetime issue about python c callback function
- fix type hint in PyBMap
- fix formatter clamp issue in CKContext
2023-12-03 18:15:05 +08:00
562b44c7aa use different file name of BMap in PyBMap for different system 2023-11-16 21:11:36 +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
77bb3ce7d2 fix bmap python binding error 2023-11-10 12:23:03 +08:00
aa8ec72df7 add json output for convenience about more lang bindings for bmap. 2023-11-07 15:55:07 +08:00
fcd1fa81db rename BM3dEntity to BM3dObject in BMap. continue writing python bmao binding. fix doc 2023-11-05 10:44:11 +08:00
2000a6ad9b update bmap python binding 2023-11-04 21:58:58 +08:00
d754b2fb44 fix bmap binding generation 2023-11-03 10:43:06 +08:00
52c2d3f7e0 add basic python writer for bmap binding 2023-11-02 22:02:39 +08:00
bcd58af132 update gitignore 2023-11-02 20:27:57 +08:00
57e6f14067 finish recognization part of bmap binding 2023-11-02 12:40:50 +08:00
68bffefe5a write binding code 2023-11-02 10:53:16 +08:00
ef5d1760a3 add lexer and parser for export function binding generation 2023-11-01 10:31:17 +08:00
99383779b3 add first work of BMap binding 2023-10-31 10:49:18 +08:00