#13111: variable camera position, light, etc. for tachyon ray tracer
---------------------------+------------------------------------------------
   Reporter:  dkrenn       |             Owner:  jason, was          
       Type:  enhancement  |            Status:  new                 
   Priority:  major        |         Milestone:  sage-5.1            
  Component:  graphics     |          Keywords:  camera light tachyon
Work issues:               |   Report Upstream:  N/A                 
  Reviewers:               |           Authors:                      
  Merged in:               |      Dependencies:                      
   Stopgaps:               |  
---------------------------+------------------------------------------------
 When using the tachyon ray tracer, at the moment the parameters for the
 camera, as well as for the light and for the background-plane are hard-
 coded in {{{sage/plot/plot3d/base.pyx}}}:
 {{{
     def tachyon(self):
     ...
          camera
             zoom 1.0
             aspectratio 1.0
             antialiasing %s
             raydepth 8
             center  2.3 2.4 2.0
             viewdir  -2.3 -2.4 -2.0
             updir  0.0 0.0 1.0
          end_camera

       light center  4.0 3.0 2.0
             rad 0.2
             color  1.0 1.0 1.0

       plane
         center -2000 -1000 -500
         normal 2.3 2.4 2.0
         TEXTURE
             AMBIENT 1.0 DIFFUSE 1.0 SPECULAR 1.0 OPACITY 1.0
             COLOR 1.0 1.0 1.0
             TEXFUNC 0
 }}}
 Those things should be variable, i.e. it should be possible to pass those
 parameters by optional parameters (e.g. when calling {{{show}}}).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13111>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to