Jump to content

  • Log In with Google      Sign In   
  • Create Account

Sagaceil

Member Since 04 May 2009
Offline Last Active May 17 2014 05:45 PM

Posts I've Made

In Topic: Using compressed and non compressed mipmaps

21 November 2013 - 10:54 AM

When Im importing textures to engine, Im doing offline compression using close fit range compression. So I have to ananlize whole 4x4 blocks as an input. When loading textures , they are in compressed format arleady, and the last mipmaps are stored as a raw RGB(A) data.


In Topic: Using compressed and non compressed mipmaps

21 November 2013 - 07:37 AM

Ok, solved.

 

I'm uploading compressed mipmaps using glCompressedTex* ( mipmaps with size >= 4px ) and using glTexImage* with GL_COMPRESSED_RGB(A) for lower mipmaps.


In Topic: Using compressed and non compressed mipmaps

21 November 2013 - 05:28 AM

So actually theres no way to use compressed textures and use lower size than 4px. I supposue that compression require 4x4 px blocks to be compressed.


In Topic: FullScreen and OS cursor

05 March 2010 - 02:55 AM

I'm using AllegroGL to initialize the window. GUI is rendering afret whole 3D part, and then my own mouse curosor onto the main framebufer. Flip at the end.

I tried to find all chain of functions that are call when window init. But theres no entry about hiding coursor in full screen.

Heres these functions : http://www.codase.com/search/showtext?file=L2dlbnRvbzIvdmFyL3RtcC9yZXBvcy9jb2Rhc2UuYy9hbGxlZ3JvZ2wtMC4yLjQvd29yay9hbGxlZ2dsL3NyYy93aW4uYw==

1) allegro_gl_win_init_fullscreen
2) allegro_gl_win_init

I'll try to make some experiments to force ShowOsCuros after every Flip.

In Topic: 2D text + depth test

17 January 2010 - 09:53 AM

Done:

Posted Image

PARTNERS