python optimalization request: 'depth'

Hi there,

I noticed the me.width and me.height variables of a glsl TOP are optimized, but the me.depth is not. Is it possible to add it to the list?

Other request which I can imagine is way bigger, I remember malcolm saying at the last summit, it would also possible to optimize math functions. I would be super happy if that’s possible :smiley:
Stuff like math.floor, math.ceil, math.sin and math.cos…

Cheers,
Tim

hey Tim,

regarding your second RFE:
according to the wiki these Python math functions are all optimized since Builds 2018.40000 or later. I just tested in current experimental and they are indeed optimized there.

    pi
    sin()
    cos()
    tan()
    asin()
    acos()
    ceil()
    floor()
    sqrt()
    degrees()
    radians()

also these were already in there before:

abs()
max()
min()
round()

see docs.derivative.ca/Optimized_Python_Expressions

grt idz

hoppppaaaa!
Still working in the stable version. Didn’t notice. Super good news! :smiley:

Time to migrate :smiley:

cheers,
tim