Serejah
@serejah
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 1221
Reply
RE: C++ style map in maxscript

Do you really need to support versions prior to 2009? ( BSearch was added in 2009 )

7 years ago
Forum
Reply
Forum
Reply
RE: How to detect an element mouse event in webbrowser ?

I can’t see almost any difference in mxs/c# way of doing it. rollout test “” ( dotNetControl w_b “System.Windows.forms.WebBrowser” pos:[0,0] widt…

7 years ago
Forum
Reply
7 years ago
Forum
Reply
RE: How do I find out which bitmap texture is in which slot of the material?

How do I find out which bitmap texture is in which slot of the material? for prop in getPropNames mtl where isKindOf (val = getProperty mtl prop) t…

7 years ago
Forum
Reply
RE: How to get average color in bitmap texture?

d0 is just a sign of double precision value. that’s how you turn it to integer int (rgb[3] / (height * width)) I’m not sure if such task can be acom…

7 years ago
Forum
Reply
RE: How to get average color in bitmap texture?

you can use renderMap to create a lowres version of each texturemap and then use getPixels to sum all the r,g,b values ( bm = renderMap meditMat…

7 years ago
Forum
Reply
RE: Macroscript Icons

IceNew: Yes, I did restart 3ds max inbetween tests You don’t have to, simply use colorman.reInitIcons() So you have Test_16i.bmp in #usericons a…

7 years ago
Forum
Reply
RE: Macroscript Icons

did you try to put them in #userIcons dir ?

7 years ago
Forum
Reply
RE: Spline boolean ops

this one works too, but never on the first run. at first function call it always fails for some unknown reason system exception but second time it do…

7 years ago
Forum
Reply
RE: Spline boolean ops

There’s no easy way afaik. ( fn get2DPoint pos yTop:true = ( local sX = gw.getWinSizeX() as float local sY = gw.getWinSizeY(…

7 years ago
Forum
Reply
RE: Intersection between vectors – proper method?

this is the case when point of intersection is behind both vectors dot vec1 (intersectionPoint – p1) < 0 and dot vec2 (intersectionPoint – p2) &lt…

7 years ago
Forum
Reply
RE: Intersection between vectors – proper method?

change this line to (dot vec1 (intersectionPoint – p1) > 0) != (dot vec2 (intersectionPoint – p2) > 0) maybe function should return 0 if vecs …

7 years ago
Forum
Reply
7 years ago
Forum
Reply
RE: Intersection between vectors – proper method?

If vec1 and vector defined by p1 and intersection point are co-directional and If vec2 and vector defined by p2 and intersection point are co-directio…

7 years ago
Forum
Page 61 / 84