Rivendale
@rivendale
New Member
Joined: Feb 15, 2024
Topics: 27 / Replies: 154
Reply
RE: Barycentric coordinates?

Oh man I can’t thank you enough for this, I’ve banged my head at this for some time now. There is something more though…if the point lies outside the …

19 years ago
Forum
Reply
RE: Barycentric coordinates?

Hey Martijn, thanks. I have already read up on that one but the thing is that the triangle is not a meshface so I need the mathematical solution for c…

19 years ago
Forum
Topic
Forum
Replies: 9
Views: 23
Reply
RE: Comparing Arrays

Just a note, if you only have number values in the array you can use it as a bitarray instead and say: if ((a – b) as array).count == 0 and ((b – a) a…

19 years ago
Forum
Reply
RE: Bitmap alpha

rdg: Hi Rivendale, if you are using the alpha in a map you could also treat the alpha as extra bitmap in the opacity slot … So may I ask you why yo…

19 years ago
Forum
Reply
RE: Bitmap alpha

hmm, the only problem now is that when I copy a bitmap that has been opened with openbitmap into another the alpha will default to pure white. I would…

19 years ago
Forum
Reply
RE: Bitmap alpha

rdg – Copying the bitmap should do it nicely. Thanks a lot man, I owe you one. CML

19 years ago
Forum
Reply
RE: Bitmap alpha

rdg, thanks a lot! that works. Only if the bitmap already has an alpha though, now I need a way to add an alphachannel too. I’m opening a .tif image w…

19 years ago
Forum
Topic
19 years ago
Forum
Replies: 7
Views: 17
Reply
RE: Box2 of selected object screenspace?

Hey, for now I have solved it like this: vertnum = meshop.getnumverts $ gw.setTransform(Matrix3 1) xarr = #() yarr = #() for i = 1 to vertnum d…

19 years ago
Forum
Topic
Forum
Replies: 1
Views: 15
Reply
RE: Changing Rollout Colour

Hey, you need to have a Dialog floater to do it, not a rolloutfloater. Then you can use a bitmap as backround. Good luck, CML

19 years ago
Forum
Reply
RE: Calculate vertex 2d position?

hey xcx, that’s a bit too complicated. This should do it: gw.setTransform(Matrix3 1) gw.wTranspoint (polyop.getVert $.baseobject aVertex node:$) …

19 years ago
Forum
Reply
RE: How to access the Normal Align tool???

the node command is used with the getFaceNormal command. If you leave that part out then the normal(direction) you get is in the objects local coordin…

19 years ago
Forum
Reply
RE: How to access the Normal Align tool???

Hi Eugenio, you can do that directly though maxscipt. Here is something to get you started: lePicked = picked object leFace = picked face leTM = ma…

19 years ago
Forum
Page 4 / 13