1 Reply
      Latest reply on Sep 6, 2018 3:20 PM by YojimboMaster
      natemac Level 1 Level 1 (0 points)

        So I've been doing pretty good at creating USDZ for site http://www.444studio.com/ar-demos/.

        But I've been having an issue with a new model. If I assign a single object with a material, the USDZ file works, but if I try and assign all object with there respected materials it will not load the model at all on iOS.

        I thought it could be a polygon issue, so I rebuilt the models as low poly as I could, any ideas?

         

        Breakdown:

        xcrun usdz_converter HPE_Registration.abc HPE_Registration.usdz 
        -g Counter_Kicker 
        -color_map tex/Grey_basecolor.jpg 
        -normal_map tex/_normal.jpg 
        -metallic_map tex/_metallic.jpg 
        -roughness_map tex/_roughness.jpg 
        -g Counter_Wood 
        -color_map tex/wood_basecolor.jpg 
        -normal_map tex/wood_normal.jpg 
        -metallic_map tex/wood_metallic.jpg 
        -roughness_map tex/wood_roughness.jpg 
        -ao_map tex/wood_ao.jpg 
        -g Counter_Front 
        -color_map tex/glass_basecolor.jpg 
        -normal_map tex/glass_normal.jpg 
        -metallic_map tex/glass_metallic.jpg 
        -roughness_map tex/glass_roughness.jpg 
        -g Barstool 
        -color_map tex/leather_fine_basecolor.jpg 
        -normal_map tex/leather_fine_normal.jpg 
        -metallic_map tex/leather_fine_metallic.jpg 
        -roughness_map tex/leather_fine_roughness.jpg 
        -g Reg_Wall 
        -color_map tex/Graphic.jpg 
        -normal_map tex/_normal.jpg 
        -metallic_map tex/_metallic.jpg 
        -roughness_map tex/_roughness.jpg 
        -g White 
        -color_map tex/PPT_White_basecolor.jpg 
        -normal_map tex/_normal.jpg 
        -metallic_map tex/_metallic.jpg 
        -roughness_map tex/_roughness.jpg 
        -v
        

         

        Working code if for each indivual object:

        xcrun usdz_converter HPE_Registration.abc /Users/natemcgraw/Library/Mobile\ Documents/com\~apple\~CloudDocs/ARkit/HPE_Registration.usdz -g Counter_Kicker -color_map tex/Grey_basecolor.jpg -normal_map tex/_normal.jpg -metallic_map tex/_metallic.jpg -roughness_map tex/_roughness.jpg -v
        
        xcrun usdz_converter HPE_Registration.abc /Users/natemcgraw/Library/Mobile\ Documents/com\~apple\~CloudDocs/ARkit/HPE_Registration.usdz -g Counter_Wood -color_map tex/wood_basecolor.jpg -normal_map tex/wood_normal.jpg -metallic_map tex/wood_metallic.jpg -roughness_map tex/wood_roughness.jpg -ao_map tex/wood_ao.jpg -v
        
        xcrun usdz_converter HPE_Registration.abc /Users/natemcgraw/Library/Mobile\ Documents/com\~apple\~CloudDocs/ARkit/HPE_Registration.usdz -g Counter_Front -color_map tex/glass_basecolor.jpg -normal_map tex/glass_normal.jpg -metallic_map tex/glass_metallic.jpg -roughness_map tex/glass_roughness.jpg -v
        
        xcrun usdz_converter HPE_Registration.abc /Users/natemcgraw/Library/Mobile\ Documents/com\~apple\~CloudDocs/ARkit/HPE_Registration.usdz -g Barstool -color_map tex/leather_fine_basecolor.jpg -normal_map tex/leather_fine_normal.jpg -metallic_map tex/leather_fine_metallic.jpg -roughness_map tex/leather_fine_roughness.jpg -v
        
        xcrun usdz_converter HPE_Registration.abc /Users/natemcgraw/Library/Mobile\ Documents/com\~apple\~CloudDocs/ARkit/HPE_Registration.usdz -g Reg_Wall -color_map tex/Graphic.jpg -normal_map tex/_normal.jpg -metallic_map tex/_metallic.jpg -roughness_map tex/_roughness.jpg -v
        
        xcrun usdz_converter HPE_Registration.abc /Users/natemcgraw/Library/Mobile\ Documents/com\~apple\~CloudDocs/ARkit/HPE_Registration.usdz -g White -color_map tex/PPT_White_basecolor.jpg -normal_map tex/_normal.jpg -metallic_map tex/_metallic.jpg -roughness_map tex/_roughness.jpg -v

         

        Not Working combined code:

        xcrun usdz_converter HPE_Registration.abc /Users/natemcgraw/Library/Mobile\ Documents/com\~apple\~CloudDocs/ARkit/HPE_Registration.usdz -g Counter_Kicker -color_map tex/Grey_basecolor.jpg -normal_map tex/_normal.jpg -metallic_map tex/_metallic.jpg -roughness_map tex/_roughness.jpg -g Counter_Wood -color_map tex/wood_basecolor.jpg -normal_map tex/wood_normal.jpg -metallic_map tex/wood_metallic.jpg -roughness_map tex/wood_roughness.jpg -ao_map tex/wood_ao.jpg -g Counter_Front -color_map tex/glass_basecolor.jpg -normal_map tex/glass_normal.jpg -metallic_map tex/glass_metallic.jpg -roughness_map tex/glass_roughness.jpg -g Barstool -color_map tex/leather_fine_basecolor.jpg -normal_map tex/leather_fine_normal.jpg -metallic_map tex/leather_fine_metallic.jpg -roughness_map tex/leather_fine_roughness.jpg -g Reg_Wall -color_map tex/Graphic.jpg -normal_map tex/_normal.jpg -metallic_map tex/_metallic.jpg -roughness_map tex/_roughness.jpg -g White -color_map tex/PPT_White_basecolor.jpg -normal_map tex/_normal.jpg -metallic_map tex/_metallic.jpg -roughness_map tex/_roughness.jpg -v