Talk:Restless Souls/Wishlist: Difference between revisions

m
link correction for MB-Lab now that it's been discontinued
(Convert ONCC to UE4 Model Workflow (WIP))
m (link correction for MB-Lab now that it's been discontinued)
 
(15 intermediate revisions by 4 users not shown)
Line 33: Line 33:


====Tutorials for UE4====
====Tutorials for UE4====
::Unreal Engine 4 Community Tutorials: <nowiki>https://www.ue4community.wiki/Category:Tutorials</nowiki> (dead link)
::Various Tutorials by Tommy Tran: http://web.archive.org/web/20171018100642/https://www.raywenderlich.com/u/TommyTran


:'''Skeleton assets'''
:'''Skeleton assets'''
Line 50: Line 54:
::Create model: https://www.youtube.com/watch?v=KH5dmggnlXo
::Create model: https://www.youtube.com/watch?v=KH5dmggnlXo


::Export Make Human character into Mixamo for animations: http://www.codegeek.io/20170409-animate-makehuman-character-in-mixamo/
::Export Make Human character into Mixamo for animations: http://web.archive.org/web/20170920190459/http://www.codegeek.io/20170409-animate-makehuman-character-in-mixamo/


::import Mixamo character into UE4 https://www.youtube.com/watch?v=vgo4jnM0NyY
::import Mixamo character into UE4 https://www.youtube.com/watch?v=vgo4jnM0NyY
Line 66: Line 70:
Programs to create custom characters
Programs to create custom characters


Make Human - Stand alone program (free) - http://www.makehuman.org/
MakeHuman - Standalone program (free) - https://github.com/makehumancommunity/makehuman
 
MB-Lab - Addon for Blender (free) - https://github.com/animate1978/MB-Lab (development halted)
ManuelBastioniLAB - Addon for Blender (free) - http://www.manuelbastioni.com/index.php


Adobe Fuse 1.3 - Available in Steam (free) - http://store.steampowered.com/app/257400/Fuse/
Adobe Fuse 1.3 - Available in Steam (free) - https://store.steampowered.com/app/257400/Fuse/ [Cannot run on Macs any longer. -Iritscen]


Adobe Fuse CC Beta - Adobe Creative Cloud (subscription) - http://www.adobe.com/products/fuse.html
Adobe Fuse CC Beta - Adobe Creative Cloud (subscription) - <nowiki>https://www.adobe.com/products/fuse.html</nowiki> [Software is now discontinued. -Iritscen]




Line 131: Line 134:
1) Extract ONCC with Vago, option standing pose. (note s10k has to update Vago for this option)
1) Extract ONCC with Vago, option standing pose. (note s10k has to update Vago for this option)


2) To change the model into a T-pose, open the dae in text editor, search for <node id="right_biceps">, then in the tag <rotate sid="rotY"> change the value from -90.000000 to  0.000000. Next search for <node id="left_biceps"> then in the tag <rotate sid="rotY"> change the value from 90.000000 to  0.000000.  Save dae
2) To prepare the model, the following changes should be done. First of all open the dae in text editor. Search for <unit meter="0.1" name="decimeter" /> and change it <unit meter="10" name="decameter" />, this will set the model to the proper scale for UE4. To change the model into a T-pose, search for <node id="right_biceps">, then in the tag <rotate sid="rotY">, change the value from -90.000000 to  0.000000. Next search for <node id="left_biceps">, then in the tag <rotate sid="rotY"> change the value from 90.000000 to  0.000000. Finally, the pelvis height can be changed. Search for <node id="pelvis"> <translate sid="pos">0.000000 0.000000 0.000000</translate>. The second value should be changed to around 9 for female models and 10 to 11 for male models. For example, Konoko would be <translate sid="pos">0.000000 9.200000 0.000000</translate>You can determine the exact height, by opening the dae in a 3D program and adjust the height of the pelvis o that the feet are level with the ground. (Note: Will need further study on adjusting the pelvis height to see if there are any negative consequences)


3) Use the program Autodesk FBX Converter 2013 to convert the dae into FBX. Use the option "Embed media", Save mode "Binary".
3) Use the program Autodesk FBX Converter 2013 to convert the dae into FBX. Use the option "Embed media", Save mode "Binary".


4)Go to website www.mixamo.com and login with your Adobe ID. Upload your character. In the Auto_Rigger page, follow the instructions and in the dropdown menu for Skeleton LOD select No Fingers (25).  Once you are satisfied with the rigging, select the Animations Tab and search for T Pose and apply it to your model. Finally, download the model with the settings Format: FBX(.fbx), Skin: With Skin, Frames per Second: 30, Keyframe Reduction: none.  Note: If you want to download other animations, such as run, jump, flip, etc, choose "Without Skin" for the Skin option.
4) Go to website www.mixamo.com and login with your Adobe ID. Upload your character. In the Auto_Rigger page, follow the instructions and in the dropdown menu for Skeleton LOD select No Fingers (25).  Once you are satisfied with the rigging, select the Animations Tab and search for T Pose and apply it to your model. Finally, download the model with the settings Format: Collada(.dae), Skin: With Skin, Frames per Second: 30, Keyframe Reduction: none.  Note: If you want to download other animations, such as run, jump, flip, etc, choose "Without Skin" for the Skin option, then you will only get the animation.
 
5) To add a root bone to the Mixamo rig, download the Blender Plugin from https://github.com/enziop/mixamo_converter and follow the instructions. The scale can be set to 1. (Note: Make sure to select a input folder since this is a batch conversion. A file will result in errors.)
 
6) After the file has been converted to an fbx file, once again use Autodesk FBX Converter 2013 to convert the fbx to dae.  Open the dae file and search for "file:///path_to/textures" and delete "file:///path_to/" leaving "textures/texture_name"  Do this for all occurances. Next convert the dae back to fbx format. This step will allow UE4 to find the textures when importing the file.
 
7) Useful video tutorial for Adding root bone and importing the file into UE4: https://www.youtube.com/watch?v=z97w4vrm8Eo (Note: Make sure the textures directory and fbx file are in the same directory before importing into UE.  Slight change to the video's instruction. Uncheck the import animations and check the checkboxes for Material and Texture).  If step 6 was done correctly, all the textures should be imported and converted to a material and applied to the model.
 
In case the textures are not installed: Once the model has been imported into UE4, you will need to assign the textures to the Materials.  First of all import the ONCC textures into UE4 project. Double click on Material, right click and Add Texture Sample. Then in the Material Expression section, select texture that matches the name of material. Save Material.
 
7) Video on how to retarget the UE4 animations to ONCC model https://www.youtube.com/watch?v=xy9aLbZLdeA Set base pose of UE4 skeleton to T-Pose: https://www.youtube.com/watch?v=D8nH2Yo9PT8 -- EdT
 
 
 
[[Image:Oni_UE4_materials.png|200px|thumb|right]]
 
[[Image:ONCC_imported_UE4.png|400px|thumb|right]]
 
 


5) To add a root bone to the Mixamo rig, download the Blender Plugin from https://github.com/enziop/mixamo_converter and follow the instructions. (Note: Need to experiment with correct scale settings) Useful videos Adding root bone: https://www.youtube.com/watch?v=z97w4vrm8Eo (Note: click the checkboxes for Material and Texture)
Got stuck on point 7. Still have to get the T-pose working and check if I got the retargeting right. -- [[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 15:40, 28 December 2017 (CET)


6) Once the model has been imported into UE4, you will need to assign the textures to the Materials. First of all import the ONCC textures into UE4 project. Double click on Material, right click and Add Texture Sample. Then in the Material Expression section, select texture that matches the name of material. Save Material.
Just for the protocol: trying to fix the broken texture links and material nodes within the blender fbx resulted (after an additional fbx -> dae -> fbx conversion) in the destruction of the pose. So repairing the character in plain text in not an option. So we can only repair the scaling in the original dae as you pointed out Ed.


7) Video on how to retarget the UE4 animations to ONCC model https://www.youtube.com/watch?v=xy9aLbZLdeA Set base pose of UE4 skeleton to T-Pose: https://www.youtube.com/watch?v=D8nH2Yo9PT8
[[Category:Oni 2]]