lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: Determine if a node has consistent topology

Using validity intervals to eliminate many objects makes it much faster. def_visible_primitive(CheckTopologyConsistency, “CheckTopologyConsistency”);…

9 years ago
Forum
Reply
RE: Determine if a node has consistent topology

Thanks, that’s an interesting idea. Unfortunately disabling redraw also disables the evaluations, and no events are produced. Not disabling redraw wor…

9 years ago
Forum
Topic
Forum
Replies: 6
Views: 19
Reply
RE: Rendered Frame Window – Image access

And it will be at whatever zoom level is displayed, e.g. if you’re viewing a 4000×3000 image at 25%, you’ll get a 1000×750 image in the clipboard.

9 years ago
Forum
Reply
RE: Bitmap Processing Efficiencies

No such luck, they have really made this anything but easy.

9 years ago
Forum
Reply
RE: Bitmap Processing Efficiencies

Another suggestion: read every 2nd, 3rd or 4th row. I would bet the error compared to reading every row will be negligible in almost all cases.

9 years ago
Forum
Reply
RE: Bitmap Processing Efficiencies

You’re not allocating any memory for the pixels, you’re only creating one. I’m not familiar with the c# SDK, but ideally you’d create an array the siz…

9 years ago
Forum
Reply
RE: Bitmap Processing Efficiencies

For me v2 is faster than v1 for 2048×2048, with v3 being the slowest. Other than rewriting this in C++ (seriously, this would take like 3ms to execut…

9 years ago
Forum
Reply
RE: getting a list of available image loaders?

The SDK lets you get this using the ‘Ext’ method on BitmapIO. I wonder if it’s exposed to the .NET SDK which would be accessible from maxscript.

9 years ago
Forum
Reply
RE: getting a list of available image loaders?

Those are actually the names of the importers, not necessarily the extensions that they import. Btw, you can more easily get this list using bitmapio…

9 years ago
Forum
Reply
RE: getting a list of available image loaders?

Not quite, but you can make a list of all bitmap formats you’ve ever heard of and call maxOps.canImportBitmap (“C:\\1” + typeStr) on each type. The…

9 years ago
Forum
Reply
RE: makeUniqueArray with integers trick

Good point. For that purpose it should always work well.

9 years ago
Forum
Reply
RE: makeUniqueArray with integers trick

It’s all fun and games until your array is #(1, 2, 3, 9999999999)

9 years ago
Forum
Reply
RE: Inform about max crash

denisT: if you attach a letter to this log file – “Dear Autodesk developers, please send me back a reason of my file crash. Sincerely yours, …” – y…

9 years ago
Forum
Reply
RE: (SDK) Get Heap Size and Heap Free?

Somewhere you will never find it. ExecuteMAXScriptScript to the rescue.

9 years ago
Forum
Page 5 / 131