ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
I'll try to add to this basic things only for tomorrow.
but it will just find all crop texture and save them with one prefix name + number if this is ok. (all as jpgs - to save to original formats is more complicated)
oki,
I didin't have time to add it to Bitmap Tracking/Resizing... but u can have it now as simple test. Just open it in Script Editor, change destination folder and file Name prefix and run it. It will find all bitmaps with crop and save them as new cropped jpgs.
Crop function is not finished yet, because I found there can be at least 2 ways to do it + exceptions etc. So was just waiting for your answer.
If you need to save crop from existing settings, there are few exceptions to do:
- if image is used in more than one texture with different crop. (than has to save with different names to not override)
- if crop is animatable ? save all as IFL or just current frame ?
- if bitmap has output, UV settings, than has to be reloaded to new and than cropped and saved
etc...
as I understand you're looking for function to get crop from existing textures, right ?
Do you want to just save it or also replace bitmap paths to new cropped files ? (in max project)
Comments
ok.thank Mr.
Hi pixamoon.
This time, extraction of still images only
Get the path to the Extract file, it is useful if can replace
but It doesn't matter. even without
>>- if image is used in more than one texture with different crop. (than has to save with different names to not override)>>
[prefix & Number SUFFIX auto Rename?]
example:
texture.jpg→ Pixa texture 001.jpg
texture.jpg→ Pixa texture 002.jpg
>>- if bitmap has output, UV settings..>>
sorry ..I dont know that .
At least I think that's unnecessary..?
:)
Oki, cool, now I know more what you need.
I'll try to add to this basic things only for tomorrow.
but it will just find all crop texture and save them with one prefix name + number if this is ok. (all as jpgs - to save to original formats is more complicated)
Let you know when is ready :)
Rep
I am looking forward to the completion
Thank technician.
I have to hand the gratitude and wallet, will wait;b
crop
oki,
I didin't have time to add it to Bitmap Tracking/Resizing... but u can have it now as simple test. Just open it in Script Editor, change destination folder and file Name prefix and run it. It will find all bitmaps with crop and save them as new cropped jpgs.
Please see attached.
Cheers,
pixamoon
Woooo Cool it!
Unprecedented behavior work
In honor of Mr.
:)
no prob :)
ok.nice product. but
hi, pixamoon.
The script [Crop is not work on DEMO] it says as follows.
I need function is [extract texture region] = Crop?
Description [ 64...128...256...] Crop a x2 just size?
crop
Hi ostia,
Crop function is not finished yet, because I found there can be at least 2 ways to do it + exceptions etc. So was just waiting for your answer.
If you need to save crop from existing settings, there are few exceptions to do:
- if image is used in more than one texture with different crop. (than has to save with different names to not override)
- if crop is animatable ? save all as IFL or just current frame ?
- if bitmap has output, UV settings, than has to be reloaded to new and than cropped and saved
etc...
as I understand you're looking for function to get crop from existing textures, right ?
Do you want to just save it or also replace bitmap paths to new cropped files ? (in max project)
Let me know.
Batch Save Cropped
Hi,
I'm just adding this function to Bitmap Tracking/Resizing...
http://www.scriptspot.com/3ds-max/scripts/bitmap-tracking-resizing
It will be ready later today.
Cheers,
Pixamoon
what kind of crop ?
Do you want to use existing crop from each texture or new overall crop for all ?