How can I get faster 24bit rendering with Allegro

This is a discussion on How can I get faster 24bit rendering with Allegro within the Game Programming forums, part of the General Programming Boards category; I am using Allegro, the latest version, to do graphics. The only problem is that I can't display 24 bit ...

  1. #1
    NonBeliever
    Guest

    How can I get faster 24bit rendering with Allegro

    I am using Allegro, the latest version, to do graphics. The only problem is that I can't display 24 bit graphics with out a massive slow down.

    What would you recommend I do to optimize the speed of 24 bit graphics. I am using MS visual C++ btw, on windows XP and I also do it on Windows98.

    NB

  2. #2
    Registered User zdude's Avatar
    Join Date
    Sep 2002
    Posts
    32
    This is because you are probably converting screen types on the fly.

    The only fixes without modifying the code is to set ur computer and all images it uses to 24 bit.
    Those who live by the sword get shot by those who don't.

    I can C.

    Compiler: gcc

  3. #3
    NonBeliever
    Guest

    re

    Tried that, didn't do anything. So now I need to know how to modify it by code. What would you suggest?

    NB

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Allegro isn't very fast if you need to draw many things simultaneously. You should try looking up DirectDraw.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 03:00 AM
  2. How can I get faster 24bit rendering with Allegro
    By nonbeliever in forum C++ Programming
    Replies: 1
    Last Post: 05-05-2003, 06:55 PM
  3. Need some help choosing a good graphics library
    By dead_cell in forum Game Programming
    Replies: 31
    Last Post: 01-08-2003, 01:30 PM
  4. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-21-2002, 12:35 AM
  5. Replies: 2
    Last Post: 11-26-2001, 04:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21