Discussion:
Polygons vs. polylists - DAE
Joshua Mostafa
2008-05-16 05:37:38 UTC
Permalink
A message for Tim Knip (but if anyone else can help me out please feel free
to jump in!)

Hope you're doing well. I understand you've been working on the DAE parser?
I have been trying without success to import my 3DS-created DAE file, but I
get an exception:

Error: Don't know how to create face for a DaePrimitive with type = polygons
at org.papervision3d.objects.parsers::DAE/buildFaces()
at org.papervision3d.objects.parsers::DAE/buildGeometries()
at org.papervision3d.objects.parsers::DAE/buildScene()
at org.papervision3d.objects.parsers::DAE/loadNextMaterial()
at org.papervision3d.objects.parsers::DAE/onParseComplete()
at flash.events::EventDispatcher/dispatchEventFunction()

I have looked at the DAE class and it is able to handle "polylist"
(ASCollada.DAE_POLYLIST_ELEMENT) but not "polygons". What is the difference
here? Do you plan to support "polygons" type in the future?

On a side note, if there's anyone reading this who uses 3DS ... is there a
setting I can change to make sure the exported collada file uses a type that
the DAE class *can* handle - triangles or polylists? (I didn't make the 3DS
file - it's from a designer, who is more used to Cinema4D, and is trying to
re-create his work in 3DS because it has collada export functionality...)

Please help! :)
--
Joshua Mostafa
micapam-***@public.gmane.org
+61 405563633
little.frog
2008-05-16 14:37:50 UTC
Permalink
Hi,

I have the same problem like you since I use 3ds Max 2009. Which Version did
you use?
I'm also a Cinema 4D user and only use 3ds Max to export. In the last
Version (3ds Max 9) which we had in the office there was no problem with the
collada exporter from feeling. But since Version 2009 there is no ColladaMax
Plugin from feeling and the internal collada exporter only exports collada
1.4.0 and not 1.4.1 (thanks to zOrder who bring me up to this idea).

I think it's a problem, because it's a alpha version and Tim will resolve
this problem later. Hope so....
Post by Joshua Mostafa
A message for Tim Knip (but if anyone else can help me out please feel free
to jump in!)
Hope you're doing well. I understand you've been working on the DAE parser?
I have been trying without success to import my 3DS-created DAE file, but I
Error: Don't know how to create face for a DaePrimitive with type = polygons
at org.papervision3d.objects.parsers::DAE/buildFaces()
at org.papervision3d.objects.parsers::DAE/buildGeometries()
at org.papervision3d.objects.parsers::DAE/buildScene()
at org.papervision3d.objects.parsers::DAE/loadNextMaterial()
at org.papervision3d.objects.parsers::DAE/onParseComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
I have looked at the DAE class and it is able to handle "polylist"
(ASCollada.DAE_POLYLIST_ELEMENT) but not "polygons". What is the difference
here? Do you plan to support "polygons" type in the future?
On a side note, if there's anyone reading this who uses 3DS ... is there a
setting I can change to make sure the exported collada file uses a type that
the DAE class *can* handle - triangles or polylists? (I didn't make the 3DS
file - it's from a designer, who is more used to Cinema4D, and is trying to
re-create his work in 3DS because it has collada export functionality...)
Please help! :)
--
Joshua Mostafa
+61 405563633
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
--
View this message in context: http://www.nabble.com/Polygons-vs.-polylists---DAE-tp17268092p17276322.html
Sent from the Papervision3D mailing list archive at Nabble.com.
Tim Knip
2008-05-16 16:14:06 UTC
Permalink
Hi,

<polygon> can contain holes
<polylist> doesn't

Drilling holes in polygons and triangulate them is difficult, hence it
isn't implemented (yet).
Even <polylist> is bit of a hack, only works with convex polygons. If
polygon is concave, result is unpredictable :-)

I would advise to _always_ export with the 'triangulate' option checked.

Tim
Post by little.frog
Hi,
I have the same problem like you since I use 3ds Max 2009. Which Version did
you use?
I'm also a Cinema 4D user and only use 3ds Max to export. In the last
Version (3ds Max 9) which we had in the office there was no problem with the
collada exporter from feeling. But since Version 2009 there is no ColladaMax
Plugin from feeling and the internal collada exporter only exports collada
1.4.0 and not 1.4.1 (thanks to zOrder who bring me up to this idea).
I think it's a problem, because it's a alpha version and Tim will resolve
this problem later. Hope so....
Post by Joshua Mostafa
A message for Tim Knip (but if anyone else can help me out please feel free
to jump in!)
Hope you're doing well. I understand you've been working on the DAE parser?
I have been trying without success to import my 3DS-created DAE file, but I
Error: Don't know how to create face for a DaePrimitive with type = polygons
at org.papervision3d.objects.parsers::DAE/buildFaces()
at org.papervision3d.objects.parsers::DAE/buildGeometries()
at org.papervision3d.objects.parsers::DAE/buildScene()
at org.papervision3d.objects.parsers::DAE/loadNextMaterial()
at org.papervision3d.objects.parsers::DAE/onParseComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
I have looked at the DAE class and it is able to handle "polylist"
(ASCollada.DAE_POLYLIST_ELEMENT) but not "polygons". What is the difference
here? Do you plan to support "polygons" type in the future?
On a side note, if there's anyone reading this who uses 3DS ... is there a
setting I can change to make sure the exported collada file uses a type that
the DAE class *can* handle - triangles or polylists? (I didn't make the 3DS
file - it's from a designer, who is more used to Cinema4D, and is trying to
re-create his work in 3DS because it has collada export functionality...)
Please help! :)
--
Joshua Mostafa
+61 405563633
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
--
View this message in context: http://www.nabble.com/Polygons-vs.-polylists---DAE-tp17268092p17276322.html
Sent from the Papervision3D mailing list archive at Nabble.com.
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Loading...