Re: [info-performer] Transforming a geode

Date view Thread view Subject view Author view

From: Benedikt Kessler (bjk++at++sgi.com)
Date: 11/17/2005 01:33:28


Hi Rajesh,

you should either create a pfSCS or pfDCS node (set the translation/rotation ... there), attach your pfGeode to it and attach the pfSCS or pfDCS node to your m_pMainScene.

Bye! Benedikt

Rajesh R wrote:
>
> I want to add a simple sphere and Place it on my database
>
> I have added following lines.
>
> pfGeoSet *gset = pfdNewSphere(10,arena);
> pfGeode *dome = pfNewGeode();
> dome->addGSet(gset);
> // Here I want to transform the geode
> //Which Function should I use
>
> m_pMainScene->addChild(dome);
>
> Which function should I use for placing the geode in the database.
>
> Thanks in advance
> Rajesh.R
> Virtual Reality
> Institute for Robotics and Virtual Reality
> c/o Centre for AI and Robotics
> Defence Research and Development Organization (DRDO)
> Ministry of Defence
> Bangalore - 1
>
> Scientists are people of very dissimilar temperaments
> doing different things in very different ways. Among
> scientists are collectors, classifiers and compulsive
> tidiers-up; many are detectives by temperament and many
> are explorers; some are artists and others artisans.
> There are poet-scientists and philosopher-scientists and
> even a few mystics."
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------

-- 
+---------------------------------+----------------------------------+
|Benedikt J. Kessler              | Silicon Graphics GmbH            |
|Advanced Media Products          | Am Hochacker 3 - Technopark      |
|SGI                              | 85630 Grasbrunn-Neukeferloh, FRG |
|    ---  __o       ,__o          |                                  |
| ------_ \<,_    _-\_<,          | Phone: (+49) 89 46108-366 or -0  |
|----- (*)/ (*)  (*)/'(*)         | Fax:   (+49) 89 46107-366        |
+---------------------------------+----------------------------------+
|E-Mail: bjk++at++sgi.com            Web (private): http://sgiweb.org/bjk |
|   Web: http://www.sgi.de                                           |
+--------------------------------------------------------------------+


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Nov 17 2005 - 01:33:43 PST