How can I manipulate textures
BlitzMax Forums/MiniB3D Module/How can I manipulate textures
| ||
Is there a way to convert texures from ttexture to tpixmap? Or maybe there is another way to manipulate it? Can't get the BackBufferToTex to work either. The texture gets the color of the first pixel I draw. Regards Sveinung |
| ||
how do you check your texture? because if you do it on a model: are you sure the model has UV data? cause the error you describe is the common error that happens when an object without UV data (-> all UV 0,0 -> all colored with pixel top left of texture) is textured. |
| ||
Take a look at this post: http://www.blitzbasic.com/Community/posts.php?topic=67027 You have to use : DisableTextureFilter() before doing BackbuffertoTex() because if you don't you will only copy the texture to mip level 0 and this is only used if you go very and i mean very close to the model. |
| ||
Thank you both. Got it to work :D Sveinung |
| ||
it would be nice if you post a working solution. i want to manipulate a texture. thanks stephan |
| ||
OK Here is an example...not a good one BTW this is WIP Sveinung |
| ||
For everyone is arrived here this is the solution!... BackBufferToTex(tx) EntityTexture obj,tx ... |