That's impressive you have my support =D
[On hold indefinitely] Full 3D in RMXP
Extending RPG MakerI got the same problems like Near and fox5. I only tested it on Windows 7 Beta x64. There are problems with the function LoadLibrary and x64 DLL when the calling app is a x86 one. Don't know much about it.
I assume you use MSVC 2008 as compiler and there must to be an option to set the target processor architecture. Set it to x86, 32-bit or something like this... I can't help with it because I don't use MSVC.
And to moralize you a bit: that's a very nice project which requires lot of work - respect 😀
I assume you use MSVC 2008 as compiler and there must to be an option to set the target processor architecture. Set it to x86, 32-bit or something like this... I can't help with it because I don't use MSVC.
And to moralize you a bit: that's a very nice project which requires lot of work - respect 😀
Thanks for the support, guys!
@cremno: Yeah, I have the target machines set to X86. I can understand if people were having problems who are on x64, but people with the same OS as me are having problems. I am on Windows XP SP 2
@cremno: Yeah, I have the target machines set to X86. I can understand if people were having problems who are on x64, but people with the same OS as me are having problems. I am on Windows XP SP 2
moral support: "dude u are freaking amazing!" lol so ya im liking what you go so far :) more support as needed just pm me or i wil post here regularly :)
For the 3D character models I guess you need them fully rigged for animation and such?
And in addition to sprites, are you wanting a bunch of map models like buildings, signs, fences... structures like that?
I have a decent amount of experience in blender for 3D models, but I haven't done much with low-poly game models or exporting into other programs, but I may be able to contribute some basic RTP stuff. I'd just like some more info, though.
And in addition to sprites, are you wanting a bunch of map models like buildings, signs, fences... structures like that?
I have a decent amount of experience in blender for 3D models, but I haven't done much with low-poly game models or exporting into other programs, but I may be able to contribute some basic RTP stuff. I'd just like some more info, though.
@deathbecoast: Yeah, man, thanks. Just keep posting here when you get an idea. Talking about this gets my thoughts going and helps me move faster.
@Dustin: You're my hero. I'll send you a PM with some more details on the project, alright?
@Dustin: You're my hero. I'll send you a PM with some more details on the project, alright?
DeM0nFiRe wrote:
Well, thanks a shitload for decrypting the project that I encrypted :P
I mean, it's not a big deal since the only real reason I encrypted it is because it is not clean enough for people to use yet, but don't you think when someone encrypts a project it is for a reason? I was under the impression you guys were only using that things to recover files from projects of long lost people.
I decrypt all interesting projects I find, mainly because curiosty, or also for learning, cheatting, or in this case (apart from curiosity) for trying to fix the error.I mean, it's not a big deal since the only real reason I encrypted it is because it is not clean enough for people to use yet, but don't you think when someone encrypts a project it is for a reason? I was under the impression you guys were only using that things to recover files from projects of long lost people.
DeM0nFiRe wrote:
Anyway, yeah, do you have DIrectX9 *fully* supported on your machine? Also, can you please give me a list of all the dlls in that folder?
I had Directx 9.0c installed fully working, however I have updated it with the last pack(march 2009), which I hadn't. But it still doesn't work...Using DxDiag.exe I ran all tests and DirectX worked good. Here are the dlls I have installe(The list I saw in the dxdiag.exe tool)
- ------------------
- DirectX Components
- ------------------
- ddraw.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 279552 bytes
- ddrawex.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 27136 bytes
- dxapi.sys: 5.01.2600.0000 English Final Retail 9/10/2002 09:00:00 10496 bytes
- d3d8.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 1179648 bytes
- d3d8thk.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 8192 bytes
- d3d9.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 1689088 bytes
- d3dim.dll: 5.01.2600.0000 English Final Retail 9/10/2002 09:00:00 436224 bytes
- d3dim700.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 824320 bytes
- d3dramp.dll: 5.01.2600.0000 English Final Retail 9/10/2002 09:00:00 590336 bytes
- d3drm.dll: 5.01.2600.0000 English Final Retail 9/10/2002 09:00:00 350208 bytes
- d3dxof.dll: 5.01.2600.0000 English Final Retail 9/10/2002 09:00:00 47616 bytes
- d3dpmesh.dll: 5.01.2600.0000 English Final Retail 9/10/2002 09:00:00 34816 bytes
- dplay.dll: 5.00.2134.0001 Spanish Final Retail 9/10/2002 09:00:00 33040 bytes
- dplayx.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 229888 bytes
- dpmodemx.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 24064 bytes
- dpwsock.dll: 5.00.2134.0001 English Final Retail 9/10/2002 09:00:00 42768 bytes
- dpwsockx.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 57856 bytes
- dplaysvr.exe: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:56 29696 bytes
- dpnsvr.exe: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:56 18432 bytes
- dpnet.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 375296 bytes
- dpnlobby.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:46:34 3072 bytes
- dpnaddr.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:46:34 3072 bytes
- dpvoice.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 213504 bytes
- dpvsetup.exe: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:56 83456 bytes
- dpvvox.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 116736 bytes
- dpvacm.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 21504 bytes
- dpnhpast.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 35328 bytes
- dpnhupnp.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 60928 bytes
- dpserial.dll: 5.00.2134.0001 Spanish Final Retail 9/10/2002 09:00:00 54032 bytes
- dinput.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 167936 bytes
- dinput8.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 190976 bytes
- dimap.dll: 5.01.2600.0000 English Final Retail 9/10/2002 09:00:00 44032 bytes
- diactfrm.dll: 5.01.2600.0000 Spanish Final Retail 9/10/2002 09:00:00 395264 bytes
- joy.cpl: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:49:18 70144 bytes
- gcdef.dll: 5.01.2600.0000 Spanish Final Retail 9/10/2002 09:00:00 77824 bytes
- pid.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:34 35328 bytes
- dsound.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 367616 bytes
- dsound3d.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 1293824 bytes
- dswave.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 19456 bytes
- dsdmo.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 181248 bytes
- dsdmoprp.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 74752 bytes
- dmusic.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 104448 bytes
- dmband.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 28672 bytes
- dmcompos.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 61440 bytes
- dmime.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 181248 bytes
- dmloader.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 35840 bytes
- dmstyle.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 105984 bytes
- dmsynth.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 103424 bytes
- dmscript.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 82432 bytes
- Microsoft.DirectX.Direct3D.dll: 9.05.0132.0000 English Final Retail 4/21/2009 22:39:47 473600 bytes
- Microsoft.DirectX.Direct3DX.dll: 5.04.0000.3900 English Final Retail 4/21/2009 22:39:21 2676224 bytes
- Microsoft.DirectX.Direct3DX.dll: 9.04.0091.0000 English Final Retail 4/21/2009 22:39:27 2846720 bytes
- Microsoft.DirectX.Direct3DX.dll: 9.05.0132.0000 English Final Retail 4/21/2009 22:39:29 563712 bytes
- Microsoft.DirectX.Direct3DX.dll: 9.06.0168.0000 English Final Retail 4/21/2009 22:39:31 567296 bytes
- Microsoft.DirectX.Direct3DX.dll: 9.07.0239.0000 English Final Retail 4/21/2009 22:39:33 576000 bytes
- Microsoft.DirectX.Direct3DX.dll: 9.08.0299.0000 English Final Retail 4/21/2009 22:39:34 577024 bytes
- Microsoft.DirectX.Direct3DX.dll: 9.09.0376.0000 English Final Retail 4/21/2009 22:39:36 577536 bytes
- Microsoft.DirectX.Direct3DX.dll: 9.10.0455.0000 English Final Retail 4/21/2009 22:39:37 577536 bytes
- Microsoft.DirectX.Direct3DX.dll: 9.11.0519.0000 English Final Retail 4/21/2009 22:39:40 578560 bytes
- Microsoft.DirectX.Direct3DX.dll: 9.12.0589.0000 English Final Retail 4/21/2009 22:39:48 578560 bytes
- Microsoft.DirectX.DirectDraw.dll: 5.04.0000.2904 English Final Retail 4/21/2009 22:39:48 145920 bytes
- Microsoft.DirectX.DirectInput.dll: 5.04.0000.2904 English Final Retail 4/21/2009 22:39:49 159232 bytes
- Microsoft.DirectX.DirectPlay.dll: 5.04.0000.2904 English Final Retail 4/21/2009 22:39:50 364544 bytes
- Microsoft.DirectX.DirectSound.dll: 5.04.0000.2904 English Final Retail 4/21/2009 22:39:50 178176 bytes
- Microsoft.DirectX.AudioVideoPlayback.dll: 5.04.0000.2904 English Final Retail 4/21/2009 22:39:46 53248 bytes
- Microsoft.DirectX.Diagnostics.dll: 5.04.0000.2904 English Final Retail 4/21/2009 22:39:46 12800 bytes
- Microsoft.DirectX.dll: 5.04.0000.2904 English Final Retail 4/21/2009 22:39:45 223232 bytes
- dx7vb.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 619008 bytes
- dx8vb.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 1227264 bytes
- dxdiagn.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 2113536 bytes
- mfc40.dll: 4.01.0000.6140 English Final Retail 9/10/2002 09:00:00 924432 bytes
- mfc42.dll: 6.02.4131.0000 English Final Retail 4/14/2008 07:48:26 1028096 bytes
- wsock32.dll: 5.01.2600.5512 Spanish Final Retail 4/14/2008 07:48:48 25600 bytes
- amstream.dll: 6.05.2600.5512 English Final Retail 4/14/2008 07:48:20 70656 bytes
- devenum.dll: 6.05.2600.5512 Spanish Final Retail 4/14/2008 07:48:22 59904 bytes
- dxmasf.dll: 6.04.0009.1133 Spanish Final Retail 4/14/2008 07:48:22 499766 bytes
- mciqtz.drv: 4.00.0096.0729 English Final Retail 11/17/1997 17:13:16 11776 bytes
- mciqtz32.dll: 6.05.2600.5512 Spanish Final Retail 4/14/2008 07:48:26 35328 bytes
- mpg2splt.ax: 6.05.2600.5512 English Final Retail 4/14/2008 07:49:20 148992 bytes
- msdmo.dll: 6.05.2600.5512 English Final Retail 4/14/2008 07:48:26 14336 bytes
- encapi.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:22 20480 bytes
- qasf.dll: 11.00.5721.5145 English Final Retail 10/18/2006 22:47:18 211456 bytes
- qcap.dll: 6.05.2600.5512 Spanish Final Retail 4/14/2008 07:48:34 192512 bytes
- qdv.dll: 6.05.2600.5512 Spanish Final Retail 4/14/2008 07:48:34 279040 bytes
- qdvd.dll: 6.05.2600.5512 Spanish Final Retail 4/14/2008 07:48:34 387072 bytes
- qedit.dll: 6.05.2600.5512 Spanish Final Retail 4/14/2008 07:48:34 563200 bytes
- qedwipes.dll: 6.05.2600.5512 English Final Retail 4/13/2008 22:51:34 733696 bytes
- quartz.dll: 6.05.2600.5512 Spanish Final Retail 4/14/2008 07:48:34 1294336 bytes
- quartz.vxd: Final Retail 11/17/1997 17:13:16 5672 bytes
- strmdll.dll: 4.01.0000.3936 Spanish Final Retail 4/14/2008 07:48:46 246814 bytes
- vidx16.dll: 0.00.0000.0000 English Final Retail 11/17/1997 17:13:16 10240 bytes
- iac25_32.ax: 2.00.0005.0053 English Final Retail 11/18/1998 10:35:16 199680 bytes
- ir41_32.ax: 4.51.0016.0003 English Final Retail 4/14/2008 07:49:20 848384 bytes
- ir41_qc.dll: 4.30.0062.0002 English Final Retail 4/14/2008 07:48:24 120320 bytes
- ir41_qcx.dll: 4.30.0064.0001 English Final Retail 4/14/2008 07:48:26 338432 bytes
- ir50_32.dll: 5.2562.0015.0054 English Final Retail 1/27/1999 07:45:58 755200 bytes
- ir50_qc.dll: 5.00.0063.0048 English Final Retail 10/7/1998 09:46:18 200192 bytes
- ir50_qcx.dll: 5.00.0064.0048 English Final Retail 10/7/1998 09:50:22 183808 bytes
- ivfsrc.ax: 5.10.0002.0051 English Final Retail 1/5/1999 13:49:36 154624 bytes
- mswebdvd.dll: 6.05.2600.5512 Spanish Final Retail 4/14/2008 07:48:30 204800 bytes
- ks.sys: 5.03.2600.5512 Spanish Final Retail 4/14/2008 00:46:38 141056 bytes
- ksproxy.ax: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:49:20 129536 bytes
- ksuser.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:26 4096 bytes
- stream.sys: 5.03.2600.5512 Spanish Final Retail 4/14/2008 00:15:16 49408 bytes
- mspclock.sys: 5.03.2600.5512 Spanish Final Retail 4/14/2008 00:09:52 5376 bytes
- mspqm.sys: 5.01.2600.5512 Spanish Final Retail 4/14/2008 00:09:52 4992 bytes
- mskssrv.sys: 5.03.2600.5512 Spanish Final Retail 4/14/2008 00:09:54 7552 bytes
- swenum.sys: 5.03.2600.5512 Spanish Final Retail 4/14/2008 00:09:54 4352 bytes
- mpeg2data.ax: 6.05.2600.5512 English Final Retail 4/14/2008 07:49:20 118272 bytes
- msvidctl.dll: 6.05.2600.5512 Spanish Final Retail 4/14/2008 07:48:30 1434112 bytes
- vbisurf.ax: 5.03.2600.5512 English Final Retail 4/14/2008 07:49:20 30208 bytes
- msyuv.dll: 5.03.2600.5512 English Final Retail 4/14/2008 07:48:30 16896 bytes
- wstdecod.dll: 5.03.2600.5512 Spanish Final Retail 4/14/2008 07:48:48 51200 bytes
Expand to see the code.
I was actually asking for the list of dlls included in the game folder. I was wondering if I forgot one.
Also, can you please do me a favor and not decrypt these archives? I will release them unencrypted later on, but I don't like people seeing my code while it is at such an ugly stage.
Also, can you please do me a favor and not decrypt these archives? I will release them unencrypted later on, but I don't like people seeing my code while it is at such an ugly stage.
Ahh, ok, I misunderstanded that. The files are:
msvcr90.dll
msvcr80.dll
msvcp90.dll
MFC71.dll
msvcm90.dll
Irrlicht.dll
DFRMTools.dll
DF3DRMXP.dll
sydney.md2
sydney.bmp
msvcr90.dll
msvcr80.dll
msvcp90.dll
MFC71.dll
msvcm90.dll
Irrlicht.dll
DFRMTools.dll
DF3DRMXP.dll
sydney.md2
sydney.bmp
Quote:
Also, can you please do me a favor and not decrypt these archives? I will release them unencrypted later on, but I don't like people seeing my code while it is at such an ugly stage.
I can't promise that I won't decrypt the project, but I can promise that I won't upload or talk about the contents of the project.Alright then, thanks.
NEW DEMO
Check out the top of the first post for screenshot and download.
You can now walk around!
NEW DEMO
Check out the top of the first post for screenshot and download.
You can now walk around!
ZOMFG!!!!!!!!!!!!!!!!! thats freaking amazing!!!!!!!!!!!!! i have a nvida geforce 9500 GS so i dont know if that makes a diffrence, but no lagg and looks amazing!!!!!! let me be the first to say kick ass job man :)
It still doesn't work for me... Im really want to test it out, but something make it to crash in all options. Do you have added a .def file for defining the DLL functions?, if not the dll may not work sometimes in RMXP.
awww poor vgvgf it really is amazing!!!!!!
Now I know why it doesn't work and here's the solution
Install the Microsoft Visual C++ 2008 Redistributable Package (x86) and the demo will work.
@DeM0nFiRe:
For the next release you have to add Microsoft.VC90.CRT.manifest to the archive and it will work without installing the redist package above.
Install the Microsoft Visual C++ 2008 Redistributable Package (x86) and the demo will work.
@DeM0nFiRe:
For the next release you have to add Microsoft.VC90.CRT.manifest to the archive and it will work without installing the redist package above.
I actually feel as you just say "Where is your God, now ?".
This amazing !!! <-- you are the first programmer ever I gave three exclamation points.
My 3D project looks very poor now...
I have a very big interest in your project.
Can you right now use 2D sprites ?
You said in my topic that you are working on your own GUI system.
But as soon as you have 2D sprites, I will be able to put my GUI on your system. This GUI still works with RMXP, RUDL and Rubygame.
I was thinking on finally work with Gosu, but your project seems more interesting.
You have my moral support, of course. ;)
This amazing !!! <-- you are the first programmer ever I gave three exclamation points.
My 3D project looks very poor now...
I have a very big interest in your project.
Can you right now use 2D sprites ?
You said in my topic that you are working on your own GUI system.
But as soon as you have 2D sprites, I will be able to put my GUI on your system. This GUI still works with RMXP, RUDL and Rubygame.
I was thinking on finally work with Gosu, but your project seems more interesting.
You have my moral support, of course. ;)
Yeah! This again! When will you get rmxp map editor support?
Glad you like it so far, guys!
@vgvgf: Sorry man, I am trying to find out why it won't work for you. Perhaps Cremno is right and it is just a redistributable proble,
@cremno: Thanks, I've been trying to figure out which DLLs I need to include XD I haven't been using MSVCPP for very long, I used to just use MingW and do makefiles by hand XD. However, I kind of doubt that this is the problem vgvgf is having. He would get a LoadLibrary error, I think.
@KingKadelfek: Thanks for the compliment. As for the Sprites and GUI: Yes, it fully supports 2D (though you won't be able to use RGSS sprites, you have to use Irrlicht sprites) BUt you don't have to port your GUI to irrlicht, because irrlicht has a GUI built in :D. When I was talking about making my own GUI, it was for another set of scripts I am working on.
@Xilef: That will come in due time. It will be a little while, though, because I have to export all of the 3D functions first.
For those of you interested in seeing what coding with this looks like so far:
Scene_DriverChoice
Scene_3DTest
As you can see, it is a little bit ugly right now. I will be working on re-objectifying all of the functions after I export them.
@vgvgf: Sorry man, I am trying to find out why it won't work for you. Perhaps Cremno is right and it is just a redistributable proble,
@cremno: Thanks, I've been trying to figure out which DLLs I need to include XD I haven't been using MSVCPP for very long, I used to just use MingW and do makefiles by hand XD. However, I kind of doubt that this is the problem vgvgf is having. He would get a LoadLibrary error, I think.
@KingKadelfek: Thanks for the compliment. As for the Sprites and GUI: Yes, it fully supports 2D (though you won't be able to use RGSS sprites, you have to use Irrlicht sprites) BUt you don't have to port your GUI to irrlicht, because irrlicht has a GUI built in :D. When I was talking about making my own GUI, it was for another set of scripts I am working on.
@Xilef: That will come in due time. It will be a little while, though, because I have to export all of the 3D functions first.
For those of you interested in seeing what coding with this looks like so far:
Scene_DriverChoice
- class Scene_DriverChoice
- def main
- # Make system object and data (Can't make command windows with out 'em! :D)
- $game_system = Game_System.new
- $data_system = load_data("Data/System.rxdata")
- # Make command window
- s1 = "Software - IrrlichtEngine Driver"
- s2 = "Hardware - Direct3D9"
- s3 = "D3D8 DOES NOT WORK!"
- s4 = "Hardware - OpenGL"
- s5 = "Software - Burning's Video"
- @command_window = Window_Command.new(300, [s1, s2, s3, s4, s5])
- @command_window.x = 320 - @command_window.width / 2
- @command_window.y = 100
- # Execute transition
- Graphics.transition
- # Main loop
- loop do
- # Update game screen
- Graphics.update
- # Update input information
- Input.update
- # Frame update
- update
- # Abort loop if screen is changed
- if $scene != self
- break
- end
- end
- # Prepare for transition
- Graphics.freeze
- # Dispose of command window
- @command_window.dispose
- end
- #--------------------------------------------------------------------------
- # * Frame Update
- #--------------------------------------------------------------------------
- def update
- # Update command window
- @command_window.update
- # If C button was pressed
- if Input.trigger?(Input::C)
- $scene = Scene_3DTest.new(@command_window.index)
- end
- end
- end
Expand to see the code.
Scene_3DTest
- class Scene_3DTest
- def initialize(drivertype = 0) #the scene before this one let's you pick a driver
- #this is just a simple int:
- # 0 - Software
- # 1 - Direct3D9
- # 2 - Direct3D9
- # 3 - OpenGL
- # 4 - Burning's Video
- DF_3DRMXPSDK::START3D_FUNC.call(drivertype) #start our 3D window
- DF_GameWindow.set_dimensions(0,0,0,0) #move the 2D window out of the way
- DF_3DRMXPSDK::CREATELEVEL_FUNC.call("20kdm2") #load our level
- #note that passing that string
- #doesn't actually do anything.
- #That's just an example of what
- #it will look like
- DF_3DRMXPSDK::CREATEFPCAMERA_FUNC.call #create our first person camera
- #this call will also attach a collision
- #animator so our camera won't fall
- #through the ground. Now, this function
- #also gives permission for the 3D engine
- #to handle input on it's own. As you will
- #see in the update method, we are not giving
- #any instructions in here for the camera to move
- #In a later release, I will make it so you can
- #use RGSS to tell things to move, but I was
- #having problems, and I wanted to show you guys
- #a playable demo, so I did it the cheap way
- #and I handle most input in the DLL :D
- end
- def main
- lasttime = Time.now #this keeps track of when we call Graphics.update
- loop do
- if DF_3DRMXPSDK::RUN_FUNC.call == 0 #If the device has been closed
- #exit the game
- $scene = nil
- break
- end
- DF_Input.update #update the input. This is my own special input module :D
- #This input module will be included as well.
- time = Time.now #get the time
- if time - lasttime > 5 #has it been 5 seconds since we called Graphics.update?
- Graphics.update #better call it now
- lasttime = Time.now#reset the timer
- end
- update #call our update method
- break if $scene != self #break if scene has chnaged
- end
- DF_3DRMXPSDK::END3D_FUNC.call #dispose of the 3D window
- end #end main
- def update
- DF_3DRMXPSDK::STEPTEST_FUNC.call #this function is just like calling Graphics.update
- #Ok, since I can't use Input to move the camera just yet, take a look here
- #This part here will take user input and then ask the DLL what the framerate
- #is and print it out.
- if DF_Input.pressed?(DF_Input::KEY_F) #if F Key is pressed?
- p DF_3DRMXPSDK::GETFPS_FUNC.call #print out the current FPS!
- end
- end #end update
- end# end scene
Expand to see the code.
As you can see, it is a little bit ugly right now. I will be working on re-objectifying all of the functions after I export them.
ive played with it more, i think i like opengl best, i really like that level :)
I've found that it works better with the OpenGL option, I get on average 60FPS, I just have a few suggestions;
Would it be possible to rewrite the controls so that we can use WASD, and have Spacebar as jump instead of looking up and moving, this way it gives it more of a Firstperson feel, and also, would it be possible to add a model to the screen and change the camera distance so you'd basically be toggling first and third person.
This is very impressive and as I've said before, I'm really looking forward to this. :thumb:
Would it be possible to rewrite the controls so that we can use WASD, and have Spacebar as jump instead of looking up and moving, this way it gives it more of a Firstperson feel, and also, would it be possible to add a model to the screen and change the camera distance so you'd basically be toggling first and third person.
This is very impressive and as I've said before, I'm really looking forward to this. :thumb:
Interesting, you guys get better performance with OpenGL? For me, with this demo, I get about the same with either D3D9 or OpenGL, but in general D3D9 is usually about 50% faster for me.
Yeah, jbrist, all of that stuff is possible. This was just a simple demo using the defaul control scheme, but that will be fully customizable. I will also plan on including, by defauly, a toggleable First/Third person camera. Just be patient, though. This is gonna take a lot of time XD
Yeah, jbrist, all of that stuff is possible. This was just a simple demo using the defaul control scheme, but that will be fully customizable. I will also plan on including, by defauly, a toggleable First/Third person camera. Just be patient, though. This is gonna take a lot of time XD
Yeah, this demo works for me this time. And it's pretty damn incredible. I never thought anyone would ever manage to get a 3D engine working with RMXP, but you've managed it. Congratulations. You have just expanded the boundaries of XP game making.
Yeah don't worry, I'm patient, I'm just throwing a few more suggestions at you, heh :thumb:
@fox5: That's great news. I'm glad works for you. Thanks for the compliment ^^
@jbrist: Yes of course. Keep them coming, they help me think!
@jbrist: Yes of course. Keep them coming, they help me think!
Ok, I'm waiting for some examples of interactions between Ruby and all this 3D. :)
I never think to use 3D libraries in order to make 2D games. Is it a good idea ? (I'm talking about the power needed by the computer)
Quote:
Yes, it fully supports 2D (though you won't be able to use RGSS sprites, you have to use Irrlicht sprites) BUt you don't have to port your GUI to irrlicht, because irrlicht has a GUI built in :D.
I never think to use 3D libraries in order to make 2D games. Is it a good idea ? (I'm talking about the power needed by the computer)
While it is true that, in general, using a 3D engine for 2D is overkill and can (but not always) affect performance, The RM* Graphics modules are particularly bad examples of a 2D library, and I am almost 100% sure that Irrlicht's 2D will be faster than RMXP's. If I remember correctly, Irrlicht's 2D and 3D rendering are separate anyway, and so Irrlicht's 2D portion is plenty fast.
The Irrlicht engine is very high performance, and I am pretty sure that even it's 3D will be a lot faster than RMXP's 2D. Of course, the only downside is that Irrlicht is a lot more dependant on the machine, meaning not everyone who can use RMXP will be able to use the 3D. You can do 2D with a cheap onboard video card, while you cannot do 3D with said card.
I hope that in the next demo I will be able to show you a little bit of what it will look like when I re-objectify the functions.
The Irrlicht engine is very high performance, and I am pretty sure that even it's 3D will be a lot faster than RMXP's 2D. Of course, the only downside is that Irrlicht is a lot more dependant on the machine, meaning not everyone who can use RMXP will be able to use the 3D. You can do 2D with a cheap onboard video card, while you cannot do 3D with said card.
I hope that in the next demo I will be able to show you a little bit of what it will look like when I re-objectify the functions.
OMG - I downloaded the new demo (though I never downloaded the original one) and everything works and looks great (except for the Irrlicht engine, which only seemed to render things one or two steps away from me).
Yeah, I could explain to you why the IrrlichEngine Software Renderer does that, but I'd rather not XD. Note that the only reason you would want to use that renderer is if none of the others work. It's just there in case someone's video card can't handle hardware, but they have a strong CPU. Also, it is there for platform independence. The Irrlicht Engine is cross platform, so it can work in places where Hardware Acceleration is not possible.
Thanks for the comments, guys, keep 'em coming! I am working on the next release which will use RGSS to control more.
Thanks for the comments, guys, keep 'em coming! I am working on the next release which will use RGSS to control more.
If I wanted to do an animated character, to actually use in game (meaning some frames for idle pose, some frames for walking) are there any guidelines for that? Does importing from 3ds support animations?
That it does, that it does. And how you described the animation is just one of the ways you can animate.
The 3 main ways you can do animation (by default) are:
-Frame Based. You just tell it to play certain frames, and whether or not it should loop. You can choose the animation speed etc.
-Bone Based. Last time I checked, this was still a little buggy. The idea, though, is that you export your mesh with the skeleton and tell the bones where to move. This method is good if you want to program your own real-time dynamic animations. Chances are you won't actually want to try this one with this project XD. Doing AI calculations that complex in Ruby is not recommended.
-MD2 Animation. The engine supports importing Quake 2 format animated meshes that have the named animations, and you can use those if you want.
Chances are the frame based will be the most popular XD.
So, arev, did I read your earlier post right, that you may be willing to help with meshes after your done helping TM?
The 3 main ways you can do animation (by default) are:
-Frame Based. You just tell it to play certain frames, and whether or not it should loop. You can choose the animation speed etc.
-Bone Based. Last time I checked, this was still a little buggy. The idea, though, is that you export your mesh with the skeleton and tell the bones where to move. This method is good if you want to program your own real-time dynamic animations. Chances are you won't actually want to try this one with this project XD. Doing AI calculations that complex in Ruby is not recommended.
-MD2 Animation. The engine supports importing Quake 2 format animated meshes that have the named animations, and you can use those if you want.
Chances are the frame based will be the most popular XD.
So, arev, did I read your earlier post right, that you may be willing to help with meshes after your done helping TM?
This is cool and all, but wouldn't it be significantly easier to just learn to program or use a program that was, oh, I don't know, designed to support 3D? =/
Original thread: https://www.hbgames.org/forums/viewtopic.php?t=64022