[Papervision3D] Sketchup Collada materials and Papervision

Beatrix Krümmer-Frau birikini at hotmail.de
Fri Feb 26 14:31:59 PST 2010


I am not sure if i can help you.
I recomand to use dae.as instead of collada, as collada is not longer 
supported and dea realy the better choice.
Did you try to open the collada in a viewer (for example air collada 
viewer) and check for the xml?
I had the strangests result exporting to collada from different 
programs, and the errors you posted seem to point to wrong xml structure.

I hope this can help to point in a direction.... actually good night and 
good luck

Beatrix



Merrill, Jason schrieb:
> I am using Papervision's Collada class.
>
>
> Jason Merrill 
>
> Bank of  America  Global Learning 
> Learning & Performance Solutions
>
> Join the Bank of America Flash Platform Community  and visit our Instructional Technology Design Blog
> (note: these are for Bank of America employees only)
>
>
>
>
>
>
> -----Original Message-----
> From: papervision3d-bounces at osflash.org [mailto:papervision3d-bounces at osflash.org] On Behalf Of Beatrix Krümmer-Frau
> Sent: Friday, February 26, 2010 4:58 PM
> To: papervision3d at osflash.org
> Subject: Re: [Papervision3D] Sketchup Collada materials and Papervision
>
> Hi Jason,
>
> do you work with collada or dae.as?
>
> Beatrix
>
> Merrill, Jason schrieb:
>   
>> Can someone give me the latest rundown on collada exports from Google 
>> Sketchup and Papervision3D? A while back, I remember the collada 
>> format from Sketchup was incompatible with Papervision (some 
>> manipulation of the XML nodes in the collada file had to be done to 
>> make it work - still true or no?). and I can import the collada model 
>> fine, but it's wireframe only.
>>
>> 1. I installed Sketchup 7.0 (not 7.1, I heard it has some minor issues 
>> with PV3D) and I can see the wireframe model of the collada fine but 
>> the materials do not come through (bitmap image applied to a plane - 
>> all in the same folder as the collada)
>>
>> 2. I tried loading and applying a BitmapFileMaterial and applying that 
>> to the collada file, no dice.
>>
>> 3. I get this error when loading in the collada (even though I can see 
>> the model):
>> TypeError: Error #1009: Cannot access a property or method of a null 
>> object reference.
>>
>> at org.papervision3d.objects.parsers::Collada/buildObject()
>>
>> at org.papervision3d.objects.parsers::Collada/parseGeometry()
>>
>> at org.papervision3d.objects.parsers::Collada/parseNode()
>>
>> at org.papervision3d.objects.parsers::Collada/parseNode()
>>
>> at org.papervision3d.objects.parsers::Collada/parseScene()
>>
>> .etc. etc...
>>
>> 4. The problems with the materials not appearing happned with a 
>> Sketchup 7.1 collada export as well.
>>
>> So that error tells me perhaps it doesn't like the colllada XML format 
>> as it is... can someone point me in the right directions to get bitmap 
>> materials correctly applied to collada models made in Sketchup and 
>> working in PV3d?
>>
>> Thanks.
>>
>> * *
>>
>> *Jason Merrill*
>>
>> *Bank of America* *Global Learning*
>>
>> Learning & Performance Solutions
>>
>> /Join the //Bank of America Flash Platform Community 
>> <http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx>// 
>> and visit our //Instructional Technology Design Blog 
>> <http://sharepoint.bankofamerica.com/sites/SDTeam/itdblog/default.aspx>///
>>
>> /(note: these are for Bank of America employees only)/
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>   
>>     
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>   




More information about the Papervision3D mailing list