Re: Performer Questions
Hideo MIKI (miki++at++msys0.ihimsys.ihi.co.jp)
Thu, 2 Mar 95 17:51:50 JST
>>->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.
I want to get the value from viewpoint to terrain.In my application,
I tried to use pfuCollideGrnd(&(ViewState->xformer->coord),
&(ViewState->xformer->grndNode,zpr)
But I can't compile this code.
Please give more help.
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:51:02 PDT