microsoft / MixedReality-GraphicsTools-Unity

Graphics tools and components for developing Mixed Reality applications in Unity.
MIT License
182 stars 41 forks source link

Interactive documentation examples (using web technologies) #67

Closed Cameron-Micka closed 2 years ago

Cameron-Micka commented 2 years ago

Describe the problem

This is a stretch goal, but our docs have always tried to represent 3D concepts in 2D. How amazing would it be if our docs contained BabylonJS or WebGL frames that display Graphics Tools components and concepts in 3D?

Describe the solution you'd like

Investigate, if possible, in markdown to embed BabylonJS frames. And if it is possible, place one as an example in our docs (this page might be a great first place to demo this functionality). We can then populate other examples in docs as appropriate.

For example, being able to rotate a backplate in 3D: image

Or expand a buttons components in 3D? image

Describe alternatives you've considered

n/a

Additional context

BabylonJS is a great place to start since we want to evolve that technology. WebGL is another option: https://microsoft.github.io/MixedReality-GraphicsTools-Unity/

tayomadein commented 2 years ago

Completed with these PRs: https://github.com/BabylonJS/Babylon.js/pull/12989 https://github.com/MicrosoftDocs/mixed-reality-pr/pull/3827

View final output POC: https://learn.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/mrtk3-graphicstools/architecture/mrdl-mrgt