Page 67 of 103

Re: NadeoImporter [update 2013/07/08]

Posted: 17 Jul 2013, 18:59
by TitiShu
It's dynamic light and it doesn't works for low PC....

there are no way to make static light for the moment... but it's coming....

Re: NadeoImporter [update 2013/07/08]

Posted: 25 Jul 2013, 09:11
by db89
I cannot import a static object. The importer say "Unsupported file format". Originally it's a 3DS file converted in FBX 2010.0 using Maxon Cinema 4D 11.5. What's wrong? :|
I've also tried to convert with Autodesk FBX Converter, nothing changes! :x I've zipped XML, FBX and 3DS file here: http://www.mediafire.com/?fusa0vky062ejuo.

Re: NadeoImporter [update 2013/07/08]

Posted: 25 Jul 2013, 12:20
by TitiShu
Mhhhhh... on the FBX file...

- there are no UVs and no Lightmap
- No name for channel (BaseMaterial and Lightmap in Channel Info)
- Don't see any material

and for the Xml file you need more information, like that

Code: Select all

<Item Type="StaticObject" Collection="Common">
   <Phy>
      <MoveShape Type="mesh" File="Meshes/WorkerHotdog.Shape.gbx"/>
   </Phy>
   <Vis>
      <Mesh File="Meshes/WorkerHotdog.Mesh.gbx"/>
   </Vis>
</Item>
And did you make some test with other simple object ?? Always start with a Cube (or a teapot xD)

Did you follow a tutorial to make this ?

Re: NadeoImporter [update 2013/07/08]

Posted: 25 Jul 2013, 13:07
by db89
It's my first attempt to do this (but I've created a few items with the old mpbc) and I followed the tutorial posted on the first page.

Re: NadeoImporter [update 2013/07/08]

Posted: 25 Jul 2013, 23:31
by TitiShu
On your model there is a problem with the normal... it needs some flip (not on all meshes like hand)

And did you tried with the object that Spaii has uploaded ?

I think that we need to create a new threads or a page on wiki to make a small guide...
because here, it's only a documentation with 67 pages..........................................

Re: NadeoImporter [update 2013/07/08]

Posted: 26 Jul 2013, 09:28
by db89
I've tried with a simple cube... Nothing changes.
This is the procedure I follow:
1. Download the 3DS file
2. Convert the 3DS file to FBX with Autodesk FBX Converter
3. Put it in My Docs\Maniaplanet\Work\Items\Meshes
4. Create the icon
5. Create the XML editing the sample "DolmenHorizontalA"
6. Run NadeoImporter with the following parameters:
nadeoimporter StaticObject Items\Cube.item.xml
7. Result="Unsupported file format"
I've tried also to save with a different FBX version, nothing changes. :|
The crazy thing is that still give me the same error also when try with the sample "DolmenHorizontalA"!! :evil:
If I try to import as Item (instead of StaticObject), it will ask me for missing GBX file... :| :evil:

Re: NadeoImporter [update 2013/07/08]

Posted: 26 Jul 2013, 14:07
by TitiShu
To import, you can use the convert assistant... it's easier and a faster way to import...

Did you import the Meshes before the Xml file ???

Re: NadeoImporter [update 2013/07/08]

Posted: 26 Jul 2013, 14:29
by Suma
@db89: between 1. and 2. you miss:
- clean up the model (see "normals" by TitiShu)
- adjust the model to the conventions explained in the initial post
(I guess your 0.001 scale can lead into problems)
- independent of the scale issue you probably want to adjust 0/0/0 under his butt to sit him on something
- your FBX file is very big which I believe is due to "integrated Textures", while damien just describes the "external file method". Good chance that the other way is simply not suported


5.: As mentioned above your uploaded XML misses:

Code: Select all

   <Vis>
      <Mesh File="Meshes/WorkerHotdog.Mesh.gbx"/>
   </Vis>
Also you should try whether Collection="Common" really provides the expected behaviour in all environments or if it is not better to import for each environment separately.
The other parameters default to "false" which should be ok in your case.

6.: From what I understood you have 2 options with differently behaving results:

Run 2 commands:

Code: Select all

NadeoImporter.exe MeshStatic Items/Samples/StaticObjects/Meshes/WorkerHotdogModified.fbx /collection="Common"
NadeoImporter Item Items/Samples/StaticObjects/WorkerHotdogModified.Item.xml
Or single call:

Code: Select all

NadeoImporter.exe StaticObject Items/Samples/StaticObjects/Meshes/WorkerHotdogModified.fbx /collection="Common"
7. explains from 6. - StaticObject for FBX or MeshStatic for FBX + Item for XML.

Re: NadeoImporter [update 2013/07/08]

Posted: 26 Jul 2013, 18:34
by angry_duck
The NadeoImporter was updated!
New feature: flying items (see "Levitation" in the documentation).
Enjoy and give feedback! :D

Re: NadeoImporter [update 2013/07/08]

Posted: 27 Jul 2013, 01:41
by TitiShu
Very Good... It works pretty well and old map are still compatible...

:1010