Jump to content

Recommended Posts

Posted

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.

Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX

ZBrush - Blender

Posted

Ok, nevermind. Writing via OpenGL commands to a buffer and using that as a texture works well enough :)

Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX

ZBrush - Blender

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...