Re: pfuPath

New Message Reply Date view Thread view Subject view Author view

Michael Jones (mtj++at++babar)
Wed, 7 Jun 1995 09:07:48 -0700


On Jun 7, 11:01am, Lance R. Marrou wrote:
> Subject: Re: pfuPath
:On Wed, 7 Jun 1995, Martin Suter wrote:
:
:> Can anyone give a short explanation of the format of the
:> path-files used by the pfuPath routines?
:> (There is no man page for pfuPath.)
:
:I looked in /usr/src/Performer/src/lib/libpfutil/path.c and it's something
:like the following:
:
:# comment
:line x y z x y z
:arc x y z radius angle1 angle2
:fillet radius
:speed desired rate
:delay seconds
:close

It is pretty simple. Here are a few sample paths from the "performer
town" demo program. There is a blimp over the town in one version
of the demo, and that's what the blimp path is for:

::::::::::::::
blimp.path
::::::::::::::
# file: sky.path
# $Revision: $
# $Date: $

# This file is a path for use in perfly. For example:
# perfly -A blimp.flt,blimp.path,Blimp 002_002.flt
#

speed -5 1000

line 2312 2407 100 2312 2307 100
fillet 90
line 2312 2307 100 2482 2292 100
fillet 90
line 2482 2292 100 2749 2192 100
fillet 90
line 2749 2192 100 2947 2587 100
fillet 90
line 2947 2587 100 2507 2928 100
fillet 90
line 2507 2928 100 2484 2710 100
fillet 90
line 2484 2710 100 2312 2507 100
fillet 50
line 2312 2507 100 2312 2407 100

close
::::::::::::::
city.path
::::::::::::::
# file: city.path
# $Revision: $
# $Date: $

# This file is a path for use in perfly. For example:
# perfly -A esprit.flt,city.path,Lotus 002_002.flt
#

speed 31 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
::::::::::::::
city2.path
::::::::::::::
# file: city.path
# $Revision: $
# $Date: $

# This file is a path for use in perfly. For example:
# perfly -A esprit.flt,city.path,Lotus 002_002.flt
#

speed 13 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

-- 

Be seeing you, Phone:415.390.1455 Fax:415.965.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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:34 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.