ubiquity / hackbar

0 stars 1 forks source link

Export Mirrors Edge Catalyst Geometries #3

Closed 0x4007 closed 1 month ago

0x4007 commented 6 months ago
  1. export geometries
  2. preserve textures
  3. allow 3d collaborator (uses cinema4d) to design the office based on the maps+textures in the game. make sure that we can get it to work in cinema4d

https://www.perplexity.ai/search/i-need-to-IJTfcVeVSJ6gSUX473Oe3w

0x4007 commented 6 months ago

@FernandVEYRIER check the perplexity search. There's existing tools for this so it should be doable within a day or two probably!

gentlementlegen commented 6 months ago

Did some research, and the closest there is to achieve results is https://github.com/CadeEvs/FrostyToolsuite

Even so, most of the textures might have to be manually re-assigned, tweaked, and geometries might be off or all in one block. I cannot tell before setting up the whole game and project. Is this something you want me to put time into?

0x4007 commented 6 months ago

I'm not sure I just want to make it efficient for interior designers/architects to tour and lift ideas from. What do you think is the best approach?

Although walking through the game is one way to do it, I think it's very slow and inefficient for meetings and actual design work.

gentlementlegen commented 6 months ago

If the purpose is only a showcase we could simply shoot videos with different angles, so we don't have to start the game to showcase it. Otherwise, there should be asset packs with a similar vibe directly available to use in Unreal? But in that case you should build rooms from scratch.

0x4007 commented 6 months ago

I already spent some time putting together a design doc, basically with screenshots. Next step is actual design work and if we had geometries then it should be faster to complete.

First meeting with a design company is this Sunday.

gentlementlegen commented 6 months ago

I am installing ME Catalyst and see what I can do. I also thought, how about you have a look at https://www.unrealengine.com/marketplace/en-US/assets?count=20&keywords=bar&sortBy=relevancy&sortDir=DESC&start=0 and maybe see something that you are interested in? Have a demo inside of UE5 would allow to freely move around inside the bar.

gentlementlegen commented 6 months ago

@pavlovcik To give you some idea about the progress, here are two assets I could extract from ME Catalyst that I render in UE5 (it could be used in C4D as well)

image

So it is feasible, however only assets can be extracted. The way levels works is that they are a bunch of assets all bundled together in a bigger object (maybe there is a way to extract it bundled but didn't find anything yet). Maybe there is a way I can automate extraction but I am not sure. Currently it is tedious as I have to reassign UVs, normals, and cannot extract shaders (so far).

0x4007 commented 6 months ago

Just worry about geometries and we can reference screenshots for shaders and textures?

gentlementlegen commented 6 months ago

Asset geometries and textures + normals are easy to extract, sure can ignore shaders. Only thing that sadly I don't have is the whole level layout. I will try to automate it because so far everything was done manually as Frosty Editor doesn't seem to expose any API.

0x4007 commented 6 months ago

Only thing that sadly I don't have is the whole level layout.

This is unexpected can you elaborate? To be clear the assets are not of interest. Just the architecture.

gentlementlegen commented 6 months ago

A level is basically a file describing how a lot of different assets are assembled together, which is something unique to every game engine (here Frostbite) that cannot be interpreted by any 3D format (because it is not a 3D model itself). Example of level:

image

This is why it is not too hard to extract assets and their textures but very hard to extract the layout. In the screenshot you can see a group of objects with different positions and scales that reference a prefab.

0x4007 commented 6 months ago

So what's the best plan from here given the project requirements for wanting to manipulate map geometries for office architecture?

gentlementlegen commented 6 months ago

If we want them to be able to manipulate geometry, best is extracting the assets from the game. If what they have to do is wall / floors / ceiling it is not so hard, it is harder to get props to fill in the environment. If what we want is simply giving a showcase for ideas, the best might be to either show directly through the game or take some videos for reference. There are tools to roam freely in the levels, c.f. attached gif. If we want to provide the whole package, the best is to get an asset pack as suggested before, that would be of your liking so it can be use freely to arrange and imagine the layout. These days it would be popular to do that through a game engine so you can go within it or even use VR to get a proper idea of what it looks like. MirrorsEdgeCatalyst2024 03 27-02 41 12 02-ezgif com-optimize

0x4007 commented 6 months ago

If what they have to do is wall / floors / ceiling it is not so hard

Yes this is the primary ask

There are tools to roam freely in the levels, c.f. attached gif.

This is helpful! Set me up!

If we want to provide the whole package, the best is to get an asset pack as suggested before, that would be of your liking so it can be use freely to arrange and imagine the layout.

Also seems useful but maybe kind of complex to set up. Perhaps you can distill some instructions for me.

Bear in mind I'm on an m1 MacBook not sure if there are limitations with tooling here.

gentlementlegen commented 6 months ago

Okay then I will do my best to extract all the possible mesh + texture + normal from the game.

For the free camera, here is the mod, it's called Cinematic Tool: https://steamcommunity.com/sharedfiles/filedetails/?id=2120075880 But probably this only works on Windows not MacOS, because it seems to inject Dlls. You could consider steaming via a remote PC using Parsec or similar tools.

The limitation with Cinema4D or other 3D tools is that you can not move around the space freely while enjoying the full quality of the rendering, which is why UE5 seems nice for that purpose. But probably a Macbook would die there indeed, time to invest in a Razor Blade or something powerful haha

gentlementlegen commented 6 months ago

/start

ubiquibot[bot] commented 6 months ago

DeadlineWed, Apr 3, 4:59 AM UTC
Registered Wallet 0x0fC1b909ba9265A846b82CF4CE352fc3e7EeB2ED
Tips:
0x4007 commented 6 months ago

Okay then I will do my best to extract all the possible mesh + texture + normal from the game.

Focus on the maps and assets mentioned in the design doc.

ubiquibot[bot] commented 1 month ago
# No linked pull requests to close
ubiquibot[bot] commented 1 month ago
# Issue was not closed as completed. Skipping.
ubiquityos[bot] commented 1 month ago
# Issue was not closed as completed. Skipping.