Seite 17 von 22

Re: MP3D Alpha 32

Verfasst: 24.06.2013 21:33
von mpz
Update auf Alpha 32

Works only with PB 4.61 (x86) or higher

* Einige neue Updates und Demos
* Neue Programmerweiterungen
* Neue Movie Befehle
* Neue 3d Physic Befehle
* Orthoview für Kamera
* Neue parent <-> kid Funktionen
* Primitives Erweiterungen

Installer for the x86 only version
http://www.flasharts.de/mpz/Install_MP3D_32_x86.exe

Installer for the x64 only version
http://www.flasharts.de/mpz/Install_MP3D_32_x64.exe

the Threadsafe only lib for x86, Please replace the original MP3D_Library lib manually
http://www.flasharts.de/mpz/Threadsafe/MP3D_Library

1) New command: MP_MouseButtonHit(Button) ; Is Mouse button (button) is pressed and released). Wurde der Mausknopf gedrückt und losgelassen?
2) command repaired: MP_ImageToTexture(); Memory leak solved. Speicherfehler des Befehls repariert
3) New command: MP_ParticleEmitterStartTime(Entity, StartTime.f); Wait before ParticleEmitter starts. Wartet mit dem Starten des Emmiters
4) New command: MP_KillParticleEmitter(Entity, MaxParticle) ; killed ParticleEmitter after MaxParticle; Löscht Partikelemitter nach Anzahl der MaxParticle
5) New command: MP_MovieInit (Avifile.s) ; Load AVI file . Lädt Avi Datei
6) New command: MP_MovieToTexture ( Movie, Texture, Frame ) ; Create a Texture from a movie frame; erzeugt eine Texture aus einem Film Frame
7) New command: MP_CloseMovie( Movie ) ; Close movie ; Schließt film
8) New command: MP_MovieNumFrames ( Movie ) ; count of movie frames; Anzahl der Frames eines Films
9) New command: MP_MovieWidth ( Movie ) ; Movie width: Film Breite
10) New command: MP_MovieHeight ( Movie ) ; Movie height; Filmhöhe
11) command fixed: problems with MinTime.f, MaxTime.f and OneshotEmitter solved; MinTime.f, MaxTime.f Problem mit OneShotemitter gelöst
12) command fixed: MP_MeshCulling(Mesh,1) memoryleak solved, Speicherfehler gelöst
13) command fixed: MP_ScreenToHandle(hwnd) problem with DrawText solved, Fehelr mit Drawtext behoben
14) problem with "old" particle Emmmiter solved, they did not send particles
15) new functions: particle Emmmiter has now 48 partice, 24 and the next 24 particle with halve size
16) problem between the particle and sprite render sequence solved
17) New command: MP_Close() ; closed the mp3d Engine and deleted all resources
17a) New command: MP_Close() ; problem with MP_copyentity() solved
18) New command: MP_ParticleVarSize(Entity, Size.f) ; change the particle size over the particle livetime
19) delete command: MP_EntityComputeNormals (Entity) ; same function like MP_EntitySetNormals() ; doppelter Befehl
20) command fixed: MP_EntitySetVelocity (Entity, xVelocity.f , yVelocity.f ,zVelocity.f(,VelocityVar.f)) ; works now with MeshPhysics
21) New command: MP_EntityGetVelocity (Entity , *vVector.D3DXVECTOR3) ; read velocity as 3dvector
22) New command: MP_EntitySetOmega(Entity, xOmega.f , yOmega.f ,zOmega.f) ; set angular velocity of Entity, setzt globale Winkelgeschwindigkeit des Entity
23) New command: MP_EntityGetOmega (Entity , *vVector.D3DXVECTOR3) ; read angular velocity of Entity, Ließt die globale Winkelgeschwindigkeit
24) Important changing! the Pitch and Yaw function is changed. Now it is like in other 3d languages: MP_EntityGetPitch(Entity), MP_EntityGetYaw (Entity),
MP_RotateEntity (Entity, pitch.f, yaw.f, roll.f) and MP_TurnEntity (Entity, pitch.f, yaw.f, roll.f)
25) command fixed: MP_PositionEntity (Entity,x.f,y.f,z.f) was not correct working for animmesh
26) command fixed: MP_LoadAnimmesh(file.s) could load a anim mesh from a subdirectory with texture
27) new options: MP_TurnEntity (Entity,x.f,y.f,z.f[,Flag]) ; new flag to turn the Mesh locale, Flag = 1
28) new options: MP_RotateEntity (Entity,x.f,y.f,z.f[,Flag]) ; new flag to turn the Mesh locale, Flag = 1
29) command fixed: MP_TerrainGetY (Entity,x.f,y.f,z.f); the position output was wrong, fixed
30) New command: MP_AddUVtoEntity (Entity [, Flag]) ; Add a new UV Texture level on a mesh, (Entity is Mesh, flag for more UV Texture level)
31) new options: MP_VertexGetU (Entity, index[, flag]),MP_VertexGetV (Entity, index[, flag]),MP_VertexSetU(Entity, index, u.f[, flag]),MP_VertexSetV(Entity, index, v.f[, flag]); new flag for the UV Texture level
32) New command: MP_ParticleBlendingMode (Entity, Source, Destination ) ; change the Blendmode to create dark particle, ändert den Blending Mode eines Particleemitters
33) command changed: MP_CreatePrimitives (VertexCount, Modus) ; VertexCount was limited to 1000, now there are no limit anymore
34) new functions: MP_HideEntity (Entity, Bool); works now for Mesh and Primitives
35) New command: MP_PrimitivesSetParent (Entity, Parent [,free]) ; Set Parent for Primitives
36) New command: MP_PrimitivesGetParent (Entity) ; get Parent for Primitives
37) new functions: MP_VSync(Var) ; Parameter = 3 move the objects regardless from the frame rate, Paramter = 4 deactivate its (standard function)
38) delete command: MP_MeshSetParent (Entity, Parent[, free]) and MP_PrimitivesSetParent (Entity, Parent[, free])
39) New command: MP_EntitySetParent (Entity, Parent,[free]); replace commands 38) mix with mesh and Primitives possible
40) delete command: MP_MeshGetParent (Entity) and MP_PrimitivesGetParent (Entity)
41) New command: MP_EntityGetParent (Entity) ; replace commands 40)
42) new functions: MP_CreateCamera([Flag.f]) if flag = orthographic view mode activated, flag.f is the parameter of the size of the view
43) new functions: MP_SetPrimitives(Entity, Vertex, x.f, y.f, z.f, Color [,Size.f]) ; Size.f, change the size of PointPrimitives
44) New command: MP_PrimitivesBlendingMode(Entity, Source, Destination ) ; change the Blendmode of a Primitives , ändert den Blending Mode eines Primitives
45) new functions: MP_EntitySetTexture (Entity, Texture[, Position[, Material]]) , works now Primitives too, funktioniert jetzt auch mit Primitives
46) new functions: MP_CameraSetPerspective(Cam, Grad.f [, Aspect.f]); for a orthographic camera Grad is the size of the view
47) new functions: MP_CreatePrimitives(VertexCount, Modus), Modus = 1 NOT sizeable Point Mode, Mode = 7 Sizeable Pointmode
48) New command: MP_EntitySetZEnable (Entity,0) ; Set the Z buffering Methode of DX9; Entity is Pointmesh, Mesh, Animmesh and Particelemmiter
49) rename command: MP_AdressOf(Var) to MP_AddressOf(Var)
50) command changed:MP_EntityAddImpulse(Entity,pointDeltaVelocX.f,pointDeltaVelocY.f ,pointDeltaVelocZ.f[, pointPositX.f, pointPositY.f,pointPositZ.f]). position of entity now as addon parameter
51) 5 New commands: MP_ExamineScreenModes(), MP_NextScreenMode(), MP_ScreenModeWidth(),MP_ScreenModeHeight(),MP_ScreenModeDepth(),MP_ScreenModeRef?reshRate(). you can check now the possible screen modes
52) Rename commands: MP_RenderPartikel to MP_RenderParticle, MP_EntitySetEffekt to MP_EntitySetEffect, MP_ScreenshotToTextur to MP_ScreenshotToTexture, MP_2DPhysicCollissionInit to MP_2DPhysicCollisionInit and MP_CreateRetangle() to MP_CreateRectangle()
53) commands optimised: i have rewritten the Movie commands, now they are over 4 times faster
54) change command name: rename MP_SetAntiAlaising() to MP_SetAntialiasing()
55) new command: MP_SetShadowEpsilon(Var.f) ; with shadow epsilon offset you can reduce the light bleeding effect of the shadow.
56) new command: MP_LoadPrimitives (File.s) ; Load a Primitives as file.
57) new command: MP_CatchPrimitives (Memory , SizeOfMemory ) ; Load a Primitives from memory
58) new command: MP_SavePrimitives (Entity, File.s) ; Save a Primitives as file
59) command optimised MP_SetAntialiasing(), 2d function not working with Antialiasing, rewritten 2d commands, now it works
58) new command: MP_ChangePhysikHull(Mesh, Typ); If you change the size or vertex coord of a mesh you can change on the fly the Physic body too...

Ich hoffe die Installer funktionieren, konnte es nur kurz aus Zeitgründen testen

Gruß Michael

Re: MP3D Alpha 32

Verfasst: 05.09.2013 22:51
von nathan7
Sehr schönes Teil....

Re: MP3D Alpha 32

Verfasst: 19.09.2013 20:51
von Abraham0607
Ich würde es echt gerne ausprobieren, bekomme es aber iwie nicht zum laufen :(

Wenn ich die Demos starte, kommt immer die Fehlermeldung: "Das folgende Subsystem konnte nicht gefunden werden: dx9"

DirectX 9 habe ich installiert und im "Purebasic\SubSystems" Ordner ist auch ein Ordner "DX9"

Würde mich echt freuen MP3D auszuprobieren, da ich mit Ogre nicht so klargekommen bin (Format...).
Danke im Vorraus.

Re: MP3D Alpha 32

Verfasst: 19.09.2013 22:37
von DrShrek
Jetzt noch DX9 in den Feld SubSystem eingeben (bei den Compiler Settings) und schon rennt die Lutzi

Re: MP3D Alpha 32

Verfasst: 20.09.2013 15:40
von Abraham0607
Kommt immernoch die gleiche Meldung :/

Re: MP3D Alpha 32

Verfasst: 20.09.2013 16:09
von DrShrek
Installiere das MP3D am besten nochmal.

Re: MP3D Alpha 32

Verfasst: 20.09.2013 16:10
von Drago
Hallo....

So habe ich es bei mir und bei mir funktioniert es...



D3dx9d_43.dll kommt in diesen Ordner:
C:\Programme\PureBasic4.61\SubSystems\DX9\purelibraries\userlibraries

MP3D_Library kommt dahin:
C:\Programme\PureBasic4.61\PureLibraries\UserLibraries


Ansonsten kannst du die D3dx9d_43.dll in den Ordner kopieren, wo du das Demo drinnen startest.

Lg Klaus

Re: MP3D Alpha 32

Verfasst: 30.09.2013 10:58
von N_Gnom
musste betreffs der neuen mp3d.lib bisschen rumhantieren, läuft aber jetzt...
tolles teil...

Re: MP3D Alpha 32

Verfasst: 05.11.2013 16:21
von Coder Pinhead
Der Installer von MP3D ist nicht mit Windows 8 Kompatibel ich bekomme dort immer die Fehlermeldung "Your Operating System is not supported." Abhilfe schafft der Kompatibilität Modus von Windows oder ein Entpacker wäre schön wenn Windows 8 von vornherein akzeptiert würde.

Re: MP3D Alpha 32

Verfasst: 19.11.2013 11:34
von mpz
Hi,

ein neues Update wollte ich schon längst fertig stellen, aber immer wieder kamen neue Funktionen rein. Ich werde versuchen es an diesem oder am nächsten Wochenende fertig zu machen.

Gruß Michael