Jump to content

  • Log In with Google      Sign In   
  • Create Account

Faster?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Ertai   Members   -  Reputation: 122

Like
Likes
Like

Posted 01 October 2001 - 01:14 AM

if i want to make a 2d tile engine, what would be faster? pixel operations like glDrawPixels or textured geometry using QUADS ?

Sponsor:

#2 MirekCz   Members   -  Reputation: 132

Like
Likes
Like

Posted 01 October 2001 - 01:42 AM

glDrawPixel is slow as hell on PC, use traingles/quads - MUCH MUCH faster (and you can easily use two/more textures for lighting...all kind of nice stuff

With best regards,
Mirek Czerwiñski
http://kris.top.pl/~kherin/

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 01 October 2001 - 02:04 AM

Hi,

Are you sure that Open GL is necessary to build a 2D tile engine ??? I think libraries like SDL (http://www.libsdl.org) are much faster in that case... Or maybe you have some special goals that force you to use Open GL (for example performing 3D rotation to your BG).
Open GL is good for 3D development. But for 2D... I really dunno.

Regards,

The Night Howler

#4 Terran Marine   Members   -  Reputation: 122

Like
Likes
Like

Posted 01 October 2001 - 02:10 AM

I have a 50% complete OpenGL-based tile engine, using triangle strips for the tiles. OpenGL can do a whole lot more effects than DirectDraw. You can even simulate Mode7 pseudo-3d graphics, SNES-style. I think OpenGL is the way to go, as long as you make sure that any you don''t get any unnecessary bottlenecks.

#5 Ertai   Members   -  Reputation: 122

Like
Likes
Like

Posted 01 October 2001 - 07:50 AM

Well, I think OpenGL is just cool, and i want to learn it anyway ... and i want smooth lightning and all, so i think i could use some hardware acceleration ... thx for your help !

#6 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 01 October 2001 - 09:25 AM

I agree, go with quads and other primitives, not the raster operations. They''re faster for most consumer video cards anyway.

[Resist Windows XP''s Invasive Production Activation Technology!]




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS