VideoHelp Forum




+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 33 of 33
  1. Anonymous543
    Guest
    Media files can be CONCRETE or ABSTRACTED
    what does concrete and abstracted means?


    So you want to learn about images/graphics...does that mean concrete images/graphics, or abstract images/graphics, or both? or something else entirely different?
    And when you say you want to learn about them, WHAT do you want to learn?
    creation of image using code
    just like

    RRR
    RRR
    RRR

    should display as 3x3 red square
    which i have done using my program


    Start here: http://paulbourke.net/dataformats/bitmaps/
    Note that bitmap is a class. BMP is a particular implementation of that class.
    nice guide
    Quote Quote  
  2. Originally Posted by kirito View Post
    Media files can be CONCRETE or ABSTRACTED
    what does concrete and abstracted means?
    Abstracted means all the details of what's happening at the hardware and lowest software and system levels is hidden from you. You are only presented with high level functions like "create an image object", "set the pixel at X,Y to color C", draw a rectangle of color C at X,Y", "save image object as a BMP file", "load this BMP file onto the image object" , etc. This is exactly what you don't want if you want to learn the details of how to create an image in memory, read and write data to it, and save it as BMP or PNG file.

    For example, in the code you gave earlier:

    Code:
    love.graphics.setColor(1, 0, 0)  --sets color red 
    love.graphics.rectangle("fill", 0,0, 100,100)
    These are high level functions that specify the color you want to paint, then to paint a rectangle of that color at the specified location and of the specified size. You have no idea how that is actually done, what the data structure are, how it gets to the screen, etc.
    Quote Quote  
  3. Anonymous543
    Guest
    Originally Posted by jagabo View Post
    Originally Posted by kirito View Post
    Media files can be CONCRETE or ABSTRACTED
    what does concrete and abstracted means?
    Abstracted means all the details of what's happening at the hardware and lowest software and system levels is hidden from you. You are only presented with high level functions like "create an image object", "set the pixel at X,Y to color C", draw a rectangle of color C at X,Y", "save image object as a BMP file", "load this BMP file onto the image object" , etc. This is exactly what you don't want if you want to learn the details of how to create an image in memory, read and write data to it, and save it as BMP or PNG file.

    For example, in the code you gave earlier:

    Code:
    love.graphics.setColor(1, 0, 0)  --sets color red 
    love.graphics.rectangle("fill", 0,0, 100,100)
    These are high level functions that specify the color you want to paint, then to paint a rectangle of that color at the specified location and of the specified size. You have no idea how that is actually done, what the data structure are, how it gets to the screen, etc.

    So..method which i used is abstract method??
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!