Michael Jones (mtj++at++babar)
Wed, 6 Jul 1994 12:25:43 -0700
:I am trying to use pfuPath-related functions, but unfortunately our system
:does not have the man pages corresponding to these functions. Could someone
:send me a copy of them??? or give me some details about
:pfuAddSpeed(pfuPath *path, float desired, float rate) and
:pfuAddDelay(pfuPath *path, float delay)...
First, it's my lapse. I forgot to do that man-page.
As far as using the path code, that's easy. The poorly named function
pfuAddFile()
adds a file of ASCII path segment commands to a path. If you look at once of
the
path files that's shipped with the town demo you can see how it all works.
Here's
the basic idea:
# This file is a path for use in perfly. For example:
# perfly -A esprit.flt,city.path,Lotus 002_002.flt
#
speed 50 1000
line 2548 2295 0 2589 2295 0
fillet 12
line 2589 2295 0 2589 2482 0
fillet 20
line 2589 2482 0 2604 2497 0
fillet 20
line 2604 2497 0 2604 2704 0
fillet 12
line 2604 2704 0 2296 2704 0
fillet 55
line 2296 2704 0 2296 2504 0
fillet 9
line 2296 2504 0 2195 2504 0
fillet 12
line 2195 2504 0 2195 2295 0
fillet 56
line 2195 2295 0 2548 2295 0
close
Each command here maps to one of the specific functions: speed =>
pfuAddSpeed().
Get it?
--Be seeing you, Phone:415.390.1455 Fax:415.390.2658 M/S:8U-590 Michael T. Jones Silicon Graphics, Advanced Graphics Division mtj++at++sgi.com 2011 N. Shoreline Blvd., Mtn. View, CA 94039-7311
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:23 PDT