gtafan
@gtafan
New Member
Joined: Feb 15, 2024
Topics: 53 / Replies: 205
Topic
7 years ago
Forum
Replies: 2
Views: 38
Reply
RE: problem seting rotation relative to parent

Thanks, my code looks like this now: fn appendToParent p children transforms=( for i=1 to children.count do(  children[i].parent=p  in coord…

7 years ago
Forum
Reply
RE: problem seting rotation relative to parent

Sory my bad english again, I just need to thet the child transform relative to parent.

7 years ago
Forum
Reply
RE: problem seting rotation relative to parent

Sory, not really understanding, why inverse? Also this was just a special example, normaly parent transform can be not only identity matrix. Also I no…

7 years ago
Forum
Topic
Forum
Replies: 6
Views: 49
Reply
RE: how to get the mapVertex coresponding to a vertex?

Also what about the code, I´ve posted, can it worck?

7 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

Klvnk: the 36 is the maximum map verts the box could have assuming none of the map verts are shared ie if you “exploded” the mapping. Yes there is a…

7 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

OK; I see, but it looks like the standard box uses just 12 mapVerts. However is there a way to fix such vertex mapVert mismatch?

7 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

Shouldn´t it be 24 map verts? At least 8*3=24. Also how can I fix such kase, so the mesh has the same number of vertex and map verts?

7 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

Sorry, it was my bad english again, I understand what you explained, but since I have no boxes, spheres and other similar geometries, have only meshes…

7 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

So it returns just the mapVert for a single vert and map chanel? But why array? There is always exactly 1 mapVertex coresponding to vertex and map cha…

7 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

Thanks, will try it. Just for better Understanding, obj is the mesh, mapCh is the chanel (-2 to max 99), but what´s v? Also verts is a 2 dimensional a…

7 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

OK thanks, but what about my problem with makeUniqueArray and my question about polyop?

7 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

Yes, I understood that, but it not so much only about 1:1, more important is index matching between vertex and coresponding mapVertex. Also like I sai…

7 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

Klvnk: it’s not pretty or particularly fast… fn GeoVertToMapVert obj v mapCh = ( faces = (polyop.getFacesUsingVert obj v) as array …

7 years ago
Forum
Page 13 / 18