Featured games (91)
games approved by the League of Dukes
Games in Showcase (579)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Loading of grayscale textures  (Read 505 times)
0 Members and 1 Guest are viewing this topic.
Offline lebasti

Senior Newbie

Java games rock!

« Posted 2005-03-04 10:27:27 »


Anybody out there who has got loaded 8-bit grayscale png's as a texture? Which settings should I choose for glTexImage2d and how should I transform the BufferedImage and copy it into ByteBuffer? I've tried some loaders from this forums (the one of big textures thread and some other), but I failed Sad.



....I and I nah signature....
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.


Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (35 views)
2014-04-15 09:08:23

BurntPizza (31 views)
2014-04-14 18:46:01

UprightPath (46 views)
2014-04-14 08:39:50

UprightPath (29 views)
2014-04-14 08:35:47

Porlus (46 views)
2014-04-14 06:48:38

tom_mai78101 (67 views)
2014-04-09 19:04:31

BurntPizza (127 views)
2014-04-08 14:06:04

tom_mai78101 (227 views)
2014-04-05 04:34:39

trollwarrior1 (192 views)
2014-04-04 03:06:45

CJLetsGame (199 views)
2014-03-31 17:16:10
List of Learning Resources
by SHC
2014-04-17 18:17:39

List of Learning Resources
by Longarmx
2014-04-07 18:14:44

Good Examples
by matheus23
2014-04-05 04:51:37

Good Examples
by Grunnt
2014-04-03 06:48:46

Good Examples
by Grunnt
2014-04-03 06:48:37

Good Examples
by matheus23
2014-04-01 09:40:51

Good Examples
by matheus23
2014-04-01 09:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 06:22:30 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!