projectorBlend tool - Per Side Control doesn't enable / disable pars correctly, UI tweak suggestion

Some changes to the way parameters work in the Alpha has broken the projectorBlend tool in the palette. Namely, the “per side control” toggle no longer enables both sets of values.

Digging into parexec1 it looks like it could be fixed by adding additional code for parameters that are greater than size1. Below is an example of how it could be fixed, though would need to be repeated in a few other instances to fully fix the component. Though it would be great if there was a way to enable/disable all fields for a parameter instead of needing to hit each one separately. If there is a way to do this I wasn’t able to find it in the documentation

# enable offset parameter
for k,c in enumerate(corners):
	parName = projector+'pos'+str(i)+'c'+str(k)+'1'
	para = node.pars(parName)[0]
	para.enable = 1	

	#added:

	parName = projector+'pos'+str(i)+'c'+str(k)+'2'
	para = node.pars(parName)[0]
	para.enable = 1

Also, on the topic of the projectorBlend tool, it would be helpful if the UI was adjusted to better reflect expected default values and naming conventions for blending. (This was actually brought to my attention by @keithlostracco)

  • Gamma - I usually start at 2.2 by default, though 1.8 is perhaps fine (I don’t feel strongly about this one.)
  • “Blend” should really be renamed “Power” with a default of 2, along with the parameter range increased so it extends beyond 1. The slider being capped in the UI at 1 is really the main issue here as that suggests that the expected values are between 0-1.
  • Luminance is fine as .5

While the underlying math is correct, I feel like the current UI can steer people in the wrong direction, both those with limited experience with blends, and those looking for traditional naming conventions (“power” vs “blend”)

Thank you for making us aware of the problem. This issue is on our list to review.

Hi @polyhop,

this will be fixed in the next release. It will now be driven by the .parEnable expression.

cheers
Markus