Qhimm.com Forums

Miscellaneous Forums => General Discussion => Topic started by: halkun on 2009-06-28 22:52:59

Title: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-06-28 22:52:59
Could someone post the backgrounds of the first few fields in ff7? I just need the first 6 backgrounds or so... I'm gong to try and extrapolate 3d data from the 2d backgrounds...
Title: Re: I'm doing a sketchup experiment, I need pictures
Post by: Hellbringer616 on 2009-06-29 02:03:27
Extract the flevel.lgp and then open up the files with Aali's Palmer (link: http://backup.ninjaloot.se/share/palmer-0.2a.zip) you can even export as a png, But it will export as parts not a whole solid picture (as FF7 reads the field in parts not one picture)

I know the very first field is mdstin, and md1_1 is the second frame, so moving in that md*_* are the files you want. Hope this helps you out
Title: Re: I'm doing a sketchup experiment, I need pictures
Post by: halkun on 2009-06-29 06:45:49
I got it...
Here is my experiment :)

http://www.youtube.com/watch?v=QOjeNWdKsSg

What do you guys think? Not bad for an hours worth of work...
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-06-29 06:55:36
It's an experiment, it's a technology that may prove useful at a later time. :P
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Hellbringer616 on 2009-06-29 06:56:53
Well one thing he could do is a proper resize and rerender of the field, might make it look better. Or ad a 3d overlay on over the 2d field, so when you load it up everything scales properly and looks nice
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Xelane on 2009-06-29 07:00:00
Halkun, if you can do this well, then i fully support this idea. It seems like a good experiment if you ask me.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: apz freak on 2009-06-29 10:03:07
FFVII related or no, it's still quite an impressive feat! Hours worth of work vs weeks worth of work means you're the better choice in a developers eyes!
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Aali on 2009-06-29 12:26:37
Does this include the walkmesh in the calculations? If not, that might be a good way to get some more detail.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: obesebear on 2009-06-29 14:27:33
That is quite impressive!

With all those "create your own game" softwares I wonder if these 3d models could simply be inserted?  Followed by inserting .obj characters?  Followed by someone writing a decent camera script.

Keep us posted
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Prince Lex on 2009-06-30 00:57:50
That's actually awesome. You made it look so easy in that video. I'd spend hours doing that if I knew how.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: pyrozen on 2009-06-30 02:38:34
nice work! i had actually considered trying this with sketchup after i read a tutorial on create 3d images from 2d ones.  Only problem is see is that while it looks fully 3d, the textures are still very low res and would need to be re-done in order to fully reap the benefits of this.  Also, a static camera ingame will take alot away from the fully 3d objects you've worked so hard on because a 2d picture in layers can convery the same thing.  What we would need would be full T&L in towns and dungeons to make your work really shine.

It's still a very impressive project though, and i would love to see you expand on this idea some more!

lee
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-06-30 03:30:00
Does this include the walkmesh in the calculations? If not, that might be a good way to get some more detail.

No it doesn't. I haven't found a program that can display the walkmesh properly. The field editor crashes on my computer. The walkmesh would be very helpful.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Aali on 2009-06-30 04:39:58
The walkmesh format is really simple though, and you don't even have to bother with the access pool.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-06-30 06:55:55
The walkmesh format is really simple though, and you don't even have to bother with the access pool.
Heh! You assume I code :P

I'm a data analyst - Same planet, different world.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Aali on 2009-06-30 07:17:43
You want it in .obj format? It's like 10 lines of code.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-06-30 14:39:24
You want it in .obj format? It's like 10 lines of code.

My program takes 3ds and DXF files. I can probably convert an obj file with blender. If you can knock out a very dirty walkmesh converter, that would make tracing out the levels a lot easier.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Viashino on 2009-06-30 15:13:04
well.... i discovred a way to convert any texture to 8-bit and not lose any color i did it with cc models i did it with kh 1 and 2 models,  and it worked fine for dessidia models and i used them in a test in my ff7 and i didnt loose color so, if you make a high quality background ill convert it for you so that its usable in ff7 and if you get that to work then ill add it in my HD project :) if you dont mind.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Aali on 2009-06-30 15:27:59
My program takes 3ds and DXF files. I can probably convert an obj file with blender. If you can knock out a very dirty walkmesh converter, that would make tracing out the levels a lot easier.

3ds is a nasty format and DXF I know nothing about. Blender will take care of that though.

Every walkmesh in the game, along with the script that dumped them:
http://backup.ninjaloot.se/share/walkmesh.zip (http://backup.ninjaloot.se/share/walkmesh.zip)
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Covarr on 2009-06-30 20:50:52
Also, a static camera ingame will take alot away from the fully 3d objects you've worked so hard on because a 2d picture in layers can convery the same thing
Except using this technique to make 3D images, and then converting them back to 2D but at a higher resolution than the original, would still get vastly improved field images, just because they'd have sharper edges on a lot of buildings and such.

Think of it like running the game in a higher resolution, the characters' textures (eyes and such) and text still look blocky, but it's still an obvious improvement vs running it at 320x240 on the PSX.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-06-30 23:33:16
What are you guys trying to do? :-o

It's an experiment. You can use the program to trace out the 3d topography. If you have the lower resolution textures you can improve those and reapply.

I just think it would be cool to have 3D version if the field screens to play with, mostly it's for my own amusement to recreate some of the scenery. Maybe with it you could re-render the models with better textures.

Keep in mind, it's just an experiment, there are hundreds of field graphics not to mention Square would go bananas if I released it.  It's just for my personal amusement.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Hellbringer616 on 2009-07-01 00:40:27
Even if you just resize and texture them then make them 2D again instead of making 3d ones?
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Chrysalis on 2009-07-01 00:47:18
would this make it then possible for 3d drivers to apply AA to the bg etc.?
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-07-01 01:35:47
No it means with about a few days worth of work, by both modeling and texture touch-ups, you can get a 3d version of a field picture with the proper camera angle for unlimited mangnifacation (Keep in mind, not everything needs to be textured and the "backs" can be left blank.

The system works by having the human "trace out" what you perceive as being 3D. (The computer can't do this) The computer then projects the rest. Having the walkmesh makes it easier because those were taken from the original renders, and gives you elevation data. (As least where the characters walk) and you could extrapolate the rest. Putting the model in 3D also allows you to re-texture details easily.

I'll experiment more tonight.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Xelane on 2009-07-01 01:44:05
halkun, how long do you think it would take for you to render all of the areas in the game like this? if you could make a patch for that i would definately use it.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Hellbringer616 on 2009-07-01 01:44:17
If this works and we cut it up properly to be used with Aali's Palmer, the backgrounds will look so much nicer. We could even make it less blurry then the original blurry backgrounds at native res :-D

Assuming this works that is.

halkun, how long do you think it would take for you to render all of the areas in the game like this? if you could make a patch for that i would definately use it.

Sadly i don't think you can ever add true 3d backgrounds to FF7 without A LOT of trouble :cry:
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-07-01 11:49:58
Ok Guys, Here's Experiment Number 2 (http://www.youtube.com/watch?v=z2_fqoCjKPM)!!

I discovered 2 things...

#1 The walkmeshes were (poorly) hand-traced after the render. I could make better ones, but then again, it wasn't like it was supposed to be something you see.

#2 Did you know there were words on building? It says "North Edge Station" You can see it when you project it.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Hellbringer616 on 2009-07-01 17:07:34
Wow, awesome work :-D
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Kudistos Megistos on 2009-07-01 17:54:38
halkun, how long do you think it would take for you to render all of the areas in the game like this? if you could make a patch for that i would definately use it.
Sadly i don't think you can ever add true 3d backgrounds to FF7 without A LOT of trouble :cry:

Sigh. It would be nice  :|

Ok Guys, Here's Experiment Number 2 (http://www.youtube.com/watch?v=z2_fqoCjKPM)!!

That's pretty damn impressive. Even if it is just for fun (right now), I hope you do some more work on this. If nothing else, it's nice to see what the towns in FF7 really look like, rather than seeing one screen at a time from one angle.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Prince Lex on 2009-07-01 20:04:35
#2 Did you know there were words on building? It says "North Edge Station" You can see it when you project it.

I can't believe there are words on that building. That's something I've never noticed before.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Packer on 2009-07-01 20:11:03
That's really impressive.

Although, not all that necessary nor for any good use, you should export the Sketchup file as a TF2/ L4D map. It would be fun to run around on that level, despite it being the wrong game.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: BlitzNCS on 2009-07-01 23:31:34
Question.
If somebody made new textures that were at a lot higher resolution, and just generally new, would it be possible for you to get the exact correct camera position so you could make High def renders for use in conjuntion with this (http://forums.qhimm.com/index.php?topic=8450.0), as well as the new Custom driver? That would be epic. although the textures would have to be spot on, not to mention the models would have to much more complete and near perfect too.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-07-02 00:36:14
You start with the camera in the exact position so that part is actually the easiest. If you want to texture the model more power to you. I'll play with it more when I have a chance. The funny thing is the backgrounds are not that complex, There is also a lot of Photoshopping done after the fact.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Timu Sumisu on 2009-07-03 04:49:40
in terms of the thought of rerendering backgrounds, if you can export the model as done like so, most of what square did was add procedural textures which take 2 seconds to make, the issue is largely the camera angle ( i don think sketch up exports that :P ) anyhow it'd definately be interesting to see what could be accomplished texturing these models.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Hellbringer616 on 2009-07-03 23:47:20
Easy to make textures like that? Seems like it would be hard. But if you can do it more power to you, you and Halkun could team up, and when Aali improves Palmer then you can make proper high resolution Prerendered backgrounds! :-D
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Furzball on 2009-07-05 16:54:44
Ok, question in curiousity, would that mean that "North Edge Station" Could technically mean Sector 7 was originally named "Edge"?
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Borde on 2009-07-05 17:40:37
I'm really impressed with your experiment halkun. If you get this done FF7 could look seriously better. Even if the camera doesn't move too much, it usually has some panning that would look far better with a real 3D background.

If I undestrand correctly, in order to get one of this backgrounds in game you should:
1 - Destory the original 2D background information so that it doesn't collide with the new geometry.
2 - Add a new entity to the level file.
3 - Modify the script so that it shows the model in the level.
If I recall correctly steps 1 and 3 are already possible. I don't know about the 2nd one, though. Backgound animations could cause some more problems though.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Hellbringer616 on 2009-07-05 19:10:53
Q-Gears is working on that. Though i haven't seen much news in a few months :-(
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Timu Sumisu on 2009-07-07 14:35:40
what format can sketchup export to, and all the worry about the camera, is that i dont think you can export camera position, so short of making everything in sketchup, what other options are there?

I can see this being particularly useful for remaking fmvs (something i hope to do eventually) by making the first frame, which would provide a scaled area model, leaving only the camera position to tinker.
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: obesebear on 2009-07-07 16:31:17
Well if the walkmesh/new walkmesh is included on the 3D file, would it be possible to import it into FF7 and work correctly?
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Edenkov on 2009-08-09 13:51:24
Hi, any news ?
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Harruzame on 2009-08-09 14:05:31
This would be great...I think Originally the makers of this game made rough sketches of the backgrounds including the names and signs made.But since PSX doesnt emulate too much then..It doesn't show.. I've watched a couple of TECH shows...and I remember they where discussing this things...


But hey can't wait for this game to be in 3D. Hey you know you're already remaking the game by doing this...Almost as if this is a secret project for Squeenix of some sort...hhhehehehe

Just curious!!!... No harm intended!....
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Hellbringer616 on 2009-08-09 17:04:28
So Halkun, Still working on this project? Or is it scraped? i'm curisous as since you can now replace backgrounds with Aali's driver
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: halkun on 2009-08-09 19:37:25
It was an experiment... Just for fun. I have not gone furthur
Title: Re: An experiment to turn the 2D field files into 3D (w/video)
Post by: Edenkov on 2009-08-10 21:49:58
Is there a chance you could share the 3D files or the way you do that ?