Textures mapping mtl file #5

Closed
opened 2022-07-29 15:38:35 +02:00 by JackCarterSmith · 5 comments

Use resources of RSE-Texture to permit texture export?

The module should be standalone between them. But in case of mtl materials textures export, the call of Texture module can be justified.

Use resources of RSE-Texture to permit texture export? The module should be standalone between them. But in case of mtl materials textures export, the call of Texture module can be justified.
JackCarterSmith added this to the DLL library + Standalone app milestone 2022-07-29 15:38:46 +02:00
Author
Owner

To be solved with the new DLL/LIB implementation of the code.

To be solved with the new DLL/LIB implementation of the code.
Author
Owner

Approach review:

  • Model lib only do OBJ conversion without MTL.
  • Texture lib can give texture data (i.e name) from texture ID.
  • Texture ID is extracted from HOB file by Model lib.

In conclusion, Model lib can detect texture lib dll presence (or maybe static compilation with correct build options?) and do the texture data search and export MTL after that.

Approach review: - **Model lib** only do OBJ conversion without MTL. - **Texture lib** can give *texture data* (i.e name) from *texture ID*. - *Texture ID* is extracted from HOB file by **Model lib**. In conclusion, **Model lib** can detect **texture lib** dll presence (or maybe static compilation with correct build options?) and do the *texture data* search and export MTL after that.
JackCarterSmith added a new dependency 2022-08-13 15:12:27 +02:00
Author
Owner

Approach review:

  • Model lib only do OBJ conversion without MTL.
  • Texture lib can give texture data (i.e name) from texture ID.
  • Texture ID is extracted from HOB file by Model lib.

In conclusion, Model lib can detect texture lib dll presence (or maybe static compilation with correct build options?) and do the texture data search and export MTL after that.

Working on this topic reported after upgrading all RSE modules to new lib structure.

> Approach review: > - **Model lib** only do OBJ conversion without MTL. > - **Texture lib** can give *texture data* (i.e name) from *texture ID*. > - *Texture ID* is extracted from HOB file by **Model lib**. > > In conclusion, **Model lib** can detect **texture lib** dll presence (or maybe static compilation with correct build options?) and do the *texture data* search and export MTL after that. Working on this topic reported after upgrading all RSE modules to new lib structure.
JackCarterSmith removed this from the DLL library + Standalone app milestone 2022-08-19 19:24:44 +02:00
JackCarterSmith added the
enhancement
label 2022-08-20 13:31:12 +02:00
Author
Owner

Approach review:

  • Model lib export to OBJ file format, give texture ID and HMT file to Texture lib (dynamically loaded at runtime).
  • Texture lib take texture ID and HMT file. It return texture data (i.e name) and texture file.png name.
  • Texture ID is extracted from HOB file by Model lib.

2 point of approach can be quoted:

  • Library part -> Simple datas parser, standalone (no file pre-parsing)
  • Tool part -> User controlled datas, manual mode

Tool app will load HOB file AND HMT file using user input (opt. arguments, auto loading using name formating, etc.), tool will use both Model lib and Texture lib.

Approach review: - **Model lib** export to OBJ file format, give *texture ID* and *HMT file* to **Texture lib** (dynamically loaded at runtime). - **Texture lib** take *texture ID* and *HMT file*. It return *texture data* (i.e name) and *texture file.png name*. - *Texture ID* is extracted from HOB file by **Model lib**. 2 point of approach can be quoted: - Library part -> Simple datas parser, standalone (no file pre-parsing) - Tool part -> User controlled datas, manual mode Tool app will load HOB file AND HMT file using user input (opt. arguments, auto loading using name formating, etc.), tool will use both **Model lib** and **Texture lib**.
JackCarterSmith added a new dependency 2022-09-04 15:59:04 +02:00
JackCarterSmith changed reference from develop to external-lib 2022-09-04 16:00:55 +02:00
Author
Owner

Integrated in PR #17

Integrated in PR #17
Sign in to join this conversation.
No description provided.