Revision: 20245 http://sourceforge.net/p/jmol/code/20245 Author: hansonr Date: 2015-01-27 14:10:09 +0000 (Tue, 27 Jan 2015) Log Message: ----------- Jmol.___JmolVersion="14.3.12_2015.01.26"
new feature: frame [1 3 5 6] -- sets limited number of frames for animation and frame * -- same as animation frame [1 3 5 6]; frame * bug fix: @3 for "atomno=3" should not extend to models that are not part of the current model set -- commonly used for shortcut at the console -- provides a function distinct from "atomno=3" new feature: CGO PostScript option -- CGO [ PS @origin @x @y ] data "PS" [primitive encapsulated postscript data] end "PS" -- maps 2D EPS data onto a plane defined by an origin point, an x-axis point, and a y-axis point. -- somewhat similar to UV mapping of textures in other programs -- allows 2D data to be superimposed on a model. -- used for NBO contour mapping -- uses (requires) %%BoundingBox x0 y0 x1 y1 prolog record to map [x0 y0] to @origin, [x1 0] to @x, and [0 y1] to @y -- does not currently implement PS fill option, just moveto, lineto, newpath, closepath, setlinewidth -- a crude implementation still in development CGO[ PS @{point(-5,-5,0)} @{point(5,-5,0)} @{point(-5,5,0)}] data "PS" %!PS-Adobe-2.0 EPSF-1.2 %%Creator: Bob Hanson (from NBO) %%Title: nbo orbital slice %%CreationDate: 1/26/2015 5:36 AM %%DocumentFonts: Helvetica %%BoundingBox: 211 300 428 518 %% note: above numbers are from 0.24*881 0.24*1781 0.24*1256 0.24*2156 %%EndComments %%EndProlog 0.2400 0.2400 scale newpath 3 setlinewidth newpath 881 1256 moveto 1781 1256 lineto 1781 2156 lineto 881 2156 lineto closepath stroke 1241 1717 moveto 1250 1713 lineto ... stroke %%Trailer showpage end "PS" new feature: CGO SCREEN option -- CGO [SCREEN z ...] -- reads CGO 2D VERTEX records as screen coordinates, installing them at a depth of z -- z > 0 percent back to front; screen coordinates are percentage of width and height -- z < 0 absolute z as -z; screen coordinates are absolute and do not scale with resizing -- example: a static border 20% from the back of the model cgo test2 [ SCREEN 20 BEGIN LINE_LOOP VERTEX 10 10 VERTEX 90 10 VERTEX 90 90 VERTEX 10 90 END ] new feature: CGO UVMAP option -- CGO [UVMAP @origin @x @y x0 y0 x1 y1 scaleX scaleY ...] -- 2D VERTEX records are scaled and mapped to a plane defined by @origin @x @y -- example: a parallelogram based on atoms 1, 6, and 11 cgo test1a [ UVMAP @1 @6 @11 0 0 80 80 1 1 BEGIN LINE_LOOP VERTEX 0 0 VERTEX 80 0 VERTEX 80 80 VERTEX 0 80 END ] bug fix: CGO LINE_LOOP not closing bug fix: configuration 1 broken bug fix: display configuration=1 broken (in Jmol 12.0, 2011) Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-01-27 13:49:18 UTC (rev 20244) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-01-27 14:10:09 UTC (rev 20245) @@ -28,7 +28,76 @@ -- provides a function distinct from "atomno=3" new feature: CGO PostScript option + -- CGO [ PS @origin @x @y ] data "PS" + [primitive encapsulated postscript data] + end "PS" + -- maps 2D EPS data onto a plane defined by an origin point, an x-axis point, and a y-axis point. + -- somewhat similar to UV mapping of textures in other programs + -- allows 2D data to be superimposed on a model. + -- used for NBO contour mapping + -- uses (requires) %%BoundingBox x0 y0 x1 y1 prolog record + to map [x0 y0] to @origin, [x1 0] to @x, and [0 y1] to @y + -- does not currently implement PS fill option, just moveto, lineto, newpath, closepath, setlinewidth + -- a crude implementation still in development + +CGO[ PS @{point(-5,-5,0)} @{point(5,-5,0)} @{point(-5,5,0)}] data "PS" +%!PS-Adobe-2.0 EPSF-1.2 +%%Creator: Bob Hanson (from NBO) +%%Title: nbo orbital slice +%%CreationDate: 1/26/2015 5:36 AM +%%DocumentFonts: Helvetica +%%BoundingBox: 211 300 428 518 +%% note: above numbers are from 0.24*881 0.24*1781 0.24*1256 0.24*2156 +%%EndComments +%%EndProlog + 0.2400 0.2400 scale + newpath + 3 setlinewidth + newpath + 881 1256 moveto + 1781 1256 lineto + 1781 2156 lineto + 881 2156 lineto + closepath + stroke + 1241 1717 moveto + 1250 1713 lineto +... + stroke +%%Trailer +showpage +end "PS" +new feature: CGO SCREEN option + -- CGO [SCREEN z ...] + -- reads CGO 2D VERTEX records as screen coordinates, installing them at a depth of z + -- z > 0 percent back to front; screen coordinates are percentage of width and height + -- z < 0 absolute z as -z; screen coordinates are absolute and do not scale with resizing + -- example: a static border 20% from the back of the model + +cgo test2 [ SCREEN 20 + BEGIN LINE_LOOP + VERTEX 10 10 + VERTEX 90 10 + VERTEX 90 90 + VERTEX 10 90 + END +] + +new feature: CGO UVMAP option + -- CGO [UVMAP @origin @x @y x0 y0 x1 y1 scaleX scaleY ...] + -- 2D VERTEX records are scaled and mapped to a plane defined by @origin @x @y + -- example: a parallelogram based on atoms 1, 6, and 11 + +cgo test1a [ UVMAP @1 @6 @11 0 0 80 80 1 1 + BEGIN LINE_LOOP + VERTEX 0 0 + VERTEX 80 0 + VERTEX 80 80 + VERTEX 0 80 + END +] + bug fix: CGO LINE_LOOP not closing bug fix: configuration 1 broken bug fix: display configuration=1 broken (in Jmol 12.0, 2011) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits