Posted By: NeutronBlue
Programming Engine window startup size..? - 11/04/15 17:34
How can I start the 3DGS engine, and program the window size and position? I'm working on an project that I'd like to have the engine window as a "tiled" window overlaid on my main app form (along with other windows).
Or, is there way to have the engine itself render inside an application window? I don't know C++, so I'd prefer VB or C# code. Actually, *any* code would help..!
Thanks in advance.
~Neut
Posted By: Anonymous
Re: Programming Engine window startup size..? - 11/04/15 18:30
Posted By: NeutronBlue
Re: Programming Engine window startup size..? - 11/05/15 00:25
Thanks Malice.
<sigh> I RTM'd..! But didn't see them.
Feel like one of those smurfs you killed today
Thanks again!
~Neut
Posted By: EpsiloN
Re: Programming Engine window startup size..? - 11/13/15 10:08
You can set the window size and position right after you open the engine, before any frames have been rendered. See the examples in the sdk_engine folder. They show how to open the engine and set a resolution...
Another thing, not sure about this, but from what I've learned in the past 10 days, you can create a device context, assign a custom bitmap to it and copy the engine's picture into your custom bitmap, which will show the engine in your own custom window... You can get a handle to the DC through the engine window's title name.
But, this involves DirectX programming, not that it is hard, but you have to learn it...
PS.: All this is C++, I'm not sure if it can be done in other languages, but C++ is similar in syntax to lite-C...
Posted By: Anonymous
Re: Programming Engine window startup size..? - 11/13/15 16:18
Thanks Malice.
<sigh> I RTM'd..! But didn't see them.
Feel like one of those smurfs you killed today
Opps sorry, I replied a bit roughly.
But, this involves DirectX programming, not that it is hard, but you have to learn it...
PS.: All this is C++, I'm not sure if it can be done in other languages, but C++ is similar in syntax to lite-C
PM [Req] Any tutorials for understanding direct-x and c++<->lite-c would be welcomed in the future. P.S. even if it's just a quick and dirty personal tutorial PM'd to me..