Search:

Type: Posts; User: will of fortune

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    2,553

    OpenGL Framework C++

    Apologies if this is really obvious but I have tried a google search for an answer but can't seem to find one.

    What I essentially want to do is define a class say MainApp, which would control the...
  2. Try using two for loops. The second loops length...

    Try using two for loops. The second loops length should depend on the which stage of the first loop you are at.
  3. Replies
    0
    Views
    4,570

    OpenGL Masks

    I have been trying to implement a sort of mask with OpenGL for the last few days and have been unsuccessful so far.

    I found this solution - c++ - OpenGL - mask with multiple textures - Stack...
  4. Replies
    1
    Views
    1,258

    All sorted now, needed to apply a few texture...

    All sorted now, needed to apply a few texture properties before filling the texture with information


    glGenTextures(1, &background); //Make room for our texture
    glBindTexture(GL_TEXTURE_2D,...
  5. Replies
    1
    Views
    1,258

    OpenGL Textures

    I've been playing about with Microsoft Kinect using the OpenNI SDK, and it has mostly been going well. I have managed to implement a user tracker to remove the background and replace it with a bitmap...
  6. Thanks for the help, I thought it would involve...

    Thanks for the help, I thought it would involve malloc().

    As Adak said, do I need to repeat for the second dimension, and also how do i go about accessing the array. I now get 97 "invalid types...
  7. Creating a dynamic array of very large size

    Hi all, not used this forum in quite a while but am a bit stuck on a programming assignment and would be grateful for a bit of help.

    My assignment it to write a program that implements two kinds...
  8. Replies
    4
    Views
    2,493

    Aha that should work, although i found a way...

    Aha that should work, although i found a way around it so i didn't need to have x amount of pointer, but that may be useful if i ever need it in the future.
  9. Replies
    4
    Views
    2,493

    Ahh sorry i should have been clearer in my...

    Ahh sorry i should have been clearer in my original post, I need to be able to create a desired amount of pointers for use outside the loop.
  10. Replies
    4
    Views
    2,493

    Initialising pointers using a loop.

    Hi,

    I trying to write a section of code that will initiate a pointer for each iteration of a loop. I have no idea how to do it but this is what i tried.


    i++;

    struct Employee...
  11. Replies
    4
    Views
    2,598

    Ahh I see, how can I set the age to the whole...

    Ahh I see, how can I set the age to the whole number and not just the first character?
  12. Replies
    4
    Views
    2,598

    Simple Logic problem

    I'm having trouble with a small segment of code which should find out wether the number entered is less than or equal to zero. The do while loop asking for employee age wont seem to work. When ever I...
  13. Replies
    6
    Views
    2,835

    Mostly the same code as before but I'm trying to...

    Mostly the same code as before but I'm trying to use functions and calling by reference to input the matrices. But I'm still getting a similar error as before, and I can't see where I'm going wrong....
  14. Replies
    6
    Views
    2,835

    Ah you're right, it works now when I replace x...

    Ah you're right, it works now when I replace x and y with 2.
    Thanks
  15. Replies
    6
    Views
    2,835

    Passing an array to a function

    Im trying to pass the array A into the function 'determinant' in order to calculate its determinant. However I keep getting the following error: cannot convert `float (*)[((unsigned int)((int)x))]'...
Results 1 to 15 of 15