Skip to content

Improved XDG-GPRT render tool #139

Description

@Waqar-ukaea

Once #94 is merged this will bring in an additional tool within the XDG repo which uses GPRT to render a h5m file. The rendering is done using real-time ray tracing in single precision.

Right now that tool is a little bit janky and the camera doesn't really work properly. I think it could be a nice bit of utility to quickly and easily render your CAD model interactively as meshed after exporting from cubit.

Some useful features that would close this issue:

  • Working camera
  • The ability to show/hide volumes
  • Volumes coloured/labelled appropriately
  • Hiding individual surfaces should be doable pretty easily with instance masking
  • Opacity slider for volumes? Not sure how difficult this would be to do with GPRT. Presumably will need an anyhit shader and could give each volume an alpha slider?
  • Clickable volumes which show information (number of mesh elements, etc...) and could then be rendered independently of the full model?
  • A real UI from some gui library (imgui?)

Not really a necessity for the XDG project but would be a fun little miniapp to work on :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions