Code Monkey home page Code Monkey logo

millernull's Introduction

#MillerNull This was one of my first maya plugins. I'm uploading it in effort that someone will make it faster. It's pretty quick, but unfortunately does not draw as fast as the default maya locator for right now. Which is really too bad, Maya has been in need of a 'null' with built in openGL shapes for a long time.

only supports vp2

millnull

TODO:

  • Use the built in attributes on MPxLocator for things like position, and scale instead of creating new ones. at one point, I was not subclassing MPxLocator and never changed this when I started subclassing MPxLocator.
  • Add Pnt snapping centers

**One of the reasons it's slow is because each instance of a millerNull is getting two MShaderInstances. I can't figure out a way to share the same MShaderInstance across all instances of a millerNull and still have unique color, opacity, selection highlighting, drawoverrides, etc. Maybe there is a way that Im just not seeing.

**sorry about the lack of comments. Most of these plugins on my repo started out as just 'code sketches'. I had an idea that i was playing around with at the time and needed something to test things on. They're more learning exercies than anything else ;)

millernull's People

Contributors

illmillrig avatar

Stargazers

 avatar Jascha Wohlkinger avatar Greg Zdunek avatar  avatar Kthulhu avatar Tomás Poveda avatar  avatar Eriks Vitolins avatar Dhruv Govil avatar yann le paih avatar Raveen Rajadorai avatar

Watchers

James Cloos avatar Francesco avatar  avatar  avatar

Forkers

sonictk indextbag

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.