jmc2obj / j-mc-2-obj

Java-based Minecraft-to-OBJ exporter.
http://www.jmc2obj.net
331 stars 57 forks source link

Vegetation not rendering properly #214

Closed Macintosh-Fan closed 1 year ago

Macintosh-Fan commented 1 year ago

Appears fine in material preview in Blender, but not in rendered view.

image image
mmdanggg2 commented 1 year ago

I think this is essentially the same issue as #211 there are 2 faces in the same position facing opposite directions. image Fine for the game when it has backface culling enabled but not so great for offline renderers. Weirdly it seems fine on gpu for me but these shouldn't be exported ideally.

Macintosh-Fan commented 1 year ago

I'll also point out that this is an issue for lily pads as well.

Macintosh-Fan commented 1 year ago

Great! Just wondering @mmdanggg2, when will the next release be with these fixes?

mmdanggg2 commented 1 year ago

Not sure when i'll put it out, maybe next week. You can always try the latest changes from here, just download the jar file artefact of the latest commit.

Macintosh-Fan commented 1 year ago

@mmdanggg2, I'm still getting some issues with it. Though, this might be for 1.8.9 (I got the Hypixel lobby world file), so it could be a version restriction, but not too sure. Though, I loaded the world through a newer client. I'll need to test with a local 1.19.3 world...

image

Also, in the world, it seems like it's only crops with stages are affected.

Macintosh-Fan commented 1 year ago

UPDATE: it seems like I forgot to disable this:

image

However, it is still weird at certain angles...

image image

Blender file (make sure to have sun position enabled): file.blend.zip World file: test.obj.zip

mmdanggg2 commented 1 year ago

That is due to not having enough transparency bounces in your cycles settings.

Macintosh-Fan commented 1 year ago
Screenshot 2023-05-21 at 11 47 29 AM

A little unsure if it is similar to this issue, but when I want to change Minecraft's glass into the Blender glass material, there are these weird lines across it.