Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Bitmap encryption

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2013
    Posts
    3

    Bitmap encryption

    Hi,
    I have a 2 questions. Maybe its havent nothing about openGL so I dont know.
    How can I store bitmaps to enscrypted file format?
    Can openGL load encrypted files?

    Many games or programs coded in OpenGL has enscrypted file formats whitch they can store many bitmaps (or models) to one file and then can load it.
    Mabye its question whitch is difficult to answer but I want how can it be.
    Thanks for answer and sorry for my English.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    Many games or programs coded in OpenGL has enscrypted file formats whitch they can store many bitmaps (or models) to one file and then can load it.
    That isn't "enscryption" or "encryption". That's just packing files together. A file is just data on the disk; whatever meaning it has is provided by the application using the data.

    OpenGL cannot load encrypted files because OpenGL cannot load files. OpenGL is a rendering API, nothing more. It has functions to transfer pixel data to an image. But it doesn't have functions to read data from disk. And OpenGL doesn't have functions to read encrypted data that has been loaded into memory.

    I think you're rather confused as to what "encryption" is.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Jan 2011
    Location
    Paris, France
    Posts
    248
    As Alfonse say, OpenGL haven't functionnality for to load files but is "only" designed for to render primitives

    For loading bitmaps, you can use DevIL http://openil.sourceforge.net/ or GLI http://www.g-truc.net/project-0024.html

    For loading 3D objects, you can use specifics model loader libraries/utilties such as http://tfc.duke.free.fr/old/models/md2.htm or make youself the loader with infos provided by http://www.icculus.org/homepages/pha...md3format.html or http://fr.wikipedia.org/wiki/Objet_3..._de_fichier%29 for example
    @+
    Yannoo

  4. #4
    Junior Member Newbie
    Join Date
    Feb 2013
    Posts
    3
    Thanks for reply but how can I pack files together?. Its maybe C++ question but if possible to answer Ill be very happy...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •