Chaos Corona Forum

General Category => Porting and API => [Archive] Chaos Corona for Maya => Topic started by: haggi on 2014-10-19, 12:26:58

Title: release 0.29
Post by: haggi on 2014-10-19, 12:26:58
Hi,

after a lot of work under the hood, there is the new release of mayaToCorona.
Unfortunatly this version is a Windows 7 only version. I tested it on Windows 8 and it crashes as soon as you try to connect a texture file to a shader.
I'll try to find the problem, but because this will take some time, I thought it could be a good idea to give you something to play with on Win7.

Here is what's new in this release:

release 0.29
- Option to save renderstamp to file
- switched to new api
- added volume shader attributes for sss
- added alpha mode and opactiy for corona shader
- updated color mapping methods
- OSL: added ramp node
- OSL: removed color from nodes, vector only now
- fixed smooth mesh bug with multiple shaders
- refactoring of mesh/smooth mesh handling
- removed automatic error prone internal diffuse->color connection
- internal rebuild for independet OSL usage (swatches rendering)
- added fix for missing uv's. Warning will be printed.
- added warning for malformed Normals.
- OSL: fixed contrast in checker node
- implemented swatch rendering
- added viewport 2.0 diffuse implementation openGL only
- renamed iesProfile attribute (this means old shaders with IES profile will need a new assignment)
- bifrost motionblur seems to work now (but I had some problems as well, please give some feedback if it works)

Highlights are: ramp node implementation, smooth mesh with per face shading works, shader swatches show a rendered image, in viewport 2.0 you will se a good shaded result (no speculars at the moment).
Title: Re: release 0.29
Post by: Hamburger on 2014-10-20, 13:54:48
thanks Haggi!
Title: Re: release 0.29
Post by: max45 on 2014-10-24, 04:29:41
Viewport 2.0 incorrect
Title: Re: release 0.29
Post by: haggi on 2014-10-24, 09:53:04
Oh, that's bad. I suppose this is better if you assign a lambert shader?
Title: Re: release 0.29
Post by: max45 on 2014-10-24, 15:31:13
I assign default corona shader. 

Maya standart, Vray shaders work fine
Title: Re: release 0.29
Post by: haggi on 2014-10-24, 15:34:53
Okay, I'll have a look.

Now I had a look and I could fix it.
Title: Re: release 0.29
Post by: Hamburger on 2014-10-26, 23:29:21
There is also a fatal error when you change brdf type to ward.

I have a list of other things I'll send through later on too but so far this is the only critical bug. :)
Title: Re: release 0.29
Post by: Ludvik Koutny on 2014-10-27, 09:49:09
There is also a fatal error when you change brdf type to ward.

Jesus christ, why would you do that? Why the hell is it even exposed?!?!?!?!
Title: Re: release 0.29
Post by: haggi on 2014-10-27, 10:21:37
Yea, the fix for the bug is that it will not be exposed any more in the next release ;)
Title: Re: release 0.29
Post by: Ludvik Koutny on 2014-10-27, 10:24:47
Yup, and actually there's quite a few more things exposed in Maya plugin that should not be. I'll grab the latest one and write them down. I could also help you with UI layout, if you want, so that the ease of use and overall user experience is on par with Corona standards.

BTW: Ward was just super-experimental BRDF that was never finished.
Title: Re: release 0.29
Post by: Ondra on 2014-10-27, 10:56:00
actually ward is now fixed and working in the latest daily... but the model itself is not very good.
Title: Re: release 0.29
Post by: haggi on 2014-10-27, 13:08:14
Yup, and actually there's quite a few more things exposed in Maya plugin that should not be. I'll grab the latest one and write them down. I could also help you with UI layout, if you want, so that the ease of use and overall user experience is on par with Corona standards.

Oh, that would be really useful. Even if I implemented the features, my knowledge of Corona is really poor. I'd really appreciate any help.
Title: Re: release 0.29
Post by: Hamburger on 2014-10-28, 00:53:58
There is also a fatal error when you change brdf type to ward.

Jesus christ, why would you do that? Why the hell is it even exposed?!?!?!?!

Ward is good for metals, at least in the V-Ray discipline of thinking. I think I have to learn more about Corona obviously. :)

I already use Corona for Maya on some extremely complicated scenes in terms of lighting and it handles GI so much better than any render engine I've used in 10 years of this. There's a few issues (expected so early) but so far even at this early state it is fun to use this render - I will have no problems switching over in time.

I just render to see how awesome and fast the GI looks in grey shader! I have to experiment and that led me to the ward crash!
Title: Re: release 0.29
Post by: Ludvik Koutny on 2014-10-28, 09:31:31
Yeah,

i know a lot of people have some misconceptions from other renderers. In Corona, there is no need to touch BRDF at all. There is just a default one, that works simply best for all materials.
Title: Re: release 0.29
Post by: Ondra on 2014-10-28, 17:16:01
Ward is good for metals, at least in the V-Ray discipline of thinking. I think I have to learn more about Corona obviously. :)

But vray AFAIK uses blinn by default, which is even worse than ward ;). Corona uses Ashikhmin-Shirley/GGX, which are both good for all kind of different materials
Title: Re: release 0.29
Post by: juang3d on 2014-10-29, 19:19:29
I'm unable to make Corona appear in Maya 2015, my env file is correctly configured but ti does not show up in the plugins manager.

Here is my ENV file content:

MAYA_MODULE_PATH = D:/3D/Corona_2_Maya/mayaToCorona/;

Some ideas?

BTW Windows 7

Chers.
Title: Re: release 0.29
Post by: Hamburger on 2014-10-29, 23:08:44
Maya the silliest program ever.

Sometimes it is forward slash, sometimes backslash. I think this time it might be backslash because my env file looks like this;

MAYA_MODULE_PATH = C:\Program Files\Autodesk\Maya2015\mayaToCorona_2015
Title: Re: release 0.29
Post by: juang3d on 2014-10-30, 09:58:15
Ok, I'll try that, thanks!
Title: Re: release 0.29
Post by: juang3d on 2014-10-30, 17:41:00
I had no luck... Corona is not appearing at all :P
Title: Re: release 0.29
Post by: juang3d on 2014-10-30, 18:32:57
Problem solved.

The thing is that my ENV file was pointing to:

MAYA_MODULE_PATH = D:/3D/Corona_2_Maya/mayaToCorona/;

But inside the .mod file in the corona folder to targeted folder was "+ LOCALE:en_US mtCorona 0.1.0 ../mayaToCorona_2015"

So changing the mayaToCorona to mayaToCorona_2015 solved the problem.

Cheers!
Title: Re: release 0.29
Post by: haggi on 2014-10-31, 00:00:16
I'll try to add an installer for one of the next releases. This way these types of problems should disappear.
Title: Re: release 0.29
Post by: juang3d on 2014-10-31, 00:35:41
Cool, thanks Haggi.