I made a node group that converts from cartesian to polar coordinates. Useful for all sorts of radial effects.
The blend is up on gumroad with 6 examples and 4 custom node groups. $2 for the ol' black friday
https://t.co/G326if64bi
#b3d
Polar coordinates are all about getting an *Angle* from some reference about an origin, and a *Distance* from that origin
This system is useful for radial effects like shockwaves, ripples, or scifi UI dials
Get the Blender 4.0 shader nodegroup here: https://t.co/AejxrgbCxt
#b3d
TLDR shader node steps for working clock
- convert from cartesian to polar coordinates
- partition the angle and mask part of each partition, 12 for the hour markers, 60 for the minutes
- use a line segment for each hand
- wire up the angles for each hand to the current frame
How to make a working animated clock using only shader nodes in Blender 4.0 - a thread
This blend file with the custom node groups and examples is available for $2 today on gumroad https://t.co/AejxrgbCxt
Use Line Segment nodes to draw the hands
Wire up the Angle input to the current frame with a driver
Divide the second hand's angle by 60 for minute hand
Divide the minute hand's angle by 60 for the hour hand
The full node setup for the clock:
@infin8eye defining how an object behaves with respect to different operators like + or *
if I were to give my Vector class an "__add__" method, it would call that method when the "+" operator is used.
so I could do vec_a + vec_b
every technical artist should write a math library from scratch
how better to gain an intuitive understanding of the inner workings of our bread-and-butter software? here's the beginning of a Vector class I wrote 3 years ago
#pythonprogramming
Using ChatGPT to solve coding problems is like rubberducking.
It requires you to clarify your thinking and express it with words, which often gets you 80% of the way to a solution. As an added bonus the duck knows about all code published on the internet
The best skill I learned as a 3D artist was Python scripting. It allowed me to change jobs and double my salary
Start small.
Find a single part of your workflow that you can automate with a script. This was one of my first Blender scripts to select objects by keyword
#b3d