Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / 3Dmaths : found DBEMathsLib.zip source code in DBC, by Dmitry K(english version!)

Author
Message
Silverman
12
Years of Service
User Offline
Joined: 18th Jan 2007
Location: France
Posted: 12th Apr 2013 17:52 Edited at: 12th Apr 2013 17:53
Hi all,

reading the old post, I came across a source code(free) produced by Dmitry K. This is a set of 3Dmaths functions entirely in DBC, the same (almost) as its dll. I think it may help to understand mathematics 3d.

List of functions:
3DMaths
MakeVector2
DeleteVector2
SetVector2
AddVector2
SubtractVector2
XVector2
YVector2
CatmullRomVector2
CopyVector2
DivideVector2
MultiplyVector2
DotProductVector2
BCCVector2
SquaredLengthVector2
LengthVector2
HermiteVector2
IsEqualVector2
LinearInterpolateVector2
MaximizeVector2
MinimizeVector2
NormalizeVector2
ScaleVector2
CCWVector2
TransformCoordsVector2
MakeVector3
DeleteVector3
SetVector3
AddVector3
SubtractVector3
XVector3
YVector3
ZVector3
CatmullRomVector3
CopyVector3
DivideVector3
MultiplyVector3
DotProductVector3
BCCVector3
SquaredLengthVector3
LengthVector3
HermiteVector3
IsEqualVector3
LinearInterpolateVector3
MaximizeVector3
MinimizeVector3
NormalizeVector3
ScaleVector3
CrossProductVector3
ProjectVector3
TransformCoordsVector3
TransformNormalsVector3
MakeVector4
DeleteVector4
SetVector4
AddVector4
SubtractVector4
XVector4
YVector4
ZVector4
WVector4
CatmullromVector4
CopyVector4
DivideVector4
MultiplyVector4
BCCVector4
SquaredLengthVector4
LengthVector4
HermiteVector4
IsEqualVector4
LinearInterpolateVector4
MaximizeVector4
MinimizeVector4
NormalizeVector4
ScaleVector4
TransformVector4
MakeMatrix4
DeleteMatrix4
CopyMatrix4
BuildLookAtLHMatrix4
BuildLookAtRHMatrix4
BuildOrthoLHMatrix4
BuildOrthoRHMatrix4
BuildFOVLHMatrix4
BuildFOVRHMatrix4
BuildPerspectiveLHMatrix4
BuildPerspectiveRHMatrix4
BuildReflectionMatrix4
BuildRotationAxisMatrix4
SetIdentityMatrix4
IsEqualMatrix4
IsIdentityMatrix4
AddMatrix4
SubtractMatrix4
MultiplyMatrix4
MultiplyMatrix4ByValue
ScaleMatrix4
TranslateMatrix4
TransposeMatrix4
RotateYPRMatrix4
RotateXMatrix4
RotateYMatrix4
RotateZMatrix4
WorldMatrix4
ViewMatrix4
ProjectionMatrix4
DeterminantMatrix4
DeterminantMatrix3
SubMatrix3
InverseMatrix4
DivideMatrix4
PrintMatrix4Lib
PrintMatrix
PrintVectorLib
PrintVector

Basic3D
IntersectObject
IntersectPoly
PickObject
PickScreen
GetPickVectorX
GetPickVectorY
GetPickVectorZ
GetPickPoly
GetPickPolyNormalX
GetPickPolyNormalY
GetPickPolyNormalZ
GetPickPolyNormalD


You can find his dll here:
http://forum.thegamecreators.com/?m=forum_view&t=187251&b=10

@+

DirectX 9.0c (February 2010)/ DBClassic v1.20

Attachments

Login to view attachments
Libervurto
13
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 13th Apr 2013 06:47
Thanks, will have to check those out. It's a shame we lose track of all this hard work people have done in the past.


Latch
13
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 13th Apr 2013 19:41
Quote: "It's a shame we lose track of all this hard work people have done in the past.
"

I know. I used to have a link to the old showcase server but that has since been shut down. There was some incredible stuff that people posted for game competitions, demos, etc. using both DBC and DBPro dating back to 2004 and earlier. There were some real innovators that were doing crazy things with DB.

Enjoy your day.
Fluffy Rabbit
User Banned
Posted: 15th Apr 2013 15:09 Edited at: 15th Apr 2013 15:10
I remember that showcase server! I was looking for it yesterday, looking for some inspiration. I remember an RPG that made heavy use of DBC's built-in MATRIX commands to create a sort of post-apocalyptic world. It was beautiful, even though it didn't have much gameplay.

Login to post a reply

Server time is: 2019-09-23 03:29:16
Your offset time is: 2019-09-23 03:29:16