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 10 of 10

Thread: OT: Hidding textures?

  1. #1
    Intern Contributor
    Join Date
    Aug 2002
    Posts
    95

    OT: Hidding textures?

    How do most games HIDE there textures from the user? So that they cant see them in the game folder? I was curious if this could be done quite easily, or if it took alot to do?

    The one exeption I have found was Quake 3. I could fine ALL of there textures, exept the map textures. So how is it done, how do they hide them.

    Special notes: I am currently using devIL to load my images, and I would like it to work for ALL platforms. Any suggestions?

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    596

    Re: OT: Hidding textures?

    depends what you mean with hiding them.. I have a virtual filesystem in an own 'zip' file ( not compatible with the normal Zip), but if someone erally wanted to extract the files i guess that shouldnt be a problem

    attrib *.* /s +h works in windows i guess :-)

  3. #3
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    The Round Table at Camelot
    Posts
    1,264

    Re: OT: Hidding textures?

    The map textures are in the pk3 files. Maybe you were looking into the wrong one? I've looked at them before. Try looking in there again.

    -SirKnight

    [This message has been edited by SirKnight (edited 09-23-2002).]
    -SirKnight

  4. #4
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,256

    Re: OT: Hidding textures?

    lol hide them?

    I think you are better off scrambling your files, but even then,it is possible to snoop with gltrace.

    Anyone want a hacked version of gltrace that copies the textures to your harddisk?


    V-man
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  5. #5
    Junior Member Regular Contributor
    Join Date
    Jan 2002
    Posts
    204

    Re: OT: Hidding textures?

    what is gltrace? does it log all opengl calls?

  6. #6
    Senior Member OpenGL Guru
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,407

    Re: OT: Hidding textures?

    yes so everyone can see your tricks, grab your textures etc so hiding them is useless
    btw theres also another similar program thats works for opengl + d3d

  7. #7
    Intern Contributor
    Join Date
    Aug 2002
    Location
    SomeWhere Lost In France
    Posts
    75

    Re: OT: Hidding textures?

    Yes V-Man I'm interested in that.
    Where can it be find?
    thanks
    I'm 4 and I draw

  8. #8
    Junior Member Regular Contributor
    Join Date
    Jan 2002
    Posts
    204

    Re: OT: Hidding textures?

    very nice....

  9. #9
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,256

    Re: OT: Hidding textures?

    Originally posted by Antorian:
    Yes V-Man I'm interested in that.
    Where can it be find?
    thanks
    Not on the web! But you get get the original gltrace and hack it up to your liking.

    NOTE: textures are copyrighted too, so dont go stealing them.

    V-man
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  10. #10
    Intern Contributor
    Join Date
    Aug 2002
    Location
    SomeWhere Lost In France
    Posts
    75

    Re: OT: Hidding textures?

    Yes but it's only to test my app, cauze I must see how is performed the texture, (I use algo that generate texture and modify them in real time) so would like to know at a time what's the texture evolution in real time. (by pressing a key at the good time).
    So I currently use a second display to see what is performed, but...it's not enough acurate. (I must know waht are the values of the pixels of texture).
    etc....

    I don't want to hack texture from other apps (even it seems to be a good trick) 'cause I don't want any problem with copyright in my appz.

    Thanks.
    I'm 4 and I draw

Posting Permissions

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