Skip to main content
New idea
Source Link
user1806687
  • 257
  • 1
  • 10

How can I identify the correct vertecis and move them in XNA using VertexBuffer? Let's say I have a simple cuboid in my project and want to move one face of it. How would I loop thru vertices, get their information and reposition those vertices to a new Vector3 location?

This is a must for my project, since bones aren't flexible enough.

EDIT:

Since everyone is saying this would be bad and slow. Is there a way, again to loop thru vertecis, create a BONE and assign correct vertecis to it? Can this be done outside of content pipeline, during run-time (if not, content pipeline is ok)? How can I also then parent these bones to bones of THIS or OTHER model?

Also, if all of this works great and all. How would I then draw this model, I mean which transform or bone would I use for the world matrix? Especially if I had more than just one new bone.

How can I identify the correct vertecis and move them in XNA using VertexBuffer? Let's say I have a simple cuboid in my project and want to move one face of it. How would I loop thru vertices, get their information and reposition those vertices to a new Vector3 location?

This is a must for my project, since bones aren't flexible enough.

How can I identify the correct vertecis and move them in XNA using VertexBuffer? Let's say I have a simple cuboid in my project and want to move one face of it. How would I loop thru vertices, get their information and reposition those vertices to a new Vector3 location?

This is a must for my project, since bones aren't flexible enough.

EDIT:

Since everyone is saying this would be bad and slow. Is there a way, again to loop thru vertecis, create a BONE and assign correct vertecis to it? Can this be done outside of content pipeline, during run-time (if not, content pipeline is ok)? How can I also then parent these bones to bones of THIS or OTHER model?

Also, if all of this works great and all. How would I then draw this model, I mean which transform or bone would I use for the world matrix? Especially if I had more than just one new bone.

Removed hellos and thankyous. Clarified. Fixed grammar, spelling.
Source Link

Moving vertecis Selecting and moving vertices

I was wondering, howHow can I identify the correct vertecis and move them in XNA using VertexBuffer. Lets? Let's say I have a simple cubeoidcuboid in my project and I want to move one face of the objectit. How would I loop thru vertecis andvertices, get their information and then reposition those vertecisvertices to a new Vector3Vector3 location?

This is a must infor my project I am currently working on, becausesince bones just dont havearen't flexible enough flexibility.

Best regards!

Moving vertecis

I was wondering, how can I identify correct vertecis and move them in XNA using VertexBuffer. Lets say I have a simple cubeoid in my project and I want to move one face of the object. How would I loop thru vertecis and get their information and then reposition those vertecis to a new Vector3 location?

This is a must in my project I am currently working on, because bones just dont have enough flexibility.

Best regards!

Selecting and moving vertices

How can I identify the correct vertecis and move them in XNA using VertexBuffer? Let's say I have a simple cuboid in my project and want to move one face of it. How would I loop thru vertices, get their information and reposition those vertices to a new Vector3 location?

This is a must for my project, since bones aren't flexible enough.

Source Link
user1806687
  • 257
  • 1
  • 10

Moving vertecis

I was wondering, how can I identify correct vertecis and move them in XNA using VertexBuffer. Lets say I have a simple cubeoid in my project and I want to move one face of the object. How would I loop thru vertecis and get their information and then reposition those vertecis to a new Vector3 location?

This is a must in my project I am currently working on, because bones just dont have enough flexibility.

Best regards!