MP3D Engine Alpha 33
Re: MP3D Engine Alpha 31
Windows 8 64 bit no support ? -.-
Re: MP3D Engine Alpha 31
Works on my Win8 Ent X64
Regards
Sveinung
Regards
Sveinung
Re: MP3D Engine Alpha 31
Hi to all, I don't get to do such a simple thing, how to open a window from another window. Works only one time.
Code: Select all
OpenWindow(1,0,0,640,480,"window",#PB_Window_SystemMenu)
Repeat
Event = WaitWindowEvent()
If Event=#WM_LBUTTONUP: EventID=0: Gosub OpenMp: EndIf
Until Event = #PB_Event_CloseWindow
End
OpenMp :
MP_Graphics3DWindow (0,0,640,480,"MP3D_32",#PB_Window_ScreenCentered | #PB_Window_SystemMenu)
camera=MP_CreateCamera(): light=MP_CreateLight(1)
Mesh=MP_CreateCube(): MP_PositionEntity (Mesh,0,0,3)
While Not EventID = #PB_Event_CloseWindow
EventID = WindowEvent()
MP_TurnEntity (Mesh,0.1,0.1,0.1)
MP_RenderWorld(): MP_Flip ()
Wend
MP_Close(): CloseWindow(0)
Return
'Happiness for everybody, free, and no one will go away unsatisfied!'
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
Re: MP3D Engine Alpha 31
Hi AndyLy, you can use this:
instead of
Code: Select all
OpenWindow(0,0,0,640,480,"MP3D_32",#PB_Window_ScreenCentered | #PB_Window_SystemMenu): MP_ScreenToHandle(WindowID(0))
Code: Select all
MP_Graphics3DWindow (0,0,640,480,"MP3D_32",#PB_Window_ScreenCentered | #PB_Window_SystemMenu)
'Happiness for everybody, free, and no one will go away unsatisfied!'
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
Re: MP3D Engine Alpha 31
Oh, thank you, it works! You're so smart AndyLy.
'Happiness for everybody, free, and no one will go away unsatisfied!'
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: MP3D Engine Alpha 31
Dreamotion 3D is very good to me, but there are no support. So i would like to test this one.
Is this engine still active?
Is this engine still active?
Re: MP3D Engine Alpha 31
Yes it is
Sveinung

Sveinung
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: MP3D Engine Alpha 31
1) In a first approach, i notice a big slower respect DM3D, not measured, but i guess at least twice slower.
2) I miss a useful thing: pivots. Is not there in MP3D?
3) I need to know everytime these 3 vectors in order to work feely with a 3D engine:
( *camera\rightAxis\x , *camera\rightAxis\y , *camera\rightAxis\z )
( *camera\upAxis\x , *camera\upAxis\y , *camera\upAxis\z )
( *camera\lookAxis\x , *camera\lookAxis\y , *camera\lookAxis\z )
Every of them has a modulo of 1.0
Where are them in MP3D?
2) I miss a useful thing: pivots. Is not there in MP3D?
3) I need to know everytime these 3 vectors in order to work feely with a 3D engine:
( *camera\rightAxis\x , *camera\rightAxis\y , *camera\rightAxis\z )
( *camera\upAxis\x , *camera\upAxis\y , *camera\upAxis\z )
( *camera\lookAxis\x , *camera\lookAxis\y , *camera\lookAxis\z )
Every of them has a modulo of 1.0
Where are them in MP3D?
Re: MP3D Engine Alpha 31
I will try to answer thees questions as best I can. Remeber that I'm not the developer here 
MPZ will for sure answer thees to
1) The engine is pritty fast. I have tested this with a realtime mesh deform. Works fine
2) Nope, no pivot. I use invisible cubs as pivots.
3) Camera commands:
- MP_PositionCamera(Cam, x.f, y.f, z.f)
- MP_RotateCamera(Cam, pitch.f, yaw.f, roll.f)
- MP_CameraLookAt(Cam,x.f,y.f,z.f)
Hope this helps you. MP3D works very well with PB 5.10 even.
Good luck and have fun with this.
Regards
Sveinung

MPZ will for sure answer thees to

1) The engine is pritty fast. I have tested this with a realtime mesh deform. Works fine

2) Nope, no pivot. I use invisible cubs as pivots.
3) Camera commands:
- MP_PositionCamera(Cam, x.f, y.f, z.f)
- MP_RotateCamera(Cam, pitch.f, yaw.f, roll.f)
- MP_CameraLookAt(Cam,x.f,y.f,z.f)
Hope this helps you. MP3D works very well with PB 5.10 even.
Good luck and have fun with this.
Regards
Sveinung
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: MP3D Engine Alpha 31
Fabulous lib! - found it when searching for the latest news of the Irrlicht wrapper.
Enhancement request (for use in engineering apps): Doubles instead of Floats for all Mesh related geometry functions including transforms and scaling.
Enhancement request (for use in engineering apps): Doubles instead of Floats for all Mesh related geometry functions including transforms and scaling.

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: MP3D Engine Alpha 31
Hi Mpz!
MP_Close() crashes if I use MP_CopyEntity() in code.
Suppose, MP_Close() do something like that:
ForEach EntityList(): MP_FreeEntity(): Next
, and got error with Entity with same Id.
MP_Close() crashes if I use MP_CopyEntity() in code.
Suppose, MP_Close() do something like that:
ForEach EntityList(): MP_FreeEntity(): Next
, and got error with Entity with same Id.
'Happiness for everybody, free, and no one will go away unsatisfied!'
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: MP3D Engine Alpha 31
1) Have you tested DM3D speed? else, you can not compare.Sveinung wrote:I will try to answer thees questions as best I can. Remeber that I'm not the developer here
MPZ will for sure answer thees to![]()
1) The engine is pritty fast. I have tested this with a realtime mesh deform. Works fine
2) Nope, no pivot. I use invisible cubs as pivots.
3) Camera commands:
- MP_PositionCamera(Cam, x.f, y.f, z.f)
- MP_RotateCamera(Cam, pitch.f, yaw.f, roll.f)
- MP_CameraLookAt(Cam,x.f,y.f,z.f)
Hope this helps you. MP3D works very well with PB 5.10 even.
Good luck and have fun with this.
Regards
Sveinung
2) Oh! can not work without pivots!

3) Those camera commands are to Set , not to Get info from it.
Re: MP3D Engine Alpha 31
1. No comments.
2. MP3D have 2 physic engines. I haven't used it, but maybe there's something to find.
3. For more information, contact the camera as to the Entity:
MP_EntityGetYaw(camera): MP_EntityGetPitch(camera): MP_EntityGetRoll(camera)
and MP_CameraGetZ(Cam): MP_CameraGetX(Cam): MP_CameraGetY(Cam)
2. MP3D have 2 physic engines. I haven't used it, but maybe there's something to find.
3. For more information, contact the camera as to the Entity:
MP_EntityGetYaw(camera): MP_EntityGetPitch(camera): MP_EntityGetRoll(camera)
and MP_CameraGetZ(Cam): MP_CameraGetX(Cam): MP_CameraGetY(Cam)
'Happiness for everybody, free, and no one will go away unsatisfied!'
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: MP3D Engine Alpha 31
3) Those first 3 commands returns angle values, not vectors of direction. There can be calculated the 3 direction unit vectors from those angles, but why to calculate it and loose CPU time when Direct3D has it every time inside?AndyLy wrote:1. No comments.
2. MP3D have 2 physic engines. I haven't used it, but maybe there's something to find.
3. For more information, contact the camera as to the Entity:
MP_EntityGetYaw(camera): MP_EntityGetPitch(camera): MP_EntityGetRoll(camera)
and MP_CameraGetZ(Cam): MP_CameraGetX(Cam): MP_CameraGetY(Cam)
Those last 3 commands are for position , not inclination.
And by the way, i find incoherence everywhere in this lib, for example if there are:
MP_EntityGetX/Y/Z(Entity [, Var])
Why to have another for camera?
camera inherits everything fo Entity
