SamSuka
noonesimg
noonesimg

patreon


Matrices and rotation!

It's time to rotate things while getting familiar with the concept of matrices. Really useful, especially once we start getting into more complex stuff!

Hope you're going well!

As usual, if something is not clear or you think I've missed something, drop me a message or a comment

Cheers!


Matrices and rotation!

Comments

Sorry, it took me so long to respond. If you wanna do it with glsl, you can use TDRotateOnAxis func to create a mat3, given an axis and an angle, and then just say position *= rotation, where the position is a vec3 and the rotation is mat3. If you don't wanna do it with GLSL, you probably can use something like Point Transform TOP, which is basically applying a bunch of different matrix translations to the input. But I think this is exactly a scenario that I've covered in this tutorial, so maybe I'm not exactly getting what you wanna do :)

Hi Noones! How can I rotate all instanced geometry at once, around the center point? thanks

appreciate the reply, i have managed to maps the video to a height map, i think i then need to apply velocity field to this some how, i'll keep experimenting!

Hey! I'm not exactly sure how to do that! But I think you can achieve something similar if you look at this tutorial https://youtu.be/rkunS8T69qI And then experiment with different ways to generate a velocity field from an image. Maybe some combination of curl and slope can get you somewhere close, Cheers 🙌

PS i think the video needss to be turned into a height map then from there particles ? something like this

Hey! I've been trying for a while to get an effect where pixels in a video are turned into particles and they travel with the video using some sort of flow field and fluid simulation. Would you be able to possibly create a tutorial as i think everyone would love to see as well? if not could you point me in the right direction! thanks :) here is an example https://www.instagram.com/p/CVnrBqDvr3M/


More Creators