LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: rainforest on April 24, 2007, 00:32:41

Title: Using HTML pages as Texture
Post by: rainforest on April 24, 2007, 00:32:41
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.
Title: Re: Using HTML pages as Texture
Post by: Matzon on April 24, 2007, 05:11:58
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.
Title: Re: Using HTML pages as Texture
Post by: rainforest on April 24, 2007, 18:49:31
;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.