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 / 9922
9921  |  9923
Subject: 
Re: LDGlite and LPub
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 25 Oct 2004 21:20:33 GMT
Viewed: 
2031 times
  
In lugnet.cad.dev, Travis Cobbs wrote:
Please note that L3P's field of view is the horizontal field of view, and
OpenGL's is the vertical field of view.  You have to convert if you want the
same result.  You can check real quick by doing a square image in each.  If they
look the same, then it's a good bet that's the problem.

In case you don't want to think about the math, here it is:

vfov = 2*atan(tan(hfov/2)/(width/height))

--Travis



Message has 1 Reply:
  Re: LDGlite and LPub
 
(...) See, this is why ldview is so much better. I'm still trying to absorb the first post and you whip out the math. Ok, apparently I knew about the horizontal/vertical bit at one point because the code to print an l3p command line contains this (...) (20 years ago, 26-Oct-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDGlite and LPub
 
(...) Please note that L3P's field of view is the horizontal field of view, and OpenGL's is the vertical field of view. You have to convert if you want the same result. You can check real quick by doing a square image in each. If they look the same, (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)

52 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