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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top