Collada plugin for After Effects

More info here
Plugins and Scripts > trueSpace > Materials

Material Converter for trueSpace7.61

material converter icon

Script for converting workspace materials to different instancing types (None, Object and Scene), convert compiled(base object) to open(compound object) D3D materials, convert D3D materials to Yafaray and Indigo materials.

persistent base install v3 required

requires Clintons3D Package v.1638455 or higher (Aug 26 2024 release) - Clintons3dPlugin.rsx

A version comes pre-installed in the Unofficial trueSpace Updates the button can be found in the D3D material editor panel - https://www.united3dartists.com/forum/viewforum.php?f=55

UU version has a different UI. It has a Material Utilities button and what looks like a panel to select and load a scene instanced material into the material editor.
Some UU material nodes have default value nodes and extra UI elements.

Installation:

  1. install the persistent base if not already installed
  2. drag the node into the link editor
  3. delete the node from the scene after install is complete
d3d material converter
  • Selected Only is to convert a selected objects only, otherwise all objects in the scene are converted. A selection can have multiple items. Indigo conversion only works with a single selected item.
  • Metallic Base treat the source base material as metallic when converting base to compound(d3d).
  • Compiled Base -> D3D - converts materials from a closed base format to an open "BlankDXMaterial" style. This is useful as a first step in converting base or lightworks materials from modelside to Yafaray or Indigo materials. The FBX exporter also uses this style of material.
  • Instancing - Converts to the 3 styles of workspace material instancing: None, Object and Scene. This can be used to convert to scene instancing as a first step in converting to Indigo materials.
  • D3D -> Yafaray - converts a BlankDX style material to a Yafaray material. Choose the type of Yafaray material from the drop down list. "library" is the name of the folder that contains the Yafaray materials within the Main Library Place, Rs Main Libraries.
  • D3D -> Indigo - converts a BlankDX style material to a Indigo material. Choose the type of Indigo material from the drop down list. "library" is the name of the folder that contains the Indigo materials within the Main Library Place, Rs Main Libraries. Indigo materials use scene instancing and this script will not convert "object" or "none" type instanced materials.

To convert a scene instanced material to D3D, Yafaray or Indigo for a selected object(selected only):

  1. Set the material editor to edit picked materials
  2. Pick the material on the object and edit it in the link editor
  3. Select the material node
  4. Run the conversion

Notes:

  • Use at your own risk. - There are several different material node connections and encapsulations. There may be some cases that have not been accounted for which could make the conversion unpredictable. Save your scene first and you will be safe.
  • Most scenes don't use instancing and most scripts are written with that in mind. (July 2024) More recent importers/exporters do use scene material instancing.
  • An object with scene instancing will lose it's materials when the object is saved by itself.
  • Lightworks materials may be lost when instancing is applied or the material type is converted.
  • Most materials in the Materials-DX9 and Materials-Textures libraries are base materials.
  • Most of the exporters on this website only work with BlankDX style compound materials.
  • BlankDX == compound D3D as far as this script/plugin is concerned
  • Base == material node that has no orange box to open and edit the internal node connections
  • When converting base materials to compound materials the specular color or texture will be taken from the diffuse color or texture.
  • Metallic texture will replace the default model shader with a texture based one.
  • Metallic conversion is close but not perfect.
  • ConstantTexture of the convert base to compound has a DIFFUSEMAP usage which is required for the enhanced dae exporter to see it

August 29 2024 - released Sep 1

  • improve material animations question
  • rename node ValueAlpha to TransparencyAlphaShader
  • changed base to compound finished alert to status
  • material instance change final message to status when SelectedOnly otherwise use alert dialog

August 27 2024

  • base to compound, added ALPHAMAP usage required for the tS collada exporter, also some other usages
  • fixed UV move XZ for alpha and normal - was moving in the wrong direction
  • removed unused ConstantTexture node
  • convert to yafaray light material, if constant color node will use it instead of solid color
  • base to compound, if base node has Name copy it
  • only add normal and alpha tex coords if needed

August 26, 2024

  • bug diffuse vertex color strength fixed
  • use less undo history
  • new rsx plugin requirement

August 25, 2024 - release #2

  • base to compound convert transparency value
  • base to compound convert diffuse strength for texture shader
  • base to compound new metallic option

August 25, 2024

  • base to compound convert diffuse strength if value is not 1.0 add DiffuseStrength input
  • base to compound convert specular strength if value is greater than 1.0 add SpecularStrength input and set spec color to (1,1,1)

August 11, 2024

  • update to work with alternate Material node - required for UU
  • use the base material alpha and normal texture coord values if they existing
  • yafaray cleanup temp folder
  • use alpha test value and mode

July 15, 2024

    fix internal naming when convert base material to compound material

July 12, 2024

  • update using UU code base minus clear history and minus extra material functions
  • rewrite for undo friendly run
  • warning if try convert scene instanced to yafaray
  • load on demand style installation

July 16, 2020

  • fixed bad selection bug when nothing selected and selected only option used

July 16, 2020

  • bug/oversight original scene instancing setting is preserved
  • change instancing works with muliple selection
  • compiled to D3D works with multiple selection
  • yafaray already multi select aware, indigo is not multi selection aware
  • fix for weird edge case error in compiled to d3d code

July 15, 2020

  • fixed instancing script to work with FBX materials
  • installer clears recent files list
  • smaller UI panel

October 25, 2019

  • fixed old bug that stops normal maps from converting
  • was hard coded to find the material connected to a specific connector, "Mat Item 0", fixed by general search for "Mat Item X"
  • fixed file format saving for images - was trying to use PixelFormat when should have been using FileFormat
  • renamed old material nodes as first step of compiled to D3D, "Material Chunk Manager" renamed to "Material Flavor Manager", the node created with new items

August 19, 2018

  • persistent installation style
  • updated to work with YafaRay4tS v0.9.0

June 14, 2013:

  • fixed bug - Compiled->D3D, do not change if already D3D
  • Compiled->D3D now works with nodes that have a connection named "D3DMaterial"
February 20, 2013
June 5, 2013