KhronosGroup / KhronosGroup/OpenCOLLADA

2D polygon reading fails (CTS test 0342)

Open
#231 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
679
Forks
260
PR merge metrics
No merged PRs in 30d

Description

CTS test 0342 defines a polygon using 2D coordinates.

OpenCOLLADA wrongly assumes 3 coordinates and rejects the file ( CTS\StandardDataSets\collada\library_geometries\geometry\mesh\polygons\2d_polygons\2d_polygons.dae ) due to stride 2.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing CTS test 0342 with CTS\StandardDataSets\collada\library_geometries\geometry\mesh\polygons\2d_polygons\2d_polygons.dae and trace the polygon-reading path that rejects stride 2. Done means the 2D polygon file is accepted without being treated as requiring three coordinates, and CTS test 0342 passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.