MP3D Engine Alpha 33

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: MP3D Engine Alpha 28

Post by IceSoft »

Please deliver these features = alpha 29?
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
mpz
Enthusiast
Enthusiast
Posts: 497
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: MP3D Engine Alpha 28

Post by mpz »

Yes,

alpha 29 will have the most of the XNA Tutorials an much more ;)

Greetings Michael
Working on - MP3D Library - PB 5.73 version ready for download
User avatar
PureLeo
Enthusiast
Enthusiast
Posts: 221
Joined: Fri Jan 29, 2010 1:05 pm
Location: Brazil

Re: MP3D Engine Alpha 28

Post by PureLeo »

I'm getting a 'Compiler Error' when I try to compile any of the examples...
Duplicated library command: EP_2DSpritesDraw() (in libraries EpyxLib_4 and MP3D_Library).
mpz
Enthusiast
Enthusiast
Posts: 497
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: MP3D Engine Alpha 28

Post by mpz »

Dear Pureleon,

the error messag say everything you need:

Duplicated library command means that you use two librray with the same command names. If you delete the EpyxLib_4 library , restart Puerbasic the mp3d works fine...

Greetings Michael
Working on - MP3D Library - PB 5.73 version ready for download
User avatar
PureLeo
Enthusiast
Enthusiast
Posts: 221
Joined: Fri Jan 29, 2010 1:05 pm
Location: Brazil

Re: MP3D Engine Alpha 28

Post by PureLeo »

Edited:
Nevermind, I've found EpyxLib_4 and deleted it and now everything works fine. MP3D is awesome :)
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Re: MP3D Engine Alpha 28

Post by Joakim Christiansen »

I just tested this and I really like it!
The performance is much better than what I was able to achieve with OGRE, thank you!
Please continue the good work! :D

Features I want at this moment:
Shadows

And the statement:
To make 2D and 3d games and application without using a external dll file
Is kinda false because I needed to download D3DX9_38.dll and place it in my System32 directory.
Not a problem though!
I like logic, hence I dislike humans but love computers.
User avatar
grapy
User
User
Posts: 31
Joined: Sat Sep 06, 2003 9:32 am

Re: MP3D Engine Alpha 28

Post by grapy »

Is kinda false because I needed to download D3DX9_38.dll and place it in my System32 directory.
Not a problem though!
No, i think it isn't false. Because, if you want to play with DirectX, you have to install it and not only copy a DLL.
http://www.microsoft.com/downloads/en/d ... 6652cd92a3
It's the same like:
If you want to hear sound, you install the driver for the Soundcard. You don't copy one DLL in system32 to hear the sound.
And if you want to see 3D in Windows you have to install DirectX. Thats all.

grapy :mrgreen:
X
Enthusiast
Enthusiast
Posts: 311
Joined: Tue Apr 04, 2006 6:27 am

Re: MP3D Engine Alpha 28

Post by X »

I must be missing something. Most of the games on my windows 7 machine requires directx. I did not need to install (and the game installers did not install) directx as it came with my OS, and updates come through the windows update.

Are you saying that people have no need to distribute that dll with their applications? Said applications/games should check if directX is installed, and if not, notify user to install directx?
User avatar
grapy
User
User
Posts: 31
Joined: Sat Sep 06, 2003 9:32 am

Re: MP3D Engine Alpha 28

Post by grapy »

Most Games I play are installing the newest DirectX before installing the Game too.
But we don't have a Game here. We are programmers! Or, aren't we?
If we want to mess around with DirectX 9c, we've to install the latest version.
http://www.microsoft.com/downloads/en/d ... 6652cd92a3
I think that's logic ^^

grapy :mrgreen:
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Re: MP3D Engine Alpha 28

Post by Joakim Christiansen »

grapy wrote:
Is kinda false because I needed to download D3DX9_38.dll and place it in my System32 directory.
Not a problem though!
No, i think it isn't false. Because, if you want to play with DirectX, you have to install it and not only copy a DLL.
I had DirectX 9.0c on my system but needed this DLL.
Are you saying that it didn't work for me after copying the DLL? :P

The fact is that many users needs this DLL for it to work even if they have DirectX 9.0c installed on their systems.
Here is a list of versions:
http://en.wikipedia.org/wiki/DirectX#Releases
Mine is 4.09.00.0904 (run dxdiag), I wonder what versions it is that will not need D3DX9_38.dll? Must be included in some later update I guess.
I like logic, hence I dislike humans but love computers.
mpz
Enthusiast
Enthusiast
Posts: 497
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: MP3D Engine Alpha 28

Post by mpz »

Hello,

i have heard about this problem before. For dx9 you need the file D3DX9.dll and the file D3DX9_38.dll ist the variation 38 but "only" a variation of the D3DX9.dll file. If i look in my system32 folder i find D3DX9_37.dll, D3DX9_38.dll, D3DX9_39.dll to D3DX9_42.dll. I think if you install the dx9 updates you get the newer versions of D3DX9.dll and D3DX9_38.dll too. For my mp3d lib i use the PureLibraries\Windows\Libraries\d3dx9.lib from 30.5.2008 and this lib need the D3DX9_38.dll file. It is also possible to use an older d3dx9.lib, but some function are important for the future. I can put the D3DX9_38.dll in the next version of mp3d and everybody ist happy :)

Sorry for the confusion

greetings Michael
Working on - MP3D Library - PB 5.73 version ready for download
User avatar
grapy
User
User
Posts: 31
Joined: Sat Sep 06, 2003 9:32 am

Re: MP3D Engine Alpha 28

Post by grapy »

This is all you need. Any version of DirectX 9c included.
http://www.microsoft.com/downloads/en/d ... 6652cd92a3
Install it an be happy ;-) I don't see any problems.

greetings grapy :mrgreen: :mrgreen: :mrgreen:
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Re: MP3D Engine Alpha 28

Post by Joakim Christiansen »

I would say that pitch, yaw and roll are wrongly named in some functions (from my point of view):
MP_TurnCamera(Cam,pitch.f,yaw.f,roll.f)
But this gives me wanted result:
MP_TurnCamera(camera,mouseX/5,0,-mouseY/5)
mouseX should control the yaw while mouseY should control the pitch?
http://en.wikipedia.org/wiki/Flight_dyn ... ircraft%29
I like logic, hence I dislike humans but love computers.
PMV
Enthusiast
Enthusiast
Posts: 727
Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany

Re: MP3D Engine Alpha 28

Post by PMV »

mpz wrote:Hello,

i have heard about this problem before. For dx9 you need the file D3DX9.dll and the file D3DX9_38.dll ist the variation 38 but "only" a variation of the D3DX9.dll file. If i look in my system32 folder i find D3DX9_37.dll, D3DX9_38.dll, D3DX9_39.dll to D3DX9_42.dll. I think if you install the dx9 updates you get the newer versions of D3DX9.dll and D3DX9_38.dll too. For my mp3d lib i use the PureLibraries\Windows\Libraries\d3dx9.lib from 30.5.2008 and this lib need the D3DX9_38.dll file. It is also possible to use an older d3dx9.lib, but some function are important for the future. I can put the D3DX9_38.dll in the next version of mp3d and everybody ist happy :)

Sorry for the confusion

greetings Michael
No need. Like grapy wrote: This setup installs all needed DLLs. I use always
this web-installer and i does not have any problems. For future compatibility,
you should provide the information and link to the DX9 web-installer. :)

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

Re: MP3D Engine Alpha 28

Post by mpz »

Hello,

@Joakim Christiansen
I would say that pitch, yaw and roll are wrongly named in some functions (from my point of view):
MP_TurnCamera(Cam,pitch.f,yaw.f,roll.f)
i think you're right, i have a confusion between yaw and roll. I will change it in the next version and i must check all demo files for this...

Greetings
Michael
Working on - MP3D Library - PB 5.73 version ready for download
Post Reply