Re: DOF Control Problem

New Message Reply Date view Thread view Subject view Author view

Gordon Tomlinson (gordon++at++paradigmsim.com)
Sat, 09 Jan 1999 14:12:47 -0600


Hi
Ok what do you mean you cannot control thes DOF(MULTIGEN)=DCS(PF),

1) Do you mean you cannot find the DOF/DCS through API,
2) You can find the DOF/DCS but cannot move/update the values.

The Multigen DOF bead maps to the Performer DCS node, WRT XYZ,HPR and Scale

you can find a DCS node by using the following:
where PFNODE may be the Scene node etc.
You can change the search type by replacing pfGetDCSClassType()
with the require tyeps just check the man page.

   
         pfDCS *dcs;

         dcs = (pfDCS*) pfFindNode( PFNODE, "dcs_name",pfGetDCSClassType());

You can then use the following functions calls to postion and update
your DCS etc.

      pfDCSTrans(pfDCS *dcs, float x, float y, float z);

      pfDCSRot(pfDCS *dcs, float h, float p, float r);

      pfDCSCoord(pfDCS *dcs, pfCoord *coord);

      pfDCSScale(pfDCS *dcs, float s);

      pfDCSScaleXYZ(pfDCS *dcs, float x, float y, float z);

      pfDCSMat(pfDCS *dcs, pfMatrix m);

Hope this helps, if I can be of further help let me know.

Gordon.

leehd++at++samsung.co.kr wrote:
>
Hello?!.

I want to integrate HUD symbols to my visual system used octane mxi and performer

API.
I have made the HUD Symbols by using the Multigen Pro and two DOF nodes.
but I cann't control these DOF nodes in performer environment.
Used file cantains the DCSs, Switchs, Geodes, and PFGS_FLAT_TRISTRIP
primitive type GeoSets.
If I can control the FLAT_TRISTRIP geoset, I can get the any solution for DOF

problem.
Please give me some information for the relationship between the open flight DOF and the

performer API and any solution.

-- 
Gordon Tomlinson              | Multigen - Paradigm  Inc
Vega Software Engineer        | Suite 400, 14900 Landmark Blvd
Email: gordon++at++paradigmsim.com | Dallas, Texas 75240, USA
Tel:    972 960 2301          | Fax:    972 960 2303  
______________________________________________________________

'Smoke me a kipper skipper, I'll be back for breakfast' ______________________________________________________________ 640K ought to be enough for anybody. Bill gates 1981 There is no reason anyone would want a computer in their home (Ken Olson, president of Digital Equip Corp 1977 )


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Sat Jan 09 1999 - 12:10:37 PST

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