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 / 10937
10936  |  10938
Subject: 
Re: 3D matrix math question
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 16 Dec 2008 02:49:51 GMT
Viewed: 
12443 times
  
In lugnet.cad.dev, Travis Cobbs wrote:
   In lugnet.cad.dev, Travis Cobbs wrote:
   In lugnet.cad.dev, Timothy Gould wrote:
  
   Would a simple solution just be to move the conditional points right in close to the original points at parse time? If the length of the conditional vectors is unimportant then you’d be decreasing the number of conditional points that lie outside the viewing frustum. With a distance of, say, 1/10th LDU from the line you’d rarely encounter any problems.

So I think something along these lines (or a better works-mostly solution) would be better.

I think you’re right. I’ll look into that. It seems like the most straightforward, and since it’s just a pre-processing step, it shouldn’t affect the performance for anything other than model loading.

OK, I applied this fix (pulling the control points to be 1 LDU from the first point of the conditional line), and it seems to work. It makes the “Show control points” option under conditional lines less useful, but that’s a price I’m willing to pay. Of course, this doesn’t completely solve the problem, but I think that it helps enough that I’m going to live with the remaining known problem.

--Travis

Fixing this one group of rarely important special cases in an efficient manner is probably not the most valuable use of your time.

You could always offer ‘condition point compression’ as a user-selectable option.

Tim



Message has 1 Reply:
  Re: 3D matrix math question
 
(...) This is true, and I actually try to work this way, but if you look up the thread to ((URL) here>), you'll see that this bug led to a problem that would be visible in real-world parts if the suggested conditional edge primitive is created. And (...) (16 years ago, 16-Dec-08, to lugnet.cad.dev, FTX)

Message is in Reply To:
  Re: 3D matrix math question
 
(...) OK, I applied this fix (pulling the control points to be 1 LDU from the first point of the conditional line), and it seems to work. It makes the "Show control points" option under conditional lines less useful, but that's a price I'm willing (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)

39 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