-
Content count
251 -
Donations
0.00 CAD -
Joined
-
Last visited
-
Days Won
17
animatrix last won the day on December 15 2020
animatrix had the most liked content!
Community Reputation
210 ExcellentAbout animatrix
-
Rank
Illusionist
Contact Methods
-
Website URL
http://www.pragmatic-vfx.com
Personal Information
-
Name
Yunus
Recent Profile Visitors
3,712 profile views
-
You can also create contour lines using gradient ascent/descent:
-
I once implemented derivatives up to 8th and it become quite hard to use them meaningfully but jerk still showed something that could at least be visualized easily sort of like the uneven acceleration of a car by a new driver that jerks.
- 9 replies
-
- derivatives
- shading
-
(and 2 more)
Tagged with:
-
I created this as a camera lock indicator:
-
Hand translated Korean subs are almost finished Courtesy of Seona Hwang!
- 20 replies
-
- catmullclark
- vex
- (and 18 more)
-
The new trailer is up! All intro renders in the course are now re-rendered in 4K using Redshift (Sponsored by Redshift). Happy new years everyone!
- 20 replies
-
- catmullclark
- vex
- (and 18 more)
-
https://www.linkedin.com/feed/update/urn:li:activity:6747163270169407488 For efficiency of editing and reducing course length, all code shown in the course is written by a standalone program written in C# that mimics natural human like typing that has dozens of controls for randomized and contextual character delays, gradual speed increase over longer words as well as getting faster and faster with each instance of repetition. I wrote this program to provide a smoother learning experience for the viewers, rather than wasting people's time with my mistakes, or wasting my time editing my mistakes. Note that the development of the written code and the node networks are non-linear which is the most time consuming part of the planning, and as such this program respects that requirement.
- 20 replies
-
- catmullclark
- vex
- (and 18 more)
-
Hi, You probably want to use relative bbox Y: i@strength = floor ( fit01( relbbox ( @P ).y, ch("min_cluster_strength"), ch("max_cluster_strength") ) );
-
Caustics - not able to accumulate light contribution because of Parallelism?
animatrix replied to drido's topic in Scripting
Oh yes I think when I made the video I realized I didn't show the code, but thought it would be good to show it and so made the thumbnail from a screenshot outside the video -
Caustics - not able to accumulate light contribution because of Parallelism?
animatrix replied to drido's topic in Scripting
Hi, I would recommend using a Point Wrangle SOP instead, something similar to this: -
Yes depending on what you want to do, you can write something like this: vector source = getbbox_center ( 0 ); vector target = point ( 1, "P", 0 ); matrix3 m0 = primintrinsic ( 0, "transform", @primnum ); matrix3 m1 = lookat ( source, target ); float d = ch("amount"); vector4 q0 = quaternion ( m0 ); vector4 q1 = quaternion ( m1 ); vector4 q2 = slerp ( q0, q1, d ); matrix3 m2 = qconvert ( q2 ); setprimintrinsic ( 0, "transform", @primnum, m2 ); In this case, d is between 0 and 1, but if you want you could fit your per-point distance between 0 and 1 using the pcfind max distance for example.
-
Hi, You can use Extract Transform SOP to do this. First remove the rigid transformation using: matrix m = point ( 1, "transform", 0 ); @P *= invert ( m ); Then apply it back after the sim: matrix m = point ( 1, "transform", 0 ); @P *= m;
-
Hi Patis-san, For unpacked, you can write something like this (Point Wrangle): vector source = getbbox_center ( 0 ); vector target = point ( 1, "P", 0 ); matrix3 m = lookat ( source, target ); @P -= source; @P *= m; @P += source; For packed, you can write over the transform primitive intrinsic attribute. Since it's a matrix3, you don't have to worry about translation to origin and back (Primitive Wrangle): vector source = getbbox_center ( 0 ); vector target = point ( 1, "P", 0 ); matrix3 m = lookat ( source, target ); setprimintrinsic ( 0, "transform", @primnum, m );
-
Projecting mesh from single point to geometry
animatrix replied to nkyms's topic in General Houdini Questions
You can also use something like this which is similar to Konstantin's approach: vector linePlaneIntersection ( vector raypos, raydir, planepos, planedir ) { vector diff = raypos - planepos; vector d = dot ( diff, planedir ) / dot ( raydir, planedir ); return raypos - raydir * d; } if ( @P.y < 0 ) { vector n = normalize ( chv("p") - @P ); vector p = linePlaneIntersection ( @P, n, 0, { 0, 1, 0 } ); @P = p; } Depending on the P parameter, the result will change, so make sure to set it to non 0, 0, 0. Otherwise all bottom points will intersect at 0, 0, 0. Here I use 0, 0.3, 0: -
Projecting mesh from single point to geometry
animatrix replied to nkyms's topic in General Houdini Questions
I see yes this can be done using Ray Plane intersection analytically without creating a plane geometry. I will post an example when i get home. -
Projecting mesh from single point to geometry
animatrix replied to nkyms's topic in General Houdini Questions