From: Mr. Rajesh R (rajeshr++at++cair.res.in)
Date: 08/26/2004 05:20:34
Dear All,
I am trying to put a watertower(watertower.pfb) on the top of a terrain
pfb Model. This is the way I am doing. But I am not able the watertower
pfNode *root = pfdLoadFile("terrain.pfb");
pfScene *scene = new pfScene;
scene->addChild(root); //root is the terrain model
pfNode *plane = pfdLoadFile("watertower.pfb");
pfVec3 *pos = (pfVec3 *)pfMalloc(15*sizeof(pfVec3),arena);
for(i=0;i<15;i++){
pos[i].set(15*i,15*j,0.0);
scene->addChild(plane);
}
Any suggestions
Rajesh.R
This archive was generated by hypermail 2b29 : Thu Aug 26 2004 - 05:34:18 PDT