Re: Importing Morfit 3D Engine to Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

--------------31A77B9985C60AEF90589333

Okay, Morfit 3D actually looks pretty cool. Since it does dweal in the
windows realm, David cuny's Win32Lib looked like it would fit the bill.
I downloaded the MS Visual C++ version and tried to get the
LoadWorld API example to work in Euphoria just like it does in 'C'.
Unfortunitly, It seemed like it was going to work but it didn't
display anything and reported it's errors in the error.log that Morfit
generates. A couple of c functions like this:

int  MORFIT_WINAPI Morfit_engine_render(HWND hwnd, DWORD camera);

makes me think that the MORFIT_WINAPI is needed which I can't produce
in Euphoria. MROFIT_WINAPI is defined as this:

#define MORFIT_WINAPI WINAPI

Where WINAPI is the calling convention for the Win32 API in
MS Visual C++.
Are do I even need to worry about that???

Anyway, the attached zip is two files: LoadWorldex.exw and
Morfit_api.ew.
These files need the Morfit.dll in the same folder. I didn't include
it because I didn't want to break any Morfit Legal Rules of distrubuting
if there is any (...so I didn't read the license 100%). Also, You all
probably wouldn't like a big zip file attached to this email.
Also, you need the WORLD directory in the same directory as these
files so the LoadWorldex.exw can load it's 'hello' data, or you can
change the the LoadWorldex.exw to point to that directory to load them.
And it definetly needs the Lastest Win32Lib to run also...

Let's recap on that since I may not explain things well:
- Morfit.dll
- LoadWorldex.exw
- Morfit_api.ew
- Win32Lib.ew
- Morfit's WORLD directory
all in one directory...

Welp, that's my stalled attempt at Morfit 3D because I'm totally
clueless
on how to get it to display the graphics... Any ideas? I might come
back to this little project after the news years( if the world doesn't
come to a Y2K end... ;)

Longlifter, hope this helps you somehow...
 if you can figure this out before me or even someone else...
please let me know... I do at least find this very interesting...
Oh... Morfits URL is www.morfit.com if someone else needs it...

Welp... Crawling back into my EXOTICA hole... laters...

-- Todd Riggins
--------------31A77B9985C60AEF90589333
 name="Morfit_ex.zip"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu