Parameter Scaling Interaction

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 03/03/2003 at 16:36, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.012 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s) :     C++  ;

---------
As the user changes a parameter and holds down the shift key I would like to cause the change in value to be 500% greater than normal. The idea is that I want to take the delta change ( I can only evaluate for that within the SetDParameter where I can access the new value and the old value ) and scale it ( or run some arbitrary function on it ) and set the parameter value to the newly created value by the amazing and wonderful widget function. I thought originally that I could set the parameter value in the container in the SetDParameter. Then I realized that the const GeData is what C4D uses to set the parameter to after it leaves the function. Since it is a const I cannot change what the current value will be in SetDParameter. Need info please.

bt

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/03/2003 at 23:36, xxxxxxxx wrote:

That is not possible. If you want this level of control you'll have to implement a CustomGuiData with this feature. (This wouldn't be too hard, but you'll have to dig quite deep into the world of custom GUIs and datatypes. The actual implementation would just be a normal edit field. Though I haven't checked if it's possible to change the value during a drag as you describe.)

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 05/03/2003 at 15:44, xxxxxxxx wrote:

Actually got it to work. Pretty cool. Thanks for your thoughts though.

bt

> Quote: Originally posted by Mikael Sterner on 04 March 2003
>
> * * *
>
> That is not possible. If you want this level of control you'll have to implement a CustomGuiData with this feature. (This wouldn't be too hard, but you'll have to dig quite deep into the world of custom GUIs and datatypes. The actual implementation would just be a normal edit field. Though I haven't checked if it's possible to change the value during a drag as you describe.)
>
>
> * * *