Page 87 of 103

Re: NadeoImporter [update 2013/08/21]

Posted: 14 Jun 2014, 08:51
by rycardoo
One issue:
which correct code to MaxSize?
I wish I could compress over my objects.

ex:
before:
object1.FBX (71.1 KB)

after:
object1.Item.GBX (9.96 KB)
obect1.Mesh.GBX (37.7 KB)
object1.Shape.GBX (49.3 KB) :shock:

Re: NadeoImporter [update 2013/08/21]

Posted: 14 Jun 2014, 09:57
by maxi031
<MeshParams Scale="1" MeshType="Static">
<Textures MaxSize="64" />
</MeshParams>

MaxSize limits the size of imported texture.
No matter what size you use it will not reduce gbx files size, textures are not included in gbx files, gbx contain just texture name and location.

Only picture that is included in gbx is icon file.
You could try to use lower resolution for icon, that might work.
Other way to reduce gbx size is to lower number of polygons in your model.

Re: NadeoImporter [update 2013/08/21]

Posted: 14 Jun 2014, 10:10
by rycardoo
Ty info :thumbsup:
But how to reduce gbx? if possible

Re: NadeoImporter [update 2013/08/21]

Posted: 09 Jul 2014, 04:55
by TitiShu
There is an error in the doc about texture path

Code: Select all

BaseTexture : mandatory in Model mode. base texture file name to use for the materials.
instead of specifying each material layer texture, you just define the base texture name, and from the material model, the importer adds suffixes (ex: D.tga, S.tga, _N.tga etc..) and tries to find the files on the disk.
value : the path of the texture. either relative from the MeshParam.xml folder ( ex : "../Textures/Checkers", or "Textures/Checkers") or absolute ( absolute from the "Work" folder. ex : "/Items/Samples/StaticObjects/Meshes/Textures/Checkers")

For the absolute it doesn't work with / but with \

ex : "\Items\Samples\StaticObjects\Meshes\Textures\Checkers"

Re: NadeoImporter [update 2013/08/21]

Posted: 12 Jul 2014, 14:21
by TGYoshi
Importer crashes when trying to import this FBX: (Another FBX I exported using blender worked fine, but this one doesn't..)

https://dl.dropboxusercontent.com/u/779 ... onRamp.fbx
.blend file: https://dl.dropboxusercontent.com/u/779 ... Ramp.blend

Mesh params file:

Code: Select all

<MeshParams MeshType="Static" Collection="Canyon">
	<Materials>
		<Material Name="Ramp" Link="Objects2" />
		<Material Name="Line" Link="ArenaParkingAsphalt" />
		<Material Name="Concrete" Link="ArenaConcretePxz" />
	</Materials>
</MeshParams>
Both files are located in

Code: Select all

C:\Users\Admin\Documents\ManiaPlanet\Work\Items\CanyonRamp\StaticObjects\Meshes

Re: NadeoImporter [update 2013/08/21]

Posted: 12 Jul 2014, 14:35
by Tipiizor
Can you post the .blend ?

Re: NadeoImporter [update 2013/08/21]

Posted: 12 Jul 2014, 15:02
by TGYoshi
Added it to the previous post 8-) .

Re: NadeoImporter [update 2013/08/21]

Posted: 12 Jul 2014, 16:34
by TitiShu
I tried with your fbx and it's crashing too

But when i reapply materials (in 3DSMax) it works


I don't have blender but i suggest you to look around your materials in blender... try to replace them

Re: NadeoImporter [update 2013/08/21]

Posted: 12 Jul 2014, 16:59
by Tipiizor

Re: NadeoImporter [update 2013/08/21]

Posted: 12 Jul 2014, 19:04
by TGYoshi
Very nice and justified find, thanks!

Although it still doesn't work after fixing two of those issues ^_^. Tried to move everything to the center in both the BaseMaterial and Lightmap UV layers, but the crash still occurs. :(

https://dl.dropboxusercontent.com/u/779 ... 2%29.blend
TitiShu wrote:I tried with your fbx and it's crashing too

But when i reapply materials (in 3DSMax) it works


I don't have blender but i suggest you to look around your materials in blender... try to replace them
What naming did you use for your materials?