Re: Performer Questions

New Message Reply Date view Thread view Subject view Author view

Fischler (src++at++rose)
Wed, 1 Mar 1995 15:01:41 -0800


-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Graphics Dev.
src++at++sgi.com  (415) 390 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
+>---- On Feb 28,  3:29pm, Hideo MIKI wrote:
> Subject: Performer Questions
->Hello,
->
->I have the following questions related to Performer application ( based 
->on perfly ) I am developping. 
->
->1. How can I get the value above a terrain ?

You want to intersect your terrain geometry with a downward segment. With the pfSegsIsectNode() routine, you can get the primitive, and even point, of intersection. Look at the pfSegsIsectNode and pfMQueryHit man pages.

->2. How do I make moving models like tank (which has some -> articulated part)?

You want to put the geometry of the articulated part under pfDCS node. DCS stands for "Dynamic Coordinate System" and you can use it to transform geometry at run time. For a fixed sequence of movements, you may also be interested in the pfSequence node. Look at the man pages on these nodes for details.

-> ->3. How do I use pfSmoke special effect ?

Look at the sample code in /usr/src/Performer/src/sample/pguide/libpfutil/progs/smoke.c

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Graphics Dev.
src++at++sgi.com  (415) 390 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

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:02 PDT

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