KhronosGroup / KhronosGroup/OpenCOLLADA

Maya CGFX: invalid <init_from>

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

Description

COLLADAMayaHwShaderExporter.cpp, HwShaderExporter::exportSampler():
if sampler has no texture associated (sampler.mImageId empty) then <init_from> element is empty which is not valid.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in COLLADAMayaHwShaderExporter.cpp at HwShaderExporter::exportSampler(), focusing on the case where sampler.mImageId is empty. Trace how that case is serialized and verify that COLLADA output does not contain an empty element when no texture is associated.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.