feranti
@feranti
New Member
Joined: Feb 14, 2024
Topics: 31 / Replies: 177
Reply
RE: calculating distance between objects

It is very hard to make a working script without your scene. But it seems that you have your algorithm in mind so you have to learn to write this scri…

11 years ago
Forum
Reply
RE: calculating distance between objects

Moreover, in your example scene, how did you you mean to distinguish the parent sphere “belonging to the animated system” and the red one ? I don’t se…

11 years ago
Forum
Reply
RE: calculating distance between objects

Here is another last try on it. I filtered bones and biped objects : fn _getPos node = ( if (classof node == Biped_Object) then biped.getTransform n…

11 years ago
Forum
Reply
RE: calculating distance between objects

fn SelectByDistanceFromParent dist = ( local sel = for o in selection where (o.parent!=undefined AND distance o.parent.pos o.pos > dist) collect o…

11 years ago
Forum
Reply
RE: calculating distance between objects

fn SelectByDistance dist = ( local sel = for o in selection where (distance [0,0,0] o.pos < dist) collect o clearSelection() select sel ) Select…

11 years ago
Forum
Reply
11 years ago
Forum
Reply
RE: Weld Border edges/vertices from different elements

@Jorge: I will definitely study your last piece of code, Jorge, thanks. @Klunk-1: Thanks for the information.

11 years ago
Forum
Reply
RE: Weld Border edges/vertices from different elements

Thank you Jorge ! I will try your code tomorrow. For now, I had a workaround but I think I can improve it with some parts of your code. AFAIK, your …

11 years ago
Forum
Reply
RE: Weld Border edges/vertices from different elements

Basically, I need a function whose pseudo-code would be: for each element e for each border b of element e for each vertex v1 of the border …

11 years ago
Forum
Reply
RE: Weld Border edges/vertices from different elements

Hi Klunk, Unfortunately, it won’t work because it will weld vertices in the same border, too. I want it to weld together only vertices from two diffe…

11 years ago
Forum
Topic
Forum
Replies: 9
Views: 22
Reply
RE: DirectX_9_Material plugin and bitmaps…

For those interested in this topic, here is the SO SIMPLE solution. $.material.delegate.numberofbitmaps() I can’t believe I stuck on this so long… I…

11 years ago
Forum
Topic
Forum
Replies: 1
Views: 13
Reply
RE: advice for custom project folder

I had built a project manager without using pathconfig because it was pre-2008 (maybe 2010? I don’t remember) versions of max and they did not embedde…

11 years ago
Forum
Reply
RE: Bake bitmap on vertex color

I found the bug. Actually when you write this line… plane width:100 length:100 widthsegs:100 lengthsegs:10 … the mesh does NOT update the uvs accord…

11 years ago
Forum
Page 4 / 14