Table of Contents
Mega is a WebGPU based (targeting DAWN/WGPU and the web via Emscripten) render engine.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them. The foolowing examples pertains to installing the required dependencies on MacOS.
# Make sure to install XCode via the App store first
xcode-select --install && \
brew install cmake
git clone https://github.com/suny-am/mega.git && \
cd mega
navigate to the project directory of your choice
# Working Directory Example
cd 1.getting_started/hello_webgpu
Then choose one of three compile options:
cmake -B build-wgpu -DWEBGPU_BACKEND=WGPU
cmake --build build-wgpu
cmake -B build-dawn -DWEBGPU_BACKEND=DAWN
cmake --build build-dawn
emcmake cmake -B build-emscripten
cmake --build build-emscripten
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
gh repo fork suny-am/mega --clone
cd mega
git checkout -b feature/aNewCoolFeature
`git commit -m 'Add a new cool feature'
git push origin feature/aNewCoolFeature
gh pr create
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
TBD
- File parsing
- native file dialog
- Load .gltf/glb
- Load .obj into gltf format
- TBD (π§)
- Dynamics
- World color
- Shaders
- BRDF
- TBD (π§)
- UI
- Dear ImGui integration
- ImGuizmo integration
- TBD (π§)
- Camera control
- Orbit (turntable)
- Zoom
- Pan
- TBD (π§)
- TBD (π§)
Distributed under the MIT License. See LICENCE.txt for more information.
Your Name - @sunyam.bsky.social - [email protected]
Project Link: https://github.com/suny-am/mega