Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
If I select a material in the material editor and look for the path to one of it's texture I see a relative path like this:
../../../../path/to/texture/subfolder/texture_bump.pngI tried to access the path using this script
mat = findMaterial("myMaterial")
image = vrFieldAccess(mat.fields().getFieldContainer("bumpMap"))
print image.getString("name")but it generates the same output.
../../../../path/to/texture/subfolder/texture_bump.pngHow do I get the full path? Even if it is a network path? Something like this:
N:\path/to/texture/subfolder/texture_bump.pngor this:
\\netdrv/path/to/texture/subfolder/texture_bump.pngI know that VRED sees the full path because the textures are rendering properly in the viewport.
Solved! Go to Solution.
