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 / 10931
10930  |  10932
Subject: 
Re: 3D matrix math question
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 14 Dec 2008 19:36:11 GMT
Viewed: 
12824 times
  
Travis Cobbs wrote:

Unfortunately, as far as I can tell, the projection matrix doesn't
produce useful results for points that lie outside the view frustum.

Is there some 'easy' way to determine if the control points are in or out of
frustum?

Is there any other way to transform points, without considering the frustum
(Well, obviously there is at least one, but it's the long way of calculating
the matrices and transformations yourself instead of using OGL)?

Can you create a 'secondary view' with the same viewing angle but wide angle
frustum, just to get the transformation of the control points and the cond.
line? This would obviously take more time (if possible at all), so you would
need a fast and easy way to determine if it is necessary...

--
Anders Isaksson, Sweden
BlockCAD:  http://web.telia.com/~u16122508/proglego.htm
Gallery:   http://web.telia.com/~u16122508/gallery/index.htm



Message has 1 Reply:
  Re: 3D matrix math question
 
(...) Well, I know where the camera is, and I can create vectors from the camera to both end-points of the conditional line, and to both control points. I'm pretty sure that the calculation could be done with just this information. However, I'm not (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev)

Message is in Reply To:
  Re: 3D matrix math question
 
(...) Actually, the projected points are all that I am checking, and that's how it's supposed to work. (...) No. The way that conditional lines work is that if the two control points lie on the same side of the conditional line on the screen (in (...) (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