Help me fix this openbve plugin for blender
2 posters
Page 1 of 1
Help me fix this openbve plugin for blender
hello
a few months ago i saw a plugin to make openbve addon in blender but unfortunately that plugin only works in blender 2.79 not 2.8 above. so i try to fix it myself, long story short i only have fix the object and material tab, because learning blender code is very difficult i give up to fix it , so because i already done with this code i want this community to continue this code and make it better.
i think what need to be fixed is :
-way to registering operator
-changes in matrix command multiplication
-filepath for exporting and importing csv files
-prepare for significant python change for blender 2.9 above
below is screenshot and link i use to fix this plugin maybe you can use it better than me.
links:
https://blenderartists.org/t/2-80-cheat-sheet-for-updating-add-ons/1148974
https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API
https://wiki.blender.org/wiki/Reference/Release_Notes/2.81/Python_API
https://wiki.blender.org/wiki/Reference/Release_Notes/2.82/Python_API
https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Python_API
https://theduckcow.com/2019/update-addons-both-blender-28-and-27-support/
plugin links: https://drive.google.com/file/d/1H6-1IUCzxkxIjvNoMuOZnolDq2WASI-s/view?usp=drivesdk
note:
-this plugin forked from this repo https://github.com/maisvendoo/blenderCSV
-i want this plugin works in blender 2.83 lts because in lts version the pyhon API not gonna change so it easier to work.
a few months ago i saw a plugin to make openbve addon in blender but unfortunately that plugin only works in blender 2.79 not 2.8 above. so i try to fix it myself, long story short i only have fix the object and material tab, because learning blender code is very difficult i give up to fix it , so because i already done with this code i want this community to continue this code and make it better.
i think what need to be fixed is :
-way to registering operator
-changes in matrix command multiplication
-filepath for exporting and importing csv files
-prepare for significant python change for blender 2.9 above
below is screenshot and link i use to fix this plugin maybe you can use it better than me.
links:
https://blenderartists.org/t/2-80-cheat-sheet-for-updating-add-ons/1148974
https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API
https://wiki.blender.org/wiki/Reference/Release_Notes/2.81/Python_API
https://wiki.blender.org/wiki/Reference/Release_Notes/2.82/Python_API
https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Python_API
https://theduckcow.com/2019/update-addons-both-blender-28-and-27-support/
plugin links: https://drive.google.com/file/d/1H6-1IUCzxkxIjvNoMuOZnolDq2WASI-s/view?usp=drivesdk
note:
-this plugin forked from this repo https://github.com/maisvendoo/blenderCSV
-i want this plugin works in blender 2.83 lts because in lts version the pyhon API not gonna change so it easier to work.
Last edited by ADbve on Thu 10 Jun 2021, 3:22 pm; edited 3 times in total
ADbve- Posts : 72
Join date : 2020-05-14
Midnight Express Ginga81 likes this post
Re: Help me fix this openbve plugin for blender
This might be a bit difficult, because the material system of Blender went through a complete change in 2.8. Now you draws a diagram instead of using predefined options. This is the source of the "use_transparency" bug, and you'll encounter more after fixing this because the whole system has changed. This means the code that handles material export needs to be rewritten.
Probably one can refer to the built-in plugins to see how they handles it. Blender seems to provide a helper class to handle simple scenarios.
Probably one can refer to the built-in plugins to see how they handles it. Blender seems to provide a helper class to handle simple scenarios.
Midnight Express Ginga81 likes this post
Re: Help me fix this openbve plugin for blender
I've made a version that supports 2.80 and above.
https://github.com/zbx1425/blenderCSV/releases/tag/v-zbx-20211212
The importer is currently unusable, but the exporter should work as intended.
https://github.com/zbx1425/blenderCSV/releases/tag/v-zbx-20211212
The importer is currently unusable, but the exporter should work as intended.
Gothpaladinus and Midnight Express Ginga81 like this post
Re: Help me fix this openbve plugin for blender
Thanks zbx1425, honestly i already got this script to works several weeks after making this topic, although it only the exporting part it worked .
Like you said the import part is very broken and in my version i need manually write the Load command to include the texture to the csv file.
But im gonna check your version soon.
Like you said the import part is very broken and in my version i need manually write the Load command to include the texture to the csv file.
But im gonna check your version soon.
ADbve- Posts : 72
Join date : 2020-05-14
Gothpaladinus and Midnight Express Ginga81 like this post
Similar topics
» Real interest in the sim.
» a little update for plugin to export csv from blender
» [Exoprt HOW TO]:Blender(2.76b) and Metasequoia to OpenBVE's csv
» Modeling for OpenBVE in Blender 3D editor
» Camera angles in OpenBVE, possible future optimise options for OpenBVE?
» a little update for plugin to export csv from blender
» [Exoprt HOW TO]:Blender(2.76b) and Metasequoia to OpenBVE's csv
» Modeling for OpenBVE in Blender 3D editor
» Camera angles in OpenBVE, possible future optimise options for OpenBVE?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|