lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: Replacing one map with another

more specifically for c in getClassInstances oldclass do ( replaceInstances c (newclass()) )

9 years ago
Forum
Reply
RE: Confusion around GetInterface()

I’ve seen some examples which do it, though I agree it’s very confusing.

9 years ago
Forum
Reply
RE: Confusion around GetInterface()

I would assume so. The main guideline is that if you override either of them, always call the base class implementation in the default parameter case,…

9 years ago
Forum
Reply
RE: Confusion around GetInterface()

MtlBase::GetInterface(ULONG id) is inherited from Animatable. You can find a bit more details on it and the difference between InterfaceServer::GetInt…

9 years ago
Forum
Reply
RE: What is the easiest way to create planes with the dimensions of images in a folder?

googling “maxscript get files in folder” yields this as the first result: That should help you with step 1.

9 years ago
Forum
Reply
RE: What is the easiest way to create planes with the dimensions of images in a folder?

At which stage are you stuck? The algorithm is fairly simple. Get all the files in a folder For each file which is an image file *** Get the dimens…

9 years ago
Forum
Reply
RE: Self-reference (at time), possible?

you need to assign your speed parameter as a controller, otherwise it is not affected by ‘at time’ contexts, and is always reporting the same speed th…

9 years ago
Forum
Reply
RE: Self-reference (at time), possible?

you would go along the lines of this: local val = 0 for t = 0 to currentTime do ( val += at time t (yourSpeedValue) ) return val

9 years ago
Forum
Reply
RE: Self-reference (at time), possible?

This doesn’t really make sense. 3dsmax asks your script controller what the value is at time T. You tell it that the result depends on the value at T-…

9 years ago
Forum
Reply
RE: Please give some advice on serialization of max objects

ULONG is a typedef for unsigned long – 32bit. Changsoo does make some good points in favor of bitarray though, I guess it requres real world observati…

9 years ago
Forum
Reply
RE: Please give some advice on serialization of max objects

I’m not sure about bitarray for the node handles. The numbers are not guaranteed to be low, what if the node handle is 2000000000? you’ll be allocatin…

9 years ago
Forum
Reply
RE: Please give some advice on serialization of max objects

How is it a solution? Two nodes can also share the same ancestral path. The only guaranteed unique value is the node handle, and per session, the anim…

9 years ago
Forum
Reply
RE: Info about how standard lights work?

What you’re looking for is in the GenLight class

9 years ago
Forum
Reply
RE: File lock woes

None of those methods lock any files. Something else is locking your file.

9 years ago
Forum
Reply
RE: MaxScript flag modifiers "ligth icon"

you could probably catch this with a ‘when’ handler, not that I’ve tried. But this is supposed to be done by default, it would be crazy if each modifi…

9 years ago
Forum
Page 7 / 131