I have full scene with a set of different objects animated together.
Like 3 characters dancing and cubes rotating around them, everything made in Blender (no much
relevance, just as an example), exported as FBX or DAE. Blend is also available. I want this scene
to work in Urho as I see it in Blender. What is the process to
do this? Scenes can be different and have more stuff in them, I want to know some kind of generic workflow/approach to them.
Blender render gives you the classical 3d pipeline (dx9). Cycles gives st like PBR. Anyway I doubt you can get blender cycles shaders to work with urho by simply exporting⌠not sure anyway. didnât tried for now. âBig wordsâ means you donât probably get wysiwygâŚ
âNo scenesâ means youâre trying to export things like skyboxes? If Iâm not mistaken asset importer does import scenesâŚ
Actually it can - You need to check âExport Urho prefabsâ and there will be option âscene prefabâ. You just need to make sure that every thing is set up correctly, for example if Youâre using export UV option, all models should have UVs.
Once again - it can, To import *.blend file You need to use âsceneâ command (or You can use âimport sceneâ in editor). It may not be the best solution, since all models will be imported as static, with no physics etc. (but with materials) also Youâll have to rotate whole scene in blender (blender - urho up axis mismatch). Because of that I wouldnât recomend it to import ready scenes, but itâs verry useful to import large number of models at once.
Well, it looks like you did not use the tools yourself, so you donât really know.
You canât export actual scene using exporter - you can only export a model. That means
if you have some stuff around model at some positions, these will not be kept.
AssetImporter doesnât support .blend files. Not ones from Blender 2.7.x at least.
OK. Please donât pollute THE topic. Or I will create new one.
Half-assed = recommendations which are not tested in practice.
Note that unlike most of the audience (it seems) I actually use engine and all its tools
and ask questions only on grey topics which either not documented, not obvious, hard to discover
OR unexplored field. Providing answers from Google search result (or other search engine) is pointless
as I have already read them and tried them. If you donât have time to test your suggested solution, please
donât suggest it. It just wastes everyoneâs time and increases frustration. Each time you do this
a flock of newborn kitties is eaten by neighbourâs dog. Trust me.
So if I ask question I want to get practical answer, not theoretical. If you did some similar stuff or are interested to do some research, or have some practical hints, Iâm really interested. If you thought I canât use search so do that for me - please donât.
Use of Collada export only works for static scenes.
Also I know I can do everything manually. I basically ask how it is done by actual people
who actually have this problem. This is workflow question, not a question about export tools.
I know about blender exporter and its limitations.
I know about buggy Blender Collada exporter and its limitations and that I can use AssetImporter on that and recombine scene manually in script. This is a lot of manual labor.
I know about buggy Blender FBX exporter and its limitations and that I can use AssetImporter on that and recombine scene manually in script. This is a lot of manual labor.
Please do not suggest tools without explanations.
And yes, I donât believe you who have this task actually do this. I think somebody written some scripts OR
uses some crafty methods. So I want to know about these.
By doing this you exported all objects with origin set to 0 and geometry offset. You can check this in editor.
You could also check the bug I linked here. Please think constructively - I have already passed all this.
Also hint for stubborn - check python code for position XML values in scene/prefab output. Look hard.
After the result, please come back. I hope that torment is enough for you. Sometimes I wonder if people can read at all. I made short post, so even tl;drâers will be happy, explained things, added links to bugs, but still nothingâŚ
I guess @slapin is right here. Iâm trying by switching various options in the exporter, but one thing is for sure: if I use the options as I did above (export scene prefabs only), and I open the scene in the editor, the scene is imported as a node with all object correctly placed as i put them in blender - anyway, node position in the attribute inspector of every object is zero. And that is no good. @Modanung, what you did exactly? Can you share your process?
While Iâm looking that if I export one collective scene, the editor asks me to import as a prefab when I open the scene - I do, still the situation is as above - all object with zero position but set correctly - and the scene node alone instead has its own position with correct displacement in the attributes inspectorâŚ
Needless to say that setting position to local in the exporter gets all object to zero position in the editorâŚ
How does this work?