How do I render them to look like one object?
Example: if I render a finger and then a hand they share some vertices but if I show them and rotate them they look like 2 objects not one
Two different things :
-
shared vertices should have the same texcoords, normal, color, position to look smooth.
-
you seem to have problems with rotation of both objects.
an example :
drawHand
translate
drawFinger
if you want to rotate both :
rotate
drawHand
translate
drawFinger
Does it helps you ?
Ok found the problem-some vertices(from first object) are lying in polygons of second object
v1
|
|
|v5
| |
v2±-v3
| | /
|v6 /
| /
| /
v4
v1,v2,v3,v4,v5 are from object 1, v5,v6 from object 2
and they are lying on the same plane
how can they look like one object?