assimp / assimp/assimp

Default values for materials[REOPEN]

Open
#6,033 3 comments 0 reactions 0 assignees View on GitHub
Feature-Request Materials
Dominant language
C++
Stars
13.2k
Forks
3.2k
Avg merge
2d 8h
Merged PRs (30d)
21

Description

## Default variables for material Get method

Allow setting default variable, instead of using default hardcoded variablles.

Hardcoded variables feel very limiting, There should be way to override them.

## Solution

* Maybe overload Get method, with extra parameter with default.
* Boolean flag to enable defaults.
* add to *aiReturn* param missing option

Currently API seems to not support such option, which seems like oversight.

Contributor guide

Open the contributing guide

Research direction

Start by locating the material Get method and the aiReturn parameter handling in the Assimp source. Compare the existing hardcoded default variables with the proposed override options, then define and document one consistent API behavior and tests that show callers can replace or disable those defaults.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.