Page 51 of 71
Re: MP3D Engine Alpha 32
Posted: Mon Jun 30, 2014 8:49 am
by mpz
Hi coco2,
i use for all rotations in mp3d the dx9 rotation, multi, translate and, and funktions. You can make your routines yourself, but you must translate the following side for these into pb basic...
http://www.inversereality.org/tutorials ... rices.html
for example:
Code: Select all
Structure D3DMATRIX
_11.f:_12.f:_13.f:_14.f
_21.f:_22.f:_23.f:_24.f
_31.f:_32.f:_33.f:_34.f
_41.f:_42.f:_43.f:_44.f
EndStructure
; D3DMATRIX\_11 = Matrix[0][0]....D3DMATRIX\_44 = Matrix[3][3]...
c code:
void Matrix3d::MatrixIdentity()
{ MatrixReset();
Matrix[0][0]=Matrix[1][1]=
Matrix[2][2]=Matrix[3][3]=1;
}
pb code
Procedure MP_Translate(Mymatrix.D3DMATRIX)
Mymatrix\_11 = 1
Mymatrix\_22 = 1
Mymatrix\_33 = 1
Mymatrix\_44 = 1
EndProcedure
Greetings Michael
Re: MP3D Engine Alpha 32
Posted: Mon Jun 30, 2014 9:13 am
by Psychophanta
Thanks Michael.
Please add a raw (no installer) package.

Re: MP3D Engine Alpha 32
Posted: Sun Jul 06, 2014 12:27 am
by Mythros
Hello, @mpz ^_^ Any new updates lately?
Thanks buddy!
Mythros
Re: MP3D Engine Alpha 32
Posted: Fri Jul 11, 2014 3:31 pm
by Mythros
@Mpz: Haven't heard from you in a while. Any updates lately? =)
Thanks alot!
Sincerely,
Mythros
Re: MP3D Engine Alpha 32
Posted: Fri Jul 11, 2014 4:19 pm
by applePi
Hi Michael, it seems the installer does not install the version which contains the function MP_CreatePhysicMeshfromPoints which it is in file MP_Point_to_Mesh.pb in the go.zip. since purebasic 5.22 issue this error messages
MP_CreatePhysicMeshfromPoints is not a function, array, list...etc
also the file MP_Camera_follow_Mesh.pb produce error :MP_RenderCamera() is not a function, array, list...etc
the new PB version 5.30 is almost on the doors i hope you may update the installer to support pb v5.30. thanks
Re: MP3D Engine Alpha 32
Posted: Tue Jul 15, 2014 10:33 pm
by coco2
I also had trouble with the installer crashing and couldnt work it out and gave up but didn't want to be a downer so didnt mention it

Re: MP3D Engine Alpha 32
Posted: Wed Jul 16, 2014 9:34 am
by Psychophanta
That's why i asked for a no auto-install version, but no listened
As i wrote:
Installers, all of them, are crappy, because it operate without the knowledge of the user!

Re: MP3D Engine Alpha 32
Posted: Fri Jul 18, 2014 2:03 am
by Mythros
@mpz: Hi, any updates lately?
Thanks alot!
Mythros
Re: MP3D Engine Alpha 32
Posted: Fri Jul 18, 2014 10:47 am
by mpz
Hi to all,
in the last time my real-live was very heavy and i had no much time for my hobby. I hope i will have more time in the summer...
@Mythos, no new version for now but some new ideas for the next steps
@Psychophanta
Her comes the manualy installation, i hope these informations helps:
@coco2, Do you use the Installer for Beta MP33 and Purbeasic 5.11 and 522)
http://www.flasharts.de/mpz/mp33_beta/M ... taller.exe
and what for a problem do you have?
@applePi, i have teste all libs and they works. Please delete the mp3d_library manually and use the installer again. If the PB3.0 is out i make the mp33 lib for these too.
I hope i could help a little bit and have mor time in 1-2 Weeks...
Greetings Michael
Re: MP3D Engine Alpha 32
Posted: Fri Jul 18, 2014 12:15 pm
by Psychophanta
@mpz Some files you wrote are not found.
Disregarding some facts of general installer packages, the MP3D one doesn't work here also (clean WinXP 32bit).
Re: MP3D Engine Alpha 32
Posted: Fri Jul 18, 2014 5:43 pm
by mpz
Hi,
@Psychophanta
i have checked the files and repaired it, sorry
I have tested the "pb522_32/MP3D_Library.zip" with pb522 32bit and pb530beta7 32bit with Win7 and Win8. What kind of problems do you have with Windows XP?!?
Greetings Michael
Re: MP3D Engine Alpha 32
Posted: Fri Jul 18, 2014 8:52 pm
by Psychophanta

MP3D_library is not updated, it creates 'Purebasic5.00Help' directory outside of 'Purebasic5.00' one, and some other funny things...
Re: MP3D Engine Alpha 32
Posted: Fri Jul 18, 2014 9:33 pm
by mpz
Hi,
in the "...Purebasic5.00" folder is the "\" missing. If you write the correct folder inside it works fine.
In Windows 7 it calls
"C:\Program Files (x86)\PureBasic\"
find the corrcet folder or write it in the installer sourcecode:
PurebasicHome = "c:\archivos de programa\Purebasic\"
then it works fine
P.S: it is not an error of the installer i think the
Code: Select all
Debug GetEnvironmentVariable("PUREBASIC_HOME")
brings a wrong information
Greetings Michael
Re: MP3D Engine Alpha 32
Posted: Fri Jul 18, 2014 9:41 pm
by Mythros
Hi guys. Since version 0.2 was updated by me, I wanted to let you all know that I am currently upgrading the Updater to V.0.3 which will now include PB 5.30 (beta 6) which for NOW, will be the most recent release of MP3D, which was MP33 32 Bit / 64 Bit, it will remain this way until MPZ releases an ACTUAL V.5.30 Beta 6 Zip file in both 32 Bit / 64 Bit / Unicode / Threadsafe modes.
The release will be ready in a few days or so!
Sorry for any inconvenience(s) this may have you caused you.
Thanks again!
Sincerely,
Mythros
Re: MP3D Engine Alpha 32
Posted: Sat Jul 19, 2014 12:28 pm
by Psychophanta
mpz wrote:Hi,
in the "...Purebasic5.00" folder is the "\" missing. If you write the correct folder inside it works fine.
In Windows 7 it calls
"C:\Program Files (x86)\PureBasic\"
find the corrcet folder or write it in the installer sourcecode:
PurebasicHome = "c:\archivos de programa\Purebasic\"
then it works fine
P.S: it is not an error of the installer i think the
Code: Select all
Debug GetEnvironmentVariable("PUREBASIC_HOME")
brings a wrong information
Greetings Michael
Sorry Michael, but sincerely, after read carefully, the only thing to think about this explanation is you are trying to poke fun, or i missunderstand it.
Code: Select all
Debug GetEnvironmentVariable("PUREBASIC_HOME")
retuns:
C:\Archivos de programa\PureBasic5.00\
, which is perfecly correct,
at the time the installer returns by default:
C:\Archivos de programa\PureBasic