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 / 3848
3847  |  3849
Subject: 
Re: ldglite (ldlite for OpenGL and Linux) new stuff
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 2 Feb 2000 12:24:38 GMT
Viewed: 
2488 times
  
Don Heyse wrote:

Hey, that would be great!  But before you compile it, I think I have a fix
for the empty window problem Todd's been seeing.  If you find the line
with gluPerspective() in main.c, change the -500.0 to 1000.0.  Apparently
it's clipping EVERYTHING with the far clipping plane.  Gotta read up on
that function and see why I thought that had to be negative...  And for that
matter, why does it work on all the versions of Mesa and GL that I tried
beforehand?

  I've tried and it worked after fixing the gluPerspective call, it's
very slowe (LeoCAD renders the WTOWER.DAT file in less than 1 second)
but at least it works. The last 2 parameters to gluPerspective are the
distance from the viewer to the near and far clip planes, so they can
never be negative.

Leonardo



Message has 2 Replies:
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Hmmm, that sounds like a commercial for LeoCAD. ;^) And a target, 1 second eh? Seriously though, It'll never reach those speeds parsing DAT files, but hopefully when I switch to display lists for the redraws... Just for the record, how slow (...) (24 years ago, 2-Feb-00, to lugnet.cad.dev)
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Whoa. That's the same WTOWER.DAT distributed with ldglite. The one that LDLite, on my Pentium 400 with Win98, renders in 5.8 seconds? Amazing. Steve (24 years ago, 2-Feb-00, to lugnet.cad.dev)

Message is in Reply To:
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Hey, that would be great! But before you compile it, I think I have a fix for the empty window problem Todd's been seeing. If you find the line with gluPerspective() in main.c, change the -500.0 to 1000.0. Apparently it's clipping EVERYTHING (...) (24 years ago, 1-Feb-00, to lugnet.cad.dev)

70 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