NVIDIAGameWorks / Falcor

Real-Time Rendering Framework
https://developer.nvidia.com/falcor
Other
2.54k stars 464 forks source link

Issue with Importing USD Animated Models in Falcor 5.2 #429

Closed logic-three-body closed 3 months ago

logic-three-body commented 3 months ago

Description:

I am currently working with the Falcor 5.2 framework developed by NVIDIA to write a ray tracing program. However, I've encountered an issue when exporting an animation of a "knight" model as a USD file and importing it into the scene using a PyScene script. I've observed some strange errors resembling frustum culling, but I'm unsure if the Falcor camera allows for selecting near and far planes on the front end.

Here's a snippet of the script I've written:

sceneBuilder.importScene("sponza.gltf")
sceneBuilder.importScene("knight_002.usdc")
sceneBuilder.importScene("Light.obj")

The issue is illustrated in the attached image, where the red arrow indicates a problem similar to frustum culling. image

Could someone please provide guidance or suggestions on how to resolve this issue? Any insights or assistance would be greatly appreciated.

Thank you!

logic-three-body commented 3 months ago

I found it was DepthRange image