KhronosGroup / KhronosGroup/COLLADA2GLTF

Change location of image URI during conversion

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

Description

The current COLLADA2GLTF converter creates a texture image in the same folder where the glTF file is located (if the option to separate textures is not set). Is it possible to specify the URI of this image during conversion using command line?
For instance, currently we have
```
"images": [
{
"uri": "texture.jpeg"
}
]
```
I'd like to change this to
```
"images": [
{
"uri": "../images/texture.jpeg"
}
]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the COLLADA2GLTF command-line option handling and the conversion code that generates image URIs. Check how the output glTF path and separated-texture option affect the current URI, then verify that a requested URI produces the desired relative path in the generated images entry.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.