https://github.com/jerenchen/maya-simple-render-override
A simple C++ plugin showing how to draw screen-space motion trails via Maya Viewport 2.0 Render Override
https://github.com/jerenchen/maya-simple-render-override
maya-plugin
Last synced: 9 months ago
JSON representation
A simple C++ plugin showing how to draw screen-space motion trails via Maya Viewport 2.0 Render Override
- Host: GitHub
- URL: https://github.com/jerenchen/maya-simple-render-override
- Owner: jerenchen
- License: bsd-3-clause
- Created: 2022-02-25T20:10:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-25T23:48:26.000Z (over 4 years ago)
- Last Synced: 2025-04-01T08:44:35.915Z (about 1 year ago)
- Topics: maya-plugin
- Language: C++
- Homepage:
- Size: 6.84 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# maya-simple-render-override
A simple C++ plugin showing how to plot screen-space trajectories/motion-trails via Maya Viewport 2.0 Render Override.
### Build with CMake
Make sure to set environment variable `DEVKIT_LOCATION` to the installed path before running CMake.
### Usage
Once the plugin is built and loaded, you can access `Simple Render Override` in the "Renderer" drop-down menu on the 3-D viewport.
The plugin also provides a command `simpleTrack` to allow you to specify the selected object for tracking, as well as flags to modify the visuals:
- **clear**: remove all tracking objects.
- **numOfFrames**: number of frames before & after the current frame you wish to plot the trajectories.
- **pointSize**: size of the points of the trajectories.
- **screenSpace**: option to plot the trajectories in screen space (true) or world space (false).