The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: punishermark13 on February 19, 2007, 02:16:04 AM

Title: 3d engine with xp...
Post by: punishermark13 on February 19, 2007, 02:16:04 AM
I have a 3d egine,i make maps and caracters with it and i would find it a hell allot easier to put my maps and caracters that are 3d into xp.is this possible or just makes it harder.
Title: Re: 3d engine with xp...
Post by: Blizzard on February 19, 2007, 12:05:50 PM
This would make it easier for you, yes, but scripting a 3D engine in RMXP is as good as impossible, because RMXP's RGSS Ruby is an interpreted language and not compiled, so it's way slower. A 3D engine would kill your CPU. And besides, a 3D engine is harder to make than the NP+ scripts for RMXP MMOs.
Title: Re: 3d engine with xp...
Post by: punishermark13 on February 19, 2007, 11:22:25 PM
Hey i remeber you were talking about making a new rpg maker do you think to make it a 3d or keep it to 2d
Title: Re: 3d engine with xp...
Post by: Blizzard on February 20, 2007, 11:25:10 AM
A 3D engine would need like a year or more of constant development. 3D isn't as easy as 2D. A 2D engine is a joke compared to a 3D engine.
Title: Re: 3d engine with xp...
Post by: italianstal1ion on February 20, 2007, 11:39:36 PM
heh

http://savefile.com/files/506702
Title: Re: 3d engine with xp...
Post by: :) on February 20, 2007, 11:41:14 PM
Quote from: italianstal1ion on February 20, 2007, 11:39:36 PM
heh

http://savefile.com/files/506702

? what is this....screenshots  ;D

EDIT: THAT IS SWEEEEEEEEET
Title: Re: 3d engine with xp...
Post by: Blizzard on February 21, 2007, 12:47:58 PM
The damn download always freezes after 33%! >:(

Say, is it that CBS that uses 3D pre-rendered sprites?


Got it working. The car driving is not 3D, you have to be blind to think that. Press space and look how the sprites go up. ::) To be honest, the 3rd looks like it was calculated 2D drawing. And the 1st one is just basic 3D. I couldn't find any flaw that could reveal it as fraud Pseudo 3D.
This is still no real 3D engine. And already now it lags like hell, so it's unusable.
Title: Re: 3d engine with xp...
Post by: robot797 on February 21, 2007, 02:20:29 PM
it is great but how can you use it
whitout thwe encrypted file
Title: Re: 3d engine with xp...
Post by: &&&&&&&&&&&&& on February 21, 2007, 04:45:52 PM
I liked the first one, how did you do taht?
Title: Re: 3d engine with xp...
Post by: robot797 on February 22, 2007, 01:58:54 PM
i have found an first person shooter on the net maybe you like it

http://www.megaupload.com/?d=S60AED56
Title: Re: 3d engine with xp...
Post by: okartee on February 23, 2007, 12:14:08 AM
Quote from: italianstal1ion on February 20, 2007, 11:39:36 PM
heh

http://savefile.com/files/506702

is that mode7?

lol nvm
Title: Re: 3d engine with xp...
Post by: italianstal1ion on February 23, 2007, 05:45:33 AM
Quote from: Blizzard on February 21, 2007, 12:47:58 PM
The damn download always freezes after 33%! >:(

Say, is it that CBS that uses 3D pre-rendered sprites?


Got it working. The car driving is not 3D, you have to be blind to think that. Press space and look how the sprites go up. ::) To be honest, the 3rd looks like it was calculated 2D drawing. And the 1st one is just basic 3D. I couldn't find any flaw that could reveal it as fraud Pseudo 3D.
This is still no real 3D engine. And already now it lags like hell, so it's unusable.

sorry you had all that trouble i know savefile is kinda crappy

the car driving...the roads disappear! XD
Well, I think it's just clever use of pictures and manipulation of RMXP. How would you 3D render anything? What could you use? You can't import 3D objects into RMXP ...

If anyone checked out what robot797 posted, it could be layered out like that.
Title: Re: 3d engine with xp...
Post by: robot797 on February 23, 2007, 07:41:56 AM
no this is no mode 7
it is a firsth person shooter
Title: Re: 3d engine with xp...
Post by: Blizzard on February 23, 2007, 05:23:27 PM
Quote from: italianstal1ion on February 23, 2007, 05:45:33 AM
sorry you had all that trouble i know savefile is kinda crappy

the car driving...the roads disappear! XD
Well, I think it's just clever use of pictures and manipulation of RMXP. How would you 3D render anything? What could you use? You can't import 3D objects into RMXP ...

Actually you could import 3D objects into RMXP, but as I said, the entire engine would be needed to be written from scratch.
And yeah, it's a very clever sprite manipulation, really cool. ;8 I am surprised it lags less than mewsterus' Mode07 script.
Title: Re: 3d engine with xp...
Post by: Zeriab on February 24, 2007, 12:51:29 AM
Raycasting is used in the Wolfenstein part.
Raycasting is a rendering technique to create a 3D perspective in a 2D map. Back when computers were slower it wasn't possible to run real 3D engines in realtime, and raycasting was the first solution. Raycasting can go very fast, because only a calculation has to be done for every vertical line of the screen. The most well known game that used this technique, is of course Wolfenstein 3D. (source) (http://student.kuleuven.be/~m0216922/CG/raycasting.html)

I'm not sure what the technique used for the racing game is called, but it's basically the same as the old Lotus games.
Something about resizing and stretching sprites. I was too bored to read through the code and learn how it works in details.

The third part is indeed 3D. The dots are stored in space and the objects positions are calculated out from them.
More precisely some kind of a Perspective Projection is used to calculate the objects screen coordinates.

I'm babbling and you are probably wondering why I know so much about the internal workings of the systems.
The reason is that I have the source code. You can download the open system here: http://www.hbgames.org/myonosken/3DengineV5Open.rar
Title: Re: 3d engine with xp...
Post by: Blizzard on February 24, 2007, 11:29:43 AM
Quote from: Zeriab on February 24, 2007, 12:51:29 AM
The third part is indeed 3D. The dots are stored in space and the objects positions are calculated out from them.
More precisely some kind of a Perspective Projection is used to calculate the objects screen coordinates.

The thing that let me think it's just another Pseudo 3D was that the dots in space don't get larger if you rotate them close to you. They are only being moved.

I might check out the code later.
Title: Re: 3d engine with xp...
Post by: Zeriab on February 24, 2007, 03:06:09 PM
The dots grow in height, but not in width, a bit weird.
Title: Re: 3d engine with xp...
Post by: Blizzard on February 24, 2007, 03:09:37 PM
In the end it's ALL just data, lol!
Any 2D, 3D or whatever is just data being processed correctly. ;8
Title: Re: 3d engine with xp...
Post by: Zeriab on February 24, 2007, 04:27:45 PM
Depends...
If the dots are supposed to grow in both height and width, then the data is not being processed correctly :/
Title: Re: 3d engine with xp...
Post by: Blizzard on February 24, 2007, 04:29:23 PM
Quote from: Zeriab on February 24, 2007, 04:27:45 PM
Depends...
If the dots are supposed to grow in both height and width, then the data is not being processed correctly :/

Of course that's not correct then. But I actually just meant in general. It's all 0 and 1. :B
Title: Re: 3d engine with xp...
Post by: Zeriab on February 24, 2007, 04:42:05 PM
It's all electric currents !_!

Perhaps we are going too off-topic >_>
Title: Re: 3d engine with xp...
Post by: Blizzard on February 24, 2007, 04:49:07 PM
Yeah, logical 0 and logical 1 are too much off-topic. (They're not currents, they're voltage ;)) Anyways, many of those "3D" engines were used in older games where was no 3D. Many old racing games have that racing thingy there.