Export ImageTexture node for an image identified in material node tree #39

Open
Vincent Marchetti wants to merge 7 commits from vmarchetti/io_scene_x3d:image-export into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

7 Commits

Author SHA1 Message Date
832ed4b4dd Fixed a broken import, the os os.path modules were not
visible when needed
2024-11-18 15:19:52 -05:00
d35c730b90 Removed the UI based default setting of path_mode to 'COPY'
The way it was done prevents path_mode from being changed
2024-11-18 14:43:35 -05:00
88a6970387 An implementation that works for the earth_imagetexture example in COPY mode 2024-11-16 16:07:45 -05:00
b17bc0b40a partial refactoring to use the code in material_node_search
Not ready for pull-request
2024-11-16 14:12:38 -05:00
35fbe6c6f8 A new source file intented for Python code
implementing search through material node-tree
2024-11-16 14:11:31 -05:00
9be8742e76 Added a UI panel with a selector for the value of the path_mode
to be used in the export. For purposes of development the default setting
in the UI is set to COPY, this is contrary to other default value for path_mode.
It may be appropriate to set the default UI setting to AUTO upon merging into
release code.

Added logging messages to export_x3d.py. The intent here is to extend the copy_set
mechanism to handle cases where the image file does not exist on disk at time of
export.
2024-11-15 17:59:52 -05:00
052f53a7d4 Edited the code to identity images used as textures,
properly write the ImageTexture node even when there is no
explicit file name (as the case when image is read from a glTF file)
and save the image file to disk
2024-11-03 16:56:40 -05:00