magicm
@magicm
New Member
Joined: Feb 14, 2024
Topics: 8 / Replies: 546
Reply
RE: Loop controled by multiple variables

The amin and amax functions are ideal for these kinds of things. Here’s an example: on tess pressed do ( — get the highest value of both spinners …

17 years ago
Forum
Reply
RE: My worst nightmare…biped!

You simply forgot to add the magic numbers bipedHeight = 80 biped.createNew (bipedHeight*1.00728) -90 [0,0,bipedHeight*0.966022] Martijn

17 years ago
Forum
Reply
RE: Equivalent of Maya's min() & max()?

Just a note, you can also do something like amin 0 10 0 amax 0 10 10 so you could combine both methods to ‘clamp’ a number (eg. between -4 and 13): …

17 years ago
Forum
Reply
RE: How to select a hierarchy

Gravey: Richard – I’m afraid you are wrong. The function i provided works correctly and in exactly the same way as the getFilesRecursive example fun…

17 years ago
Forum
Reply
RE: Writing a file for Point Cache

Here’s the pc2 file structure: header char : header (12) – “POINTCACHE2” followed by a null char int : version – currently 1 int : number of points –…

17 years ago
Forum
Reply
RE: dotNetObject and event handler inside ca

Thanks for the replies guys Hadn’t noticed that thread ( search button? where? ) Cheers, Martijn

17 years ago
Forum
Topic
Forum
Replies: 4
Views: 45
Reply
RE: I don't know how to use this, plase help me to understand the help!

CerberusC: TIn my third post i posted the script i had to check, and the values are 0 and 1, i think this values are the maximun number of pixels th…

17 years ago
Forum
Reply
RE: I don't know how to use this, plase help me to understand the help!

CompareBitmaps {<filename>File1 | <bitmap>bitmap1} {<filename>File2 | <bitmap>bitmap2} <int>tolerance(# different pixel…

17 years ago
Forum
Reply
RE: calculate up vector (rotation matrix)

losbellos: I have a dummy object and it is rotated around its Z axis with 15 degrees, and I will get this (matrix3 [0.965926,0.258819,0] [-0.258819…

17 years ago
Forum
Reply
RE: getPropNames for subobject selections

Or, open 3dsmax.exe in a hex editor, go to byte offset 4815162 and change the value to 42

17 years ago
Forum
Reply
RE: getPropNames for subobject selections

There’s no way to check whether a control point is selected or not. Also, the points can only be accessed/changed (position only) after they have been…

17 years ago
Forum
Reply
RE: Fast Ray casting?

Stop teasing us Bobo!

17 years ago
Forum
Reply
RE: Counting the number of lines

Here’s a shorter and probably faster method using .NET: ((dotNetClass “System.IO.File”).ReadAllLines textInstructionFile).count Cheers, Martijn

17 years ago
Forum
Reply
RE: Appending to an Array?

Use collect to loop through the objects and create an array on the fly: shps = for obj in $Shape_* collect obj Or: shps = $Shape_* as array And to…

17 years ago
Forum
Page 6 / 37