I've been trying to export .obj Minecraft worlds with custom .json and .obj models for every block by editing jmc2obj code and it kinda worked.

Then thought of doing something different but I don't know how to do it, I have a theory of what could make this work, (something like McPrep's Mesh Swap

My idea is to replace each individual face for another model, the way it would work is by using the face's normal lines as a way to tell blender to replace and center the model

enter image description here

Since it is replacing faces we need 6 objetcs one for each face

enter image description here

(for this block all faces are the same)

for example, if the face normal is facing at +x the face gets replaced by the object "stone_brick +x" or if it is facing at -y it gets replaced by the object "stone_brick -y" and so on until we cover all 6 faces

this would only work for cubes as for different models it shouldn't work, like fences, anvils, and any other model that has more than 1 face per axis

  • $\begingroup$ Parent the Objects to the Cube then in the Cube Mesh properties select Duplicate and Faces. docs.blender.org/manual/en/dev/editors/3dview/object/properties/… $\endgroup$ – rob Sep 24 '18 at 7:50
  • $\begingroup$ @rob it worked! I just need to find a way to hide the plane and the object without hiding the duplicate or find a way to make duplicates into a mesh $\endgroup$ – user55023 Sep 25 '18 at 4:29
  • $\begingroup$ cool! select the parent :Object ‣ Apply ‣ Make Duplicates Real $\endgroup$ – rob Sep 25 '18 at 9:36
  • $\begingroup$ oof I didn't get a notification or I would have replied earlier, anyway now I'll start creating the script so it's just 1 click action $\endgroup$ – user55023 Sep 28 '18 at 0:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy