brlrt / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

NULL error when parsing Collada model exported from Google Sketchup #96

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Export simple cube from Sketchup with a color material on at least one face

2. import the model into away3d using Collada.as 

What is the expected output? What do you see instead?
Expect to see the cube rendered on screen.

Instead, application breaks to BuildAnimations() where
_geometryData.geometry is reported to be null

What version of the product are you using? On what operating system?
Away3d Trunk/FP10

Google Sketchup 7.1

Windows XP/Vista/7

Please provide any additional information below.

when exporting a model from Sketchup the faces are enclosed in one
'instance_geometry' xml object.  However, when the model has at least one
color material attached to a face, there are two 'instance_geometry'
objects.  It seems Collada.as doesn't allow for multiple 'instance_geometries'?

Original issue reported on code.google.com by shane.ph...@googlemail.com on 17 Feb 2010 at 1:12

Attachments: