3ak
@3ak
New Member
Joined: Feb 14, 2024
Topics: 2 / Replies: 68
Reply
RE: Align an axis to a plane, using other axis?

the problem was in side of rotation – rotate to the left or right? cause dot product gives only angle. So we need to add check with help of cross prod…

13 years ago
Forum
Reply
RE: Align an axis to a plane, using other axis?

it seems i forgot that 3ds max quat rotates in different side) you need to add inverse in last line. and to ensure you’re rotating the shortest angle …

13 years ago
Forum
Reply
RE: Align an axis to a plane, using other axis?

because its shorter. and its even shorter if object-offset matrix of the first object is not 1. And with quats all you need is change transform to obj…

13 years ago
Forum
Reply
RE: Align an axis to a plane, using other axis?

Let’s say you want to rotate vector N around M to fit in XY plane. first you need to find projection of N in XY – cross prod of the M and third vect…

13 years ago
Forum
Reply
RE: Align an axis to a plane, using other axis?

Let’s say you have 2 objects (o1 and o2) – with transform matrices tm1 and tm2 respectively. And want to rotate o1 around Y axis so that Z axis is in…

13 years ago
Forum
Reply
RE: Image controlled Parameters

i’d better define imaginary plane with matrix3 and height and width. find x,y for every object in that plane coords load bitmaps in memory (as bitmap …

13 years ago
Forum
Reply
RE: Image controlled Parameters

this is what particles should used for.

13 years ago
Forum
Reply
RE: extend 2 point line in z axis

fn moveP2 p1 p2 dist = ( p3 = p2-p1 p1 + p3*(1+(dist/(length p3))) )

13 years ago
Forum
Reply
RE: Fibermesh to spline: Help me improve it!

Denis, assuming that fibers are all the same across one mesh, get any element and: basecount = ((number_of_verts_in_element – number_of_faces_in_eleme…

13 years ago
Forum
Topic
Forum
Replies: 0
Views: 21
Page 5 / 5