Giter Site home page Giter Site logo

david-cattermole / camerainferno-maya Goto Github PK

View Code? Open in Web Editor NEW
46.0 8.0 8.0 94 KB

Autodesk Maya Plug-in for visualising camera burn-in text.

License: GNU Lesser General Public License v3.0

Python 90.09% AMPL 0.13% CMake 6.44% Shell 1.40% Batchfile 1.93%
maya maya-python maya-api viewport-canvas heads-up-display

camerainferno-maya's People

Contributors

david-cattermole avatar eiken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

camerainferno-maya's Issues

Create a GUI for Camera Inferno

Configuring the Camera Inferno node is not intuitive using the Maya Attribute Editor, a GUI should be created to help the process of creating the node (with presets) for users to use.

MAYA 2022

Hi,
I'll like to use this as a replacement for the old SONY SpReticle I've been using so far.
We are moving to Maya 2022 soon and realized this plugin doesn't work. It loads but it wont display text or dots. only the black aspect ratio bars work.

I guess it needs to be updated to python3 or something?
Just wanted to know if you have plans for Maya 2022.
Thanks for sharing this amazing work.

Enable Camera Speed to be displayed

The speed of the current camera is an important part of previs/techvis.

We should add a "camera speed" keyword option to display the current camera speed.

Please note that camera speed can be in many different scale units, and these should be supported.

  • Centimetres
  • Decimetres
  • Metres
  • Kilometres
  • ... Feet?

Speed is also measured in various ways, and these should be supported;

  • Miles Per Hour (mph)
  • Kilometres Per Hour (km/h)
  • Metres Per-Second (m/s)

https://github.com/david-cattermole/velocity-maya

change Resolution then HUD is not change

Great work !! I was lucky to find this tool.
Several problems were found in use,This problem will cause some trouble,I can new file and change Resolution and then create again ,just work.
tihis not good idea. I want delete cameraInferno1 and then create again ,It can work normally. maybe can adjust the attributes。
and the selection of camera's attribute fitResolutionGate will also lead to mismatched results.

The burnin disappers with Playback caching on in Maya 2020

Steps to reproduce:

  1. Setup burnin
  2. Animate the camera
  3. Enable playback caching in Maya 2020 (I was testing in Maya 2020.2 specifically)
  4. Click play

The burn-in will disappear.

NOTE: The burn-in does not disappear if there is no animation on the camera.

Thank you,
Satish.

Add Maya Module for Easier Installation

Use Maya "Modules" to simplify installation of the scripts and plug-in.

Currently users must install multiple files. For example here is the current installation steps:

The installation is basic and manual, simply copy the Python and MEL files to your home directory's maya folder.

    Copy ./plug-ins/dcCameraInferno.py into the directory ${HOME}/maya/<maya version>/plug-ins.
    Copy ./plug-ins/dcVelocity.py into the directory ${HOME}/maya/<maya version>/plug-ins.
    Copy ./scripts/AEdcCameraInfernoTemplate.mel into the directory ${HOME}/maya/<maya version>/scripts.
    Copy ./python/dcCameraInferno into the directory ${HOME}/maya/<maya version>/scripts.

This is a lot of copying of individual files. Ideally we would use a similar system to mmSolver with a .mod file and a directory saved into ${HOME}/maya/<maya version>/modules. See this for details.

Helpful documentation pages for the feature:
https://around-the-corner.typepad.com/adn/2012/07/distributing-files-on-maya-maya-modules.html
https://around-the-corner.typepad.com/adn/2013/04/distributing-plug-insfiles-on-maya-and-3ds-max.html
https://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__files_GUID_CB76E356_753B_4837_8C5B_3296C14872CA_htm

Burn-In can intersect with objects less than 1 unit from camera

The "Known Issues" section of the README currently lists:

The mask screen space depth cannot be changed, it is currently hard-coded to 1.0 units from camera.

To workaround this issue, you may scale the node under the camera to allow moving the physical mask closer than 1.0 unit from the camera.

Due to the use of the Maya drawing API, the masks must have 3D points for vertices - these are currently hard-coded to 1.0 unit away from (camera) origin.
To fix this, we must dynamically use the Camera Near Clipping Plane, add a small value (0.0001?), then set the meshes near clip + 0.0001 distance way from the (camera) origin.

Allow Static Images as a Burn-In

Users have requested the ability to display a logo, or image in the burn-in.

The position of the burn-in must be adjustable, like text, points and line.
This will (likely) be a new "image" Field Type of some sort.

I do not expect an image sequence to be required, and only basic image formats such as JPEG and PNG would expected as input images. PNG would likely be the preferred image format since it supports transparency.

The current implementation of the burn-ins uses Maya Python API 2.0.
Maya Python API 2.0 has the limitation that textures are not able to be used (in Maya 2018 at least).
Therefore to support this feature we must port the entire node to Maya Python API 1.0.

Maya freezes when pushing play in camera sequencer

Steps to reproduce:

  1. Setup burnin
  2. Open camera sequencer
  3. Push play in the camera sequencer interface

Maya will freeze and will need to be killed from system task manager.
NOTE: This appears in every version of Maya 2020 I have tested so far, both on Windows and Linux.

Thank you in advance,
So

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.