Picalines / outer-scout-blender

A cinematic toolbox for Outer Wilds & Blender
0 stars 0 forks source link

Body fbx file not found #3

Open Thecreatre opened 2 weeks ago

Thecreatre commented 2 weeks ago

right as it says on the tin

and yes i did use asset studio or whatever to extract the twins

also it seems the addon is refusing to use the new folder i made for the twin extraction (this might be the whole reason its refusing to work, that internally its still using the old bodies file path)

(as u can see its saying orbital (as i n the orbital probe cannon) not "the twins" the name of the new folder)

image

Thecreatre commented 2 weeks ago

also unrelated (sorta) to this issue but i dunno where to ask is that even if this addon isn't in the business of ripping the full quality versions of the planets (and or structures) i feel like u should be able have the planets on for specifically for reflections and stuff (this m ight already be a thing your intended todo but i haven't found anything mentioning it (and i cant check myself due to this issue)) so... question exists now! (albeit i am kind of biased cause i was trying to use this thing originally to try to get a decent model of the OPC (yakow one that acculy has the interior so i dunno))

Picalines commented 2 weeks ago

image

It seems to me that the addon looks in the 'orbital' folder, but the fbx is actually in the 'Mesh' subfolder, or something like that. Please, provide a screenshot of your addon preferences - it's hard to debug without full context

Note that the addon doesn't do a recursive search of fbx files in subfolders. I can do that, but personally I think it can lead to wrong files being found. I can't just scan your entire PC even if the file is there :)

(Also, yeah, I just don't think it's a good idea to do this things in the Downloads. It's your buiseness, I'm just saying)

Picalines commented 2 weeks ago

this addon isn't in the business of ripping the full quality versions of the planets

Currently it's not the intended use case of the addon

The problem is that's impossible (to my understanding) to rip full quality body model. Remember that the addon reads fbx file with static meshes and then searches for dynamic obj files - that's the hardest part, because sometimes it finds wrong model, because it had a similar file name (and there isn't any good method besides looking at the filename)

I don't say it's entirely impossible, I want to say that this algorithm is just too painful to test and debug. On my machine it takes several minutes to generate a planet, and then you have to look for wrong things, and also account for the Unity->Blender coordinate conversion, and then it'd fail on some transparent/shader object - I don't want to write cross-rendering-engine-thing :(

Also it's hard because planets actually have dynamic things going on, so there should be some UI accounting for that. I'd be happy if there was a simpler way to do this things, but tbh I just don't know them

Thecreatre commented 2 weeks ago

It seems to me that the addon looks in the 'orbital' folder, but the fbx is actually in the 'Mesh' subfolder, or something like that. Please, provide a screenshot of your addon preferences - it's hard to debug without full context

Note that the addon doesn't do a recursive search of fbx files in subfolders. I can do that, but personally I think it can lead to wrong files being found. I can't just scan your entire PC even if the file is there :)

(Also, yeah, I just don't think it's a good idea to do this things in the Downloads. It's your business, I'm just saying)

look that's just how i work unless im thinking im going to be spending alot of time on it, anyway

image

btw am i supposed to supply the streaming assets? the documentation is.. sparse so don't know

Picalines commented 2 weeks ago

btw am i supposed to supply the streaming assets?

Yes, it's documented. Bodies Folder is for the planets you've picked in the AssetStudio tree, Extracted Assets Folder is for the streamed assets. They have to be separate, because entire file paths matter

image

And that these folders are not just one planet - you make them on installation, and then export all planets there

image

You should:

Thecreatre commented 2 weeks ago

i see, should i reinstall to get it to change the file path its looking for or something?

Picalines commented 2 weeks ago

i see, should i reinstall to get it to change the file path its looking for or something?

The folder icon on the right side opens a file picker window. That's standard Blender interface

Screenshot 2024-08-31 at 19 38 39
Thecreatre commented 2 weeks ago

btw am i supposed to supply the streaming assets?

Yes, it's documented. Bodies Folder is for the planets you've picked in the AssetStudio tree, Extracted Assets Folder is for the streamed assets. They have to be separate, because entire file paths matter

image

And that these folders are not just one planet - you make them on installation, and then export all planets there

i see, that "important tag" thing i read and didnt really understand other than it saying the fbx is lower quality and the obj is higher quality but there in 10 trillion different puzzle pieces

Thecreatre commented 2 weeks ago

i see, should i reinstall to get it to change the file path its looking for or something?

The folder icon on the right side opens a file picker window. That's standard Blender interface

Screenshot 2024-08-31 at 19 38 39

uh but i did that but its s till looking in the orbital folder

Thecreatre commented 2 weeks ago

its mentions the folder when ever it fails to make the scene

Thecreatre commented 2 weeks ago

image

(this)

Picalines commented 2 weeks ago

uh but i did that but its s till looking in the orbital folder

In the first screenshot you have Downloads\orbital, but then in the preferences you have Downloads\The twins in both paths. The addon can't walk up to Downloads and then select The twins/orbital at random, it doesn't work like that

Bodies Folder is used to find fbx files just like i described: X/<planet_name>.fbx, nothing more. Extracted Assets Folder should contain all obj files of streamed meshes, and it's inner structure depends on Asset Studio preferences mentioned in the readme

Sorry for the frustration, all instructions are in the readme, and all of them are required. I know there're a lot of details - but that's usually how things work with asset extraction in general

Thecreatre commented 2 weeks ago

uh i was showing the screen shot cause its still using the old file path (that screen shot giving an err about not being able to find tower twin) but at that point i had already switched to the twins folder so i dont know why its still looking in orbital (dispite my changed settings)

Thecreatre commented 2 weeks ago

basically my preferences where not changed between the time of the first screen shot and the second one (showing the preferences window)