3D:Shader
From OptiTexHelpEn
OptiTex 3D gives users the option to add textures and visual settings of materials to draping results to yield photo-realistic results. After the draping simulation finishes, a geometric representation of the garment is created. The material properties of the garment can now be changed while interactively viewing it in the 3D window.
Contents |
Icon & Location
Texture Editor
- Use the Texture Editor to add logos and to assign textures or layers of textures to pieces or to Zones.
File Types Supported
- BMP
- JPG
- TIFF
- PNG - Offers transparency options. PNG is used for logos and for textures which require areas of transparency (such as lacing).
Texture
- Select the piece to which the texture should be applied.
- Click on the Texture field. This will launch the Open dialog (image number 3), allowing you to load an image file as texture.
- In the Open dialog select the wanted image file.
- Once the file is loaded, a second row is available in order to assign a second texture. The second texture can be a logo or an additional layer (image number 4).
- To load a second texture click on the second Texture field.
Selection
- To select a texture click on the number of row. The row will be marked in black to indicate it's selected.
- To delete a texture:
- Click on the number of row. The row will be marked in black to indicate it's selected.
- Press the Delete key in the keyboard.
Example Of Layered Textures
- In the following example we assigned two layers of textures to a pair of Jeans in order to have a "washed" effect.
- First we selected all the pieces.
- From the Texture field we loaded the Jeans texture (image number 6).
- Next we selected the Front piece.
- In the second row of the Texture Editor we loaded a *.png file with "whiskers" texture (image number 7).
- We selected the second row and selected Type Logo.
Location
- Before setting Left or Right Location, the piece itself should be assigned with matching Orientation. This is enabled either in the Pieces Table, in the Style Set window or in the Piece Properties window.
- Select the texture.
- Determine the location (Left/ Right/ Both) of the loaded texture. The location relates to pieces with pair definition.
Note - Left location will automatically flip horizontally the texture. To flip it back see Scale.
Type
Determine if the selected texture should be Pattern or Logo.
Pattern
The texture repeats over the entire piece. Notice that the image file itself has to be seamless in order to have a good repeated texture.
Logo
The Logo Type is used to display a selected texture as a single embellishment. Usually PNG files are used for Logos.
- To display a repeated Logo see Repeat X/Y
Offset
- To Place a texture in an exact position change the Offset values.
- Offset X will shift the texture according to the angle of the texture.
- Offset Y will shift the texture perpendicular to the angle of the texture.
- Position of texture can also be changed using the Move Texture Tool.
Offset Shortcut
- Ctrl+ select a piece after simulation ends.
- Hold Ctrl key and use either Arrows keys or Left mouse button to move the texture to either direction.
Scale
- The Scale option has two uses:
- Adjust the size of the texture.
- Adjust the orientation of a texture.
- The size of the textures can be scaled down to 0.01 and has no limit upward.
- Scale X adjusts the hight of the image.
- Scale Y adjusts the width of the image.
- To flip texture's orientation first disable the Absolute option.
- To flip the texture Horizontally add - (minus) to whatever value set in the X value.
- To flip the texture Vertically add - (minus) to whatever value set in the Y value.
Absolute
- While the Absolute option is checked the X and Y values change proportionally.
- Disable the Absolute checkbox to adjust only X or only Y.
Scale Shortcut
- Ctrl+ select a cloth piece after simulation ends.
- Hold Ctrl+Alt keys and use either Up&Down Arrows keys or Right mouse button to scale the texture.
Angle
Change the Angle value to rotate the texture on selected piece/ pieces in a specific number of degrees.
- Notice that the piece's baseline does not inflect the texture's angle.
- The first time a texture is applied to a piece it is set according to the working area's X and Y axis. From then on, it would be the angle o of the piece's texture and any change of the angle would be in relation to the initial angle no matter how the piece is rotated, meaning that if the piece is not placed according (or perpendicular) to the baseline before the first time a texture is applied, then the angle would not conform to the baseline.
Rotate Shortcut
- Ctrl+ select a cloth piece after simulation ends.
- Hold Ctrl+Shift+Alt keys and use either Arrows keys or Right+Left mouse buttons to rotate the texture.
Baseline
Select this option to rotate the baseline according to the change in the texture's angle.
Operation
- Check the Baseline option.
- Change the Angle.
- Click Enter.
Repeat
Use Repeat X and/or Repeat Y to make a Logo reappear all across the texture's X and/or Y.
Cloth Logo
This is a new feature to Version 11. For more details click here
Material Editor
Glow
- Move the slider to increase the Glow effect on a selected piece.
- By specifying glow, an object appears to be giving off light. Since most real-world objects (except lights) don't emit light, you'll probably not use this feature too often.
Shininess
- Move the slider to increase the Shininess effect on a selected piece.
- By giving Shininess attribute to a piece, the cloth would appear as reflecting light.
Transparency
- Move the slider to increase the Transparency effect on a selected piece.
Color
- Select a color from the Color Picker
- Select a shade from the slider on the right.
- Select a basic color from the Color options box.
- Click on the 'Other' button (Image 26) to Launch the Color dialog (Image 27).
Color Dialog
Basic Colors
Displays the Basic Colors available.
Custom Colors
- Displays any custom colors defined by the user.
- To define a new custom color click on an empty Custom Color box, define the color in the Color Matrix and click 'Add To Custom Colors'.
Color Matrix
Define a color either by the Color Picker, by RGB values or by Hue/Saturation Values.
Apply To Embroidery
- This option is used to apply a certain color on selected Logo only. All the pixels in the image will be colored with the selected color.
- Use this option with PNG files which have Alpha channel (transparency) only.
Operation
- Select the piece.
- Select the texture of the Logo.
- Select the Apply To Embroidery option.
- Select the color you wish to apply.
Default Material
Click on the 'Default Material' button to reset all previous material properties.
Name
Zone Shaders
Shortcuts
- 9 - Open Shader window
- Offset shortcut
- Scale shortcut
- Rotate shortcut




























