Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

irreversible

Member Since 10 Nov 2005
Offline Last Active Yesterday, 03:32 PM
-----

Posts I've Made

In Topic: X-COM: Enemy Unknown (2012)

14 May 2013 - 09:09 AM

Sooo... which of the XCOMs is the bestCOMs? [I kind of want to play one now]

 

This is a really tricky question.

 

I really enjoyed Enforcer (the arcade FPS one) for what it is. I also thought Apocalypse (the third one) did a very good job in its own right. Nothing beats Terror From The Deep, though, which fixed some of the problems the first one had and extended gameplay quite a bit with stuff like two-part missions.

 

The rest are garbage to me, though (excluding the original).


In Topic: std::vector and glUniformMatrix4fv

10 May 2013 - 04:51 AM

How are you querying the skeleton matrix array address? Have you tried passing the entire array to "g_skeleton[0]"?


In Topic: std::vector and glUniformMatrix4fv

10 May 2013 - 02:06 AM

If anyone knows a way to just uppload all tre matrices at once, pleas tell me smile.png

This seems to work for now.


 

 

glUniformMatrix4fv(location, 1, GL_FALSE,glm::value_ptr(matrices[index]));

 

The number in bold is the 'count' parameter - you can use it to upload several matrices at once.

 

If you need more fine-tuned control over your uniforms, look up uniform buffer objects (available from GL3.1).


In Topic: Understanding graphics pipeline

08 May 2013 - 03:23 AM

This is the OpenGL 2.0 pipeline laid out graphically. Note that it's lacking newer features such as geometry and tessellation shaders.

 

ogl-2-pipeline.png


In Topic: Blending problem

07 May 2013 - 10:32 AM

Sorry, what do you mean?

 

Does the circle texture have an alpha channel? What's in it?

 

When blending, you'll usually want to use white color, eg:

 

glColor4f(1.f, 1.f, 1.f, fAlpha);

 

Or what is it that I failed to make sense about? :)


PARTNERS