MP3D Engine Alpha 33

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
mpz
Enthusiast
Enthusiast
Posts: 497
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: MP3D Engine Alpha 32

Post 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
Last edited by mpz on Mon Jun 30, 2014 9:38 am, edited 2 times in total.
Working on - MP3D Library - PB 5.73 version ready for download
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: MP3D Engine Alpha 32

Post by Psychophanta »

Thanks Michael.
Please add a raw (no installer) package.
:)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Mythros
Enthusiast
Enthusiast
Posts: 306
Joined: Mon Aug 19, 2013 3:28 pm

Re: MP3D Engine Alpha 32

Post by Mythros »

Hello, @mpz ^_^ Any new updates lately?

Thanks buddy! :)

Mythros
Mythros
Enthusiast
Enthusiast
Posts: 306
Joined: Mon Aug 19, 2013 3:28 pm

Re: MP3D Engine Alpha 32

Post by Mythros »

@Mpz: Haven't heard from you in a while. Any updates lately? =)

Thanks alot!

Sincerely,

Mythros
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: MP3D Engine Alpha 32

Post 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
coco2
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Nov 25, 2013 5:38 am
Location: Australia

Re: MP3D Engine Alpha 32

Post 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 :)
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: MP3D Engine Alpha 32

Post 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! 8)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Mythros
Enthusiast
Enthusiast
Posts: 306
Joined: Mon Aug 19, 2013 3:28 pm

Re: MP3D Engine Alpha 32

Post by Mythros »

@mpz: Hi, any updates lately? :)

Thanks alot!

Mythros
mpz
Enthusiast
Enthusiast
Posts: 497
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: MP3D Engine Alpha 32

Post 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:
PB 511 32Bit Lib
http://www.flasharts.de/mpz/mp33_beta/d ... ibrary.zip

PB 511 64Bit Lib
http://www.flasharts.de/mpz/mp33_beta/d ... ibrary.zip

PB 522 32Bit Lib
http://www.flasharts.de/mpz/mp33_beta/d ... ibrary.zip

PB 522 64Bit Lib
http://www.flasharts.de/mpz/mp33_beta/d ... ibrary.zip

* Please unzip the file an copy it in the "PureBasic\SubSystems\dx9\" folder

Help
http://www.flasharts.de/mpz/mp33_beta/H ... ibrary.chm

* copy it in the "PureBasic\Help" folder

lib for 32 Bit Purebasic
http://www.flasharts.de/mpz/mp33_beta/lib32/Lib32.zip

* Please unzip the file an copy it in the "PureBasic\PureLibraries\Windows\Libraries" folder

lib for 64 Bit Purebasic
http://www.flasharts.de/mpz/mp33_beta/lib64/Lib64.zip

* Please unzip the file an copy it in the "PureBasic\PureLibraries\Windows\Libraries" folder

Examples
http://www.flasharts.de/mpz/mp33_beta/E ... _Demos.zip

* Please unzip the file an copy it in the "PureBasic\Examples\MP3D Demos" folder
@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
Last edited by mpz on Fri Jul 18, 2014 5:45 pm, edited 2 times in total.
Working on - MP3D Library - PB 5.73 version ready for download
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: MP3D Engine Alpha 32

Post 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).
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
mpz
Enthusiast
Enthusiast
Posts: 497
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: MP3D Engine Alpha 32

Post 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
Working on - MP3D Library - PB 5.73 version ready for download
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: MP3D Engine Alpha 32

Post by Psychophanta »

Image
MP3D_library is not updated, it creates 'Purebasic5.00Help' directory outside of 'Purebasic5.00' one, and some other funny things...
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
mpz
Enthusiast
Enthusiast
Posts: 497
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: MP3D Engine Alpha 32

Post 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
Working on - MP3D Library - PB 5.73 version ready for download
Mythros
Enthusiast
Enthusiast
Posts: 306
Joined: Mon Aug 19, 2013 3:28 pm

Re: MP3D Engine Alpha 32

Post 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
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: MP3D Engine Alpha 32

Post 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
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply