Horde3D

Next-Generation Graphics Engine
It is currently 19.03.2024, 12:39

All times are UTC + 1 hour




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 19.06.2016, 22:57 
Offline

Joined: 15.06.2016, 14:14
Posts: 12
Hi,

I would like to know if the Blender Exporter here

works with Beta3. I'm currently working with a Beta3 version and have trouble converting models + animations. This tool looks easy but I don't know if it will work on Beta3 engine version.


Top
 Profile  
Reply with quote  
PostPosted: 21.06.2016, 14:37 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
Judging by the source code - no, because it uses new shader file format, which was introduced in beta 4. Use blender collada exporter, it works pretty well now.


Top
 Profile  
Reply with quote  
PostPosted: 17.09.2016, 12:10 
Offline

Joined: 15.06.2016, 14:14
Posts: 12
Thanks Irdis, what version of blender do I have to use? What I'm doing is converting to collada now from Blender (2.71) and then colladaconv that comes with Beta3. The animations are good but the textures are missing.


Top
 Profile  
Reply with quote  
PostPosted: 20.09.2016, 13:29 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
As far as I remember, Beta 3 stored all textures in texture folder. So textures should be in Content/textures/<your model name folder>. Starting from Beta 4 they should be stored in Content/models/<your model name folder>.
Check the exported *.scene.xml file, it will tell you where the engine wants your textures. You can also post your Horde3D_log.html here, if problem persists.


Top
 Profile  
Reply with quote  
PostPosted: 21.09.2016, 00:41 
Offline

Joined: 15.06.2016, 14:14
Posts: 12
Thanks Idris. Here's the screenshot and the log file.

http://www.webdevout.net/test?0sLp&raw

Image

What I would also like to know is what version of Blender that works with the collada version.


Top
 Profile  
Reply with quote  
PostPosted: 21.09.2016, 20:45 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
Judging from the log, engine loads everything just fine. One of the possible problems may be .jpg texture format, if it is compressed with progressive encoding (only baseline encoding is supported). Try to reencode your texture to png or tga and fix the suffix of the texture in your material.
I was mistaken in my previous post that you should look for texture paths in your scene file. Obviously, you should check generated material.xml file.
About Blender - I don't think that using previous versions would help, so the latest version is probably the right choice.


Top
 Profile  
Reply with quote  
PostPosted: 22.09.2016, 02:33 
Offline

Joined: 15.06.2016, 14:14
Posts: 12
Thanks Idris. The weird thing that I found is, when using the same jpg texture and this time the Blender plugin. the texture loads but my animation is messed up. Probably the blender addon does not work with Beta3?

Anyway, I will try the latest version and see how it goes.

Edit: I have attached the model file in question (Blend file + Collada with textures and animations) Maybe you can see what the problem is and suggest the right method.

This is the last thing that keeps me from getting on to other things with Horde3D.

http://wikisend.com/download/875676/Ninja.zip

Exported Collada file from Blender 2.77a loads fine using AssimpViewer..

Image


Top
 Profile  
Reply with quote  
PostPosted: 22.09.2016, 03:33 
Offline

Joined: 15.06.2016, 14:14
Posts: 12
For some reason the latest collada file exported by blender does not output the material file (now with 2.77a). I remember this is one of the first problems dealing with the converter program.

I have tried deleting the texture and from the screenshot I posted previously above, this now has different results. It looks like it's trying to load the texture but not properly..

This is with the texture file deleted..

Image

I have now saved all files using baseline, tried standard and optimized.


Top
 Profile  
Reply with quote  
PostPosted: 22.09.2016, 04:19 
Offline

Joined: 15.06.2016, 14:14
Posts: 12
My best luck so far but broken animation file (should be ~700 kb anim reduced to 10kb) FBX to Collada file using Autodesk FBX Converter 2013 :(

Image


Top
 Profile  
Reply with quote  
PostPosted: 22.09.2016, 10:38 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
Horde Editor version 0.92 correctly displays your model (imported dae file), but it is uses beta 5. So there may be a bug in collada converter of the beta 3 version. Collada converter was originally optimized for OpenCollada exporter (Max and Maya).


Top
 Profile  
Reply with quote  
PostPosted: 22.09.2016, 17:20 
Offline

Joined: 15.06.2016, 14:14
Posts: 12
Ok thanks, so my simple question is, how did the man model in Chicago scene and Knight scene which has both textures and animations working properly converted to Beta 3? :)

Can I use 0.9.2 for Beta3? How do import models using the Horde Editor?

What Max and Maya version is the ideal to use? I would like to get specifics because it's been a week now and I have not converted a fully animated textured model with Beta 3. Yes, it's kinda old but I see there's example models that comes with Beta3 and I would just like to find out how it was converted correctly.

appreciate the help and time btw, thanks a lot!


Top
 Profile  
Reply with quote  
PostPosted: 22.09.2016, 18:19 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
rustyk wrote:
Ok thanks, so my simple question is, how did the man model in Chicago scene and Knight scene which has both textures and animations working properly converted to Beta 3?

They were probably created with Max or Maya and exported through OpenCollada. When Beta 3 was released, Blender support was so-so (Blender did not correctly output Collada files).
rustyk wrote:
Can I use 0.9.2 for Beta3? How do import models using the Horde Editor?

You can find Horde Editor here. You can try using models, converted with beta 5 converter, with Beta 3. It will most likely work, because there were no changes in formats since beta 2. Use 0.92 editor, because 0.10 is buggy as hell.
In editor create new project with default parameters, probably you'll have to copy shaders folder to your new scene folder, because editor creates only "models" folder and not the others.
Now Scene - add reference - import collada file. An import dialog will appear. Here you can select the file and what to convert (only model, only animation, both). After importing editor will ask the path to your texture.
Your model should show in the editor. Now you can use the generated files in your app (copy the generated files where you need them :) )

OR

You can download horde beta 5 and just use the converter without the editor. But with editor you'll instantly see if your model displays incorrectly.
Note that editor cannot run animations.
rustyk wrote:
What Max and Maya version is the ideal to use? I would like to get specifics because it's been a week now and I have not converted a fully animated textured model with Beta 3. Yes, it's kinda old but I see there's example models that comes with Beta3 and I would just like to find out how it was converted correctly.

As for Max, I use 2013 version. You can download latest opencollada plugin from there. Just put it into stdplugs directory (where *.dle, *dlu files are and not dll).


Top
 Profile  
Reply with quote  
PostPosted: 23.09.2016, 09:19 
Offline

Joined: 15.06.2016, 14:14
Posts: 12
Irdis wrote:
As for Max, I use 2013 version. You can download latest opencollada plugin from there. Just put it into stdplugs directory (where *.dle, *dlu files are and not dll).


I only see msi/exe installers. Installed it works ok but when I converted to opencollada dae's version and run beta 5 collada conv, I can't see my model but no error in logs. This is using beta 3 examples

Can you load the model with animation texture with Beta 5? If so, what's the exact process?

I'm getting horde editor crashes with 0.92


Top
 Profile  
Reply with quote  
PostPosted: 23.09.2016, 10:03 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
It seems that you've downloaded rather old version of openCollada. You should go to "Latest Binaries", it will take you to dropbox. There you should select max 2013 folder and ColladaMax.dle or something like that. Copy it to 3dsmax/plugins folder (it seems that it doesn't matter where it resides, it can be in stdplugs too).

When does the editor crash? On startup? On scene creation? On importing?

P.S. What is keeping you on Beta 3? Beta 5 or latest git has everything Beta 3 has and is more stable. API should be practically the same, or does Beta 3 still uses Horde3D::addResource() or something like that (and not h3dAddResource)?

EDIT: everything works with slightly modified version of knight sample on the latest git commit from official horde3d repository. You should convert your dae model in two phases: first phase is scene and geo files (-type model in converter), second phase is anim file (-type anim in converter). Editor for some reason does not produce animation files, only standard ColladaConv.


Top
 Profile  
Reply with quote  
PostPosted: 24.09.2016, 01:16 
Offline

Joined: 15.06.2016, 14:14
Posts: 12
I only got max 2012 and the reason I'm using beta 3 is I'm having trouble with the new beta 5 stuff and I'm using a wrapper for another language which only supports beta3, probably a separate post. Either way, if assets were created in beta 3, there should be some concrete steps to produce it again.

Maybe my final question is what tool was used in creating beta 3 compatible collada files that the converter can accept.

I have no trouble with animations with beta3, it's just that textures are not included, that's all.

Every engine, regardless of version should have a successful pipeline conversion steps, in this case it follows an opensource principle, but the thing is, this is the part where it lacks or somebody has trouble converting and using the engine.

As always appreciate your help Idris.

PS: You can see that there's something thereg when I used the Autodesk FBX converter, which has collada support there. I converted the model and using beta 3 the texture works but without animation. I'm sure the only problem is how the collada structured.

Latest Blender -> Animations Ok, Texture Fail
Autodesk FBX Converter 2013 -> Animation Fail, Texture Ok


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group