Search the Community
Showing results for tags 'skinner'.
-
Hello, I try to optimize the creation/loading of our "avatar" at runtime. As I am working on a online game it can happen that the game need to create more than one "avatar" at the same time. So I made some "performance" test and for example creating 100 avatars took approximately 5 seconds. Instead of loading the node (which contains the ObjectMeshSkinned) and loading the skinner script each time I try to preload/clone them. But at the end it still too long. Here is my code Avatar(ObjectMeshSkinned preloadedMesh, Unigine::Skinner::Skinner precreatedSkinner, Unigine::Schemer::SchemerScript preloadedScript) { Node clonedNode = preloadedMesh.clone(); _mesh = class_cast("ObjectMeshSkinned", clonedNode); class_append(_mesh); _skinnerMesh = new Unigine::Skinner::SkinnerMesh(precreatedSkinner, _mesh); _skinnerMesh.setScript(preloadedScript); initialize(); } After commenting lines to find which line took all the time if found that it is _skinnerMesh.setScript(preloadedScript); I take a look at the code of skinner_mesh.h and I see that the script is compiled. Is there a way to preload and precompile a script and then to clone it ? So I have not to compile the script each time I create an avatar ? Thanks.
-
Has anyone used or had much success with the schemer/skinner. Is it stable enough to use. Im looking at the viability of using it for game logic and behaviours, in a similar way to cryengine flowgraph. It would be good to see Unigine create some more complex examples to show what could be achieved with the current implementation.
-
Hi, i have several skinner blocks that set switch speed on switch block. For don't rewrite switch speed when two or more blocks are used, i set this switch speed to each block too. The logic for change switch speed is inside each block. The problem is when i have already around 9 blocks that i must set switch speed between all, then there are too much connection lines between blocks. The question is: it exist better solution for this situation, for example set one global variable for this blocks, or set that variable is reference? Thanks Honya
-
hi: I met a issue of the message joint in schemer. If I open the schemer sample in the sdk, i could use schemer.message to show message. But when i launch skinner sample and would like show some message. it's not showing. I checked the show_message cvar is turned on. Also in the block define, if i put a log.message in the skinner, it won't show up. Could anyone try to reproduce this? Any suggestion to debug the skinner/schemer graph? It would be best if there is a debug mode which could show the link value in red when changing directly on the gui. Yang
-
Hi! Пытаюсь смешать в скиннере анимации с помощью skinner.add. Посмотрел примеры (в особенности - samples/skinner/skinner_00 + agent_walk_run_torso.script) В EvaluationKIT все работает (в сцене-редакторе примера), пытаюсь повторить в отдельном проекте - модель выворачивает (модель и анимации - те же). В чем может быть причина? Google Translator: I'm trying to mix animations with skinner.add in Skinner. Study the examples (in particular - samples/skinner/skinner_00 + agent_walk_run_torso.script) In EvaluationKIT everything works (in the scene editor example), I try again in a separate project - the model breaks down (model and animation - the same). In what could be the reason? Tnx!