Notifications
Clear all

[Closed] Read UV outside of 100+ range?

How do i get the uv data from outside the 100+ range? when i use the following i get the error bellow…

polyop.getMapVert myObj 100 1
– Runtime error: Map channel index outside valid range: < -2 or > 99: 100

I copyed the information there using the map channel info dialog for storing. Now i need to access it.

Thanks
Bronson

8 Replies

I think that you have only 99 mapvertices in the base object and You want to access the other mapverts stored in the stack by map channel info.
You should read your uvw through an unwrap modifier.

Ok so for example i want to read channel 150, i can use unwrap uw? But i cant view channel 150 in the uvw editor?

Thanks

Sorry I confused the order of the indexMapVerts and the indexMapChannel in the command polyOp.getMapVert
( I thought that you want to read mapVertice 100, not the map channel 100 )

To answer your question, I do not believe that it is possible…

Ok thanks…

Gibbz, 99 map channels! Isn’t that sufficient for you hummm?

well, its “ok” i can live with 99 channels but the more the merrier

Max 1.0 had just one. Max 2.0 had two (UV and VertexColor). Max 3.0 had to add more, so somebody (Peter Watje?) thought 100 is enough. I think he was right

Ok would it be possible to use the channel info to copy and paste the channels over 100+ UNDER the current modifier, so that would allow the modifier to access those channels.

EG

top_modifier
uvmappingpaste
uvmappingcopy
editablepoly

Ok so uv mapping copys a channel over 100, uvmappingpaste will paste it in to a temp channel (eg 10), and the top modifier will read the value.
The upon looping through again, would it be possibleto use the same modifiers to update with a difrent uv channel so the top modifier can read that new one instead of the old?