Using HTML pages as Texture

Started by rainforest, April 24, 2007, 00:32:41

Previous topic - Next topic

rainforest

Any idea on how to capture a html page (text+image) and convert it to a texture image from within the Java program (I mean, like automatically)  ::)

Any hints would be useful.
.:: A journey of thousand miles starts with a single step ::.

Matzon

your best bet is probably to use swing and render it to an offscreen buffer. JME has some swing stuff, you should be able to see how they've done it.

rainforest

;D I love the way u post your reply Matzon, hardly one or two sentences, precise but very useful and handy. Thank u very much for your excellent service to the LWJGL community.
.:: A journey of thousand miles starts with a single step ::.