Hi Fabrice, thanks for the explanation.  We tried your suggestions but the 
resulting AS3 does not render anything.  Probably I am not modifying the AS3 
correctly.  Would you mind trying it on the TestHouse.obj file that I uploaded? 

Thank you!

---- Original Message ----
From: "Fabrice3D" <[email protected]>
Date: 11/4/09 11:23 am
To: "[email protected]" <[email protected]>
Subj: Re: [away3d] Prefab: how to make a model with null material
you can't export with no textures... because that the main feature of  
the app: prebaking, which is difficult with no textures :))

but its easy to fix by hand

export your obj file
open as text file, and delete the line (most of the time second line  
in file

mtllib outputname.mtl

and

delete all lines that start with "usemtl"
usemtl acmat_0

thats it for obj

for as3, just select no embed in panel
(just see, code might not that healthy there :))  )
I'll take a look at it asap
but there also, just clean the embed tags and the setMaterial handler  
and you are done


Fabrice




On Nov 4, 2009, at 5:07 PM, Ralph B wrote:

> I am trying to use Prefab to convert an OBJ file to an AS3 file with
> null material, because I want to apply a ShadingColorMaterial to the
> whole object later at the mesh level.
>
> I have a simple test example (TestHouse.obj in the group files area).
> If I import it into the latest Prefab then export to Away3D AS3, it
> creates an "images" subfolder and places a new jpg there.  Inside the
> AS3 I can see that it is applying that jpg as a bitmap.
>
> How should I use Prefab to output the AS3 without any bitmap material?
>
> Thanks!
> Ralph


Reply via email to