To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 1317
    Aspect ratio (via L3P) —Roland Melkert
   Is there a way to set the aspect ratio of a scene trough the ini file? I am working on the export of my LD4DModeler program and noticed the image is going to be compressed when the specified width/height is not 4:3. It would be cool if L3P had a (...) (22 years ago, 22-Jun-02, to lugnet.cad.ray)
   
        Re: Aspect ratio (via L3P) —Fredrik Glöckner
     (...) The aspect ratio is given in the camera statement, namely this one: right -4/3*x You can edit this one to get the effect you want. BTW, did anybody see my latest animation? It's at: (URL) file is called "seminar-2.2mb.mpg" Fredrik (22 years ago, 22-Jun-02, to lugnet.cad.ray)
    
         Re: Aspect ratio (via L3P) —Roland Melkert
     (...) this is in the .pov file? I know about that, the thing I am looking for is a way for adjusting this without modifing the .pov L3P generated. (...) Those are some cool animations, I esspecialy like the one with the slide doors. (...) Roland (22 years ago, 23-Jun-02, to lugnet.cad.ray)
   
        Re: Aspect ratio (via L3P) —Lars C. Hassing
   "rmelkert" wrote... (...) For the coming release I have just added -car<ar> camera aspect ratio, default is 1.333 (4/3) User must remember to change the size of the rendering to the same ratio. /Lars (22 years ago, 24-Jun-02, to lugnet.cad.ray)
   
        Re: Aspect ratio (via L3P) —Roland Melkert
   This is great! I was starting to fear I could not easly make 16x9 widescreen animations (my favorite ratio). I'll ad the param to the export options for l3p in ld4dmodeler beta 2. Default param list would become: -stdout %FN -o -cla%CL -cc%CA (...) (22 years ago, 25-Jun-02, to lugnet.cad.ray)
   
        Re: Aspect ratio (via L3P) —Don Heyse
     (...) Roland, perhaps you should exchange an email or two with Lars. I think he's working on some other command line enhancements for the next version of l3p that might also interest you. Don (22 years ago, 25-Jun-02, to lugnet.cad.ray)
    
         Re: Aspect ratio (via L3P) —Lars C. Hassing
     Don Heyse wrote... (...) Currently I have added: -cr<a> camera roll angle, default is 0 degrees -co[<s>] orthographic camera, optional scalefactor -csl left stereo camera -csr right stereo camera -csa<a> stereo camera angle, default is 5 degrees (...) (22 years ago, 25-Jun-02, to lugnet.cad.ray)
    
         Re: Aspect ratio (via L3P) —Jeremy H. Sproat
      (...) Lars, Thanks for your good work, and I have just a few requests, in order if decreasing importance: - option to include a file at end and/or begin of .pov file (e.g. for megapov's edge-detection feature, etc.) - placing camera block, (...) (22 years ago, 26-Jun-02, to lugnet.cad.ray)
     
          Re: Aspect ratio (via L3P) —Lars C. Hassing
      Sproaticus wrote... (...) How about -ib<filename> include file at beginning of POV file -ie<filename> include file at end of POV file (...) Good idea. I have already used variables in the revised camera definition, like L3Location and L3LookAt, and (...) (22 years ago, 28-Jun-02, to lugnet.cad.ray)
     
          Re: Aspect ratio (via L3P) —Jeremy H. Sproat
      (...) Awesome. (...) These are the only variables I can think of. I think it might also be useful to expose the formulas for determining the camera and light positions via macros, but I can't think of any real-world needs at the moment. (...) Well, (...) (22 years ago, 29-Jun-02, to lugnet.cad.ray)
    
         Re: Aspect ratio (via L3P) —Andrew Westrate
      (...) Since you mention it... Can you make l3p follow the references to light.dat in subfiles? For instance, if I have a file torch.dat (with light.dat included) used a dozen times in the file castle.mpd, have it include all twelve lights in their (...) (22 years ago, 28-Jun-02, to lugnet.cad.ray)
     
          Re: Aspect ratio (via L3P) —Lars C. Hassing
      Andrew Westrate wrote... (...) You'll be happy to know, that I fixed that problem just three weeks ago. (...) How would you want it to work ? Just to specify the location of the camera ? See also (URL) the above post -cla has been added to function (...) (22 years ago, 28-Jun-02, to lugnet.cad.ray)
     
          Re: Aspect ratio (via L3P) —Andrew Westrate
      (...) Great! (...) After reading your post, I use the 2nd approach (the view pyramid) to specify the location and orientation of the camera. Here's the file I use (the cylinder is just a placeholder): 0 POV-Ray Camera Shortcut 0 Name: Camera1.dat 0 (...) (22 years ago, 29-Jun-02, to lugnet.cad.ray)  
     
          Re: Aspect ratio (via L3P) —Lars C. Hassing
      Andrew Westrate wrote... (...) Nice looking camera. And good idea with a cameraman. Your camera has a lens angle of 44 degrees and an aspect ratio of 3/2. How should L3P extract that information? Perhaps by putting the pyramid into a subfile, then (...) (22 years ago, 30-Jun-02, to lugnet.cad.ray)
     
          Re: Aspect ratio (via L3P) —Andrew Westrate
      (...) That would work fine for me. Andy (22 years ago, 4-Jul-02, to lugnet.cad.ray)
    
         Re: Aspect ratio (via L3P) —Roland Melkert
     Well, Multiple lights would be cool :) But I think this would be just as easy adding yourself via a include file (in that case turning off the default light would be nice too). So I have to agree with sproaticus an option to include a file would be (...) (22 years ago, 28-Jun-02, to lugnet.cad.ray)
    
         Re: Aspect ratio (via L3P) —Lars C. Hassing
     rmelkert wrote... (...) You can already specify -lg/-lc multiple times (see l3p.txt :-) (...) How about -il<filename> include file in stead of default lights /Lars (22 years ago, 28-Jun-02, to lugnet.cad.ray)
    
         Re: Aspect ratio (via L3P) —Roland Melkert
     I've must have overseen the lights issue, sorry :) with the -il param do you be inserted on the location you ordinairy insert the generated light information? is the location of the light objects critacal? Elseway you could use the include before (...) (22 years ago, 29-Jun-02, to lugnet.cad.ray)
    
         Re: Aspect ratio (via L3P) —Lars C. Hassing
     rmelkert wrote... (...) Yes, I would place the #include where the lights would have been. (...) No. (...) Yes, but it may be convenient to have separate files for different purposes. /Lars (22 years ago, 30-Jun-02, to lugnet.cad.ray)
   
        Re: Aspect ratio (via L3P) —Lars C. Hassing
   rmelkert wrote... (...) -cc%CA seems wrong: -cc<x>,<y>,<z> camera coordinates (location) -ca<a> camera angle, default is 67.38 degrees /Lars (22 years ago, 25-Jun-02, to lugnet.cad.ray)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR