Light
@light
New Member
Joined: Feb 14, 2024
Topics: 6 / Replies: 370
Reply
RE: WPF, How it inpacts you?

If you are using Max 2012, you can also use the managed Max sdk which works pretty good, apart from some missing types. Light

13 years ago
Forum
Reply
RE: Maxscript challenge ideas

j83: Ah, I changed var to int[], now your code works here Light. Awesome man (: Max 2010 doesn’t seem to like .NET 3.5 stuff, out of the box. …

14 years ago
Forum
Reply
RE: Maxscript challenge ideas

I tried with 2010 32bit, 2011 64bit, 2012 64bit, all worked. What errors are you guys getting? Light

14 years ago
Forum
Reply
RE: Maxscript challenge ideas

This works: fn myCreateArrAssembly = ( source = @”using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; …

14 years ago
Forum
Reply
RE: Maxscript challenge ideas

Remove “using System.Linq;”, then it should work. Light

14 years ago
Forum
Reply
RE: Maxscript challenge ideas

Yes I tried it, it’s about 15-20ms slower. The conversion from .NET to Mxs takes a lot of time like biddle said. If I use specify the asDotNetObject …

14 years ago
Forum
Reply
RE: Maxscript challenge ideas

Is this way of compiling be faster in performance than using DotNet.LoadAssembly? It would be cool if it was (: Cheers, Light

14 years ago
Forum
Reply
RE: Maxscript challenge ideas

I checked the values for a 1000 element array and the shuffling seemed pretty good. Here is the code: public class RandomNumberGenerator { public st…

14 years ago
Forum
Reply
RE: Maxscript challenge ideas

So what’s the best time? I wrote a C# dll to call from Mxs and got 0.673s. It takes 0.043s if I call it from C#, but that’s not allowed I guess. Can…

14 years ago
Forum
Reply
RE: TurboSmooth subdivision algorithm?

I know the boundary vertices but the problem is to find these vertices’ old position when they are shared by 3 edges, which makes it impossible to cal…

14 years ago
Forum
Reply
RE: Delete selected button(s)

I thought he wanted to remove them from the FlowLayoutPanel. Light

14 years ago
Forum
Reply
RE: Delete selected button(s)

flowLayoutControl.Controls.Clear(); button.Location = new Point (x, y); You have to use the KeyDown/KeyUp events to record the button states you want,…

14 years ago
Forum
Reply
RE: Delete selected button(s)

Hi, Just store a reference to a button as soon as it’s clicked on. You could use the same event handler and do something like: fn ButtonClicked send…

14 years ago
Forum
Reply
RE: TurboSmooth subdivision algorithm?

Interesting discussion. I tried this in the past too, but couldn’t find a way to make it work for vertices that are shared by 3 edges. Anyone got tha…

14 years ago
Forum
Reply
RE: TurboSmooth subdivision algorithm?

Hi, AFAIK it’s Catmull-Clark. Are you trying to reverse subdivision of a subdivided collapse mesh? (: Light

14 years ago
Forum
Page 1 / 26