Instance and offset an animated FBX using GLSL in Touchdesigner - Part 2

  Рет қаралды 1,631

Factory Settings

Factory Settings

2 жыл бұрын

In this two part tutorial we're going to build a custom component in Touchdesigner that records an animated geometry file into a texture format. Then in the second part we are going to use GLSL to:
1. instance the model,
2. have the ability to offset the animation per instance and most important,
3. keep a steady 60 fps framerate!
It's a rather technical tutorial but if you follow along, set it up once, you have the ability and benefit for future projects to instance quite heavy animated geometry files and control the playback per instance at real time speed!
Part 1 of this tutorial series: • Instance and offset an...
Please like and subscribe to stay up to date!
Instagram: / daily.typo
Facebook: / factory-sett. .
For our workfiles:
/ factorysettings

Пікірлер: 13
@edcreativecoder
@edcreativecoder 2 жыл бұрын
Thank you very much for sharing. Now I can finally implement the ideas that had waited for the technique.
@FactorySettings
@FactorySettings 2 жыл бұрын
Thank you, very much appreciated, curious to see what you'll bring up!
@fizzypopvfx
@fizzypopvfx 2 жыл бұрын
I've been so close to figuring this out and this video has just helped me finally get there, thanks so much!
@FactorySettings
@FactorySettings 2 жыл бұрын
Thank you, great I could help!
@fizzypopvfx
@fizzypopvfx 2 жыл бұрын
@@FactorySettings i was just wondering, is there a need to update the normals as you displace the vertices?
@FactorySettings
@FactorySettings 2 жыл бұрын
@@fizzypopvfx I see what you mean. I don't think so, a normal is usually calculated by taking the cross product of two vectors, and since every point is already connected, the normals should follow along. I've recently experimented with rebuilding a model from one point, then you have to recalculate from scratch. But if you're not sure or experiencing glitches in your lighting, you could use the exact same approach with the normals in the shader (P would be N instead)
@fizzypopvfx
@fizzypopvfx 2 жыл бұрын
@@FactorySettings I’m yet to try this properly, I was just thinking when I usually do vertex displacement, I redo the normals, and really just wondered if it applied to this method or not :)
@Dithdsgn
@Dithdsgn Жыл бұрын
Great tutorial, thank you !
@bradonwebb2318
@bradonwebb2318 4 ай бұрын
Great Tutorial, is there a way to interpolate or blend between the "flipbook" frames this would be like sub frame interpolation from the original texture3D to blend between those frames?
@FactorySettings
@FactorySettings 4 ай бұрын
Thank you! Yes could work in theory, but I'm not sure if it's of much use. Your exporting the alembic based on a certain framerate, personally, if I would like to add a frame in between I'll just export it at 60fps instead of 30fps. You could experimenting with a crossTOP and sample two frames from the flipbook and see how that affects the movement.
@bradonwebb2318
@bradonwebb2318 4 ай бұрын
@@FactorySettings I thought about using a different method instead of texelFetch with the tex3D top, but more like a rows and columns texture, where the rows (x-axis) pixels would be the position of the point value of the point geometry and the columns would be time/frame index of the alembic... that way you might be able to sample a point in-between the columns as a floating point value rather than a hard integer (on y-axis) and use the built in interpolation of a pixel to do it. We actually need this function because we want to dramatically slow the motion of an alembic down by quite a lot, linear interpolation is fine, but we want the animation to be very very slow, but interpolated.
@FactorySettings
@FactorySettings 4 ай бұрын
@@bradonwebb2318I see what you're trying to do, if you'd like to have float accuracy sampling from a texture make sure you use texture() instead of texelFetch(), but you have to use normalized values instead of pixel coordinates. Another thing to be aware of is that depending on how many points you're going to use, your resolution can get pretty wide. Non commercial is already clamped at 1280, but there is also a maximum depending on your graphics card.
@bradonwebb2318
@bradonwebb2318 4 ай бұрын
@@FactorySettings thanks we've got no issue with wide textures, our point counts are not too large and i think it can work, will look into texture()
Instance and offset an animated FBX using GLSL in Touchdesigner - Part 1
40:10
Touching Typography - Case 4: Bullet Physics
1:07:01
Factory Settings
Рет қаралды 2,1 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 59 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 3,1 МЛН
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 8 МЛН
The Secrets of Photorealism
24:38
Blender
Рет қаралды 816 М.
Multitouch Data in TouchDesigner - iPad/iPhone and Wacom Tablet
30:06
prismatic visuals
Рет қаралды 6 М.
Use L-system for infinite path loops in Touchdesigner
49:22
Factory Settings
Рет қаралды 4,5 М.
Easy Optimization Tricks in TouchDesigner - Tutorial
15:05
The Interactive & Immersive HQ
Рет қаралды 8 М.
Unreal Engine Materials in 6 Levels of Complexity
44:12
pwnisher
Рет қаралды 183 М.
Audioreactive particles with Chladni Cymatics in Touchdesigner
16:10
Factory Settings
Рет қаралды 11 М.
Maya Pro Tries 3D Modeling in Blender
43:52
JL Mussi
Рет қаралды 153 М.
[Touchdesigner] Introspection - TD Overview
14:44
Audiopuncture
Рет қаралды 272
Rhino 3D Introduction for Architects - Full Course (2023 Update) - Part 2
3:35:08
Houdini Algorithmic Live #107 - Sci-Fi Dissolve
3:46:08
Junichiro Horikawa
Рет қаралды 255 М.
POV Joy and Anger's house - Inside Out 2
0:40
AmogusMan
Рет қаралды 22 МЛН
Pov Anxiety made an unfortunate  prank | Inside Out 2
0:23
MiNiKa YT
Рет қаралды 22 МЛН