Questions tagged [usd]

Universal Scene Description (USD) is a framework for interchange of 3D computer graphics data.

30 questions
3
votes
1 answer

Python for USD – Map a texture on a cube so every face have the same image

I have a simple mesh cube, and I want the same image to be applied on each face of the cube : Here is what I have so far (front face is ok but not the others) # create mesh with texture coordinates stage.DefinePrim('/' + assetName + '/Geom',…
glemoulant
  • 517
  • 7
  • 18
3
votes
1 answer

Yfinance not giving precise price for cryptocurrencies in 1min time frame

I want to get the 1min chart of btc-usd of the past day to be able to make some analysis on it using pandas. I tried by using yfinance and it gives me the price however the Open High Low and Close are all the same for every 1 min candle. When I try…
Haroldo
  • 31
  • 2
2
votes
2 answers

Compiling Pixar's USD in a Docker container for Azure Functions

Has anyone tried compiling Pixar's USD in the official Docker images for Azure Functions? I've been trying the following Dockerfile (inspired by https://github.com/leon/docker-gltf-to-udsz/blob/master/usd/Dockerfile): FROM…
Petr Broz
  • 8,891
  • 2
  • 15
  • 24
1
vote
0 answers

How to create a hollowed polygon in USD without using diving it into convex polygons or triangulation?

I am using python API to write USDA scripts, a human-readable USD (Universal Scene Description) file format. The task is to render a polygon with holes in it. The closest attribute in the openUSD repository is holeIndices, as shown here:…
1
vote
0 answers

How do I get the parent modelEntity of my custom reality composer scene?

I'm trying to make an iOS AR app and I'm customising the standard AR app template with my custom model. I'm in need of finding the modelEntity of my custom usd scene. When I start an AR app in Xcode and use the standard custom box scene, the…
1
vote
0 answers

How to get USD / USDZ model metersPerUnit value in iOS?

I've been trying for a few years to find out how to get the USD / USDZ metersPerUnit value in an iOS / macCatalyst app but so far have not discovered any solution. The issue has become more important as our users utilize more of their own USDZ…
LenK
  • 2,944
  • 2
  • 20
  • 26
1
vote
0 answers

How to use the stubgen doc-path parameter?

I'm trying to use stubgen to create stubs for the Usd library (https://github.com/PixarAnimationStudios/USD). I'm able to build the stub-files (.pyi) but i would like to use the docs parameter to get better type information. e.g. from typing import…
1
vote
0 answers

How do I build a Universal macOS Binary for python 2.7.18 using pyenv?

I'm trying to build a Universal Binary (so both x86_64 and arm64) binary for python 2.7.18 using pyenv with this command CFLAGS="-I$(brew --prefix openssl@1.1)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun…
JustSomeGuy
  • 3,677
  • 1
  • 23
  • 31
1
vote
1 answer

Finding the source of LNK1104's filename

I'm working in a Visual Studio Project that was generated using CMake, and for some reason, I get an LNK1104 error on build saying "cannot open file 'hboost_python27-vc142-mt-x64-1_72.lib'" and I know for a fact that that file does not exist…
1
vote
0 answers

USDPython 0.64 - Convert FBX to USD (with Morph Targets)

Goal: Convert FBX to USD (with Morph Targets) Tried: 1 - Reality converter FBX to USD worked, but not Morph Targets. From what I researched, Reality converter is using USDPython 0.62, which doesnt support Morph targets. Would be great if apple…
Mane Manero
  • 3,086
  • 5
  • 25
  • 47
0
votes
0 answers

How to read data from a .usdc(pixar universal scene description) file via stream instead of a filepath?

I need to develop an usd asset parser for our renderer. Now , i use the UsdStage::Open(std::string const& filepath) to get a UsdState and use it do something. However, thirdparty library(i.e pixar usd) is not allowed to use the filepath directly in…
gunjo
  • 1
0
votes
0 answers

Support for Refraction/Thickness in Apple Quick Look?

I have been testing out models in Apple Quick Look AR on iOS through the USD format, I am finding that Apple Quick Look doesn't appear to support materials that use Refraction/Thickness. You can see a good example of this issue here with the…
ROBYER1
  • 117
  • 8
0
votes
0 answers

How to load USDZ Models with animations and textures using ThreeJS

I am building a web-based 3D viewer. It is working perfectly for other file types (.fbx, .glb, .obj, ...) It gets complicated when I want to load .usdz files. To do that I am using github.com/ponahoum/three-usdz-loader I am doing that because I want…
Gianluca Filitz
  • 371
  • 1
  • 2
  • 10
0
votes
0 answers

SceneKit - updating scale not updating bounding box?

I'm loading a model from a USDC file. After loading it in, I update the scale like so: modelNode.scale = SCNVector3( targetX/(modelNode.boundingBox.max.x - modelNode.boundingBox.min.x), …
Andy Hin
  • 30,345
  • 42
  • 99
  • 142
0
votes
1 answer

Select and hide multiple USD prims in maya

Im working with usd in maya and Im notice that the cmds.ls(sl=True) doesn't work as ussualy with usd prims or transforms, if you select something in the outliner and run cmds.ls(sl=True) it returns nothing. I see that only return the selected top…
jaimex127
  • 9
  • 4
1
2