3DMax export issues

Software: Away3D 4.x

fonzer, Newbie
Posted: 25 October 2012 06:22 PM   Total Posts: 4

Just getting started.
I have extensive Max experience and not new to Flex either.

I am having export problems coming out of Max and would appreciate some tips.  There may be links someone could provide that would expedite this but here goes.

I discovered that Groups are not cool so I moved to Helper Nodes to organize my model components.
So far so good.

Now I can’t seem to get textures to render on the exported model.
If I select to copy the texture to the export dir it works so I know that
  it is coming through.  But it is not rendering on the model in the export.
  That is when I load the exported html in a browser to review the export.
I am using the latest exporter.

When I add a texture, which looks fine in max, I get the following error:
TypeError: Error #2007: Parameter data must be non-null.
at flash.display3D::VertexBuffer3D/uploadFromVector()
at away3d.core.base::SubGeometry/getUVBuffer()
at away3d.core.base::SubMesh/getUVBuffer()
at away3d.materials.passes::DefaultScreenPass/render()
at away3d.materials::MaterialBase/renderPass()
at away3d.core.render::DefaultRenderer/drawRenderables()
at away3d.core.render::DefaultRenderer/draw()
at away3d.core.render::RendererBase/executeRender()
at away3d.core.render::DefaultRenderer/executeRender()
at away3d.core.render::RendererBase/render()
at away3d.containers::View3D/render()
at AWDViewer/onEnterFrame()

So, any help would be appreciated, even a link to an appropriate source would be great.
I know this should be embarrassingly basic but it has me stumped…..

   

Doyle, Newbie
Posted: 26 October 2012 06:15 AM   Total Posts: 4   [ # 1 ]

here also the same problem….i export a collada ( or .3ds)  ,and then i put it into prefab3D,you will found that there is no texture….i must put the texture on it inside prefab3D, then use prefab3D to export them to awd(or awd2),the texture will then embed inside the awd file.

 

   

Avatar
Fabrice Closier, Administrator
Posted: 26 October 2012 01:23 PM   Total Posts: 1265   [ # 2 ]

You can read into the log a dependency error and see the url that caused the failure.
You will be able to see if the parser tried to load the dependency. Telling you it is described and read by the parser. As the url is traced in case of failure, you will be then able to either correct the url (if non relative) or place the file to be loaded at the expected location.

 

   

fonzer, Newbie
Posted: 27 October 2012 10:33 AM   Total Posts: 4   [ # 3 ]

So I am a real newb ... where is the log located?

And can you recommend some real basic tutorials?
Other than what is provided here already.

 

   

Avatar
Fabrice Closier, Administrator
Posted: 27 October 2012 01:05 PM   Total Posts: 1265   [ # 4 ]

topmenu Windows:ProcessLog

 

   

John Wilson, Member
Posted: 27 October 2012 01:18 PM   Total Posts: 62   [ # 5 ]

Hi,

I am also having this problem with Blender 2.64.  I export as ab .obj file with a .mtl file.  Sometimes Prefab 3D loads the material, but sometimes it seems to ignore the .mtl file and does not show an error in the Process Log.  The .obj file and .mtl file both look ok when I view them in Notepad.

When this happens I apply the material using File>Import and set bitmap, so it is not a major issue - just a little strange.

 

   

Avatar
Fabrice Closier, Administrator
Posted: 27 October 2012 03:03 PM   Total Posts: 1265   [ # 6 ]

If you can provide me the obj + mtl, I’d be happy to look at the issue.

 

   

John Wilson, Member
Posted: 27 October 2012 03:43 PM   Total Posts: 62   [ # 7 ]

Hi Fabrice,

The model is attached - it’s just a very simple vehicle I’m using for an Away3D Physics experiment.

 

File Attachments
van.zip  (File Size: 11KB - Downloads: 164)
   

Avatar
Fabrice Closier, Administrator
Posted: 27 October 2012 07:27 PM   Total Posts: 1265   [ # 8 ]

K, found the problem. It’s actually incorrectly formated.
Indeed the tag is set “mtllib van.mtl” but the usemtl call is empty where it should be “usemtl id” there is no id.
and it’s the same in the mtl file where newmtl id is not specified either.

If you add an id both in the obj “usemtl bla” and in mtl
“newmtl bla”, you will see that all loads ok.

I presume here that the dev who wrote the exporter expects a parser to take
the description even null, null kind of becoming the id, probably if there is only one definition into the mtl. This is incorrect, but I think I can go arround and “play this game” too in case of empty id tags. As it seems the exporter is Blender, even if incorrect, it’s a popular editor, so the dev wins smile

It also explains why no error was triggered, because there was from the logic, no problems encountered.

I’ll try to push this into the parser in both Prefab and Away asap.
thx for the report+files

 

   

Avatar
Fabrice Closier, Administrator
Posted: 27 October 2012 08:10 PM   Total Posts: 1265   [ # 9 ]

Done. Prefab loads your van + its greenish map. Updated parser is on GitHub Dev branch.

 

   

John Wilson, Member
Posted: 28 October 2012 07:42 AM   Total Posts: 62   [ # 10 ]

Thanks a lot Fabrice.

 

   

John Wilson, Member
Posted: 28 October 2012 07:53 AM   Total Posts: 62   [ # 11 ]

Hi Fabrice,

Sorry, but there seems to be a problem with the installer for Prefab 3D 2.130 on my Windows 7 machine.  I get:

This application cannot be installed because this installer has been mis-configuredPlease contact the application author for assistance

 

   

Avatar
Fabrice Closier, Administrator
Posted: 28 October 2012 12:21 PM   Total Posts: 1265   [ # 12 ]

Quit Prefab en run the installer that was placed on your destop.
There is nothing wrong with the installer, its the old updater AIR Api bug.
It usually occur after runtime updates or manifest changes.

 

   

John Wilson, Member
Posted: 28 October 2012 12:27 PM   Total Posts: 62   [ # 13 ]

Thanks again Fabrice.  It works fine now.

 

   

fonzer, Newbie
Posted: 28 October 2012 02:34 PM   Total Posts: 4   [ # 14 ]

Thank you so much for the interaction on my request.
This is all very helpful.

I am still looking for basic step by step tutorials that don’t require a lot of intimate knowledge and lay things out.
My ultimate goal is to get to mobile but I am a patient person.
Any links or direction to sites or books would be greatly appreciated.
Thanks ....

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X