aaandres
@aaandres
New Member
Joined: Feb 14, 2024
Topics: 52 / Replies: 726
Reply
RE: Binding a Script into a Max File

Try: on load do (if not this.loading do popupFn()) (Sorry I haven’t 3dsMax here to test… but still have not much sense to me)

9 years ago
Forum
Reply
RE: How to transfer data from C# to maxscript

Hi @momo2012. What you are trying is surely easy and direct… but I can’t unserstand what you need. Any C# method that returns a string will give you…

9 years ago
Forum
Reply
RE: Deep Array Equality

You are a big master!

9 years ago
Forum
Reply
RE: Deep Array Equality

denisT: now is about any depth nested arrays? You’ll see soon my third (and hopingly last one) attempt with Lambda Expressions. This time I hope…

9 years ago
Forum
Topic
Forum
Replies: 4
Views: 44
Reply
9 years ago
Forum
Reply
RE: Randomize Segmentation (brain twister)

It’s not so clear. Here’s a better test that shows that something is perhaps not perfect: 10000 Iterations: result Average= #(1.0001, 0.99764, 0.9965…

9 years ago
Forum
Reply
RE: Randomize Segmentation (brain twister)

It seems it’s not so bad… Here’s the average result for different number of cycles: 100 Iterations: result Average= #(0.989547, 0.994355, 0.973228, 0…

9 years ago
Forum
Reply
RE: Randomize Segmentation (brain twister)

In fact you can’t have equal randomisation at the beginning and at the end, as you have to ‘fill’ the remaining length with a given number of remaini…

9 years ago
Forum
Reply
RE: Randomize Segmentation (brain twister)

I will go through something like: ( totalLength = 10. lowerLength = 0.5 upperLength = 1.5 nSegments = 10 Average = totalLength/nsegments resul…

9 years ago
Forum
Reply
RE: Randomize Segmentation (brain twister)

Wellcome Klvnk! This solution won’t work if you have segments of the lower value or the upper value.

9 years ago
Forum
Reply
RE: Randomize Segmentation (brain twister)

One question: Probability of appearance of upper and lower values must be the same as for the other values?

9 years ago
Forum
Reply
RE: Lambda Expressions in Maxscript – II

I’ve found another query method that is faster (see above). With this method, here’s the comparison: time still good enough (x1,17) but huge memory us…

9 years ago
Forum
Reply
RE: Lambda Expressions in Maxscript – II

Just for test, with a geoSphere with 20 segments (4002 verts): Your mapped function: 9ms First query method: 18ms Second query method: 13ms Third q…

9 years ago
Forum
Reply
RE: Lambda Expressions in Maxscript – II

I absolutely agree with you. And I haven’t implemented it. With actual code, we could do: ( delete objects sp = converttomesh (geosphere()) QAr…

9 years ago
Forum
Page 25 / 52