HierarchyLoadTextureAndCreateMaterial

This command loads a texture from the hard disk and creates a texture node in the hierarchy with a material node that is linked to each texture. You can use internal or external textures.

Using This Command

Select a group node and apply the command. This command displays the Open dialog and prompts you to select an image file.

Figures

Figures are as follows:

Figure 1.1. The selection in the hierarchy before adding texture/material nodes: The texture will be placed beneath Textures. Figure 1.2. The results with material nodes selected: The texture loaded into the current scene.

Texture Formats

You can load or reference image files in the following formats. You can load textures of any pixel dimension you wish but Scenome only renders textures with power of two dimensions such as 32×32 and 128×256. NOTE: Using odd sized textures might cause your system to use software OpenGL instead of hardware-accelerated OpenGL.

File TypeInformation
Portable Network Graphic [BMP]32-Bit, 24-Bit, 16-Bit, 8-Bit
Windows Bitmap [BMP]32-Bit, 24-Bit, 16-Bit, 8-Bit
Truevision Targa [TGA]32-Bit, 24-Bit, 16-Bit, 8-Bit
Silicon Graphics [RGB]24-Bit, 16-Bit, 8-Bit
Silicon Graphics [RGBA]24-Bit Color, 8-Bit Alpha
Silicon Graphics [INT]16-Bit
Silicon Graphics [A]8-Bit

Registration

Command registration information is as follows:

Category TypeInformation
ImplementationC++
ModuleBASETOOLS.DLL
CategoryHierarchy Commands
GUID{1F91F8C7-F612-46d4-A453-4B81096121A9}
Source NameHierarchyLoadTextureAndCreateMaterial
Interface NameLoad Internal Texture/Material...
CoreYes
SampleNo
AccessSelect from Hierarchy option on the main menu.