martinew
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.
Thanks
/ Martin
IsaackRasmussen
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.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.