took me some time, but now I think I got a working Singleton for maxScript. used references: GOF: Design Patterns Larry Minton: a set of timer fu…
I used the stuff learned today to design this “class”: — – — ObjectVisibilityManager (simple) — – struct ObjVisManager ( — – — private prope…
thanks alot! that cleared some fog. Maybe now I can implement the Singelton Georg
f97ao, maybe you can tell me: what would be the MAXscript equivalent for a constructor in a struct? Or is the struct its “own” constructor ? struct…
please post an example. ** edit: is there something like static classes in maxScript without the use of the SDK? I once tried to implement a Singelt…
thanke you aaaaCHoooo. here is a extended version with animation option: ( — – — CgTalk Maxscript Challenge 008: “BACK TO BASICS: Bitmap to Pl…
Hello, here is my entry: ( — – — CgTalk Maxscript Challenge 008: “BACK TO BASICS: Bitmap to Planes” — Dipl. Des. Georg Dümlein — www.pre…
sI think so. I tried this expression in a Point3-Script as diffuseColor. I must admit that it reacted a little bit strange … it somehow clamped the c…
To get from red to green using a slider you can change the hue value of the color. theColor=color 250 0 0 thecolor.hue=$Sphere01.hueValue theColor w…
Hi Rivendale, Rivendale: I might have to live with this though and invert the alpha later… CML if you are using the alpha in a map you coul…
Hi Rivendale, this one is quite a hack, but you can 1: read the image 2: create a temp image the size of the read image 3: copy the original pixels t…
Hi Rivendale, you can write pixels using the setPixels() method This creates a bitmap and fills the alpha with noise: theBitmap=bitmap 300 300 for…
? the arbitrary object button is still in development … Georg
sorry neil, this is because I used the max 7.5 features of splines. I will implement a fallback try()catch() to get it running with earlier versions …
j_man: I don’t know why you don’t call it ‘ball-o-sting’! Maybe because I am not a native speaker ? thing-o-string is the new name … proforma.p…