Code archives/3D Graphics - Maths

TitleDescriptionAuthorDate
Verlet water :-)verlet water codeNate the Great2009-02-22
camera control in 3rd personcontrols camera movement it 3rd personNate the Great2008-12-19
Verlet Physics (incomplete)Verlet Physics for simple low poly effects in a gameNate the Great2008-09-17
Avoid_entity functioncone avoids red cubeNate the Great2008-07-02
YawToEntity function (plus smart missile code).This function yaws the source entity to point to the target entity at the specified rate. Useful for turning bots to face waypoints, 2D-in-3D missiles, etc.Bill Stanbrook2008-05-30
GetAngle for BlitzMaxNew function: GetAngleP.Weijtenburg2008-02-07
BMAX - Distance from Point to Lineget XYZ and Area distance to a lineLeon Drake2007-11-18
chaos cubetheory of chaosVignoli2007-09-29
Orbital gravitySimple orbital gravitystu2007-05-30
DeltaRollAs belowStevie G2007-02-15
Snap to grid movementDemonstrates camerapicking a point on a grid and moving an object so that movement is snapped to the size of the grid cellBill Stanbrook2007-02-13
Lib to create an OBB and test if a point or entity is inside its spaceThis lib allows you to create and configure an Oriented Bounding Box (a box that is not locked to the dimensional axiis), and then test if a point or an entity has intruded into the OBB's space.Bill Stanbrook2007-02-11
Triggerplate system for detecting intrusion eventsTriggers an event when an entity with a trigger atached collides with a triggerplate quad. Useful for visibility management, etc. Example includes vis code.Bill Stanbrook2007-01-19
Point distance to a LineCalculates the shortest distance between a point P and a lineDanny2006-11-24
Pool GameJust a simple pool game done in 2 hoursJeppe Nielsen2006-11-15
Infinite far clipplaneStops clipping entities!Devils Child2006-10-24
Simple Wheel PhysicsUsing Circumference to calculate wheel rotation based on velocityRoyFerriby2006-08-11
NA_ODEMapping ODE with B3d Commandsnassimamar2006-07-06
Create Tiled TerrainCreate a Terrain that exists as a mesh with tile mapping!Leon Drake2006-05-10
Calc terrain height - Ideal for terrain toolUses Cos#() to calc the vertex/terrain height for ex. a mountainKimoTech2006-04-12
Asteroids FPSDemonstrates how to make an asteroids game in 3D with a First Person ViewAndy2005-12-01
PickedVertex()Returns the nearest picked vertexKimoTech2005-11-27
See if an Entity is in ViewThis uses Vector Maths to find out if Entity A can See Entity B with angle and range parametersBerbank2005-11-11
Non-Type Based Vector LibYour standard vector lib. with banks instead of types and many vector functions.Jonathan Nguyen2005-03-22
3D math functionsVarious 3D math functions I wrote for Vein R3Nilium2004-12-05
EntitySphere elapsing box checkdont look at me like that! i know, uber simple but i put it up anyway... still usefullaab2004-11-12
triangle - box intersectionChecks intersection between a triangle and a boxelias_t2004-11-12
Rigid Body SimulationSimple Rigid Body Simulation (No collisions yet)Sweenie2004-10-29
Reflex V1.1Rag doll/Vehicle vertlett physics lib.AntMan - Banned in the line of duty.2004-09-03
PointHeightOnTriFunction that calculates the height y# for position x# z# on a Triangle in a 3D environment.RGR2004-09-03
Vector 3D Math Library [v1.7]Vector 3D Library converted from C++.Chroma2004-07-23
Gradient Of a TriangleFinds the maximum gradient of a triangle's defined planeMr Snidesmin2004-06-21
Vector/Matrix LibVarious vector/matrix/transform funcsAntMan - Banned in the line of duty.2004-06-18
Crude Little coding Object Pushing!this is a REALY simple pushing items exampleNeochrome2004-06-01
Ray Box IntersectionRay Box Intersection functionelias_t2004-05-14
Enemy chasing with collisionShows how enemies can chase a target, without sliding into same position. No blitz collisions used, only math.Jeppe Nielsen2004-03-30
Ray->Sphere IntersectionReturns intersection pointselias_t2004-02-27
sphere_and_boxsphere pushing a box aroundRiverRatt2004-02-24
Push a row of cubes!Pushes a row of cubes, uses blitz collisions systemRoss C2004-02-24
ray->plane ray->triangle intersectionThe intersection point is calculatedelias_t2004-02-23
True 3D Visibility / Line of Sight code (pseudo LOS)Fast LOS code, accounts for all polysOpticEvIl2004-02-06
Dynamic Collision LibA small lib that allows for dynamic sphere -> dynamic poly collisions using Blitz's built-in collision systemsimonh2004-01-28
Obscurer example - With viewangleAn example showing how to calculate if entities can see each otherJeppe Nielsen2004-01-02
Align an Object to a Triangle.Align an Object to a Triangle.Richard Betson2003-12-30
Vector ExampleGraphically shows the use of aligntovector, dot and cross productsJeppe Nielsen2003-12-15
Wheel rolling exampleShows how to roll a wheel, unlike a ball it cannot go in any direction.Jeppe Nielsen2003-12-15
Ball rolling exampleShows how you can make a ball rollJeppe Nielsen2003-12-14
Ray / Line Segment IntersectionRay_Intersect_Triangle, and Ray_Intersect_Meshsswift2003-09-14
Sphere-Box Intersection RoutineTests to see whether a solid sphere intersects a solid axis-aligned boxsimonh2003-09-09
Simple car physicsDrive a cube around in a spherical worldJeppe Nielsen2003-08-23
Simple 3D sphere-to-sphere physicsSimple 3D sphere-to-sphere physicsKen Lynch2003-07-22
3D "Verlet" Collision EngineVERY fast collision code adapted to Blitz3DMiracle2003-05-13
generic bouncing codewant your objects to bounce? come right in...DarkEagle2003-05-04
Bezier Interpolation in 3DBezier Interpolation in 3DMarkus Rauch2003-04-14
Triangle intersection dllchecks intersection between 2 triangleselias_t2003-02-01
No Reponse CollisionsNo response collisions.Ken Lynch2003-01-07
Ray intersectCalculates the intersection between a triangle and a ray(vector) in 3d spaceGrahamK2002-12-21
intersection dllintersection dllelias_t2002-12-11
QuaternionsSome basic quaternion functions (useful for rotating objects)Wavey2002-11-15
Point Inside Oriented Bounding BoxThis function tells you if a point is inside an entity's oriented bounding box.sswift2002-09-02
InsideCheckThe function checks to see if a point is within another pointEdzUp[SD]2002-08-29
Ray Intersect Triangle TestThis function tests if a ray intersects a triangle, and if so returns true. It also calculates the UV cordinates of the collision.sswift2002-07-19
Area Collision LibAs the title says..David Bird(Birdie)2002-05-07
Vehicle pitch and roll without child/pivot entitiesLooks at a mesh as a single object on a terrain and calculates the pitch and rollMadJack2001-10-02
simple ball physicsTypes and simple ball physicsbradford62001-09-28