Notifications
Clear all
[Closed] Morph target + array question
Feb 17, 2010 4:02 am
I have 2 arrays
OriginalVerts and MorphMovement
I am trying to make morph targets from these values I am reading and i think i understand that but
how do i take the values in OriginalVerts and add them to the MorphMovement array so in MorphMovement it contains the updated position.
example
in OriginalVerts I have (1,2,3) for my xyz
in MorphMovement I have (.3,.2,.1)
I want the end result of MorphMovement or a new array if needed to be (1.3,2.2,3.1).
If you need to see the code I am using i can post it
thanks so much in advance
1 Reply
Feb 17, 2010 4:02 am
I managed to figure it out something like
vx = (ReadBEfloat f) + Vert_array1[k].x
vy = (ReadBEfloat f) + Vert_array1[k].y
vz = (ReadBEfloat f) + Vert_array1[k].z