PDA

View Full Version : New Surface Layer Resizing tool LScript


kevman3d
12-10-2003, 11:11 AM
http://www.kevman3d.com/lightwave.asp?section=plugins&sub=layout

Rescale_Texture_Layers - Its a quicky LScript that lets you rescale all the layers in all the basic surface attributes in one go...

So, Why?

Anybody ever load, say, a cool 'procedural rust' texture and then found it looked too tiny or grainy cause it was too small for their object? Maybe it was just too big?

How about when it was comprised of multiple layers in 3-4 attributes to define the way that rust reflected, how its specularity glinted in the light, etc. Suddenly its no longer a case of just tweaking one set of texture layers in the color channel to make it look right, its lots of the suckers!

This Generic script will take the selected item, let you then select a surface name (or *all* of them), enter a 'resize' percent and immediately rescale every layer in every basic attribute (color/diff/spec/gloss/transp/refract/reflect/transluceny and bump) by that percent. No more tweaking - If only I'd bothered to write this a few months ago!

Hope its useful?

Kev.

SplineGod
12-10-2003, 11:28 AM
Kev your a busy man!
Thanks for the script. That scene cleaner one also helped out big time on a job. :)

Kvaalen
12-10-2003, 12:51 PM
Thanks a lot! This can be helpfull.

I know what you mean about the procedural texture being too big or to small and it is annoying to have to go in and change the numbers one at a time for all the layers and all the channels.

Thanks again! :thumbsup:

Steve Warner
12-10-2003, 02:56 PM
This will definitely be useful!

Thanks, kevman!

Sil3
12-10-2003, 07:27 PM
Thanks a lot for this time saver, much apreciated :thumbsup:

kevman3d
12-11-2003, 10:16 AM
Just FYI - I quickly updated the script - It now has a switch to 'ignore image map layers'.

Why? Simple - You apply that cool procedural rust over those planar mapped texture images you spent hours painting up... Then you rescale and your autosized images expand too! So rather then roll back and re-autosize, you can now just ignore any image maps...

Sil3
12-11-2003, 10:27 AM
Itīs getting even better :bounce: :applause: :bounce:

kevman3d
12-11-2003, 10:58 AM
Thanks... Probably have one more update to come in a day or so before I can say its 'finished'. I'm looking at adding in a surface listbox so you can select and adjust multiple surfaces of your choice (rather then 1 or all).

I think that last piece of functionality should make it 'complete'.

Man, wish I'd written this a while ago! Its actually something I needed myself many times over!

CGTalk Moderation
01-16-2006, 10:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.