Collada export : 'Triangulate' option generates 'Polygon' primitive type #37781

Closed
opened 2013-12-11 22:34:11 +01:00 by bob morane · 8 comments

System Information
windows 7 / 660ti

Blender Version
Broken: Blender 2.69

'Triangulate' option of the collada exporter generates 'Polygon' primitive type.

Create a grid, in 'edit mode' converts face to triangles.
Export the selection with 'triangulate' check box enabled.

In the .dae file, observe that the primitive type of the grid is not 'TRIANGLES' but 'POLYGONS' ( polylist + vcount )

      <polylist count="2">
        <input semantic="VERTEX" source="#Plane-mesh-vertices" offset="0"/>
        <input semantic="NORMAL" source="#Plane-mesh-normals" offset="1"/>
        <vcount>3 3 </vcount>
        <p>1 0 0 0 2 0 3 1 1 1 2 1</p>
      </polylist>
**System Information** windows 7 / 660ti **Blender Version** Broken: Blender 2.69 'Triangulate' option of the collada exporter generates 'Polygon' primitive type. Create a grid, in 'edit mode' converts face to triangles. Export the selection with 'triangulate' check box enabled. In the .dae file, observe that the primitive type of the grid is not 'TRIANGLES' but 'POLYGONS' ( polylist + vcount ) ``` <polylist count="2"> <input semantic="VERTEX" source="#Plane-mesh-vertices" offset="0"/> <input semantic="NORMAL" source="#Plane-mesh-normals" offset="1"/> <vcount>3 3 </vcount> <p>1 0 0 0 2 0 3 1 1 1 2 1</p> </polylist>
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @MaxDaniels

Added subscriber: @MaxDaniels
Gaia Clary was assigned by Brecht Van Lommel 2013-12-12 04:30:34 +01:00

Added subscriber: @brecht

Added subscriber: @brecht

I'm not sure if this should be considered a bug, the option is to triangulate the mesh, which it does. Some importers may prefer to have it as a triangles primitive, others may prefer the existing behavior where it always exports a polylist, but both seem correct to me.

Can you explain why you want it to export as a triangles primitive?

I'm not sure if this should be considered a bug, the option is to triangulate the mesh, which it does. Some importers may prefer to have it as a triangles primitive, others may prefer the existing behavior where it always exports a polylist, but both seem correct to me. Can you explain why you want it to export as a triangles primitive?
Author

my importer supports only triangle primitives.

I think the triangulation of the meshes should be done with the "ctrl+T'
command, and the 'triangulate' option of the exporter should be used to
select if we want polygons or triangles inside the .dae ( and triangulates
the meshes if not yet done ).

regards.

my importer supports only triangle primitives. I think the triangulation of the meshes should be done with the "ctrl+T' command, and the 'triangulate' option of the exporter should be used to select if we want polygons or triangles inside the .dae ( and triangulates the meshes if not yet done ). regards.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Triangle support could be added but this isn't a bug in Blender.

Triangle support could be added but this isn't a bug in Blender.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#37781
No description provided.