Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] Tydra RenderData #31

Closed
8 of 15 tasks
syoyo opened this issue Oct 5, 2022 · 1 comment
Closed
8 of 15 tasks

[Task] Tydra RenderData #31

syoyo opened this issue Oct 5, 2022 · 1 comment

Comments

@syoyo
Copy link
Owner

syoyo commented Oct 5, 2022

Goal

Convert USD data(usdGeom/usdShade/usdSkel) to Renderer(e.g. OpenGL/Vulkan, ray tracer) friendly data struct.
Currently focusing on rasterizer(meshes are all triangulated, vertex attributes can be drawn with single index buffer) and can display static mesh with texturing and PBR shading.

Status for v0.8.0 release

  • Extract vertex indices and vertex points
  • Compute node transform
    /// For efficient Xform retrieval from Stage.
  • Extract and setup UV coordinate
  • Triangulate mesh
    • Triangulate points, normals
    • Triangulate uvs(primvars)
    • Triangulate other primvars
  • Extract and setup Material/Shader
    • Evaluate Attribute value(Follow targetPath if the attribute is a Connection) to resolve shader graph connection
  • Extract and setup Texture image data
  • Partial TimeSample support

TODO, Furture work

  • Skinning support
  • Support TimeSample attributes of various Prims
  • Ray tracer friendly data structure
  • More is T.B.W.
@syoyo
Copy link
Owner Author

syoyo commented Apr 29, 2024

Aggregated to #148

@syoyo syoyo closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant