Jump to content

  • Log In with Google      Sign In   
  • Create Account


How to move a vertex along an edge to an arbitrary location?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 lucky6969b   Members   -  Reputation: 535

Like
0Likes
Like

Posted 21 December 2012 - 04:03 AM

I want to slide it down a bit to 50% 60% 70% perhaps, what is the math behind?

Thanks

Jack



Sponsor:

#2 eppo   Crossbones+   -  Reputation: 2311

Like
0Likes
Like

Posted 21 December 2012 - 04:09 AM

To slide one of an edge's vertices along the edge: edge.vertex1.position += (edge.vertex2.position - edge.vertex1.position) * 0.5;

#3 lucky6969b   Members   -  Reputation: 535

Like
0Likes
Like

Posted 21 December 2012 - 04:21 AM

Thanks. BTW, are there any good book recommendation for mesh manipulations, such as degenerate face elimination?

Just all about meshes/patches/nurbs... etc

Thanks

Jack



#4 eppo   Crossbones+   -  Reputation: 2311

Like
0Likes
Like

Posted 21 December 2012 - 07:21 AM

I only know the book 'Real-time Collision Detection' has a chapter on geometric robustness, but most of what can be found in books is likely to be available in online papers as well.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS