Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  (help) how to read and show a gray image using jogl?  (Read 959 times)
0 Members and 1 Guest are viewing this topic.
Offline xiaoxiaozhuwo

JGO n00b
*

Posts: 2



« on: 2006-11-23 04:06:36 »



I have an array including the information of the gray image.
how can i use jogl to process it?

or is there someone have the program that could read and process the JPG image using the opengl or jogl?
 
thanks. a lot.



Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #1 on: 2006-11-23 11:38:35 »

Have you looked at the TextureIO classes in com.sun.opengl.util in the JOGL distribution? There is an example in demos.texture.TestTexture in the jogl-demos workspace showing how to use the APIs.
Offline xiaoxiaozhuwo

JGO n00b
*

Posts: 2



« Reply #2 on: 2006-11-23 20:08:01 »

Thank you.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.143 seconds with 21 queries.