Hi All,
I have a scene where I am taking in sensor data and using it to move a mesh.
The movement is stuttering quite badly due to the sensitivity of the sensor.
I was wondering if anyone had a method for smoothing this data out so the mesh movement appears smoother??
Thanks
Chris
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
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!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
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!
Smooth sensor data
Moderator: Support
-
- Posts: 290
- Joined: 18 Jan 2012, 11:36
- Location: Dubai, United Arab Emirates
- Contact:
Re: Smooth sensor data
That's annoying because you need to be as fast as possible for a proper user interaction. I am sure you tried using the damper node. I usually add it directly to the axis that controls the movement of whatever object the user is interacting with. Even at very low values/settings that usually prevents jumps and creates smooth movements. I did look into other technologies as well a while back. This one was another idea:
https://www.arduino.cc/en/tutorial/smoothing I wouldn't use the device itself but thought about using a script like this to even out the input values. But the damper node proved to be enough back then.
Chris
https://www.arduino.cc/en/tutorial/smoothing I wouldn't use the device itself but thought about using a script like this to even out the input values. But the damper node proved to be enough back then.
Chris
Re: Smooth sensor data
Hi Chris!
I once wrote a Butterworth filter implementation as C# node.
It's V4 - I hope the visualization works in V5 (it's using a Rendertarget trick).
But it's definitely worth to experiment with this node!
Cheers
Karol
I once wrote a Butterworth filter implementation as C# node.
It's V4 - I hope the visualization works in V5 (it's using a Rendertarget trick).
But it's definitely worth to experiment with this node!
Cheers
Karol
- Attachments
-
- Filter_Script.vzs
- (80.79 KiB) Downloaded 246 times