Crambin with
discrete colors
Features >  Grasp_surface >  Crambin      [ site map ]
News
Features
Features
Download
Tutorials
Links
   

Crambin protein with surface enhancing several residues, using the dicretecolors option.

After a quick rendering test, the final command-line is:

<command> +i <file> +w640 +h480 -f +a0.2 +am2 +r2
The -f option prevents writing files which often slows down calculation, especially across network. For the same reason, display is not used.

  Example
crambin-grasp.p4g   crambin-scene.inc   crambin.srf.gz (412.5 Kbytes)
#version 3.1;

// scene description + macro
#include "crambin-scene.inc"

// molecular surface object
grasp_surface
{
  "crambin.srf"
  colored_by discretecolors
  finish{ diffuse 0.6  specular 0.75  roughness 0.005 }

  scale <1,1,-SYSTEM>
  correct_translate(-11,-10.5,0)
}
crambin
Actual size is 640x480
 


  Benchmarks

Surface files:

10128 vertices for 20248 triangles Rendered with
trimap .inc / 3.0 MB (surface,vertexcolors) POV-Ray 3.1g
mesh2 .inc / 1.4 MB (surface,vertexcolors) MegaPOV 0.6a
grasp .srf / 0.7 MB (surface,potentials,curvatures,vertexcolors) Pov4Grasp 1.31
MB = megabytes

Statistics:

resolution:
640x480
DEC SGI PC
trimap mesh2 grasp trimap mesh2 grasp trimap mesh2 grasp
Peak memory used 18.7 MB13.6 MB4.6 MB 15.3 MB10.7 MB3.0 MB 14.8 MB10.5 MB3.0 MB
Time For Parse 11" 3" 1" 15" 3" 1" 15" 4" 1"
Time For Trace 11"13"11" 19"22"20" 21"26"23"
Total Time 22"16"12" 34"25"21" 36"30"24"
MB = megabytes
 


Back to the examples and benchmarks


Valid HTML 4.01! Page last updated: Jun 20, 2002
Any comment or suggestion ?