I have used the cow model many times without problems. Try opening the DAE file and look for this entry near the top:

<library_images>
                <image id="texture0" name="texture0">
                        <init_from>assets/png/cow.png</init_from>
                </image>
</library_images>

Check that the path to the texture image is correct. The texture path is relative to the location of your SWF file.

Cheers,
.andreas



On 9 Dec 2008, at 05:43, Rialy wrote:


Hi Rob,

I hava got the last version code from SVN and try again.
Now the dae model can be load without any errors,but the texture of
this
model can't be loaded, i don't know WHY?  whether Away3d can't load
the content in the Phong element of DAE file?




On 12月9日, 上午8时34分, "Rob Bateman" <[EMAIL PROTECTED]> wrote:
Hey Rialy

thatx for your bug report. In these situations, the best thing to do is submit the error in the googlecode issues list for away3d that can be found
here:

http://code.google.com/p/away3d/issues/list

with the accompanying file that doesn't work and a copy of the error you are getting. As alex mentioned, it is hard to write a parser that can deal with all collada files straight off the bat - these things need to be reported and honed. The main reason for this is that collada has a lot of different ways of doing the same thing. Consequently there are a lot of things that have to be considered, but one feature may not be used by a whole load of
plugin output, then is in another and causes the importer to break.

the problem with cow.dae is odd - i've seen that imported before with no
problems. Were you getting an error with that one too?

cheers

Rob

On Fri, Dec 5, 2008 at 1:22 PM, Alex Karmazin <[EMAIL PROTECTED]>wrote:







Hi Rialy,

I worked on project that parse google 3d warehouse and render models.
There are 1 - 3 % of models that could be rendered. And much less
those which renders good. I don't know why, but it is a lot of work to
make proper class to parse well sketchup kmz files. I even planed to
make separated group devoted to this problem.

On Dec 5, 10:07 am, Rialy <[EMAIL PROTECTED]> wrote:
Hi all,

I just use the cow.dae, as well know which used in the PV3D, in the
away3d, and it can be displayed well.

Are there some limit for dae format file in away3d?

On 12月5日, 下午1时24分, Rialy <[EMAIL PROTECTED]> wrote:

Hi all,

I just began using a dae file,which come from the google 3d
warehouse,  to show a 3d model. But there is a problem that the 3d
model can't display and it throw a expection "Error #1009: Cannot
access a property or method of a null object reference" . In PV3D, i used the same dae file, it can be displayed well. Anyone ever has the
same issue? please do me a favor.

Thanks
Rialy

--
Rob Bateman
Flash Development & Consultancy

[EMAIL PROTECTED] 隐藏被引用文字 -

- 显示引用的文字 -

Reply via email to