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 am pretty sure there is a way to resize a bitmap within 3ds Max, but I do not remember how. I would like to take an existing bitmap and scale it to 50%, 25% etc. of its scale.
Easy unfiltered resizing like this (by Bobo):
--Make a destination bitmap:
theNewMap = bitmap 128 128
--Copy original map into it:
copy theOldMap theNewMap
--If you display it, it will be a resized version:
display theNewMap
And filtered resizing by using renderMap() (by denisT):
grab viewport, make texturemap, and render it with renderMap ()...
Yeah, a time ago am too discover that Copy function do this excellent, it resize up/down very quickly as well. The filtering with renderMap() somehow not works very well for me.
Comments
Nevermind, I found some great
Nevermind, I found some great explanation here:
http://forums.cgsociety.org/showthread.php?f=98&t=894679#post6573695
Easy unfiltered resizing like this (by Bobo):
--Make a destination bitmap:
theNewMap = bitmap 128 128
--Copy original map into it:
copy theOldMap theNewMap
--If you display it, it will be a resized version:
display theNewMap
And filtered resizing by using renderMap() (by denisT):
grab viewport, make texturemap, and render it with renderMap ()...
Never get low & slow & out of ideas
Hey Br0t
Yeah, a time ago am too discover that Copy function do this excellent, it resize up/down very quickly as well. The filtering with renderMap() somehow not works very well for me.
my recent MAXScripts RSS (archive here)