To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10518
10517  |  10519
Subject: 
Re: LSynth electric cable cross section oriention problem
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 26 Nov 2006 20:35:21 GMT
Viewed: 
2814 times
  
In lugnet.cad.dev, Kevin L. Clague wrote:

  In case you didn't get this far, I solved the above problem and can now
control twist all through a cable segment from start point to end point.

  I calculate the up vector for the start of segment, and the up vector for the
end of segment.  I also calculate the entire length of the segment.

  At each new cross section, I calculate how far we are down the total length,
and calculate the current up vector based on the start_up, end_up, and
current_length/total length.

Hi Kevin,

Another possibility to investigate is to change the up vector in inverse
proportion to the bezier curve change. That would mean it would twist less where
there's a sharper bend, and would possibly end up looking more authentic.

But I'd hate to be the one working out the algorithm...

ROSCO



Message has 1 Reply:
  Re: LSynth electric cable cross section oriention problem
 
(...) Me too! Kevin (18 years ago, 27-Nov-06, to lugnet.cad.dev)

Message is in Reply To:
  Re: LSynth electric cable cross section oriention problem
 
(...) Leo, In case you didn't get this far, I solved the above problem and can now control twist all through a cable segment from start point to end point. I calculate the up vector for the start of segment, and the up vector for the end of segment. (...) (18 years ago, 26-Nov-06, to lugnet.cad.dev)

5 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR