3D animation support?
#3
Apost 
One quick thing to mention: If you already converted your own file containing skeletal animation, it may be necessary to adapt the instance parameters for the output file, so that the converted meshes perform skinning on the CPU. Otherwise, you would need to provide a shader that performs GPU skinning, or the animation is not shown in the viewer.

To do so, change the following section in the scene_config.xml file you are using from
    <OutputPackage fileName="{outPath}{packageName}" packageId="{packageName}" createFolders="yes">
       <GraphInstance graphId="GraphInstance" filePrefix="graph_instance" generateMeshes="yes"/>
   </OutputPackage>

to
    <OutputPackage fileName="{outPath}{packageName}" packageId="{packageName}" createFolders="yes">
       <GraphInstance graphId="GraphInstance" filePrefix="graph_instance" generateMeshes="yes" useCpuSkinning="yes"/>
   </OutputPackage>
Reply


Messages In This Thread
3D animation support? - by Rastervision - 06 Aug 2016, 7:09
RE: 3D animation support? - by dizzy - 09 Aug 2016, 8:57
RE: 3D animation support? - by dizzy - 09 Aug 2016, 9:18
RE: 3D animation support? - by dizzy - 09 Aug 2016, 9:35
RE: 3D animation support? - by Rastervision - 09 Aug 2016, 10:04
RE: 3D animation support? - by SeanBry - 31 Oct 2018, 12:58

Forum Jump:


Copyright © 2011-2021 Spraylight GmbH.