HELLO again 7feet! I'm happy that finally it attract your attention

I've been thinking in another ideas, like you say, relationated with camera aspects... I thought in embedded script because is the one way (I think) to block this parameter and make Shading Offset changes dinamically, I mean, if you make a normal key frame change to set this parameter (i.e.) at "16384" if then you open a Layer Properties window and pres OK (in any tab) the Shading Offset come back automatically to the 1024 maximun value at current frame, and this could be a little mess... Another reason is, of course the possibility of can see the results at any point in your render, anywhere the camera be situated (even ANIMATED), makeing test in the most easy and quick way...
7feet wrote:Otherwise you wouldn't be able to use much in the way of any other embedded scripts.
Yes, I've thought about this, but is very easy merge embeded scripts codes in only one *.lua file to get that several embedded scripts works fine (even for me!

) for the same layer... anyway, I know that this could be a mess too and had thinking in another solution based in groups, all layers that be (more or less) at the same depth, grouped in the Group Layer that contains the embeded script... in this way, all the sub-layers could contain his own embeded scripts... ejem...
The another thing is something that I have had in mind since Moho 5 was released... It's about Depth of Field issue, I always have wished animate this effect but actually is an impossible thing... In fact I never use it because if you move your camera (or even, cause is a Origin based effect (...bug?), if you translate the layers in X or Y axis

) the objects are blurred without any possible control about it... (frustraiting

) Well, I don't know if now Lua interface could have acces to Depth Of Field parameters to base it dinamically in the distance/depth of the certain empty layer called (i.e.) "CameraTarget", if this could be possible you only should move that CameraTarget layer to the desired focused distance in the space along the time!

And maybe, changing the Blur Parameter of this Target layer control too the level of Max Blur Radious... Well, and if this could not be possible, another option can be change the Blur Radius of the affected layers in the same way as the Fogging script of avobe... ... ...Uf... I think that I have reached the maximun number of words that I can write in English in the same day... I think I'm becoming in a "guiri" just now

SORRYento... ADIOS!
