#12212: Colormap for implicit_plot3d and parametric_plot3d
-------------------------------------+-------------------------------------
       Reporter:  niles              |        Owner:  jason, was
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.3
      Component:  graphics           |   Resolution:
       Keywords:  colormap, plot     |    Merged in:
        Authors:  Joris              |    Reviewers:
  Vankerschaver                      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/chapoton/12212   |  edb4c5a4211e9920a95fe5e1e166a3e7a997e958
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by chapoton):

 After reading the doc of jmol here

 http://chemapps.stolaf.edu/jmol/docs/#isosurfacesurfaceobject
 --surfacedata-derivedisosurfaces

 I am rather pessimistic about achieving to transmit colored surfaces to
 jmol. Currently, we send `pmesh` files to jmol. Using this format, there
 seems to be no way to give a color to every face (other than horrible
 splitting : one `pmesh` file for every color).

 One other possibility would be to use `obj` files instead. But jmol is
 using the `obj` format in a strange (bad?) way : colors are coded in the
 '''names''' of the groups, instead of using the material `mtl` file. To do
 this, one would need to group faces according to their colors, which would
 take some work to code.

 This same work would probably also be necessary just to make sure that the
 `obj` file output works correctly for colored surfaces.

 I have not yet understood if the `json` format allows to deal eeasily with
 colored surfaces.

--
Ticket URL: <http://trac.sagemath.org/ticket/12212#comment:22>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to