From: Kenneth B. R. <kbr...@al...> - 2002-02-20 16:13:37
|
> What is the quickest way of updating a texture (not swapping) with Graphics > or Graphics2D like operations with GL4Java? If you can render the texture to the screen in your application then you can read back the framebuffer to get hardware acceleration in texture drawing operations. See Hans Kohling Pedersen's SIGGRAPH papers on texturing implicit surfaces from a few years back. If you need offscreen updates of the texture, you are probably best off doing software rasterization into a java.nio Buffer, at least until pbuffers have widespread support. |