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.
- 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
You deserve gold!!
End of all alignement problems that took so much time. This creator deserves a place in the creators heaven!! TYTY
Works perfect!
Thank you so much for this. I could not align my planar materials for the life of me and this did it instantly. Thank you so much for making it!
it's FREE
Obviously i am using the thing wrong, does nothing. but it was free
Removed all textures and replaced diffuse with a solid grey, bug?
It worked great the first time I tried it weeks ago, but just recently the script is turning any prims grey, removing speculars and normals in the process.
Works great for me.
I am an experienced builder of many years, but after a recent and fairly lengthy hiatus from SL, I only started working with materials a few days ago. I was shocked to find that when I used planar mapping, and clicked "Synchronize Materials," the resultant repeats for the normal and specular mapping were double those of the diffuse map, or sometimes even 20 times the expected result, depending on how I did it. And the really annoying thing was that when I attempted to correct this manually by the simple-seeming expedient of copying and pasting values, it was very difficult to do, if not absolutely and utterly impossible. (At least when using viewer-computed repeats from "Align Planar Textures")
I think most advanced builders probably use planar mapping on at least portions of their builds (floors, walls, ceilings, etc) so when I looked in the various viewer JIRA's about this, I was very surprised to see that the prevailing attitude of the devs seemed to be "The regular LL viewer is even more messed up in this regard, so we're doing just fine, TYVM, and we're not gonna worry about this one little bit."
And this has apparently been an issue for at least a couple of years.
Fortunately, my search also turned up a forum post that led me to this script. And ironically, it was my purchase of brick textures from this very merchant that sent me off on this quest to begin with. This script solved my problems, quickly and easily. (And the brick textures are very good, by the way, and a very good value as well, considering they come with normal and specular maps.)
I think it is probable that the issues reported in other reviews are probably regarding earlier versions of this script. In any event, so far, it has performed flawlessly for me. However, as with anything of this nature, I would not use it in anything that is mod/no copy. But I think this is more intended for builders than for the end consumer, so in most cases this caveat would be moot. So get it. :)
Works great!
A very nice script that works as intended - and free even.
At least on normal textures. But if you set the textures to "planar" for perfect texture allignment you run into trouble and the script don't always work - sometimes it do and sometimes it don't. I can't find a pattern as to why not but I hope it becomes possible to make this script work with "planar" textures some day in the future.