Revision: 20246 http://sourceforge.net/p/jmol/code/20246 Author: hansonr Date: 2015-01-27 14:17:53 +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 SCREEN option -- CGO [SCREEN z ...] -- reads CGO 2D VERTEX records as screen coordinates, installing them at a depth of z - where z > 0 indicates a percent (0.01 far back; 100 front) - z < 0 indicates an absolute screen z value as -z. - uses 2D VERTEX and other CGO point elements, not 3D -- 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 ] 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. -- a crude implementation still in development; doesn't properly implement stroke; -- just for drawing lines; does not implement PS fill, gsave, grestore -- just moveto, lineto, newpath, closepath, setlinewidth, scale -- uses %%BoundingBox x0 y0 x1 y1 prolog record to map [x0 y0] to @origin, [x1 0] to @x, and [0 y1] to @y -- used for NBO contour mapping 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" 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 14:10:09 UTC (rev 20245) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-01-27 14:17:53 UTC (rev 20246) @@ -27,20 +27,50 @@ -- commonly used for shortcut at the console -- provides a function distinct from "atomno=3" +new feature: CGO SCREEN option + -- CGO [SCREEN z ...] + -- reads CGO 2D VERTEX records as screen coordinates, installing them at a depth of z + - where z > 0 indicates a percent (0.01 far back; 100 front) + - z < 0 indicates an absolute screen z value as -z. + - uses 2D VERTEX and other CGO point elements, not 3D + -- 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 +] + new feature: CGO PostScript option - -- CGO [ PS @origin @x @y ] data "PS" - [primitive encapsulated postscript data] - end "PS" + -- 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. + -- a crude implementation still in development; doesn't properly implement stroke; + -- just for drawing lines; does not implement PS fill, gsave, grestore + -- just moveto, lineto, newpath, closepath, setlinewidth, scale + -- uses %%BoundingBox x0 y0 x1 y1 prolog record + to map [x0 y0] to @origin, [x1 0] to @x, and [0 y1] to @y -- 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" +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 @@ -68,57 +98,12 @@ 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) JmolVersion="14.3.12_2015.01.25" -new feature: CGO screen coordinates drawing - - SCREEN z - - where z > 0 indicates a percent (0.01 far back; 100 front) - - z < 0 indicates an absolute screen z value as -z. - - VERTEX and other CGO point elements will be two coordinates, not three - -cgo test1a [ SCREEN 50 - BEGIN LINES - VERTEX 40 30 VERTEX 40 50 - VERTEX 40 50 VERTEX 60 50 - END -] - -JmolVersion="14.3.12_2015.01.25" - bug fix: image echos broken JmolVersion="14.3.12_2015.01.24" 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