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 / 6408
6407  |  6409
Subject: 
Re: LDGLite bug report (and POV preview question)
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 4 Sep 2001 23:11:05 GMT
Viewed: 
752 times
  
Don Heyse wrote...
I'm not sure if I mentioned this yet, but the pesky ldglite bugs
with MESA perspective mode have been fixed and a new version is up
on the sourceforge.  I still have to incorporate the new ldlite 2.3
bugfix for large MPD files, but it works for now with the L3 parser.
;-)

By the way, with all this talk about datsville and camera angles and
whatnot, I've been wondering if ldglite could be useful as a POV
previewer.  With a little bit of work, I might be able to make the
perspective projection mode show the same view as you would get by
running the DAT file through L3P, except without the nice ray tracing.
Perhaps this could be used to quickly determine if you like the camera
angle.  Of course, for all I know, ldglite may actually be *slower*
than L3P and POV...

If you want to make a previewer for finding a good camera setting
you should adjust the camera location and look_at positions.
When done, specify these two coordinates to L3P using -cc and -cla.

As mentioned at the introduction of L3Lab (Feb 2000), my plan is to
enable you to rotate/pan/zoom the scene until you have a good view,
and then generate the POV code. I believe LeoCAD is capable of this.
I still need to figure out the best user-interface for rotate/pan/zoom
and I need to find the time...

Anyways, I suspect I have just about everything I need built in with
the L3 parser.  The only iffy part is the auto-centering part of L3P.
I'm not sure exactly what coordinates that uses: the bounding box, or
something else?

The automatic camera positioning algorithm is rather complex and involves
solving six equations with six unknowns.
The basic idea is described in
http://home16.inet.tele.dk/hassing/l3p.html#l3globe

Here's a sample shot of datsville with a bit of with fogging enabled,
and studs and edgelines disabled.

http://www.brickshelf.com/cgi-bin/gallery.cgi?i=67488
Very nice
/Lars



Message has 1 Reply:
  Re: LDGLite bug report (and POV preview question)
 
(...) I'm not sure if I *want* to do this, I was just asking if it would be useful. I asked because I already added -cc and -ca (not sure what -cla is) to ldglite so I could move the camera enough to test my recent bug fixes. Since I tend to add (...) (23 years ago, 6-Sep-01, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDGLite bug report (and POV preview question)
 
I'm not sure if I mentioned this yet, but the pesky ldglite bugs with MESA perspective mode have been fixed and a new version is up on the sourceforge. I still have to incorporate the new ldlite 2.3 bugfix for large MPD files, but it works for now (...) (23 years ago, 4-Sep-01, to lugnet.cad.dev)  

21 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