Pergunta

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?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top