Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.30 (FreeBSD)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 550 - File: global.php PHP 8.1.30 (FreeBSD)
File Line Function
/global.php 550 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.30 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.30 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 26 - File: global.php(872) : eval()'d code PHP 8.1.30 (FreeBSD)
File Line Function
/global.php(872) : eval()'d code 26 errorHandler->error
/global.php 872 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error

3D animation support? - Printable Version
The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.30 (FreeBSD)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 550 - File: global.php PHP 8.1.30 (FreeBSD)
File Line Function
/global.php 550 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.30 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.30 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 26 - File: global.php(872) : eval()'d code PHP 8.1.30 (FreeBSD)
File Line Function
/global.php(872) : eval()'d code 26 errorHandler->error
/global.php 872 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.30 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error



Official Murl Engine Forum
3D animation support? - Printable Version

+- Official Murl Engine Forum (https://murlengine.com/forum)
+-- Forum: Murl Engine (https://murlengine.com/forum/forumdisplay.php?fid=5)
+--- Forum: General (https://murlengine.com/forum/forumdisplay.php?fid=8)
+--- Thread: 3D animation support? (/showthread.php?tid=268)



3D animation support? - Rastervision - 06 Aug 2016

Are 3D animations, from an FBX or .X file, supported?

The viewer shows the animation name, but pressing the space does not play the animation.

Does the scene config need specific flags to enable animation?

I have used the scene files, from 01_loading_3d_objects tutorial, to do the conversion. The model and textures work fine.


RE: 3D animation support? - dizzy - 09 Aug 2016

Hi!

Animations are supported, both skeletal (vertex skinning) animation and blend shapes. Ideally, you should use FBX files, as the FBX SDK we are using for conversion is somewhat more complete than the other importers provided with the ASSIMP library.

However, the sample files currently present in the tutorial do not contain any animation. Did you try with your own file(s)?

I am going to add another sample that includes animation. Alternatively, if you wish, you can send me your file and I will provide you with a config file for conversion (send me an email to christopher.dissauer (at) spraylight.at )

Thanks for your patience!


RE: 3D animation support? - dizzy - 09 Aug 2016

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>



RE: 3D animation support? - dizzy - 09 Aug 2016

Find attached a ZIP archive containing an animated character from

http://tf3dm.com/3d-model/army-pilot-fully-rigged-animated-20-animations-57044.html

Extract the contents of that archive to the folder

murl_tutorials/chapter03/01_loading_3d_objects/data/orig

and start conversion via the convert_army_pilot.sh or convert_army_pilot.cmd script.

If you have any further questions, feel free to post a reply or start a new thread.
Best regards,

 dizzy


RE: 3D animation support? - Rastervision - 09 Aug 2016

(09 Aug 2016, 9:18)dizzy Wrote: 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.

That was it, thank you.


RE: 3D animation support? - SeanBry - 31 Oct 2018

(09 Aug 2016, 10:04)Rastervision Wrote:
(09 Aug 2016, 9:18)dizzy Wrote: One quick thing to mention: If you already use pellet smokers and 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.

That was it, thank you.

Hi Dizzy, I followed those steps but the conversion just doesn't want to start. What could be the issue?