Jump to content

export node reference skinned mesh


photo

Recommended Posts

Posted

When exporting node with skinned mesh as reference node, it is exported as static mesh. You have to manually edit node and change to skinned.

  • 2 weeks later...
Posted

Hello Jirka

I can not reproduce this problem
I added node MeshSkinned and exported it as node reference
after importing it contains MeshSkinned also

What tool you use: node export plugin or push button "Make node reference file" in Nodes window?
You import node reference to same world or new?
Where mesh-files that you use to create MeshSkinned are located?

Tell us more details of this issue, please?

Thanks

Posted

Ah, you probably misunderstood me. You have to manually edit node and change:

 

<node type="ObjectMeshStatic"

to

    <node type="ObjectMeshSkinned"

 

Import any skinned mesh, export as reference node and open .node file in wordpad.

Posted
When exporting node with skinned mesh as reference node, it is exported as static mesh. You have to manually edit node and change to skinned.

 

 

reproduction step-by-step:

 

1. create new project

2. copy-paste alot of meshes to data-folder of project (I took mesh-files from unigine script samples)

3. open project in editor

4. add ObjectMeshSkinned to the world:

press main menu -> Create -> Object -> Mesh Skinned and select any mesh-file from data-folder in file dialog

5. select ObjectMeshSkinned and press button Make a Node reference button (hotkey for this operation is ctrl + shift + G by default)

6. save node-reference with any name: s1.node for example

7. open s1.node in notepad / wordpad

 

my result for mesh-file from Skinner sdk-sample:

 

 

<?xml version="1.0" encoding="utf-8"?>
<nodes version="2.2.1">
    <node type="ObjectMeshSkinned" id="1474263535" name="pistol_0">
        <mesh_name>skinner/meshes/pistol.mesh</mesh_name>
        <surface name="pistol_lod0" material="mesh_base" property="surface_base"/>
        <transform>1 0 0 0.0 0 1 0 0.0 0 0 1 0.0 0 0 0 1.0</transform>
    </node>
</nodes>

I got similar results for other files, also

 

what i doing wrong?

Posted

I got similar results for other files, also

 

what i doing wrong? 

Hmm, nothing, we have same workflow. I will recheck.

×
×
  • Create New...