Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (710)
Games in Android Showcase (212)
games submitted by our members
Games in WIP (784)
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  
  LWJGL 2d sprites/quads?  (Read 2254 times)
0 Members and 1 Guest are viewing this topic.
Offline M4g3

Senior Newbie

Java games rock!

« Posted 2004-05-05 20:03:28 »

Ok I've managed to put a quad on my screen with a png texture on it, using lwjgl.

But I've read a lot of stuff about lwjgl and opengl the last few days, and I remember that using quads is probably not the most efficient way to display a lot of 2d graphics on the screen.

Is there another, more efficient way of displaying 2d graphics, I think it has something to do with sprites? And something I also havent looked into but might have to do with it is fustrum. Anyway I'm unsure which way to go now. My goal is to make a 2d isometric game, and I know about orthographic projections.

I was a bit unsure whether to put this in lwjgl or newbie forum, because I guess it's both Wink
Online princec

« JGO Spiffy Duke »

Medals: 892
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #1 - Posted 2004-05-05 21:54:37 »

There's two ways of doing sprites in OpenGL: the easy well supported way, by drawing quads, which is super-fast and entirely sensible; and the slightly more involved way using an extension like NV_point_sprites which involves 1/4 of the vertex transformations.

Point sprites are really only used for particle effects and they are pretty much designed with that in mind. So forget about them for now. Quads is the way to go.

Cas Smiley

Offline M4g3

Senior Newbie

Java games rock!

« Reply #2 - Posted 2004-05-06 09:52:47 »

roger that, sir!

Tongue thx for the reply
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

numerical (81 views)
2017-02-21 07:32:16

numerical (82 views)
2017-02-21 07:31:46

theagentd (186 views)
2017-02-18 13:42:33

theagentd (189 views)
2017-02-18 13:35:16

h.pernpeintner (1352 views)
2017-01-24 22:39:11

h.pernpeintner (1340 views)
2017-01-24 22:38:32

Galdo (1901 views)
2017-01-12 13:44:09

Archive (1987 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2523 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2312 views)
2016-12-15 21:50:57
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 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!