gtafan
@gtafan
New Member
Joined: Feb 15, 2024
Topics: 53 / Replies: 205
Reply
RE: Array with negative index

Codi: Maybe you could use a Dictionary instead? d = Dictionary #integer d[-2] = #(1, 2, 3, 4) d[1] = #(1, 2, 3) d[23] = #(1, 2) No, as it´s o…

8 years ago
Forum
Topic
Forum
Replies: 5
Views: 62
Reply
RE: get and set Color-Per-Vertex for custom map chanels?

I think something Like this should worck: (<point4>*255) as color will try it.

8 years ago
Forum
Reply
RE: get and set Color-Per-Vertex for custom map chanels?

Sorry, but that <point4> as color is not really usefull, the point4 values are converted to int values.

8 years ago
Forum
Reply
RE: get and set Color-Per-Vertex for custom map chanels?

So if I do this: c=([i]meshop[/i].[i]getMapVert[/i] msh -1 1) as color c will contain the color of the first mapVert from chanel -1, right?

8 years ago
Forum
Reply
RE: get and set Color-Per-Vertex for custom map chanels?

Just noticed there is: meshop.setVertColor <Mesh mesh> <int mapChannel> <vertlist> <color color> for seting color, unfortuna…

8 years ago
Forum
Reply
RE: get and set Color-Per-Vertex for custom map chanels?

I have seen this: .vertexColorType and .vertexColorMapChannel but there is no reall explanation abot that, so I thought it posibly could be helpfull t…

8 years ago
Forum
Reply
RE: get and set Color-Per-Vertex for custom map chanels?

I am using older max versions and there are at least 4 chanels avaibble from -2 to 1. However the oldest version I used was 6.

8 years ago
Forum
Reply
RE: get and set Color-Per-Vertex for custom map chanels?

Please don´t get me wrong, the solution you mentioned, an I have to use at the moment is not really hard, but I see no reason why at least for map cha…

8 years ago
Forum
Reply
RE: get and set Color-Per-Vertex for custom map chanels?

I know about that, but setMapVert acept not colour and getMapVert return no colour, so complicated convertions have to be done for both. At the moment…

8 years ago
Forum
Topic
Reply
RE: Attach mesh to an empty mesh

However I agree that merging mesh to an empty mesh just for remooving unused materials is posibly not the best solution, but like I said have found no…

8 years ago
Forum
Reply
RE: Attach mesh to an empty mesh

OK, but for me personally it play no role, since I never have 2 meshes using the same materials, exept the example with the copy.

8 years ago
Forum
Reply
8 years ago
Forum
Reply
RE: UVanimation isues

So is there a general way to write UVanimation to an array?

8 years ago
Forum
Page 15 / 18