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 / 9924
9923  |  9925
Subject: 
Re: LDGlite and LPub
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 26 Oct 2004 04:46:19 GMT
Viewed: 
2122 times
  
In lugnet.cad.dev, Don Heyse wrote:
In lugnet.cad.dev, Travis Cobbs wrote:
In case you don't want to think about the math, here it is:

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

See, this is why ldview is so much better.  I'm still trying to absorb
the first post and you whip out the math.

I thank you for the complement, but in this particular instance, I have to give
credit where credit it is due.  I'm sure I could have derived the above equation
on my own, but here is the actual comment out of LDView that I got the above
from:

// From Lars Hassing:
// Vertical FOV = 2*atan(tan(hfov/2)/(width/height))

The orginal source was here:

http://www.hassings.dk/l3/l3p_ca.html

--Travis



Message has 1 Reply:
  Re: LDGlite and LPub
 
(...) aspect ratio is always maintained even if the (horizontal) viewing angle is changed"? Does l3p not allow tall skinny windows? Should (width/height) always be (4/3) even if the window is tall and skinny? Or does it just mean the pov file will (...) (20 years ago, 26-Oct-04, to lugnet.cad.dev)

Message is in Reply To:
  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)

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