Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Kraecker

Member Since 12 Dec 2011
Offline Last Active Nov 19 2014 06:44 AM

Posts I've Made

In Topic: OpenGL, Blank Screen

24 October 2013 - 12:36 PM

Hey Mercury Filter,

 

first thing I see is:

you are using sizeof(verticies) and sizeof(elements) this returns the size of a pointer.

You should be using something like sizeof(float)*15 (15 Floats for verticies) and sizeof(float)*3 (3 Floats for elements)

 

You also can use a vector for this (i like doing that :D)

Which would result in something like that:

glBufferData(GL_ARRAY_BUFFER, sizeof(vertice_vector[0])*vertice_vector.size(), &vertice_vector[0], GL_STATIC_DRAW);


In Topic: Geoclipmap concept & tutorial?

06 October 2013 - 11:46 AM

You didn't find the concept? Oo

 

http://lmgtfy.com/?q=geoclipmapping+paper


In Topic: Uniform Buffer & shared layout -> Index still -1

26 September 2013 - 07:54 AM

they're optimized out because they're unused?

 

indeed :)


In Topic: Drawing on different graphiccards

29 April 2013 - 08:35 AM

the OpenGL version I am using is 2.1 with GLSL 1.2  / the ATI card supports up to 3.3 so it should be backwards compatible, right?
 
 
--edit--
not all of my geometry disappears - just the terrain
the animated models are still drawn


--edit2--

i think this is heading in the wrong direction...

i know that different drivers handle things different.
the question i actually wanted to ask: how would i start to debug this issue?

In Topic: Are pointers initialized to nullptr in a vector?

24 March 2013 - 06:10 AM

ah, ok. thanks for correction.

PARTNERS