image thumbnail

updated 3 months ago

Triangle/Ray Intersection by Jaroslaw Tuszynski

Fast vectorized triangle/ray intersection algorithm (computer graphics, intersection, ray)

TriangleRayIntersection

Tutorial and tests of TriangleRayIntersection function

PointInsideVolume(point, faces, vertices)

image thumbnail

updated 4 months ago

optica.zip by Oren berkovicth

optical lens system (optic, lens, simulation)

Optica(varargin)

arrow(varargin)

sysplot(varargin)

image thumbnail

updated 4 years ago

Sampling Of 2D Geometrical Object via Line Beams by Michael Chan

Illustrates coordinated sampling of a geometrical shape such as an eclipse is used in this case. (image processing, project, beam)

calculateEllipse(x, y, a, b, angle, steps)

deg2rad( inDegrees )

getPointsBetween2Points (startp,endp,pts)

image thumbnail

updated 4 years ago

Forming ray lines for plots by Michael Chan

The objective is to construct different line beams. (beam, plot, ray)

deg2rad( inDegrees )

rayLinesScheme_fan (numberOfLines, ...

rayLinesScheme_parallel (numberOfLines, ...

image thumbnail

updated almost 5 years ago

Ray/box Intersection by Jesús P. Mena-Chalco

Ray/box intersection using Smits' algorithm. The zip file includes one example of intersection. (ray, box, intersection)

rayBoxIntersection(origin, direction, vmin, vmax)

test.m

image thumbnail

updated 5 years ago

Ray/Triangle Intersection by Jesús P. Mena-Chalco

Ray/triangle intersection using the algorithm proposed by Möller and Trumbore (1997) (ray, triangle, intersection)

rayTriangleIntersection (o, d, p0, p1, p2)

test.m

image thumbnail

updated 6 years ago

Tiny FDTD v1.0 by Nick Clark

Minimal acoustics simulation in 1, 2 or 3D (audio processing, video processing, acoustics)

Tiny_FDTD_v1.m

Contact us