Post not yet marked as solved
From the keynote #10076 it was mentioned at the 3:00 mark, that USDZ, USDA and OBJ is supported, but I've not been able to find details on how to make the sample command-line app export .obj files. Only .usdz.
Anyone have any information on that?
Or does anyone have any tips on how to convert a .usdz to .obj? It doesn't seem to be very easy to do.
Post not yet marked as solved
I am new to apple app and metal shader development, and I want to learn this skill from the very beginning, so is there a full list of tutorial, thanks.
Hi,
Is it possible to create a 3D model by ingesting a video ? As we create by using pictures ?
Is there any API provided by apple for this ?
Any help is appreciated.
Thanks
Post not yet marked as solved
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.
Post not yet marked as solved
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?
Post not yet marked as solved
I have recently purchased MacBook Air with M1 and have updated the IOS to Monterey, I am getting the error fatalError("Requires minimum macOS 12.0!") on Xcode at the end in main page of hello photogrammetry app, could you help me fix this
Post not yet marked as solved
How did you scan the bottom of the pancake, or did you use the other 3d apps to make the bottom mesh for the object captured pancake ?
Post not yet marked as solved
I tried the HelloPhotogrammetry sample app and ended up with the following errors.
'SampleOverlap' is not a member type of struct 'HelloPhotogrammetry.Configuration' (aka 'PhotogrammetrySession.Configuration')
Type 'HelloPhotogrammetry' does not conform to protocol 'Decodable'
'SampleOverlap' is not a member type of struct 'RealityFoundation.PhotogrammetrySession.Configuration
Value of type 'PhotogrammetrySession' has no member 'output'
Value of type 'PhotogrammetrySession.Configuration' has no member 'sampleOverlap'
Command EmitSwiftModule failed with a nonzero exit code
I am new to Xcode and have no experience with swift. Can anyone point me in the right direction?
Mac OS version: Monterey 12.3
Xcode version: 13.3 (13E113)