View Full Version : How to paint on textures?
04-23-2001, 02:50 AM
I'm about to construct a robot that shall spray-paint an objekt. How can I do this in the best possible way? Open for any ideas.
04-23-2001, 03:19 AM
Do a second pass with the paint texture.
Allocate some sysmem for the texture, draw on it when needed and then upload the texture to OpenGL, with glTexSubImage.
You can also just paint directly on the robot texture, but the other method allows for better texture sharing among other similiar robots.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.