Jump to content

  • Log In with Google      Sign In   
  • Create Account

Sleicreider

Member Since 08 Oct 2012
Offline Last Active May 09 2016 03:01 AM

Posts I've Made

In Topic: Free Profiling Tool for Windows/OS-X

25 February 2016 - 06:24 AM

I'm bit surprised about Xcode though, because it always worked for me just fine  

 

 

Have you tried to get information about cache misses, with the XCode profiler?


In Topic: OpenGL Texture Problem

21 January 2016 - 05:09 AM

haha ok i gotit working.

 

i had to set the depth buffer size,

 

but how big should it be?


In Topic: OpenGL Texture Problem

21 January 2016 - 05:06 AM

I'm using the QT QOpenGLWindow  for Context/window

 

    QSurfaceFormat format;

    format.setRenderableType(QSurfaceFormat::OpenGL);

    format.setProfile(QSurfaceFormat::CoreProfile);

    format.setVersion(3,3);

    

    setFormat(format);


In Topic: OpenGL Texture Problem

21 January 2016 - 04:49 AM

ok 

 

int depth = 0;
glGetIntegerv(GL_DEPTH_BITS, &depth);
 
here depth is 0

 

  int depth = 0;

    glGetIntegerv(GL_DEPTH_WRITEMASK, &depth);

 

here it is 1


In Topic: OpenGL Texture Problem

20 January 2016 - 09:07 AM

i only call once 

 

    glEnable(GL_DEPTH_TEST);

    glClearDepth(1.0);

 

on init()

 

and 

 

    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

 

per frame


PARTNERS