Itoo Software Forum

Author Topic: Request for Native Arithmetic Select  (Read 445 times)

Alex.S

  • Full Member
  • ***
  • Posts: 140
Request for Native Arithmetic Select
« on: August 18, 2022, 09:22:25 PM »
So I have of course written my own macros to offer me arithmetic selects with 10, 20 or 30 options. However I found out today when using nested generators that I'm losing quite a lot of performance by having select options with more options that required.

In a bid to future proof my graph I had added select 30 options, unaware of just how much they would decimate performance (graph build time was around 4 seconds pre-optimization, I now got it down to 1.3s after change 6 or 7 select 30s to select 10s).

It would be really nice to have a native node which was correctly optimized and allowed you to add basically infinite selections. Editing long nested if / else arithmetic macros is not very nice.  And when you wish to change a parameter based on another parameter integer value.

For example you have a drop down with a bunch of modes, and you want to change various other parameters based on the mode set.

Anyway here are my macros for reference.


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2830
Re: Request for Native Arithmetic Select
« Reply #1 on: August 19, 2022, 10:08:01 AM »
Hi,

Thanks for the suggestion. I was wondering if the new drop-down features in the Numeric node would suit your needs. It basically offers the ability to create a drop-down list to which any value can be assigned.



Cheers,

Paul
Paul Roberts
iToo Software

Alex.S

  • Full Member
  • ***
  • Posts: 140
Re: Request for Native Arithmetic Select
« Reply #2 on: August 19, 2022, 06:53:04 PM »
Yeah I'm already using those, but say I want to set 5 variables through out the profile based on one of those settings, I use this script. But the problem is I have redundant settings which cost performance, and if I need to upgrade the amount of options it's awkward to do and slow, especially if I run out of my batch of 10 and need to swap out the node and then copy over all my old values with out making a mistake too.

See the screenshot beneath where by I auto generate continuous UVW from 5 inputs to follow a trim map, And I do it differently based on which mesh we choose.

I imagine an arithmetic version of the selector node basically, where you can just keep adding options/reorder etc.


« Last Edit: August 19, 2022, 06:54:51 PM by Alex.S »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2830
Re: Request for Native Arithmetic Select
« Reply #3 on: August 22, 2022, 09:24:03 AM »
Thanks for clarifying that Alex,

I'll pass the request on to the development team and see what can be done.

Cheers,
Paul
Paul Roberts
iToo Software