33 questions
0
votes
1
answer
44
views
USD: How to put a custom struct in VtValue?
I want to put a custom struct Foo in a VtValue, not for serializing, but to transport something adhoc via hydra.
An example of how this could be done, can be found in UsdImagingRenderSettingsAdapter::...
0
votes
0
answers
38
views
Multiple-frames BlendShape (failed) Animation in Reality Composer Pro
Hopefully you can help me with this. I've been stuck for a week.
Goal: To render in an apple vision pro app, the solid-mechanics 3D simulation results coming form an FEA code.
Starting point: I have ...
0
votes
0
answers
36
views
How do I get CMake to generate the Xcode file described in this tutorial?
In the Creating A 3D Application With Hydra Rendering tutorial on the Apple Developer website, on the last step where I execute this command: cmake -S ~/Users/macuser/...
0
votes
1
answer
121
views
Maya Python script to import USD wont import Animation Data
I am currently creating a custom python script for maya 2023 that imports usd files that contain animation.
The issue im having is my script is importing the contents of the usd without any animation ...
1
vote
0
answers
134
views
Extract points from or convert usd file
I need to extract all vertices from a usd/a file, currently I'm doing it like this:
from pxr import Usd, UsdGeom, Sdf
def extract_points_from_usd(file_path):
"""Extracts 3D points ...
0
votes
1
answer
537
views
export USD with material collection in maya
I need to export USD from maya with material collection assigned to objects
reading usd-maya documentation, I need exportMaterialCollections and according to this ticket resolved, i dont need to setup ...
0
votes
0
answers
18
views
No able to bind material located in another file in USDA
I am having issue while binding a material for a mesh when the material is not located in another file
main.usda
#usda 1.0
(
metersPerUnit = 1
upAxis = Z
)
def Scene
{
def "...
0
votes
1
answer
46
views
How to restrict the US amount Regex pattern currency input field from accepting alphabets angular
I have the below RegEx wherein the amount entered by user is transformed into US currency format. The amount is getting transformed into US currency without any issues. But the input also accepts ...
1
vote
0
answers
216
views
How to get Bazel to build an external third party library with a python build script
So, I'm attempting to build OpenUSD in my Bazel project. Its a giant repo, but they provide a nice build.py Python program which handles all of their dependencies and making their CMake project.
I've ...
1
vote
0
answers
503
views
How to get all attributes of an Python object `pxr.Usd.Prim` bound by an C++ object
I am using the Python package pxr to read a USD file. The problem is that I cannot find enough information to fully understand how to work with the objects defined in pxr.
Example code
I am trying to ...
0
votes
0
answers
31
views
my hp pavilion notebook with 2GB NVidia GeForce GTX 930M not detecting any USB plugin
my system is hp pavilion notebook having 2GB NVidia GeForce GTX 930M.
it not detecting any USB flash drive and any USB plugins like mouse, keyboard etc.
I have tried almost all USB troubleshooting ...
0
votes
1
answer
775
views
Meta Insights API - show Spend of all campaigns in USD
I've been trying to pull out the spend of each ad campaign using the Meta Insights API, but the spend comes out as the currency as stated in the account_currency field.
When creating a report through ...
2
votes
0
answers
2k
views
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/...
0
votes
0
answers
79
views
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....
2
votes
0
answers
130
views
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 ...
0
votes
1
answer
895
views
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 ...
2
votes
2
answers
1k
views
How to swap trc20 to trx with Python in one wallet address?
I need to swap(change) part of my trc20 asset to trx in my Tron wallet. Consider i have some data like this:
public_key="AAA"
private_key="PPP"
trc20_address="...
2
votes
0
answers
300
views
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 ...
0
votes
0
answers
366
views
.USD files loads up with the wrong orientation in metal view
Any kind of .usd file doesn't get rendered the right way. In the model viewer, it's seen that the model's set up with the correct orientation. But when built, the orientation is completely off.
.obj ...
2
votes
1
answer
96
views
Is there a rule about hyphens in primvar names in Universal Scene Description
I'm reading a .USDA file (exported by blender) via USD.NET and and when looking at loading texture data I have an image texture defined within a material like this:
def Shader "...
3
votes
0
answers
331
views
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 ...
4
votes
1
answer
972
views
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
...
1
vote
0
answers
225
views
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 ...
0
votes
1
answer
808
views
How to build USD library for Win32 and distribute it along with exe
So I need to support .usd/.usda/.usdc for my renderer application, and I need to distribute the resulting project .exe and usd .libs/.dlls to our users on install. How do I build the library in a way ...
1
vote
1
answer
78
views
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'" ...
0
votes
2
answers
117
views
Beautiful Soup Auto converting USD to TW
I am trying to run a Beautiful Soup demo to scrape prices from Ebay and the prices are all in USD but for some reason when I scrape the prices it automatically converts it into NT$. Not sure what is ...
3
votes
1
answer
1k
views
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 ...
0
votes
0
answers
442
views
"enable_if_t" not a type gcc 8.3.1
System specifications: Centos 7 with devtoolset-8 enabled (gcc 8.3.1), cmake 3.14.6
I seem to have an error regarding gcc versioning causing a 'type error'
I am trying to build a gitlab project (https:...
0
votes
0
answers
1k
views
CMake - usd_from_gltf - Error could not load cache
I've trying to build https://github.com/google/usd_from_gltf.
Since I am not experienced with CMake and Visual Studio I followed the instructions and managed to work after some fixes.
Now I am stuck ...
1
vote
0
answers
322
views
Use Apple's usdzconvert on a Linux machine
I've successfully built Pixar's USD pipeline on a Linux VM, and I now strive to accomplish something similar to Apple's usdzconvert from their USDZ tools.
As of right now, I'm able to run the standard ...
-1
votes
1
answer
623
views
Mac USD usdview 'python' is dying
I have installed USD on my Mac after a long battle. Finally it reaches the point where it said Success...add xx to your PATH and PYTHONPATH. I did this.
But when I now run usdview (through terminal OR ...
1
vote
0
answers
743
views
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 ...
2
votes
2
answers
601
views
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/...