Chaos Corona Forum

General Category => Porting and API => Chaos Corona for Blender => Topic started by: zach on 2017-05-12, 21:13:26

Title: which version of exporter had material preview responding to curve node UI edits
Post by: zach on 2017-05-12, 21:13:26
I've kept updating to the last version and at one point found out it stopped working. Now I can't remember last time it worked ok. Already checked all versions back to 5.6.3 without success and got bit tired. So if anybody could help me it would be great.
Theres not much options for manipulating textures exept mix shader and tone mapping (and using it is kinda PITA) so without curve node I am tottally lost.
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: blanchg on 2017-05-14, 23:58:32
Have you updated Blender in that period?  It may be that an older version of blender did something different too.
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: zach on 2017-05-15, 21:59:33
true dat, too many blenders in my OS. can't remember which one I used. What combination of blender+corona exporter are you using?
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: blanchg on 2017-05-15, 22:29:58
Blender 2.78c and the latest exporter
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: zach on 2017-05-16, 20:48:23
archived settings, deleted them, made clean install - still no success. oh well ...
anyway thanks for help
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: burnin on 2017-05-17, 02:50:17
Please provide an example file.

Here Curve Node UI (beta) shows expected results.
Tested on latest daily Blender (d508b69), CoronaSA 1.6, Exporter 5.7.10, Win7pro x64

eg.
(http://i.imgur.com/1Tm0D4Q.jpg)

Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: zach on 2017-05-17, 21:06:47
sorry, perhaps I didn't make myself clear. I mean material preview in material tab

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=16132.0;attach=64606;image)
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: burnin on 2017-05-18, 16:08:54
Yes :) works!
Tho, after you've done changes to your material you just need to 'Wake Up the Preview' - REFRESH it by: resizing / nudging any window side
NOTE: nothing can be done about it, it's a Blender thingy
:D

ie
(http://i.imgur.com/qPg6yha.jpg)
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: zach on 2017-05-18, 21:48:34
well it doesn't work if it doesn't respond to curve edits like it did at some point. unfortunately I can't remember which version of blender and corona plugin I was using
what do you mean by "NOTE: nothing can be done about it, it's a Blender thingy", it used to work, I used it, OK?
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: blanchg on 2017-05-18, 22:10:36
Maybe it was the older Curve Shader that only had each point? that certainly updates the material preview.  I can't remember the newer Curve Node UI updating/not updating the material preview window.  It being there at all is some trickery which is showing through :)
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: zach on 2017-05-18, 23:22:08
HA! it works in B 2.77a with current corona plugin (5.7.12)
:)
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: blanchg on 2017-05-18, 23:23:51
Ok great, shame it has stopped working in Blender 2.78
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: zach on 2017-05-18, 23:29:42
no biggie, probably something trivial although sometimes those small devils takes ages to found out
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: burnin on 2017-05-19, 02:21:26
well it doesn't work if it doesn't respond to curve edits like it did at some point. unfortunately I can't remember which version of blender and corona plugin I was using
what do you mean by "NOTE: nothing can be done about it, it's a Blender thingy", it used to work, I used it, OK?
My bad & apologies for not taking non-concurrent versioning into account. Confirming it doesn't work, yet it works in older versions.  Is also refreshing fine on previous (ie. 2.76b), but not on late 2.77a+ versions (buildbot master).
After couple of more tests, narrowed it down to changes made in Blender between 2016-Apr-072016-Jun-25.
Hope to help somewhat.
Title: Re: which version of exporter had material preview responding to curve node UI edits
Post by: blanchg on 2017-05-19, 02:41:12
Going through the changes it wasn't obvious where it broke: https://developer.blender.org/diffusion/B/history/master/?offset=2300  Maybe this needs to be raised as a bug with Blender with as much info as possible.