Domanda

I have a loaded POD file with one node. I calculated the correct surface position from touch with the unproject method. Now i want to draw on the texture (stored in Framebuffer) with the readColorContentFrom method.

Ho do I get the pixel location of a texture in the ccColor4B colorArray[].

Generally: how can i draw on the texture on a POD with touches? Is this the right way?

È stato utile?

Soluzione

I've answered the same question you posted to the cocos3d forum here.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top