Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

[Shader] Annotation "SasUiSteps" not working as intended

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
TVM Cracklings
Posts: 33
Joined: 30 Sep 2015, 10:49

[Shader] Annotation "SasUiSteps" not working as intended

Post by TVM Cracklings » 19 Oct 2015, 18:09

I've already encountered this problem a few times, not sure if I'm doing anything wrong, and it's not breaking anything, but it's still a bit annoying.

So, the problem:

Say you declare some variable in the shader node:

Code: Select all

float x<string SasUiLabel="xxx"; float SasUiSteps=.001;> = 0.f;
The GUI is supposed to recognise the steps annotation, and as I drag the x value in Ventuz GUI, it should increase/decrease with a precision of .001.

But sometimes it just doesn't. It inherits the default step of 0.1 . And if it happens once, it seems to happen to all values defined afterwards (speaking of time, not position in code).

I'm pretty sure it wasn't a typo. Checked multiple times today.

Not sure what's causing this, nor do I know a way to reliably reproduce this behavior. Just throwing it in here and lerou or some other knowledgeable people may have some idea of what's going on.

BR
-C

Post Reply