ScriptSpot

Forum topic · General Scripting

Resize bitmap

By br0t · 2012-02-04

Description

Heya,

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.

Cheers

Comments (2)

br0t · 2012-02-04

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 ()...

Hey Br0t

Anubis · 2012-02-04

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.