FloatImage texture problem

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Post Reply
BoyAndRobot
Licensed Customer
Posts: 16
Joined: Tue Jan 29, 2013 3:10 am

Hi,

We're using 3ds Max 2014 and OctaneRender plugin for 3ds Max ver. 1.20.

We try to automatically relink (by using MAXScript) the texture files of the scene (i.e. changing the texture filenames of the OctaneRender texture nodes, i.e. "Image Texture" and "FloatImage Texture"). In order to relink, definitely we need to traverse the material tree in order to get to the "Image Texture" and/or "FloatImage Texture" nodes used in the scene. We use several ways to traverse or to get to those texture nodes :

- We use Asset Tracking Window of 3DS Max. In this window, we can see the texture filenames linked to "Image Texture" nodes, but the texture filenames linked to "FloatImage Texture" are not shown. This is illustrated in the attached image.

- We use the MAXScript command : ATSOps.GetFiles. However, "FloatImage Texture" node cannot be traced to by using this command.

- By using MAXScript commands of Asset Manager, and/or also getSubMtl and getSubTexmap MAXScript commands, we can trace to both "Image Texture" and "FloatImage Texture" nodes. When we find the textures nodes, we try to rebind and relink them (i.e. changing their filenames) by using the command: ATSOps.RetargetAssets. However, only texture filenames of "Image Texture" nodes are modified, and nothing happened to the texture filenames of "FloatImage Texture" nodes.

So, in conclusion we're unable to use MAXScript to change filenames linked to "FloatImage Texture" nodes.

Many thanks.
Attachments
AssetTracking.png
Post Reply

Return to “Autodesk 3Ds Max”