Intersection of a Line and a Sphere - MAXScript function

Developer: Royal Ghost

Download Free

A MAXScript function based on Paul Bourke's technique for finding the points where a line crosses a sphere or circle.

What Intersection of a Line and a Sphere - MAXScript function does

The function, written in MAXScript for 3ds Max, calculates line and sphere or circle intersections using an approach from Paul Bourke. The result is computed from the line and sphere parameters.

The discriminant tells the story: below zero means no intersection, zero means tangent at one point, and above zero gives two points. For a segment, u values reveal whether it lies outside or inside the sphere. For circles, the four points must have no three in a line and must not lie in one plane. It is aimed at scripters needing geometry calculations in their own tools.

Key features

  • Line and sphere intersection from Paul Bourke's method
  • Discriminant identifies no hit, tangent or two intersections
  • u values distinguish segments inside or outside the sphere
  • Circle case with stated point conditions

FAQ

Is Intersection of a Line and a Sphere - MAXScript function free?

Yes, Intersection of a Line and a Sphere - MAXScript function is free. Click the Download Free button on this PluginDex page to get it at no cost.

Which apps does Intersection of a Line and a Sphere - MAXScript function work with?

Intersection of a Line and a Sphere - MAXScript function works with 3ds Max.

Who develops Intersection of a Line and a Sphere - MAXScript function?

Intersection of a Line and a Sphere - MAXScript function is developed by Royal Ghost. You can find their other plugins on the Royal Ghost page of this catalog.

Where can I download Intersection of a Line and a Sphere - MAXScript function?

Download Intersection of a Line and a Sphere - MAXScript function free from this PluginDex page using the Download Free button. You get free access without paying.

Similar plugins

Test app - ModelSync Pro

Super Nova

Fusion 360 extension that syncs models, tracks versions and shares design data with cloud systems.

Free3ds Max
JTB AutoClose freeware

JTB World Inc.

Free AutoCAD utility that automatically dismisses the License Borrowed and minimum-resolution startup dialogs.

Free3ds Max
UV-Packer

3d-io

Fast UV packing plugin for 3ds Max that handles huge meshes and thousands of clusters with exact padding.

Free3ds Max
PolyModOp

Swordslayer

MAXScript struct that gives the Edit Poly modifier the same method signatures as polyop, so one codebase serves both.

Free3ds Max
AutoPivot

Visuali Studio

3ds Max script that relocates an object's pivot to its center of mass or its lowest point.

Free3ds Max
MZP Maker

Visuali Studio

Packs 3ds Max scripts into ready-to-install .mzp packages, or just encrypts them, with macros and icons generated automatically.

Free3ds Max