martinB
@martinb
New Member
Joined: Feb 14, 2024
Topics: 35 / Replies: 187
Reply
RE: save bitmap imperfect/lossy?

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…

17 years ago
Forum
Reply
RE: save bitmap imperfect/lossy?

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…

17 years ago
Forum
Topic
Forum
Replies: 0
Views: 18
Reply
RE: Control some option in viewport config through Script

ZeBoxx2: Just to do the pressButtonByName bit and some further processing… — for each rollout in the modify panel — returns the hwnd to the actu…

17 years ago
Forum
Reply
RE: Control some option in viewport config through Script

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…

17 years ago
Forum
Reply
RE: Control some option in viewport config through Script

ZeBoxx2: BM_SETCHECK = 241 fn getModifyPanelControl str = ( max_hwnd = windows.getMAXHWND() max_children = windows.getChildrenHWND m…

17 years ago
Forum
Reply
RE: Control some option in viewport config through Script

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…

17 years ago
Forum
Reply
RE: Display progress on standard render progress dialog

ZeBoxx2: ready for some scary code? Edit: Windows2008… hehe. That’s 3ds Max 2008, of course. That really is scary! But interesting. Thanks – Mar…

17 years ago
Forum
Reply
RE: Interactive bitmaps

Nice, thanks for posting! I especially like the delaunay demo and the bell curve graph thing. – MartinB

17 years ago
Forum
Reply
RE: Aligning only the pivot of an object using MAXScript

[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: …

17 years ago
Forum
Reply
RE: Aligning only the pivot of an object using MAXScript

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…

17 years ago
Forum
Reply
RE: Aligning only the pivot of an object using MAXScript

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…

17 years ago
Forum
Reply
RE: Aligning only the pivot of an object using MAXScript

JHN: Almost directly from the manual: –snip– So moving the pivot with a straight .pivot approach and rotating everything back in the rotatePivotOn…

17 years ago
Forum
Reply
RE: Aligning only the pivot of an object using MAXScript

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…

17 years ago
Forum
Reply
RE: Aligning only the pivot of an object using MAXScript

Thanks. I have seen the page and the function, unfortunately, the function only does a relative/incremental rotation, whereas I need an absolute orien…

17 years ago
Forum
Page 10 / 15