Posts

Post not yet marked as solved
2 Replies
633 Views
Hi all, I am able to create USDZ files to load in AR Quick Look. However, for prims that contain displayColor primvar values, they all appear incorrect (pink) when opened via AR Quick Look. To repro, create a usdz from this (size too big for attaching usdz directly): #usda 1.0 ( defaultPrim = "Origin" ) def Xform "Origin" ( apiSchemas = ["GeomModelAPI"] kind = "component" ) { string label = "Golden Krone Hotel" string modern_name def Sphere "Volume" ( doc = "This is the main volume for the Golden Krone" ) { color3f[] primvars:displayColor = [(0.721156, 0.0030596028, 0.27578437)] ( elementSize = 1 interpolation = "constant" ) double radius = 2 float xformOp:rotateX:tilt = 12 float xformOp:rotateZ:spin.timeSamples = { 0: 0, 192: 1440, } double3 xformOp:translate = (0, 2, 0) uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateZ:spin", "xformOp:rotateX:tilt"] } def Cube "TopBackLeft" ( doc = "This is the volume for the top back left section of the Golden Krone" ) { color3f[] primvars:displayColor = [(0.8052342, 0.0014515291, 0.19331428)] ( elementSize = 1 interpolation = "constant" ) double3 xformOp:translate = (-2, 6, -2) uniform token[] xformOpOrder = ["xformOp:translate"] } def Capsule "TopFrontLeft" ( doc = "This is the volume for the top front left section of the Golden Krone" ) { color3f[] primvars:displayColor = [(0.007277872, 0.58201957, 0.41070253)] ( elementSize = 1 interpolation = "constant" ) double3 xformOp:translate = (-2, 6, 2) uniform token[] xformOpOrder = ["xformOp:translate"] } def Cylinder "TopBackRight" ( doc = "This is the volume for the top back right section of the Golden Krone" ) { color3f[] primvars:displayColor = [(0.20229208, 0.39510167, 0.40260625)] ( elementSize = 1 interpolation = "constant" ) double3 xformOp:translate = (2, 6, -2) uniform token[] xformOpOrder = ["xformOp:translate"] } def Cone "TopFrontRight" ( doc = "This is the volume for the top front right section of the Golden Krone" ) { color3f[] primvars:displayColor = [(0.08033847, 0.7920769, 0.12758464)] ( elementSize = 1 interpolation = "constant" ) double3 xformOp:translate = (2, 6, 2) uniform token[] xformOpOrder = ["xformOp:translate"] } } Opening the file in USDView, SideFX Houdini, Autodesk Maya ends up in viewport displaying expected colors: Opening it in AR Quick Look iOS appears pink: Searching on the internet, I have not been able to find any information about why this happens, what the requirements are, or if it is a known issue. Only a post on usd-interest google group from 2019 reported the same: https://groups.google.com/g/usd-interest/c/8hD2rzRboeg/m/PSgIPlLCBgAJ with the answer: """ And I was just told that ARQL does not currently support vertex displayColors in any capacity - neither without a bound material (as in the example I provided), nor as something read via a UsdPrimvarReader shader to feed to a UsdPreviewSurface... the only primvars currently supported in ARQL are texture coordinates for feeding a UsdUVTexture shader. """ I can not bake textures as my app is meant to work with display colors only. Does anyone have links to official help or information on this? Searching if supporting displayColor as other USD renderers do will be coming eventually.
Posted
by chrizzftd.
Last updated
.
Post not yet marked as solved
0 Replies
411 Views
Hi all, I have a question regarding UsdGeom.PointInstancer: https://graphics.pixar.com/usd/docs/api/class_usd_geom_point_instancer.html schema support on AR Quick Look for USD stages. When packaging the city set example from pixar https://graphics.pixar.com/usd/downloads.html: and using it as a USDZ file ends up in AR Quick Look displaying: No point instancer at all. Prototypes at the origin. I have not been able to find any information regarding support, requirements or plan for UsdGeom.PointInstancer in AR Quick Look or Reality Composer pages. USDView, SideFX Houdini and Autodesk Maya support it without problem, I was hoping to use it for some AR models. Can somebody point me in the right direction for documentation on this, please?
Posted
by chrizzftd.
Last updated
.