Automatic Material Alignment Script - Version 2 - Copy Perm - DT Script Collection Version 2

Details Features Contents Reviews (12)

Details

PLEASE LEAVE A REVIEW.........ENJOY!! :))

PROVIDED FREE TO HELP BOTH PROFESSIONALS AND BEGINNERS WITH USING MATERIAL TEXTURES IN SECOND LIFE!

NOW UPDATED TO VERSION 2!

Downloadtexture.com specialize in high quality seamless textures for the gaming industry, 3d artists, web designers and other specialist content.

WHAT ARE MATERIALS?
▔▔▔▔▔▔▔▔▔▔▔▔
Materials are the next generation of textures. They allow people to see an illusion of complex 3D geometry on a prim surface. This makes textures seem much more real than before and brings your builds to life!

Watch Linden Lab's video guide on material texture mapping:

https://www.youtube.com/watch?v=keFfqiDqnJg

WHAT IS THIS?
▔▔▔▔▔▔▔▔
A lot of people have trouble aligning materials reliably. It can be a fiddly process trying to adjust the normal and specular maps to match the diffuse map settings correctly. Errors can be made and you're never fully sure you set them 100% right.

When people get materials alignments wrong they end up with an ugly overlapping mess :(

Since there is usually no reason why the normal and specular maps shouldn't align perfectly with the diffuse maps, I've put together a script that will do it automatically.

Use this script at the end of your building process to check your work. Or you can use it as you work so you don't have to change the settings of the normal and specular maps at all!

The only part of the material you'll need to set is the Glossiness and Environment integers for your specular maps. Setting the glossiness to above zero is particularly important. Remember to do this - otherwise you'll not get the full benefit out of your material textures!

USING THIS SCRIPT
▔▔▔▔▔▔▔▔▔▔
1) Create your build normally with the diffuse, normal and specular maps are applied to the prim surfaces........just as you would normally do

2) Drag the script from your inventory onto your build's linkset

3) YOUR DONE.....The script will align your materials automatically for the entire linkset!

PLANAR ALIGNMENT ISSUES
▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Planar alignment works by projecting a texture onto a surface, almost like from a light source. Therefore planar alignment is never 100% precise. These scripts do not always work as expected if you use the planar alignment option.

SCRIPT SPECIFICATION
▔▔▔▔▔▔▔▔▔▔▔▔
This script copies the following diffuse map setting from each face and copies them to the normal and specular map settings. It does this for every face in the linkset.

- Horizontal Scale
- Vertical Scale
- Rotation
- Horizontal Offset
- Vertical Offset

It will also check for any settings it thinks it should flag up. Things that look unusual and are probably a mistake.

After it has completed this process it automatically deletes itself.

UPDATES IN VERSION 2
▔▔▔▔▔▔▔▔▔▔▔▔
- Fixed a bug where it was not aligning the last prim in the linkset
- Added more intuitive local chat messages
- A summary message at the end showing the total number of exceptions found
- Cut down on some of the spammy text
- Added the following highlighter scripts to help people find faces that need to be fixed:
- Script 1: Tint problem material faces in red
- Script 2: Tint faces without materials in green
- Script 3: Remove all tinting and set to pure white again

IMPROVEMENTS?
▔▔▔▔▔▔▔▔▔
If you spot any possible improvements to this script please feel free to pop me a notecard detailing the problem or idea. This script is something I intend to refine over time.

Contents

Features

  • Align the normal map to the diffuse map
  • Align the specular map to the diffuse map
  • Completes for entire linkset automatically
  • Deletes itself after completing

Reviews (XX)

Write a review!
Average rating: 3.92 stars Distribution
5 star:
 (8)
4 star:  (0)
3 star:
 (1)
2 star:
 (1)
1 star:
 (2)
ll has changed something , this no longer works

Posted March 05, 2019 by Octavia Sorbet 1 star

Seems ll has changed how scripts are called in in prims in which the editor does not have full permission (modify copy yes transfer no, for example. ) and so this script no longer works as it should

Was this review helpful? Yes No

Comments (0) Permalink Flag this review

Wonderful

Posted February 28, 2018 by Anicha Heartsong 5 stars

Thank you, thank you, thank you, thank you. This is amazingly simple and easy to use and such a time saver. (I didn't even know you needed to align these things until I saw this in the store! Now everything looks much better!)

Was this review helpful? Yes No

Comments (0) Permalink Flag this review

L$0

DT.com - Seamless Texture Build Kit Textures Wall Floor Material
DT.com - Seamless Texture Build Kit Textures Wall Floor Material
Visit The Store
Sold by: markkemp
None
Use It Now

This item will be delivered directly to you or a friend in Second Life, unpacked and ready to use. No land or sandbox required.

  • 3.92 stars Reviews (12)

  • Permissions:
    Copy Modify Transfer User Licensed
  • Automatic redelivery
  • Land Impact: 0