TUG
评价数不足
Blender exports not in the right order? Here's some help.
由 Rawr 制作
Blender is good, until it isn't. I helped make it good again.
   
奖励
收藏
已收藏
取消收藏
Tutorial
Cutting straight to the chase, if your blender exports aren't in the right order, TUG probably won't render it. Further more, you can't just open up the .obj with a text editor and cut/paste around. In the picture below, the stick on the left is an example of what happens if you try to do that.

Instead, I've created a python 3 script to do the job of re-constructing the .obj file.

I recommend exporting from blender using the settings below. If you decide not to, please do mention this with any feedback.


It's executed in the command line so you'll need to follow these steps:
  • open your folder with "processOBJfile.py"
  • add your example.obj file into the same folder.
  • copy the address of this folder.
  • press start, type "cmd", press enter
  • type "cd", hit space bar, right click, paste, hit enter
  • type in everything in the quotes "python processOBJfile.py < example.obj > anyNameYouLike.obj"

Download:
Git repo link.[github.com]