Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


The Magical Pot

Member Since 09 Aug 2011
Offline Last Active Jul 22 2014 08:17 AM

Posts I've Made

In Topic: VBO and glIsBuffer

07 July 2014 - 12:12 PM

I managed to fix this at last. The call stack said that the error occurred after main was called and I realized that I used an incorrect method at first to check where the application crashed. When the application was to delete an object of type VBOQuad, I checked if the object existed in memory by comparing it to NULL, but I tried to print out the value of an uninitialized pointer of this type and I realized that such a pointer is not necessarily equal to NULL. In the end, an uninitialized pointer was seen as an initialized one, thus the application would try to delete an object that didn't exist in memory.

 

Thanks for your help! :)


In Topic: Uptading parts of data in a VBO

16 February 2014 - 09:55 AM


But trying to brute-force their usage in the same way as if you were still using immediate mode is extremely unlikely to end well.

 

I feel like GLSL is a little too much for me at this point. Would you say that it's better to replace both the vertex data and the texture coordinates rather than partially update in this case when it comes to performance?


In Topic: Uptading parts of data in a VBO

16 February 2014 - 09:20 AM

Thank you both! I solved the problem by splitting the VBO into 2 parts, one for vertecies and one for texture coordinates. I didn't really know you could do that.

 

Cheers!


In Topic: Using cosine, sine, tangent etc. in C++

15 August 2013 - 10:50 AM

I asked a very simple question and I got the answer that I needed 5 minutes after posting. I know that you shouldn't ask stuff that you can easily find on google or whatever, but for some reason i did and someone was nice enough to answer my question. I'll gladly take delete this post if anyone says that I have to because I already got my answer.

This conversation is pointless.


In Topic: Using cosine, sine, tangent etc. in C++

15 August 2013 - 06:38 AM

Seriously it took 5 seconds to do a Yahoo search  using keywords "c++ arc cosine"  to find this info.

 

Everyone doesn't study math in english, I didn't know that "cos-1" was "arc cosine" in english.


PARTNERS