mitsuba-renderer / mitsuba-blender

Mitsuba integration add-on for Blender
BSD 3-Clause "New" or "Revised" License
280 stars 37 forks source link

Importer/Exporter: uv coordinates flipped when importing exported scene. #50

Closed DoeringChristian closed 1 year ago

DoeringChristian commented 2 years ago

Bug Description When exporting a scene to the mitsuba format and importing it back into blender the vertical axis of the uv map is flipped.

To Reproduce Steps to reproduce the behavior:

  1. Export scene to mitsuba xml
  2. Import same scene to blender

Expected behavior UV coordinates should be the same after importing

Resources Before: Screenshot from 2022-11-12 00-36-57 After: Screenshot from 2022-11-12 00-37-47

Environment:

ros-dorian commented 2 years ago

Hello,

Good catch! This PR should fix this problem, but I'll let you double-check that it indeed works now.

Cheers!