SOLVED!
How to get the path of texture
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2020-07-16
12:26 PM
- last edited on
ā2021-09-15
11:57 AM
by
Noemi Balogh
ā2020-07-16
12:26 PM
Hi,
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.
Could you help me? Thanks in advance.
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.
Could you help me? Thanks in advance.
Solved! Go to Solution.
Labels:
- Labels:
-
Add-On (C++)
1 ACCEPTED SOLUTION
Accepted Solutions
Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2020-07-17 12:20 PM
ā2020-07-17
12:20 PM
scandi wrote:A body texture image is best accessed through a body material using
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?
You can get the texture for the material using
The texture bitmap (if it has one) can be accessed from the texture using
Ralph Wessel BArch
Central Innovation
Central Innovation
2 REPLIES 2
Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2020-07-17 12:20 PM
ā2020-07-17
12:20 PM
scandi wrote:A body texture image is best accessed through a body material using
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?
You can get the texture for the material using
The texture bitmap (if it has one) can be accessed from the texture using
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2020-07-17 04:23 PM
ā2020-07-17
04:23 PM
Ralph wrote:I see. Thank you!
scandi wrote:A body texture image is best accessed through a body material using
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?ModelerAPI::MeshBody::GetMaterial
You can get the texture for the material usingModelerAPI::Material::GetTexture
The texture bitmap (if it has one) can be accessed from the texture usingModelerAPI::Texture::GetPixelMap