I would argue that the code computing the gradient should do the dithering, not the software framework used to handle the bitmap. After all, if I cre…
I understand the need for this when rendering, but why on earth is it messing with the bitmap values that are 8-bit anyway? I’d call this a bug… – Ma…
ZeBoxx2: Just to do the pressButtonByName bit and some further processing… — for each rollout in the modify panel — returns the hwnd to the actu…
Thanks very much. That makes it a bit clearer. I guess it would help if one had experience in programming Windows? Thanks again, I stored these examp…
ZeBoxx2: BM_SETCHECK = 241 fn getModifyPanelControl str = ( max_hwnd = windows.getMAXHWND() max_children = windows.getChildrenHWND m…
What a hack… How do always you get the correct IDs for the buttons and stuff from a dialog?! I.e. how do you know it is controls[335] that is the Sh…
ZeBoxx2: ready for some scary code? Edit: Windows2008… hehe. That’s 3ds Max 2008, of course. That really is scary! But interesting. Thanks – Mar…
Nice, thanks for posting! I especially like the delaunay demo and the bell curve graph thing. – MartinB
[QUOTE=magicm]This fails miserably for any objects having a negative or non-uniform scale, but it seems to work well in any other case I have tested: …
Yes, you are right, and no, I don’t think you are doing something wrong. I have now added a Reset Pivot operation in the beginning, so the object/pivo…
Here is something I cooked up which seems to work correctly for non-scaled objects: fn xform_pivot_only obj newX = ( — Sets the transformation of t…
JHN: Almost directly from the manual: –snip– So moving the pivot with a straight .pivot approach and rotating everything back in the rotatePivotOn…
Yes, that is exactly what I want to do, I just need to find out how to do it. JHN: I think transforming the pivot in “Affect Pivot Only” mode…
Thanks. I have seen the page and the function, unfortunately, the function only does a relative/incremental rotation, whereas I need an absolute orien…