semontesdeoca / MNPR

MNPR is an expressive non-photorealistic rendering framework for real-time, filter-based stylization pipelines within Maya.
http://mnpr.artineering.io
Other
248 stars 38 forks source link

Plugin loads with no errors. But the viewport renderer shows everything black #7

Closed charliewales closed 6 years ago

charliewales commented 6 years ago

Hi, I have installed MNPR as a module, all looks good, no error that I see. But the renderer does not work as expected. I attach a screenshot, the test scene is all black. I can see the wireframe though. It seems as if the plugin cannot find the shaders. I also tried the install.mel installation but the same, all black. If I orbit the camera the grid acts as a Spyrograph. Those weird lines in the image are the grid. Thanks for sharing. A pasarlo bien.

Windows 10 x64 1803, Maya 2017 Update 5.

imagen

semontesdeoca commented 6 years ago

This seems odd... especially if you did the instal.mel installation correctly, have you checked the installation FAQ? I would also be helpful if you could post the outcome of the output window.

charliewales commented 6 years ago

I tried again with fresh maya prefs and via install.mel and it works. There must be something in my prefs that messes the plugin. If I manage to find the source of the error I'll post it here. Thanks

imagen

charliewales commented 6 years ago

I tried again to install it as a module and I think. I narrowed down the error to the fact that I intentionally renamed the plugin folder to plug-ins to follow Maya module default structure. Once I renamed the plug-ins folder to plugins it worked. I guess some harcoded code expects the windows mll to be inside the plugins folder. Cheers

semontesdeoca commented 6 years ago

Yeah, you shouldn't rename the folders inside of the MNPR folder... Actually, you shouldn't change the name of folders in any software without expecting things to break! =)

craGato commented 6 years ago

You are right I guess. But this behaviour does not follow the maya paradigm. I mean, if Maya finds the plugin that is needed for some tool or script or whatever in its MAYA_PLUGIN_PATH it should work, no matter where the file resides in disk and the location should not matter. That's why at first I did not find the culprit of the error because I was following the "Maya way". The plugin was found by Maya and it also loaded with no errors. Anyway, thanks for sharing this it looks very nice. Cheers

semontesdeoca commented 6 years ago

Well... I'm sure we can all agree that this is not a normal Maya plugin =) There are countless other custom files (scripts, shaders, presets, icons) that the plugin needs to be aware of, so just loading the plugin won't work.