2 Replies
      Latest reply on Jun 5, 2019 10:47 PM by gdh
      thnx_mlhw Level 1 Level 1 (0 points)

        I'm trying to convert an obj model to usdz using onnly a color_map

        xcrun usdz_converter Kudde_v03/Kudde_v03.obj ./Kudde_flower_2048.usdz -color_map Final_test_1/Textures/2048/Kudde_2048_flower_lagoon_color_map.png -normal_map Final_test_1/Textures/2048/Kudde_2048_normal_map.png -v

         

        The model is converted fine and looks ok in Quick Look on my mac but when I look at it in Quick Look on my iPhone the model is too dark.

        If I open the obj file in XCode and SceneKit the model also looks fine after applying the color map to the diffuse option.

         

        It's like the lighting is all wrong in Quick look on iPhone. The issue is there in both object mode and AR mode.

         

        This is what i looks like on iPhone X Quick look https://ibb.co/MG69BVb   (The preview in the Files app looks fine)

        and using quick look on my mac https://ibb.co/gM626Zf

        Using Xcode https://ibb.co/zPgfr7f

         

        Heres my verbose output.

        usdz_converter
        Version: 1.009
        
        -v: Verbose output
        
        
        Primitives:
          Transform: /Kudde_v03
          Transform: /Kudde_v03/Geom
          GeomMesh: /Kudde_v03/Geom/ZBrush_defualt_group
          bound material: /Kudde_v03/Materials/default
          Replacing material
          unbind material: /Kudde_v03/Materials/default
          Binding to material /Kudde_v03/Materials/StingrayPBS_0
          GeomScope: /Kudde_v03/Materials
          ShadeMaterial: /Kudde_v03/Materials/default
          ShadeMaterial: /Kudde_v03/Materials/StingrayPBS_0
          ShadeShader: /Kudde_v03/Materials/StingrayPBS_0/pbr
          ShadeShader: /Kudde_v03/Materials/StingrayPBS_0/Primvar
          ShadeShader: /Kudde_v03/Materials/StingrayPBS_0/color_map
          ShadeShader: /Kudde_v03/Materials/StingrayPBS_0/normal_map
          ShadeShader: /Kudde_v03/Materials/StingrayPBS_0/ao_map
          ShadeShader: /Kudde_v03/Materials/StingrayPBS_0/emissive_map
          ShadeShader: /Kudde_v03/Materials/StingrayPBS_0/metallic_map
          ShadeShader: /Kudde_v03/Materials/StingrayPBS_0/roughness_map
        

         

        Any ides on what's going on here?

        Or how I can get my models to not be too dark in the phone?