prettyPixel
@prettypixel
New Member
Joined: Feb 14, 2024
Topics: 29 / Replies: 249
Reply
RE: flip normal script

I think this can help you. This is a part of one my scripts. fn resetXFormAndFlip obj = ( local rotvalue=obj.rotation obj.rotation=(quat 0 0 0 1)…

19 years ago
Forum
Reply
RE: Freaky Array issue? Or my error?

Indeed an bitarray is very different to an array. Usually, you do not need to know the value of the elements which are “false”. Then you can use a lo…

19 years ago
Forum
Reply
RE: Finding shared edge in uvw unwrap?

You have to change the mode to view the result because the interface is not updated.

19 years ago
Forum
Reply
RE: Finding shared edge in uvw unwrap?

I can’t test this because I have not max8 but the command unwrap5.setSelectedGeomEdges seems to select the geometry edges and not the uvw edges as you…

19 years ago
Forum
Reply
RE: Testing if array1 != aray2?

I am almost certain that he uses the “.count” with a bitarray and not with an array. If it is the case, That deserves a punishment. lol 😈 a=…

19 years ago
Forum
Topic
Forum
Replies: 1
Views: 10
Reply
RE: Testing if array1 != aray2?

What kind of array do you use ? Show us an example…

19 years ago
Forum
Reply
RE: Testing if array1 != aray2?

Indeed it’s strange. Maybe if you insert myArray.count between ( ), that will be better ? or to use ‘as string’ But I prefer to use the command ‘form…

19 years ago
Forum
Reply
RE: Testing if array1 != aray2?

Thanks for the explanation, Zbuffer and ‘Ogre’ (Paul). That will undoubtedly be useful for me ! Thank you also for writing this smaller version, Fa…

19 years ago
Forum
Reply
RE: Testing if array1 != aray2?

Hey you did it! Thanks Your code show me that default values exists in function… but I never succeeded in using them. Are there default values in t…

19 years ago
Forum
Reply
RE: Testing if array1 != aray2?

Oh yes… If the arrays to compare contain one array themselves my function does not work. Thanks for the idea of recursivity, Pen.

19 years ago
Forum
Reply
RE: Testing if array1 != aray2?

Sorry. I did not answer your question. I currently use this function when I want to compare 2 arrays: fn isSameArray array1 array2 = ( if array1.c…

19 years ago
Forum
Reply
RE: Testing if array1 != aray2?

Maxscript does not compare the arrays when you write: #(1,2,3)==#(1,2,3) –>false I think maxscript compares the pointers of the arrays. Then if y…

19 years ago
Forum
Reply
RE: Polygons and triangulation

The indices of the poly vertices are the same as the mesh vertices. That is a small consolation.

19 years ago
Forum
Reply
RE: Polygons and triangulation

That is artful. I do not know if that is better because if I have 1000 faces then I am going to have to create 1000 meshes and erase them later.

19 years ago
Forum
Page 5 / 19