Niosop Posted January 6, 2010 Posted January 6, 2010 Has anyone been able to modify a texture in memory? All I need is a way to get a pointer to a texture's data and the format of that data. We can create textures with CreateTexture() but then we can't do anything with it other than blit from a buffer to it. I'm assuming there has to be a way as the editor must dynamically create one in memory when you're doing terrain texturing. Quote Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX ZBrush - Blender
Niosop Posted January 6, 2010 Author Posted January 6, 2010 Ok, nevermind. Writing via OpenGL commands to a buffer and using that as a texture works well enough Quote Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX ZBrush - Blender
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.