8,484
edits
Paradox-01 (talk | contribs)  | 
				Paradox-01 (talk | contribs)  m (→Meshes)  | 
				||
| Line 370: | Line 370: | ||
====Meshes====  | ====Meshes====  | ||
[[Image:UE4_StaticOniMesh.png|400px|right|thumb]]  | [[Image:UE4_StaticOniMesh.png|400px|right|thumb]]  | ||
Since '''OniSplit outputs 3D meshes mostly as Collada (DAE)''' - and few as Wavefront (OBJ) - you cannot transfer objects from Oni to UE4 directly.  | Since '''OniSplit outputs 3D meshes mostly as Collada (DAE)''' - and few as Wavefront (OBJ) - you cannot transfer objects from Oni to UE4 directly.  | ||
| Line 378: | Line 377: | ||
You either need the '''[https://www.autodesk.com/developer-network/platform-technologies/fbx-converter-archives FBX converter]''' or [[Blender]] to convert the Collada to FBX file format.  | You either need the '''[https://www.autodesk.com/developer-network/platform-technologies/fbx-converter-archives FBX converter]''' or [[Blender]] to convert the Collada to FBX file format.  | ||
=====Reimports (Furniture)=====  | |||
The CJBO files include a furniture file. But this can be mostly garbage - or empty. Instead the furniture is baked into AKEV. The meshed have flags which allow OniSplit to extract these objects again.  | |||
 Onisplit -extract:dae level1_Final level1_Final/AKEV*.oni  | |||
In the past this create a bunch of DAE files:  | |||
 EnvWarehouse_bnv.dae  | |||
 EnvWarehouse_cons.dae  | |||
 EnvWarehouse_door.dae  | |||
 EnvWarehouse_furn.dae  | |||
 EnvWarehouse_env.dae  | |||
 EnvWarehouse_env_markers.dae  | |||
 EnvWarehouse_script_X.dae  | |||
 EnvWarehouse_trig.dae  | |||
 other.dae  | |||
At some point _furn might be extracted as part of _env. The cause for this is unknown.  | |||
| Line 414: | Line 432: | ||
If we import a level 1 '''furniture file as it is''', it creates 366 meshes, 66 textures/materials, resulting in a total '''498 "uassets" 45 MB''' in disc space. The process takes all cores to get the job done, first import, about one or two minutes on a modern CPU.  | If we import a level 1 '''furniture file as it is''', it creates 366 meshes, 66 textures/materials, resulting in a total '''498 "uassets" 45 MB''' in disc space. The process takes all cores to get the job done, first import, about one or two minutes on a modern CPU.  | ||
'''Some possibilities of preparing FURN'''  | |||
| Line 483: | Line 505: | ||
After the level has been broken down into pieces it could be save as DAE and then converted to FBX.  | After the level has been broken down into pieces it could be save as DAE and then converted to FBX.  | ||
'''Baked-in furniture'''  | |||
At unknown constellation OniSplit outputs the "_env" file with furniture from level one (Syndicate Warehouse). This needs double-checking. Is a newer OniSplit or .NET/Windows 10 version to blame?  | |||
====Sockets====  | ====Sockets====  | ||
edits