Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
So... How does U3D actually work?
Topic Started: Aug 24 2007, 02:53 PM (889 Views)
Xray
Member
[ *  * ]
So, how does U3D actually work (from curiosity)?

How is it able to do things faster than GM?

Does it draw the environment in memory and then send the frame as an image back to game maker (which then draws it)? Or, does it just do the calculations and pass it on to GM to draw the environment?

I thought it would be interesting to know.
Thanks.
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
As you initialize Ultimate 3D it creates a new window (yes, one of these Windows things you can move around on the screen) without a border within the window of Game Maker. Next it initializes a Direct3D 8.1 device and associates it with this window. This allows it to draw into Game Maker's window on it's own. Through all function calls you just transmit some information to Ultimate 3D. It will create objects from this information, change properties of these objects and so on. It manages all these objects and properties entirely on it's own, the Game Maker objects are just interfaces. And as the control object calls the render function all objects get rendered to the window.
Offline Profile Quote Post Goto Top
 
silverfire56
Forum God
[ *  *  *  *  *  * ]
hmm. i wasn't that off :o
but i didn't want to get it wrong -_-
Offline Profile Quote Post Goto Top
 
Xray
Member
[ *  * ]
Thanks, that makes perfect sense :)
Offline Profile Quote Post Goto Top
 
harkathmaker
Member Avatar
Persistent Enquirer
[ *  *  *  *  * ]
Just wondering, is U3D capable of being cross-platform? I've heard that in the distant future YoYoGames will recode GM in C++, meaning that it could potentially be compiled for Mac. Would you also be able to make a Mac version of U3D available when that happens? :lol:
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
Even if Game Maker would be rewritten in C++ (I would really appreciate that :D ) this wouldn't mean that it would be Mac compatible, because it's based upon the WinAPI (the MS Windows Application Programming Interface). And even if it would, Ultimate 3D will never be compatible with Macs because it's based upon Microsoft DirectX.
Offline Profile Quote Post Goto Top
 
silverfire56
Forum God
[ *  *  *  *  *  * ]
LINUX.....

GO Wine
GO Wine

WOOO :cow:

game maker works on wine, the windows emulator for Linux

but Linux is not that userfrendly, its hard to use
Offline Profile Quote Post Goto Top
 
Bardia
Member Avatar
Creator Of U3D Studio
[ *  *  *  * ]
Quote:
 
I've heard that in the distant future YoYoGames will recode GM in C++


Dr.Overmars ,himself said that the GM6 was created using delphi,maybe GM7 is in C++ but I hardly accept that :think: ...
Sorry of my grammar errors!

We'll respond Iranian's IT demand:
Iran Demit!
Offline Profile Quote Post Goto Top
 
zelda4evr
Member Avatar
Forum God
[ *  *  *  *  *  * ]
gm7 is definetly not c++

you can tell, it just version 6.1 with a few more features, and a different file type.

Posted Image
Offline Profile Quote Post Goto Top
 
Matrix_Square
Member Avatar
Matrix Square Entertainment Developer
[ *  *  *  * ]
silverfire56
Aug 24 2007, 05:48 PM
LINUX.....

GO Wine
GO Wine

WOOO :cow:

game maker works on wine, the windows emulator for Linux

but Linux is not that userfrendly, its hard to use

Sorry, WINE is not an emulator ("WINE" stands for: Wine is not an emulator :lol:), nor can it emulate the DirectX API... So WINE isn't an option in anything that involves DX.
Dr.Best
 
Even if Game Maker would be rewritten in C++ (I would really appreciate that :D)
Why? There's really no benefits. Delphi and C++ have the same performance, and unless they rewrite the run-time translator completely so that GM actually COMPILES GML to Bitcode, there won't be any performance increases or any other benefits.
SPRING time PROGRAMMING - GM & Ultimate3D Tutorials
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
Matrix_Square
Aug 25 2007, 09:39 PM
Dr.Best
 
Even if Game Maker would be rewritten in C++ (I would really appreciate that :D)
Why? There's really no benefits. Delphi and C++ have the same performance, and unless they rewrite the run-time translator completely so that GM actually COMPILES GML to Bitcode, there won't be any performance increases or any other benefits.

If you've ever run some Game Maker 6.x application with a debugger like the one of Microsoft Visual Studio 2005 you probably will have noticed that all Game Maker 6.x applications cause access violations whenever they get started. This leads to a very unstable behavior of these applications. This is why they won't run under Vista and why they won't run on my XP laptop. If you are using a good compiler to program C++ it will let you know about bugs like this immediately as you create your applications. Obviously Delphi doesn't have that good debuggers, because otherwise issues like this wouldn't exist in Game Maker. The other Game Maker versions are more stable, but though they are not perfect. That's why I would appreciate a C++ version of Game Maker. But in fact I'm not really using Game Maker anyway and if I am using it it's Game Maker 5.0 so why should I care :lol: ?
Offline Profile Quote Post Goto Top
 
silverfire56
Forum God
[ *  *  *  *  *  * ]
CRAP, i stop using linux an i get dumber <_<

even the name.. <_< W.I.N.E.

dam im stupid :doh: :sad:

but i can run "WOW" on it with out much trouble, so its all good
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Quote:
 
Sorry, WINE is not an emulator ("WINE" stands for: Wine is not an emulator laugh.gif), nor can it emulate the DirectX API... So WINE isn't an option in anything that involves DX.

Wha?!?!?!

So what do all my games floating in my wine run in?!??!
Blog|EHS
Offline Profile Quote Post Goto Top
 
harkathmaker
Member Avatar
Persistent Enquirer
[ *  *  *  *  * ]
Quote:
 
gm7 is definetly not c++

you can tell, it just version 6.1 with a few more features, and a different file type.

It's not C++ right now... I just read that they might want to do that in the future :P

Quote:
 
But in fact I'm not really using Game Maker anyway and if I am using it it's Game Maker 5.0 so why should I care  ?

Why would you use 5.0? :blink:
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
You may have noticed that every Ultimate 3D related download also contains Game Maker 5 versions of the files. This way those who haven't registered Game Maker can use Ultimate 3D (legally) anyway. And since the Ultimate 3D related things are the only things I make with Game Maker I use exceptionally GM5.
Offline Profile Quote Post Goto Top
 
Go to Next Page
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply