daz3d / DazToUnreal

Daz to Unreal Bridge
Apache License 2.0
152 stars 45 forks source link

[Feature request] Allow configuration of DTU import settings #19

Open VirtualityDave opened 1 year ago

VirtualityDave commented 1 year ago

When a figure is imported via a dtu file passed over localhost, the import process will make adjustments to the figure root rotation.

It would be useful if this could be disabled so that already converted figures (e.g. DTL figures) can be imported. Currently, a DTL converted figure can be imported manually into UE with no issues. However, if a dtu file is created for the converted figure and is sent to UE, the figure appears in UE with the skeleton in the correct place, but the mesh is face down having been rotated 90 degrees forwards.

danielbui78 commented 1 year ago

Sorry for the late reply. You can enable the FBX Import Dialog in Project Settings -> Plugins -> Daz To Unreal Settings -> Show FBXImport Dialog. This should bring up the FBX Import Options window during import of a DTU file: you should be able to adjust the Import Rotation to account for Y-UP vs the Maya Z-UP. I will look into adding UI to make post-processing of FBX optional.

VirtualityDave commented 1 year ago

Hey Daniel,

Thank you for the replies. I'm still struggling to get a successful import using my modified dtu file, but I'll get there.

The other thing I'd like to put out there as a suggestion is the automatic setting of 'Recompute Tangents' for materials after import, as it's a pretty tedious task. I've written up some detail on it here: https://virtuality.space/dtl/#recomputetangents but in a nutshell, enable Skin Cache needs to be set in the project settings to enable the setting and it's essential to avoid shading issues when JCMs and other morphs make significant changes to the mesh. Currently, 'Recompute Tangents' must be set on at least the Torso, Head, ARms and Legs at a minimum. They have to be set one after the other and there's a significant delay whilst the recomputing takes place - it's laborious!

It'd be great if this was an import option, not just for my project but for all users in general.

On Thu, 15 Dec 2022 at 00:30, danielbui78 @.***> wrote:

Sorry for the late reply. You can enable the FBX Import Dialog in Project Settings -> Plugins -> Daz To Unreal Settings -> Show FBXImport Dialog. This should bring up the FBX Import Options window during import of a DTU file: you should be able to adjust the Import Rotation to account for Y-UP vs the Maya Z-UP. I will look into adding UI to make post-processing of FBX optional.

— Reply to this email directly, view it on GitHub https://github.com/daz3d/DazToUnreal/issues/19#issuecomment-1351824414, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3Y2YYIWPHGZO6J2YRCTF2DWNH74LANCNFSM6AAAAAASPHPEJM . You are receiving this because you authored the thread.Message ID: @.***>