SSkrob
April 9, 2025, 3:09pm
1
Hello experts,
I’m wondering if anyone has a very simple “hello world” like example using Hydra and the Storm renderer, something like a single triangle?
edit - just to clarify, I mean a totally programmatic example, not rendering a USD file.
Thanks in advance.
Burkard
(Nick Burkard)
April 9, 2025, 5:47pm
2
If you are looking for render delegates or extending hydra I found:
and hdTiny/hdEmbree to be very good examples
and
Example render delegate with a GL-immediate mode renderer (How not to write a GL renderer)
to be a good example of just implementing direct openGL drawing
For implementing Hydra/Storm into a viewport this is also a useful example
Simple GLFW usdview
and also
ImGui Hydra Editor is a USD editor written in c++ with the ImGui and OpenUSD frameworks.
1 Like
SSkrob
April 9, 2025, 6:05pm
3
Thank you Nick,
I’ll check those out.
I’ve actually managed to figure it out by trial and error. I was really looking for an absolute beginners tutorial akin to the old OpenGL draw a triangle.
I can see amazing potential in Hydra 2.0, but there’s quite a learning curve. Although the Hydra 2.0 Getting Started Guide provides a nice overview, it does drop you in the deep end.
Thanks again.
Burkard
(Nick Burkard)
April 9, 2025, 10:20pm
4
Totally agree, I just found myself in the same spot where I eventually was able to navigate between
hdTiny, hdBadGL & hdEmbree
dlanier
(David Lanier)
April 10, 2025, 7:23am
5
Hi,
You may have a look at the weta samples from :
Simple Examples to demonstrate how to compile and build USD plugins
Regards,
David Lanier
Autodesk Maya Hydra
1 Like