Git Product home page Git Product logo

shadow-gen's Introduction

Soft Shadow Image Generation Using Maya

This repository contains a script to generate training images for our ToG 2015 paper Learning to Remove Soft Shadows. You will need Maya and PyMel to run this.

Please note: this code a little rusty - I have not used it for a while and do not currently have Maya installed to check if everything works. If you know how to make it better, or spot bugs, please let me know - I'll happily accept any contributions.

Textures courtesy of http://www.mayang.com/textures/.

Feel free to use this code for research purposes and please get in touch with me for anything else.

Paper BibTeX

@article{Gryka2015softShadows,
  title={Learning to Remove Soft Shadows},
  author={Gryka, Maciej and Terry, Michael and Brostow, Gabriel J.},
  journal={ACM Transactions on Graphics},
  year={2015},
  publisher={ACM}
}

shadow-gen's People

Contributors

maciejgryka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

shadow-gen's Issues

Maya node does not exist 'mia_physicalsky1'

Hi,

I'm new in maya and PyMel, and I am trying to reimplement the result in deshadowing, described in the article "Learning to Remove Soft Shadows".

When I was using the built-in python script module in maya to run create_scene.py, an error occured. The description of this error is listed below:

Error: line 1: MayaNodeError: file /Applications/Autodesk/maya2015/Maya.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/pymel/core/general.py line 2069: Maya Node does not exist (or is not unique):: u'mia_physicalsky1'

I tried to run this code in both maya 2017 and maya 2015 which support mental ray renderer, both of them popped out the exactly same error.

I also have tried adding the 'mia-physicalsky1' node manually in node editor, but still not working.

Looking forward to some constructive advices.

BR.

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.