Senorpablo
@senorpablo
New Member
Joined: Feb 15, 2024
Topics: 5 / Replies: 41
Reply
RE: MaxScript performance slowed down as much time as the number of running Max instances

I haven’t tried your example, but my experience is different than yours. I recently wrote a script which divides up a compute intensive job and laun…

5 years ago
Forum
Reply
RE: Splitting spline at point of intersection

When working with splines in Maxscript, there are two different concepts or notions of distance/position/length. There is vertex based, and arc-leng…

5 years ago
Forum
Reply
RE: Help with Maxscript to find where a line segment would intersect another if extended

You’re getting hung up on something. The function I just posted returns the position of B3. It is literally exactly what you asked for in your first …

5 years ago
Forum
Reply
RE: Help with Maxscript to find where a line segment would intersect another if extended

From this page: Geometrical calculations : points, lines, planes : intersections, distances, angles 3ds Max SDK and MaxScript …

5 years ago
Forum
Reply
RE: Help with Maxscript to find where a line segment would intersect another if extended

His code is for 2d intersection. The page I linked to has 3d intersection. To calculate which line needs to be extended, you could test to see what l…

5 years ago
Forum
Reply
RE: Help with Maxscript to find where a line segment would intersect another if extended

Yes. That is why you need the formula from the page I linked to, or the one Denis posted. It calculates the position of b3 based on the inputs a1 a2 b…

5 years ago
Forum
Reply
RE: Help with Maxscript to find where a line segment would intersect another if extended

The distance you need to move a2 is the distance from a2 to b3(intersection), yes? Or length b3-a2. In reality, you probably also need to determine t…

5 years ago
Forum
Reply
RE: Help with Maxscript to find where a line segment would intersect another if extended

To make the line intersect, move one of the lines endpoints to the point of intersection. In your illustration, you would set the position of A2 to be…

5 years ago
Forum
Reply
RE: Help with Maxscript to find where a line segment would intersect another if extended

There are a lot of useful calculations here, including line intersections: Geometrical calculations : points, lines, planes : inte…

5 years ago
Forum
Reply
RE: intersectRay speed – 10x times slower in new Max?

PhilippeG: Hello folks, Today 2021.1 releases with more fixes and tweaks to raycasting. I fixed the remaining known issues with raycasting in term…

6 years ago
Forum
Reply
RE: intersectRay speed – 10x times slower in new Max?

Look forward to the fix. Thanks for looking into it.

6 years ago
Forum
Reply
RE: intersectRay speed – 10x times slower in new Max?

Not sure if this is related since it’s a different function call, but the timeline is consistent with changes made for Max 2017 so it doesn’t seem lik…

6 years ago
Forum
Reply
RE: The IKEA Challenge

This is some fantastic innovation. Figures it was done outside Autodesk.

8 years ago
Forum
Reply
RE: How to access gimbal roation values?

So I was able to answer my own question. Here is what worked: at time t rot_out_z = cam_copy.rotation.controller.z_rotation

11 years ago
Forum
Page 3 / 4