How to set Reflectance Channel layer order



  • On 24/01/2017 at 13:45, xxxxxxxx wrote:

    Hi,

    Quick question as I'm new to the Python SDK: When I add a new layer to the Reflectance Channel using material.AddReflectionLayer(), it gets inserted at the top of the stack. How would I go about moving this layer to the bottom (or an arbitrary position) of the layer stack?

    Couldn't find anything helpful in the docs, unfortunately.



  • On 25/01/2017 at 06:20, xxxxxxxx wrote:

    Hi,

    welcome to the Plugin Cafe forums :)

    Unfortunately no good news for you. Neither the C++ nor the Python SDK provide means to achieve this. Sorry!



  • On 25/01/2017 at 06:30, xxxxxxxx wrote:

    Thanks for the quick reply.

    That's an unfortunate oversight. Would be a nice addition to the API.



  • On 25/01/2017 at 07:09, xxxxxxxx wrote:

    I forgot to mention, I'll forward this as an idea to our development.



  • On 27/01/2017 at 13:41, xxxxxxxx wrote:

    Seems like you could pop out all layers, order them as you like, and then reinsert them?



  • On 29/01/2017 at 23:54, xxxxxxxx wrote:

    Yeah, as far as I can tell that's the only option for now. I don't want to destroy the user's existing layer setup, so it means keeping track of whatever layers the user has already has in each Reflectance Channel. Quite a pain.


Log in to reply