yyc12345
c58af8ce48
fix: fix face generation error of BME streets prototype.
2024-04-22 21:06:35 +08:00
yyc12345
07298fd21c
feat: add blc params in exporter. fix bme.
...
- add ballance params section and successive switch in virtools file exporter to allow user manually cancel sector group ensurance which give user a way to export component, not the whole level.
- add mirror matrix detection in bme creation. a mirror matrix will reverse triangle indice order. we need reverse it again when facing mirror matrix. this resolves the issue when applying term 3.
- use mirror, not rotation to create straight floor in bme which give a better looks in game.
2024-04-07 10:35:06 +08:00
yyc12345
3a1a0fb0f6
doc: update document
...
- add section about ballance related props
2024-04-06 15:43:42 +08:00
yyc12345
3396947115
feat: add ballance map sector field in scene
...
- add ballance map sector info in scene to indicate the maximum sector count of this map.
- this adding will prevent the bug that the exported ballance map do not have successive sector groups. because original implement will not create sector group if no component in corresponding sector and previous remedy still have bug. and if this happended, ballance will show spaceship in wrong sector. this adding is the final solution of this bug.
- exlarge ballance map sector info when user adding component. the enlarged value will be calculated by user input sector.
- auto enlarge ballance map sector info when importing. this will give user a fluent experience when modifying existing map.
- exporting map will also use ballance map sector info to pre-create successive sector group as term 2 stated.
- move sector name extractor from virtools file exporting module to naming convention module.
2024-04-01 14:39:11 +08:00
yyc12345
6cf2ab895d
fix: fix unregister error in virtools group
...
- fix del attribute error when unregister virtools group.
2024-03-30 16:12:34 +08:00
yyc12345
b039dd8b43
fix: fix grouping and naming error
...
- fix wood and rail soundeffect grouping error.
- fix checkpoint and resetpoint naming error again (forget to change PC/PR).
2024-02-20 21:52:50 +08:00
yyc12345
8bad1a487c
add swing series adder
2024-02-18 22:11:06 +08:00
yyc12345
0f18559d3f
chore: switch doc gen from ng to master
2024-02-13 12:19:20 +08:00
yyc12345
5a5053440c
update doc english part
2024-02-13 12:06:16 +08:00
yyc12345
02a1222210
feat: flatten uv backward search mode
...
- support backward successive face searching to resolve some failed flatten uv in floor mode.
2024-02-13 10:58:44 +08:00
yyc12345
f8c344f65e
doc: add doc.
...
- finish uv section of doc.
- fix issue about the wrong calc of coordinate system axis vector in flatten uv (change it from left hand to right hand).
- fix rail uv display text.
2024-02-12 22:39:44 +08:00
yyc12345
0bec108dcb
feat: add fix material feature.
...
bring ballance virtools helper used fix_texture (renamed as fix material to correspond with the real object operated by this function) into blender plugin.
2024-02-12 11:42:09 +08:00
yyc12345
997839a187
feat: select object after creation of floor, rail and component
2024-02-11 17:11:05 +08:00
yyc12345
da71d5560c
doc: update manual
2024-02-11 16:38:06 +08:00
yyc12345
02082bf99e
fix issue. add doc.
...
- fix TwoFlames Resetpoint naming error.
- add doc parts.
2024-02-08 23:21:53 +08:00
yyc12345
c82c094519
add shadow group as the essential group for floor type.
2024-02-08 13:50:56 +08:00
yyc12345
8ec101e1f1
update flatten uv
...
- add `failed` counter for special flatten uv.
- ignore invalid face when checking them to prevent potential recursive checking.
2024-01-22 22:25:04 +08:00
yyc12345
8499c25b67
add redist folder. fix doc and readme
2024-01-14 21:25:12 +08:00
yyc12345
200ac40648
update doc
2024-01-14 17:08:53 +08:00
yyc12345
25091a48a7
finish specific flatten uv
2024-01-14 12:07:47 +08:00
yyc12345
259f99ddf8
refactor flatten for future dev
2024-01-12 23:55:28 +08:00
yyc12345
f123bdacc0
finish bme struct
2024-01-12 17:18:41 +08:00
yyc12345
8f27fec3c8
update bme struct
2024-01-10 22:37:41 +08:00
yyc12345
0d0d4db2db
try nomaterial
2024-01-09 21:02:56 +08:00
yyc12345
bfbdf5c99b
fix rail cret issues
...
- add transition rail oper
- set sharp edge only when cap is available.
- fix normal flip issue in straight rail.
2024-01-09 17:52:30 +08:00
yyc12345
50b2cf2cf1
add docs. add mkdocs deploy
2024-01-08 23:36:59 +08:00
yyc12345
013096459a
finish rail adder
2024-01-08 15:08:20 +08:00
yyc12345
31aa5c3127
add null normal support in bme. fix rail cret draw()
2024-01-08 10:28:56 +08:00
yyc12345
f9502fe2d4
basically finish rail adder
2024-01-07 17:33:21 +08:00
yyc12345
b5565d796a
add a part of rail adder
2024-01-06 23:51:11 +08:00
yyc12345
6b31401240
add bme struct. fix bmap type hint
2024-01-04 17:29:01 +08:00
yyc12345
2c006b4528
add conflict resolver
2024-01-04 10:35:52 +08:00
yyc12345
680f367a42
fix issues
...
- disable bmx import/export temporaryly
- optimize the ui display of importing/exporting. (use box to organize props)
- place button horizontally, not vertically in virtools material.
- disallow apply in legacy align if no axis selected.
- add applied step counter in legacy alignment.
- add feedback for reseting bme material/component. (add a message box to show success)
2024-01-01 13:07:10 +08:00
yyc12345
318d661ac1
separate gitignore and add document
2023-12-31 19:31:41 +08:00
yyc12345
321e1b6fe9
finish rename opers
2023-12-31 17:35:15 +08:00
yyc12345
20aba6c273
fix issue. add feat.
...
- add ignored bmesh update function in flatten uv
- finish select by group, add, rm, clear group functions.
2023-12-30 22:17:42 +08:00
yyc12345
c5ce6e8a2c
add border in bme
2023-12-27 16:05:35 +08:00
yyc12345
9315ff723d
fix issues
...
- apply transform when creating BME struct's vertices and faces.
- add 3ds max align operator. support Apply button in a nasty way.
2023-12-26 22:23:56 +08:00
yyc12345
50b7eb0bce
fix issues
...
- fix Sector group no-successive issue when saving as nmo
- add nong ventilator adder.
- use copy.copy to write some code to reduce the calling of get/set_raw_vt_mtl()
- keep texture when apply virtools mtl preset.
2023-12-25 15:04:22 +08:00
yyc12345
03e8feac67
add support to compress bme json
2023-12-25 10:49:25 +08:00
yyc12345
35f2c4a389
finish bme
2023-12-18 10:30:32 +08:00
yyc12345
6bc3933291
update bme
2023-12-17 23:01:45 +08:00
yyc12345
03441c642b
update bme prop display
2023-12-17 12:01:57 +08:00
yyc12345
77b15a8797
refactor EnumPropHelper to improve BME again.
2023-12-16 22:27:31 +08:00
yyc12345
94872957fd
init bme creator work
2023-12-16 18:12:00 +08:00
yyc12345
a6de69c882
refactor BlenderEnumPropHelper
2023-12-15 21:57:50 +08:00
yyc12345
52f3936e42
try bme adder
2023-12-14 21:33:22 +08:00
yyc12345
2f123e6a3c
add bme material preset
2023-12-14 18:03:03 +08:00
yyc12345
f6569313bf
update component creation
2023-12-09 17:42:03 +08:00
yyc12345
ebb22c9ec1
refactor. and finish basic of adding component
2023-12-07 21:28:23 +08:00
yyc12345
ae9a848864
write shit
2023-12-06 17:16:31 +08:00
yyc12345
ca7e047c09
add something
...
- move all annotation to vt types
- add 2 options when saving virtools file accoridng to the change of BMap interface changes.
2023-12-03 22:49:29 +08:00
yyc12345
5c34bbad38
fix virtools export fatal errors
2023-12-03 18:14:20 +08:00
yyc12345
70dd525315
almost finish virtools exporing
2023-12-03 17:07:52 +08:00
yyc12345
3025fcf305
update vt file exporting
2023-12-02 20:25:36 +08:00
yyc12345
52452a96d5
update virtools export
2023-12-01 23:27:53 +08:00
yyc12345
84b3ace13d
start exporing virtools file
2023-11-30 22:38:53 +08:00
yyc12345
7116d7198a
update naming
2023-11-29 22:12:04 +08:00
yyc12345
6944415912
finish naming convention converter
2023-11-29 21:35:15 +08:00
yyc12345
88fe1519e3
add name convention
2023-11-26 20:37:19 +08:00
yyc12345
5bb3abed20
shhit
2023-11-26 12:57:49 +08:00
yyc12345
e79982c43f
init naming convention plugin system
2023-11-24 17:49:18 +08:00
yyc12345
8e2d7a4133
update plugin
...
- revert merge of ballance textures
- prepare for naming convension dev
- show icons for virtools group list
2023-11-23 22:34:06 +08:00
yyc12345
cb80fa8b03
add icons manager. show icons in group
2023-11-22 19:57:29 +08:00
yyc12345
e84c1148f3
add thumbnail for blender icons
2023-11-22 17:41:43 +08:00
yyc12345
1432c2990a
fix issues.
...
- fix issue according to python linter
- do not write vt group if no changes. reduce the cost of virtools group class.
2023-11-17 22:00:22 +08:00
yyc12345
1a2dd08092
update plugin.
...
- sync PyBMap work. use different library name in different OS.
- add BMap encoding default value according to different OS (Windows and non-Windows) because non-Windows OS, we use libiconv as encoding converter.
- move all pointer properties to a single module and give corresponding visitor.
- add shared importer exporter parameters module thus bmfile import/export also can ref it.
2023-11-16 22:41:03 +08:00
yyc12345
59a1275f68
add support of virtools mesh lit mode
2023-11-15 23:05:00 +08:00
yyc12345
d128ffcde5
update custom normals importing
2023-11-14 22:16:12 +08:00
yyc12345
fd17d3b5c9
revert some changes about prev commit
2023-11-14 21:37:29 +08:00
yyc12345
1f0444009f
fix 2 issues
...
- update apply_virtools_material. use keywords, not index to visit input and output sockets.
- update blender mesh operator. send a message when mesh::validate() proceed mesh and stop custom normals assignment.
2023-11-14 21:24:09 +08:00
yyc12345
bd40e0fdf2
update video format display name
2023-11-12 20:55:21 +08:00
yyc12345
6991307b8b
merge util_blc_tex to prop_vt_tex. support virtools texture props when importing virtools file.
2023-11-12 20:35:54 +08:00
yyc12345
b7ad5c67d4
add virtools texture support
2023-11-11 13:32:58 +08:00
yyc12345
5bbaa895eb
fix raw data texture reading error
2023-11-10 14:59:06 +08:00
yyc12345
1299a14f3b
finish virtools file importer
2023-11-10 12:26:04 +08:00
yyc12345
8fad643dd9
finish half of virtools importer
2023-11-09 21:41:26 +08:00
yyc12345
ec0749f3e5
adapt to PyBMap binding
2023-11-09 17:20:57 +08:00
yyc12345
6e4b1b37da
finish virtools groups
2023-10-27 11:51:12 +08:00
yyc12345
1eaaedfcbd
finish ballance element
2023-10-26 12:32:08 +08:00
yyc12345
c1f92c7244
basically finish framework of ballance_element
2023-10-25 21:35:26 +08:00
yyc12345
2896602e6a
add basic support of Ballance elements
2023-10-25 12:07:14 +08:00
yyc12345
9079bf1bb3
remove uv modifier from bld_mesh.py and finish flatten uv and rail uv
2023-10-23 10:57:29 +08:00
yyc12345
f7dd5f32ba
update MeshUVModifier
2023-10-21 10:48:46 +08:00
yyc12345
b4bb85cc71
update MeshUVModifier
2023-10-20 20:50:30 +08:00
yyc12345
bcbe9c987e
add MeshUVModifier
2023-10-20 10:40:20 +08:00
yyc12345
16d4fc2bca
finish mesh reader
2023-10-19 10:56:33 +08:00
yyc12345
4f10b1a9e9
add placeholder for importer and exporter
2023-10-18 21:23:04 +08:00
yyc12345
484a4101ad
finish blender mesh writer
2023-10-18 12:09:40 +08:00
yyc12345
ea6cb430fe
add blender mesh helper
2023-10-17 11:50:31 +08:00
yyc12345
354b3cd180
fix and add some functions
2023-10-16 10:12:05 +08:00
yyc12345
1d1de08bd7
update texture manager
2023-10-15 21:13:56 +08:00
yyc12345
21345b8251
add some functions
2023-10-15 13:48:50 +08:00
yyc12345
b94e7e2b22
add addon pref and file browser wrapper
2023-10-14 11:48:41 +08:00
yyc12345
5584bc66a0
basically finish virtools material
2023-10-12 22:15:21 +08:00
yyc12345
4f693b555d
add virtools material basically
2023-10-11 22:24:22 +08:00
yyc12345
4733295a39
add some basic of virtools material
2023-10-11 10:55:45 +08:00
yyc12345
d9b9531828
try migrate first operator
2023-10-10 16:01:52 +08:00
yyc12345
1db6cab8ca
add some code
2023-10-09 22:20:21 +08:00
yyc12345
8de1adda04
add some development help
2023-10-09 14:10:25 +08:00