MP3D Engine Alpha 33

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: MP3D Engine Alpha 32

Post by applePi »

Michael, i have installed a fresh pb 5.22 then have used your exe installer v0.2. to install your lib to c:\purebasic like this:
Image

after finish , the installer said it is installed successfully like this:
Image

but MP3D are not installed at all, i have search for it, but can't find it. instead i found a new folder on c:\PurebasicHelp contains only the help file

i have mp3d installed previously from 4 months ago on the original c:\purebasic so i have copied your new MP3D_Library from http://www.flasharts.de/mpz/mp33_beta/d ... ibrary.zip to its place in C:\PureBasic\SubSystems\dx9\purelibraries
and i think it is great, especialy the new files in the go.zip referred to in the previous page http://www.flasharts.de/mpz/mp33_beta/go.zip, its examples should be added to the official mp3d_demos. the example Bumptest.pb is great. also the new MP_Camera_follow_Mesh.pb and MP_Point_to_Mesh.pb.
i have corrected my demo clock pendulum http://purebasic.fr/english/viewtopic.p ... &start=510 for the current version, and it works okay. it is a good demo about the compound objects.
regards
coco2
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Nov 25, 2013 5:38 am
Location: Australia

Re: MP3D Engine Alpha 32

Post by coco2 »

Oh sorry I was using 5.30 maybe that's why? I thought it meant 5.22 *minimum*...
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: MP3D Engine Alpha 32

Post by applePi »

coco2, i have just now installed MP3D manually to the PB 5.30 beta 7, as mentioned by Michael above. and it works on my system windowx xp, in concise: for 32 bit system:
1-make these 2 folders: dx9 and purelibraries
C:\PureBasic\SubSystems\dx9\purelibraries
and copy the contents of file MP3D_Library.zip to "purelibraries" folder
2-copy the contents of file Lib32.zip to PureBasic\PureLibraries\Windows\Libraries
3-run the examples from any place

@michael :the dsound.lib are different in size than the equivalent in PB 5.30 beta 7, just a note to think about.
Mythros
Enthusiast
Enthusiast
Posts: 306
Joined: Mon Aug 19, 2013 3:28 pm

Re: MP3D Engine Alpha 32

Post by Mythros »

Hi, @mpz! :) Is there any updates lately?

Thank You so kindly!

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

Re: MP3D Engine Alpha 32

Post by Mythros »

Hi all. I'm trying to create a DLL for Blitz3D of the function "MP_SaveMesh". I don't THINK I'm doing anything wrong, but then again, I've been wrong in the past. I would like to know when I create my DECLs file and call the function in Blitz3D, why it says "userlib not found", even though the DLL file is in the same folder as the Blitz3D code & the DECLs is tucked tightly in the userlibs folder.

Here's my DECLs:

Code: Select all

.lib "Save_X_Mesh.dll"

SaveXMesh(filename$, entity%) : "Save_X_Mesh"
And...

Here's my source:

Code: Select all

#TESTDLL = 0

CompilerIf #TESTDLL = 0

  CompilerIf #PB_Compiler_OS = #PB_OS_Windows

    ; These 4 procedures are Windows specific
    ;

    ; This procedure is called once, when the program loads the library
    ; for the first time. All init stuffs can be done here (but not DirectX init)
    ;
    ProcedureDLL AttachProcess(Instance)
    EndProcedure
  
  
    ; Called when the program release (free) the DLL
    ;
    ProcedureDLL DetachProcess(Instance)
    EndProcedure
  
  
    ; Both are called when a thread in a program call or release (free) the DLL
    ;
    ProcedureDLL AttachThread(Instance)
    EndProcedure
  
    ProcedureDLL DetachThread(Instance)
    EndProcedure

  CompilerEndIf
  
  Prototype.i ProtoSave_X_Mesh(filename.s, entity.i)
  
  ProcedureDLL Save_X_Mesh(filename.s, entity.i)
    MP_SaveMesh(filename.s, entity.i)
  EndProcedure

  If OpenLibrary(0, "Save_X_Mesh.dll")
   
    SaveXMesh.ProtoSave_X_Mesh = GetFunction(0, "Save_X_Mesh")
    
    Save_X_Mesh(filename.s, entity.i)
    
  EndIf

CompilerElse
  
  Prototype

  If OpenLibrary(0, "Save_X_Mesh.dll") Or OpenLibrary(0, "Save_X_Mesh.so")
    CallFunction(0, "Save_X_Mesh", @filename.s, @entity.i)
  EndIf
    
CompilerEndIf
Thank You again! :)

~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 »

As a Request:

I need a MP_SubstractMesh(source_mesh,dest_mesh) as a complement of the function MP_AddMesh(source_mesh,dest_mesh).
Look at here:
http://forum.unity3d.com/threads/boolea ... esh.85713/
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 »

NICE thinking, PsychoPhanta! =D
Mythros
Enthusiast
Enthusiast
Posts: 306
Joined: Mon Aug 19, 2013 3:28 pm

Re: MP3D Engine Alpha 32

Post by Mythros »

Hi, Mpz! :) Could you please tell me how to save animated X meshes using MP_SaveMesh()? If not, can you please add a patch to MP3D - PB 5.30 (32-bit) ?

Thank You so kindly!

Sincerely,

Mythros
User avatar
N_Gnom
User
User
Posts: 76
Joined: Fri Sep 13, 2013 3:20 pm
Location: Germany

Re: MP3D Engine Alpha 32

Post by N_Gnom »

@mpz: is that projekt still alive?
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 »

I don't know if it is alive but i know it is to buggy.

I am sorry to say I am still using the greatest one: Dreamotion3D for commercial projects.
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,

i had in the last time not much time for programming. So i had make only some little bugfixing but not a new version.

@Psychophanta, i though Dreamotion3D is an old 3d engine. is it alive and does anybody work on this 3d engine?
to mp3d - I know you had problems with the installer but what exactly do you mean with "to buggy"?

@Mythros, no i dont have a function to save anime x files. Mp3d can only load anime direct x mesh

Greetings Michael
Working on - MP3D Library - PB 5.73 version ready for download
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: MP3D Engine Alpha 32

Post by djes »

Psychophanta> Just a quick remark... I've read your last comments, and I felt a bit embarrassed. I think it's rude. I wouldn't like to receive this kind of message... :|
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 »

Hi MPZ, it is not related to installer, but to the functions, I remember the latests one was MoveEntity(Camera), which has changed the parameters x, y anz z (in your last version).
It is right there is not support for Dreamotion3D and i regret it, but at the moment , to be honest is the best i know, and so then is the one i continue using for scyentific documents and presentations.

@djes, Hello. Sorry, but really, i don't see my comments are rude (at least you considere the sincere messages as rude messages - reality results a much more rude than we use to think - ). :?:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: MP3D Engine Alpha 32

Post by djes »

Psychophanta wrote:@djes, Hello. Sorry, but really, i don't see my comments are rude (at least you considere the sincere messages as rude messages - reality results a much more rude than we use to think - ). :?:
Actually... Yes, I think sincerity could be rude ! But each person has its own sensibility, mine is not so touchy...! And thoughts are our own reality, isn't it ? :P
User avatar
N_Gnom
User
User
Posts: 76
Joined: Fri Sep 13, 2013 3:20 pm
Location: Germany

Re: MP3D Engine Alpha 32

Post by N_Gnom »

@mpz: did mp3d actually works with 5.31?
Post Reply