Page 68 of 71

Re: MP3D Engine Alpha 32

Posted: Sun Dec 11, 2016 2:39 pm
by Psychophanta
Hi Michael,

I don't know if you are aware of this forum, but just in case I post this new 'bug' or issue for your knowledge.

Please look at this tip.
I use a parent mesh for the camera, and I turn it using RMB , so the camera orbitates around it and everytime pointing to it.
The problem is the picking feature; as you can see, after you orbitate the camera around, the picking feature is not accurate, because the camera believes it is always pointing to frontal global coords due it is attached to its parent mesh (pivotcam).

Code: Select all

WindowWidth=640:WindowHeigh=480
MP_Graphics3D(WindowWidth,WindowHeigh,0,2)
ViewPortX=30:ViewPortY=60:ViewPortWidth=600:ViewPortHeigh=400
light=MP_CreateLight(1)
MP_CreateCube()
cam=MP_CreateCamera():pivotcam=MP_CreateMesh():MP_EntitySetParent(cam,pivotcam,0):MP_EntitySetZ(cam,-2);  <---------  create a camera and attach it to a pivot entity
ViewPort=MP_CameraViewPort(cam,ViewPortX,ViewPortY,ViewPortWidth,ViewPortHeigh,$008B340A)
MP_CameraSetPerspective(cam,45,ViewPortWidth/ViewPortHeigh)
While WindowEvent()<>#PB_Event_CloseWindow
  mdx.f=MP_MouseDeltaX()/200:mdy.f=MP_MouseDeltaY()/200
  If MP_MouseButtonDown(1)
    MP_TurnEntity(pivotcam,mdy*60,mdx*60,0,0);   <------------------  I turn the pivot so the camera orbitates around it
  EndIf
  picked=MP_PickCamera(cam,WindowMouseX(0),WindowMouseY(0)):If picked:MP_Wireframe(1):Else:MP_Wireframe(0):EndIf
  MP_DrawText(300,60,Hex(picked)+" found. Distance: "+StrF(MP_PickedGetDistance(),4))
  MP_RenderWorld()
  MP_Flip()
Wend

MP_InitForceFeedBack() crashes

Posted: Mon Dec 26, 2016 10:36 pm
by Psychophanta
1.- MP_InitForceFeedBack() function crashes the flux of the program, trying to read at address 0.
2.- MP_JoystickSlider() parameter is ignored.

Re: MP3D Engine Alpha 32

Posted: Thu Jul 19, 2018 10:22 am
by IceSoft
Last edited by mpz on Sat Aug 13, 2016 23:34, edited 22 times in total.
Also the mp3d forum is unavailable:
Is it dead? :(

Re: MP3D Engine Alpha 32

Posted: Thu Jul 19, 2018 3:22 pm
by Psychophanta
Thanks for bump here. I still wait for Michael to fix small issues i related.

Re: MP3D Engine Alpha 32

Posted: Fri Jul 20, 2018 7:30 am
by Rings
IceSoft wrote:
Last edited by mpz on Sat Aug 13, 2016 23:34, edited 22 times in total.
Also the mp3d forum is unavailable:
Is it dead? :(
seems so, last visit of this forum from mpz: was Sun Aug 14, 2016 00:43

another closed lib passsing away ...

Re: MP3D Engine Alpha 32

Posted: Fri Feb 08, 2019 1:45 pm
by Aleks_Longard
Hi all!
Who can share the latest version of MP3D x64 / x86?

Thanks in advance!

Re: MP3D Engine Alpha 32

Posted: Fri Feb 08, 2019 5:56 pm
by Psychophanta
Aleks_Longard wrote:Hi all!
Who can share the latest version of MP3D x64 / x86?

Thanks in advance!
https://mega.nz/#!4spCRCoA!wuvhnXRXZbVG ... iSPNI7XxKk

Re: MP3D Engine Alpha 32

Posted: Sat Feb 09, 2019 9:37 am
by Aleks_Longard
Psychophanta
Very big thanks!!!

Re: MP3D Engine Alpha 32

Posted: Sat Feb 09, 2019 11:00 am
by Psychophanta
Thanks to you.
MP3D is useful and complete pack to perform high quality and professional 3D stuff.
However I am now migrating to Blender and to the native lib form the PB package.

Including direct programming, I think Blender is now the more versatile and powerful software for ANY 3D stuff in the scene; in the commercial and free scene.
Solidworks, AutoCAD, Catia, inventor, fusion360, Rhinoceros, etc. are powerful but not versatile at all.

Re: MP3D Engine Alpha 32

Posted: Sat Feb 09, 2019 1:41 pm
by marc_256
Psychophanta wrote:Thanks to you.
MP3D is useful and complete pack to perform high quality and professional 3D stuff.
However I am now migrating to Blender and to the native lib form the PB package.

Including direct programming, I think Blender is now the more versatile and powerful software for ANY 3D stuff in the scene; in the commercial and free scene.
Solidworks, AutoCAD, Catia, inventor, fusion360, Rhinoceros, etc. are powerful but not versatile at all.

Psychophanta 100% agree with you, I used lots of other, very expensive software ...
I use blender for years now ...
only for composing my scenes,

viewtopic.php?f=27&t=59692

marco

Re: MP3D Engine Alpha 32

Posted: Sun Feb 10, 2019 7:31 am
by Aleks_Longard
Psychophanta
Do you have a version that is compatible with Purebasic v5.20 / 5.40?
The archive that you shared is very old, and does not work with the latest versions of PB.
In MP3D library, conveniently made functions for working with pixels and geometric objects. 3d I will not need.
I can use PB Engine3d.dll for my project, only if I understand the license correctly, this engine cannot be used in commercial projects.

Re: MP3D Engine Alpha 32

Posted: Sun Feb 10, 2019 2:45 pm
by Psychophanta
Install in a x64 MSwindows with a x64 PB package:
Once you have a x64 PB package already installed in your MSwindows x64:
copy D3DX9d_43.dll 64bit lib from 'Compilers' directory to C:\Windows\System32, renamed to D3DX9_43.dll
copy D3DX9d_43.dll 32bit lib from 'Compilers' directory to C:\Windows\SysWOW64, renamed to D3DX9_43.dll
copy 'help' directory from 64bit package to the PB program files directory root
copy D3DX9d_43.dll 64bit lib from 'Compilers' directory to 'Compilers' directory in the PB program files directory root
copy 'MP3D Demos' directory from 64bit package 'Examples\3D' directory in the PB program files directory root
copy all files inside 'PureLibraries\Windows\Libraries' directory from 64bit package to the 'PureLibraries\Windows\Libraries' directory in the PB program files directory root
copy 'SubSystems\DX9\purelibraries\userlibraries\MP3D_Library' file from 64bit package to a 'SubSystems\DX9\purelibraries\userlibraries\MP3D_Library' new path and file in the PB program files directory root
Pay attention to this one, because adecuate file 'MP3D_Library' may vary depending on version of you PB x64 installed package: just test some MP3D Demos with the 3 versions of 'MP3D_Library'.


Install in a MSwindows with a x32 PB package:
Once you have a x32 PB package already installed in your MSwindows:
copy D3DX9d_43.dll 32bit lib from 'Compilers' directory to C:\Windows\System32, renamed to D3DX9_43.dll
copy 'help' directory from 32bit package to the PB program files directory root
copy D3DX9d_43.dll 32bit lib from 'Compilers' directory to 'Compilers' directory in the PB program files directory root
copy 'MP3D Demos' directory from 32bit package 'Examples\3D' directory in the PB program files directory root
copy all files inside 'PureLibraries\Windows\Libraries' directory from 32bit package to the 'PureLibraries\Windows\Libraries' directory in the PB program files directory root
copy 'SubSystems\DX9\purelibraries\userlibraries\MP3D_Library' file from 32bit package to a 'SubSystems\DX9\purelibraries\userlibraries\MP3D_Library' new path and file in the PB program files directory root
Pay attention to this one, because adecuate file 'MP3D_Library' may vary depending on version of you PB x32 installed package: just test some MP3D Demos with the different versions of 'MP3D_Library'.
NOTICE: 'MP3D\MP3D_32_x86 (Para instalar en un windows 32bit)\SubSystems\DX9\purelibraries\PB 5.41 y posteriores\MP3D_Library PB5.50' is the proper one for PB5.50 or newer (i.e. PB5.70), (always renamed to 'MP3D_Library').

Re: MP3D Engine Alpha 32

Posted: Sun Feb 10, 2019 4:49 pm
by Psychophanta
marc_256 wrote: Psychophanta 100% agree with you, I used lots of other, very expensive software ...
I use blender for years now ...
only for composing my scenes,

viewtopic.php?f=27&t=59692

marco
Thanks Marco.
I am learning now Blender, and also doing with PB. I am even angry to have not know Blender in 2008 or before :evil: .
My greatest problem is I work much with complex rotations so I am barred in Blender, because not easy to perform some animations with some bizarre rotations.
However I am solving it.

Re: MP3D Engine Alpha 32

Posted: Mon Feb 11, 2019 4:21 pm
by Aleks_Longard
Hi Psychophanta,
Thanks. I know where to copy MP3D files, the compiler swears at pointers in the library.
I will try to figure it out, only in your archive readme.txt says that this is version a32 for pb v4.61.

Re: MP3D Engine Alpha 32

Posted: Mon Feb 11, 2019 5:29 pm
by Psychophanta
If you follow exactly that instructions, then you should not have any problem.
However, tell me your PB version and your MSwindows scheme, so i will explain the correct config for you.