Scope: Cosmus homepage  
Home Page Downloads Projects Tech Notes About Us

Making a thick line in Partiview

Suppose you want to create a line, or several lines, between (x0,y0,z0) and (x0,y0,z1) that is of color c (index to a cmap file) and width w. Create a file blah.txt with lines of the form

x0 y0 z0 x1 y1 z1 w c

Copy the file, and say

  perl blah.txt blah.speck
In the cf file, create a separate group for this
  object g1=blah
    include blah.speck
  eval alpha 1
  eval slum 1
  eval lum const 10