title: Change texture of POD object
body: <p>Ive just gotten started with cocos3d and I'm making a basic card game. I've already got the model with textures, but I don't know how to specify what texture to use for a given object, or node.  I've got the textured model loaded and rendering using the basic cocos3d template.  Here's my setup code:</p>
  
  <pre><code>//Init
  for ( int i = 0; i &lt; 5; ++i )
  {
      cardNodes[i] = [CC3PODResourceNode nodeFromFile: @"Card.pod"];
      [self addChild:cardNodes[i]];
      cardNodes[i].location = cc3v ( ( i - 2)*7.5, 0, 0);
      cardNodes[i].rotation = cc3v ( 0,-90,180);
  }
  
  -(void) startGame
  {
      srand(0);
  
      //Draw 5 random cards
      unsigned int cards[5] = {0};
      for ( unsigned int i = 0; i &lt; 5; ++i )
      {
          unsigned int card = ( rand() % 52 ) + 1;
          for ( int other = i-1; other &gt;= 0; --other )
          {
              if ( cards[other] == card )
              {
                  card = ( rand() % 52 ) + 1;
                  other = i-1;
              }
          }
          cards[i] = card;
          //Set texture of card node[i] somehow here?
      }
  }
  </code></pre>
  
  <p>So how can I change what texture is being used so I don't have to create a new pod file for each card?</p>