Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

python optimalization request: 'depth'

Send us your requests for enhancements (RFEs)

python optimalization request: 'depth'

Postby timgerritsen » Fri Mar 15, 2019 7:20 pm

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 :D
Stuff like math.floor, math.ceil, math.sin and math.cos..

Cheers,
Tim
timgerritsen
 
Posts: 67
Joined: Sun Jan 24, 2016 6:57 am

Re: python optimalization request: 'depth'

Postby nettoyeur » Fri Mar 15, 2019 9:22 pm

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 https://docs.derivative.ca/Optimized_Python_Expressions

grt idz
Last edited by nettoyeur on Fri Mar 15, 2019 9:34 pm, edited 1 time in total.
Idzard Kwadijk | freelance TouchDesigner consultant | IdzArd.com
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 1102
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands

Re: python optimalization request: 'depth'

Postby timgerritsen » Fri Mar 15, 2019 9:29 pm

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

Time to migrate :D

cheers,
tim
timgerritsen
 
Posts: 67
Joined: Sun Jan 24, 2016 6:57 am


Return to Wishlist and RFEs

Who is online

Users browsing this forum: elburz and 2 guests