JeGX HackLAB


Trucs en vrac from Twitter

with one comment

Written by JeGX

June 11th, 2011 at 8:37 am

OpenGL Versions, Features Overview

without comments

Written by JeGX

May 31st, 2011 at 12:59 pm

Posted in OpenGL

Tagged with , ,

Programming – Misc Links

without comments

Written by JeGX

May 17th, 2011 at 8:10 pm

Posted in Programming

Tagged with , , , ,

OpenCL Platforms Names

without comments

Written by JeGX

May 14th, 2011 at 3:28 pm

Posted in OpenCL

Tagged with , , , , , ,

What your email address says about your computer skills

without comments

Written by JeGX

May 9th, 2011 at 9:01 am

Posted in Geek Life

Tagged with ,

How to UnRAR files on Ubuntu

without comments

Linux-Ubuntu comes with native zip file support (zip and unzip). Good. Unfortunately, uncompressing RAR files (or unrar-ing files) is not handled by Ubuntu. But it’s not a big problem: just install the unrar package and you’re ok. To install unrar, start a terminal and type the following command:
Read the rest of this entry »

Written by JeGX

May 9th, 2011 at 8:04 am

Posted in Linux

Tagged with , , ,

Impression 3D

without comments

Written by JeGX

May 2nd, 2011 at 5:10 pm

Screen Space Ambient Occlusion (SSAO) Tests

without comments

Written by JeGX

April 27th, 2011 at 11:07 pm

offsetof macro in C

without comments

I just discovered this macro available in C: offsetof. Here is an simple example:

struct
{
  char a;
  int b;
  char c;
} example;
 
struct example s1;
 
unsigned int offset;
offset = (unsigned int)(&(((example *)(0))->b));

Thanks to offsetof (in the header stddef.h), the last line can be rewritten in:

unsigned int offset;
offset = offsetof(example, b);

[via]

Written by JeGX

April 27th, 2011 at 1:28 pm

Posted in Programming

Tagged with , , ,

GLSL Random Generator

with one comment

Written by JeGX

April 27th, 2011 at 12:59 pm

Posted in OpenGL

Tagged with , , , , ,