lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: Dotnet timer differences

“System.Windows.Forms.Timer” is the same class as “Timer”. Maxscript automatically searches inside “System.Windows.Forms”. “System.Timers.Timer” is a…

10 years ago
Forum
Reply
RE: Opened Max Instances

((dotnetClass “System.Diagnostics.Process”).GetProcessesByName “3dsmax”).count > 1

10 years ago
Forum
Reply
RE: checkbox help

if myCheckBox[B].checked[/B] == true then … or simply if myCheckBox[B].checked[/B] then …

10 years ago
Forum
Reply
RE: Apply Modifier to Multiple Objects

myQuad = Quadify_Mesh quadSize:100.0 modpanel.addmodtoselection myQuad

10 years ago
Forum
Reply
RE: .net sdk memory management problem

With the c# code or the c++ code?

10 years ago
Forum
Reply
RE: .net sdk memory management problem

MGernot: Wouldn`t this an ideal candidate for parallelization through TPL? Probably only for meshes with huge amounts of vertices. I would bet t…

10 years ago
Forum
Reply
RE: .net sdk memory management problem

Hmm I thought I would try to optimize it with SIMD for the fun of it, but I realize now it’s really not an ideal candidate due to the minimal amount o…

10 years ago
Forum
Reply
RE: .net sdk memory management problem

Can you post the code? I’ll give it a spin.

10 years ago
Forum
Reply
RE: .net sdk memory management problem

PolyTools3D: Great! 0.00016 seconds to process a 100K mesh isn’t bad, or is it? This would still be faster in C++, especially if it is SIMDed.

10 years ago
Forum
Reply
RE: .net sdk memory management problem

This runs about 18 times faster (yes, this is still c# code ) //define this somewhere in your class struct Point3 { public f…

10 years ago
Forum
Reply
RE: .net sdk memory management problem

I tried both versions and I get same result as PolyTools3D – the in-place version is about 60% slower for me. I believe this is because that no value…

10 years ago
Forum
Reply
RE: .net sdk memory management problem

I haven’t tried compiling, just thought it would explain why you get such different performance.

10 years ago
Forum
Reply
RE: .net sdk memory management problem

Are you compiling with optimizations enabled?

10 years ago
Forum
Reply
RE: .net sdk memory management problem

Ironically, none of these classes actually implement IDisposable… sigh

10 years ago
Forum
Reply
RE: .net sdk memory management problem

As far as I can tell, IPoint3 doesn’t really contain the X,Y,Z data, it’s just a wrapper around a pointer to a native Point3 in unmanaged memory. I th…

10 years ago
Forum
Page 20 / 131