Librairie M3D_Matrix3D Beta

Advanced game related topics
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Librairie M3D_Matrix3D Beta

Post by Comtois »

You can download here ( 282 ko , 7 examples + 1 demo )

http://perso.wanadoo.fr/comtois/M3D_Matrix3D.htm

Any suggest will be welcome.


Sorry for my poor english , i can't say more :?
Commandes :
M3D_CreateMeshMatrix
M3D_SetDoubleFace
M3D_PrepareMatrixTexture
M3D_RandomizeMatrix
M3D_SetMatrixHeight
M3D_FillMatrix
M3D_FillColor
M3D_NormalesMatrix
M3D_SetNormale
M3D_SetFacetteHeight
M3D_TextureFacette
M3D_RotateTexture
M3D_ColorFacette
M3D_SetVertexHeight
M3D_SetVertexColor
M3D_ShiftUp
M3D_ShiftDown
M3D_ShiftLeft
M3D_ShiftRight
M3D_UpDateMatrix
M3D_UpDateColor
M3D_UpDateNormale
M3D_UpDateTexture
M3D_UpDateVertex
M3D_MoveEntityXZ
M3D_LoadMatrix
M3D_SaveMatrix

Prochainement :
M3D_CreateMeshCone
M3D_CreateMeshCube
M3D_CreateMeshCylinder
M3D_CreateMeshPlain
M3D_CreateMeshSphere

Informations :
M3D_GetGroundHeight
M3D_GetVertexHeight
M3D_MatrixWidth
M3D_MatrixHeight
M3D_NbFacetteX
M3D_NbFacettez
M3D_FacetteWidth
M3D_FacetteHeight
M3D_TextureWidth
M3D_TextureHeight
M3D_NbTextureX
M3D_NbTextureZ
Last edited by Comtois on Fri Jun 25, 2004 10:25 am, edited 1 time in total.
Please correct my english
http://purebasic.developpez.com/
pg
User
User
Posts: 75
Joined: Wed Jun 18, 2003 3:31 pm
Location: Swiss
Contact:

Post by pg »

Hi Comtois

Very good work. This library is tres bien. Thank you!
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: Librairie M3D_Matrix3D Beta

Post by NoahPhense »

OMG, that kicks so much as$!

VERY SWEET..

- np
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post by fweil »

Really good work

All examples work.

About suggestions it will take some time to me to find more as you offer here much code.

KRgrds
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

nice 8O
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

cool!
El_Choni
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

Thank's all :)

New lib ( 47 ko) http://perso.wanadoo.fr/comtois/M3D_Mat ... 200604.zip

Add M3D_GetNoTileTexture()
Add M3D_RandomizeMatrix()
Add M3D_SetMatrixHeight()
Add exemple No8 .
Please correct my english
http://purebasic.developpez.com/
TronDoc
Enthusiast
Enthusiast
Posts: 310
Joined: Wed Apr 30, 2003 3:50 am
Location: 3DoorsDown

TIPS for people with low-end PCs like mine:

Post by TronDoc »

TIPS for people with low-end PCs like mine:

this line:
; #ScreenDepth = 32 gave error on my poor old PC
changed it to:
#ScreenDepth = 16
and Exemple1.pb works now! :D

changes for Exemple2.pb
; #ScreenWidth = 1024
; #ScreenHeight = 768
; #ScreenDepth = 32
#ScreenWidth = 800
#ScreenHeight = 600
#ScreenDepth = 16

even with the lower settings the examples are awesome!
:D
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

M3D_Matrix3D le 21 juin 2004

Add :
- M3D_AddColor()
- M3D_ColorFacette()
- M3D_SetVertexColor()
- M3D_UpdateColor()

Change :
- M3D_UpdateMatrix() => Add UpdateColor()

Change Name :
M3D_MatrixTextureWidth() => M3D_TextureWidth()
M3D_MatrixTextureHeight() => M3D_TextureHeight()
M3D_MatrixNbTextureX() => M3D_NbTextureX()
M3D_MatrixNbTextureZ() => M3D_NbTextureZ()
M3D_MatrixNbFacetteX() => M3D_NbFacetteX()
M3D_MatrixNbFacetteZ(l) => M3D_NbFacetteZ()
M3D_MatrixFacetteWidth() => M3D_FacetteWidth()
M3D_MatrixFacetteHeight() => M3D_FacetteHeight()

Add Examples No9 and No10 ( Color example)


http://perso.wanadoo.fr/comtois/M3D_Matrix3D.htm


[EDIT]

Error in example No8

Replace

Code: Select all

M3D_RandomizeMatrix(#Matrix2, Random(350))


By

Code: Select all

M3D_RandomizeMatrix(#Matrix2, 350) 
Please correct my english
http://purebasic.developpez.com/
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

New
M3D_CreateMeshCone
M3D_CreateMeshCube
M3D_CreateMeshCylinder
M3D_CreateMeshPlain
M3D_CreateMeshSphere
M3D_CreateMeshTerrain
M3D_CreateMeshTriangle
And more .

Download here

http://perso.wanadoo.fr/comtois/pureindex.htm
Please correct my english
http://purebasic.developpez.com/
Post Reply