[Papervision3D] Sketchup Collada materials and Papervision
John Brookes
jbpv3d at googlemail.com
Sun Feb 28 02:32:24 PST 2010
Make sure your geometry has unique names. I played with 7.1 a while ago and
that was its main problem with PV.
http://n4.nabble.com/Google-sketchup-7-1-no-worky-with-latest-PV2-1-td785855.html#a785855
On 28 February 2010 10:24, Kayomarz <kayo.online at gmail.com> wrote:
> Hi,
>
> You could try using KMZ.
>
> 1) Put the materials onto the surfaces within sketchup itself.
> 2) Export to kmz format.
> 3) Load the exported kmz file using pv3d's KMZ class.
>
> Thats it - After this loads up using pv3d, you should see the materials on
> the model. The kmz file is a zip file containing the collada and all the
> images.
>
> Internally, it uses the DAE class so if there are any XML problems, KMZ
> will have the same problem. btw, I'm using Sketchup 7.0.
>
>
> Kayomarz.
>
>
> Beatrix Krümmer-Frau wrote:
>
>> 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
>>>
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20100228/525ee20f/attachment-0001.html>
More information about the Papervision3D
mailing list