Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: a-sylum

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,630

    k thanks alot. i tried those :(. i guess ill just...

    k thanks alot. i tried those :(. i guess ill just rewrite it and check it as often as possible. sigh...
  2. Replies
    6
    Views
    2,630

    hi gclements can you give me a matrix for a near...

    hi gclements can you give me a matrix for a near plane of 1 and a far plane of 10. i don't really know whats going on because im using projection matrices that have worked fine before in other...
  3. Replies
    6
    Views
    2,630

    omgggg this is getting annoying. ive spent about...

    omgggg this is getting annoying. ive spent about 2 hours now trying to fix this. i have tried calculating a new perpective projection matrix (instead of using a function i wrote to build it) and...
  4. Replies
    6
    Views
    2,630

    problems rendering with a perspective matrix

    hi people :). i have set up a system for passing a model through multiple lights. everything works fine until i try to multiply the vertices passed to the vertex shader when finally rendering the...
  5. how would you guys (the gurus) created the tardis? just curious :)

    hello advanced openglers. after seeing doctor who i thought it would be cool to make his tardis. for those who don't know what the tardis is its a time machine that is bigger on the inside than it is...
  6. okay i rewrote the code and used different values...

    okay i rewrote the code and used different values for the mesh i loaded through assimp. it seems to work now. and by the way i still have the second link and it works fine, you can link multiple...
  7. uuughhh! i really need help with transform feedback

    okay so the other day i got transform feedback working in a little driver i wrote. today i tried to use for lighting in a little engine i wrote. so i wrote the first piece of code for lighting where...
  8. i changed the code a bit and it is now working....

    i changed the code a bit and it is now working. here is a copy of the code i wrote:

    if (glewInit() != GLEW_OK)
    {
    printf("glew could not load");
    exit(1);
    }

    const GLchar *varyings[] =...
  9. i dont know why transform feedback isnt working :(

    hi, i believe i am doing everything right for transform feedback but i am getting 0's when i try to read the data back from the transform feedback buffer. Their is one thing i just realized i dont...
  10. k ill look if need be, im just going to rewrite...

    k ill look if need be, im just going to rewrite it thanks :)
  11. yeah i realized that after i posted this and...

    yeah i realized that after i posted this and added it but it doesn't seem to change things. i also get inconsistent results. i added a glFlush() and suddenly i got weirdly colored triangles on the...
  12. problem with transform feedback for pushing an object through multiple lights

    hi, i know that questions where their is alot of code are frowned upon, but ive spent close to three hours trying to debug this and i can't figure out what is wrong with it. what i am trying to do is...
  13. Replies
    4
    Views
    1,397

    i want to disable rasterization entirely. im...

    i want to disable rasterization entirely. im gonna use glEnable(GL_RASTERIZER_DISCARD) thanks guys :)
  14. Replies
    4
    Views
    1,397

    how to turn off drawing to the window?

    i got this answer before in another question i asked but it has since been deleted. I have a shader program that only has a vertex shader but when i run it i still get some output on the screen. so i...
  15. Replies
    1
    Views
    996

    vec3(vec4(vertex, 1));?????

    can i do vec3( matrixrotation * vec4(vertex, 1)); to get a vec3? matrixrotation is a 4x4 matrix. thanks :)
  16. can i make a shader program with just a vertex shader for transform feedback?

    hi, can i make a shader program with just a vertex shader for transform feedback? thanks :)
  17. k, im having a little trouble understanding what...

    k, im having a little trouble understanding what you are saying, but i believe im looking for a more dynamic solution. i would like to be able to add a lightsource at any time and also delete one at...
  18. multiple light sources each with their own shader

    hi, ive created quite a few library functions for creating linked lists with models loaded by assimp and i understand the basic lighting models. i want to, for convenience, be able to create one...
  19. thanks for all the help, thats all :)

    thanks for all the help, thats all :)
  20. hey, one last thing, can you point me to a place...

    hey, one last thing, can you point me to a place where i can learn about poll() and select()? preferably a website, but a book might be alright...
    thanks
  21. okay i shall look over this, it might take me a...

    okay i shall look over this, it might take me a while, but ill probably get it :)
    one last question, how would you handle multiple keys being held down? and do i need to do something special to get...
  22. kk ill look this over. i have never used poll or...

    kk ill look this over. i have never used poll or select before ill look through my xlib books and see what i can find on poll() and select()
    this is what im gonna try first though:


    while(1)
    {...
  23. this questions about xlib not opengl but i figure some of you may know :)

    hi, ive just created a simple demo involving movement and rotation of the camera. the problem is that their is a delay. by this i mean that when i hold down a button the movement/rotation will keep...
  24. so just so im 100% sure, i do need to have...

    so just so im 100% sure, i do need to have different normals?
    never mind the previous line, but is all that smooth shading does is change the normals?
  25. actually thats what i meant, it's just that all...

    actually thats what i meant, it's just that all the normals are the same for each vertex in the triangle. so i don't know how to get anything but flat shading when all the normals are the same. i...
Results 1 to 25 of 33
Page 1 of 2 1 2