Chaos Corona Forum

General Category => Porting and API => [Archive] Chaos Corona for Maya => Topic started by: haggi on 2014-08-19, 19:25:55

Title: release 0.27
Post by: haggi on 2014-08-19, 19:25:55
Hi mayaToCorona friends!

This time there are some new features. Okay, okay, no bump mapping yet, it will come in the next release I hope.
But we now have some nice features like region render, per face shading, physical sky, render stats...

- region render
- added primary visibility, reflection, refraction, GI
- addes CoronaSurface castsShadows
- added per face shading
- added physical sky shader
- added an option for srgb/linear correction in the file node
- OSL: contrast node
- OSL: fixed automatic color/vector conversion
- OSL: gamma node
- OSL: basic support for place3dTexture node
- OSL: start implementation of solidfractal
- OSL: Added fromSRGB and toSRGB to the file node
- OSL: added condition node
- OSL: added clamp node
- OSL: added bulge node
- OSL: added luminance node
- OSL: added hsvToRgb and rgbToHsv nodes
- OSL: added grid node
- OSL: added multiplyDivide node

I hope everything works fine. With bifrost I still have some problems so it is not yet supported even if it may work.
Title: Re: release 0.27
Post by: Ludvik Koutny on 2014-08-19, 19:51:42
Hi...

could i get one? I would like to give it one more shot and see if i can get it running this time.

I got Maya 2015 SP3
Title: Re: release 0.27
Post by: haggi on 2014-08-19, 20:00:34
Could you send me an email so I can send you the link.
Title: Re: release 0.27
Post by: gazh on 2014-08-20, 13:53:31
Hey Haggi,

I'm getting crashes at render time with 0.27.  If I revert back to 0.26 I have no issues at all.  Its throwing memory exceptions as soon as I hit the render button.

This is the same with a previous scene and a brand new scene, setting up objects, lights and materials from scratch!

Cheers

Gaz
Title: Re: release 0.27
Post by: haggi on 2014-08-20, 14:04:33
Hmmm, maybe it is again the library problem? Is is possible that you access old files with corona 0.27? Did you completly remove the previous version, or did you simply replace the old files with the new content?
Title: Re: release 0.27
Post by: gazh on 2014-08-20, 15:00:06
I just replaced the old files with the new content.  So I just left everything as it is except replaced the old 2014 folder with the new one from the 0.27.zip.

Title: Re: release 0.27
Post by: haggi on 2014-08-20, 15:10:33
Could you simply remove everything and extract the contents again? Just to be sure. To me this sounds as if the corona core accesses some old files.
Title: Re: release 0.27
Post by: gazh on 2014-08-20, 15:39:58
Hey,

So I removed the entire folder. I can render some of the example scenes, for example "firstOne" "blendColors" "raytrace" but scenes such as "displacement" and "ieslights" reproduce the same behaviour I see on a fresh scene.

I think I have narrowed it down to viewport smooth preview i.e. hitting the "3" button on the keyboard.

Its fully functional until that point.

Gaz
Title: Re: release 0.27
Post by: haggi on 2014-08-20, 15:46:10
Ahhh okay thanks for trying, I'll have a look if I can find the problem.
Title: Re: release 0.27
Post by: max45 on 2014-08-21, 11:57:10
Render region, per face shading, render stats work fine! Thanks!

You can  make cast/receive shadows in render stats?
Don't save image size in render setting(width/height)
"option for srgb/linear correction in the file node"  - for  gamma correction?  does not affect the image
Title: Re: release 0.27
Post by: haggi on 2014-08-21, 14:07:13
Glad to hear that it works so far.
The problem with cast shadows is that this parameter is not avaliable in corona geometry nodes only on the corona shader. To do a per shape shadowing, I'd have to duplicate the shaders and set the appropriate attribute. I'll ask Ondra if there is a workaround.

Yes, it is for gamma correction. Normal gamma correction is more an approximation. Did you try the checkboxes under the Corona segment on the file node? Maybe I turned it off for testing in the shader. I'll check it.

What do you mean with "Don't save image size in render settings.."?
Title: Re: release 0.27
Post by: haggi on 2014-08-21, 14:08:20
Ahhh okay thanks for trying, I'll have a look if I can find the problem.
Indeed. Smooth preview will cause a crash. I created an issue on gibhub and I'll try to fix it.
Title: Re: release 0.27
Post by: max45 on 2014-08-21, 16:25:24
What do you mean with "Don't save image size in render settings.."?...

set  1920x1440.  Close maya.  Open, image size 960x540..
Title: Re: release 0.27
Post by: haggi on 2014-08-21, 16:28:22
Ah, okay. That's a bug. I'll fix it.
Title: Re: release 0.27
Post by: gazh on 2014-08-21, 18:09:51
Ahhh okay thanks for trying, I'll have a look if I can find the problem.
Indeed. Smooth preview will cause a crash. I created an issue on gibhub and I'll try to fix it.

Nice one.  Glad to know its not just me :-)

Cheers

Gaz

Title: Re: release 0.27
Post by: haggi on 2014-08-21, 18:25:06
Yes, it is for gamma correction. Normal gamma correction is more an approximation. Did you try the checkboxes under the Corona segment on the file node? Maybe I turned it off for testing in the shader. I'll check it.

And you are completly right, for testing I removed some file texture entries. The next release will have the full functionality. Or you can fix it yourself with two lines of code and a simple copy and paste if you like.