Select to view content in your preferred language

ShapeBuffer editing

2131
0
11-28-2011 06:03 AM
claudevuattoux
Deactivated User
I want to modify the geometry  and add material  to a reccord ::  is this the right way to do it?

some pseudo code :

//  get   the shapbuffer        assume the row  contain shapemultipatch


Row  myRow;

myRow.GetGeometry( myMultipatch);

ShapeBuffer      MyNewMultipatch;


//  contruct  a new a new shape  buffer    from the old one add texture  meterail , normal  bla .....
//      
AddTexture (  myMultipatch ,  MyNewMultipatch );

// update table


//  myRow.SetGeometry ( MyNewMultipatch);


....
0 Kudos
0 Replies