Notifications
Clear all

[Closed] NEWBIE – Changing Bitmap Size with Slider

imgtag’s transparency – ‘fraid not, at least not that I can think of. Maybe you can set a negative color or so… never tried so I’m not sure if that just ends up remapping to some other color. Alternatively, stick a bitmap control (you might want the edges anyway) or so behind it which has the color that you’re using for transparency. hack hack hack

.NET?

.net have the problem that is not compatible with Max9 i think, and i don’t understand .net very well at my current level.

I started scripting last week(not yesterday ), and i don’t know anything about programming hehe

.NET support was introduced in Max9, actually .NET is pretty simple mainly because you’re just dealing with objects, not with programming language bits (which would be more the domain of VB.net, C#, etc.) so much – though if you’ve got a solution now, no particularly need to delve into it.

There were some changes since Max9, mostly to do with some datatype conversion (Max9/Max2008 you often had to explicitly declare a number as Int32, for example), but most things should work.

The major down side is that you’ll have to temporarily store your bitmap to a file and then load that into the .NET control. The reason for this is that 1. setClipboardBitmap isn’t available in 3ds Max 9, so you can’t use the (clipboard-data-destroying) clipboard copy/paste hack and 2. transferring pixel data over otherwise is slow.

Though I just found out that the default controls aren’t double-buffered so you’ll have the same flickering with a typical .NET control (such as PictureBox) unless you grab a third party one.

sigh

I’m storing the bitmaps, because i want to have some kind of cache, but now i have another question with this thing.

i posted a new message, check it

Thanks!

Page 2 / 2