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: uwi2k2

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    238

    Keep all Objects in Engine in one Array

    hi there,


    i just play around with thoughts about render engine structure.
    i know there are many out there but i wanne just learn by practice.


    i have a complete setup of renderengine,...
  2. Replies
    1
    Views
    500

    hi, you need to give a few more infos. what...

    hi,

    you need to give a few more infos.
    what does thecode do ?
    what do you mean by slow ? 30 FPS ?

    regards
    uwi2k2
  3. Replies
    1
    Views
    480

    Strange alpha Problem in simple scene

    Hi all,

    i am a bit ashamed that i cant solve this problem myself, mostly as i am a opengl trainer, but
    i have learnd you can only get better when you are not afraid to ask !

    so ... i am...
  4. Replies
    2
    Views
    568

    hi, the answer ist mostly yesss .. but the...

    hi,

    the answer ist mostly yesss ..
    but the pointer may take every structure you define.
    so it CAN be that structure .. but does not need to be.

    cu
    uwi
  5. Replies
    2
    Views
    998

    hi, when you create the texture you bind ...

    hi,

    when you create the texture you bind

    glBindTexture(GL_TEXTURE_2D, TextureIndex[0]);
    but everytime you draw you just bind:

    glBindTexture(GL_TEXTURE_2D,texIndex);
    as you are passing...
  6. Replies
    4
    Views
    1,064

    math math math

    hi there,

    this is a math issue... called z-fighting ....
    first you may try to set:

    GLU.gluPerspective(45, (float)width / height, 0, 20); // 1000 is a quite big sene...
    the bigger the scene...
  7. Replies
    2
    Views
    667

    hi there, i canīt see where you are calling...

    hi there,

    i canīt see where you are calling the func:

    LoadGLTextures()

    do you ?


    If you do not call this function you will never ever have a texture.
  8. Replies
    1
    Views
    593

    hi, any code exsiting till now ? uwi

    hi,

    any code exsiting till now ?

    uwi
  9. hi, yes you are right, you NEED to have...

    hi,

    yes you are right, you NEED to have attributes at all, cause these are the base data for a vertexshader call.
    without attributes the shaders wonīt be called at all, because:

    glDrawArrays()...
  10. Replies
    2
    Views
    658

    hi sam, the fragCoord is a strange vec3. in...

    hi sam,

    the fragCoord is a strange vec3.
    in the x and y it holds the window coords and in the z it holds the depth information from 0 to 1
    where 1 is the most distance point in the szene and 0...
  11. Replies
    1
    Views
    1,192

    hi, i canīt give the propper answer right now,...

    hi,

    i canīt give the propper answer right now, but 2 things.

    1. whenever you have a opengl call not working as expected: check for glErrors !!!! It really helps so mutch
    extern void...
  12. Replies
    1
    Views
    1,116

    hi, its hard to understand what your problem...

    hi,

    its hard to understand what your problem is.
    can you pls make a screenshot and try to write a bit better english.

    cu
    uwi2k2
  13. Replies
    1
    Views
    1,100

    hi, just ro be sure. there are spaces in your...

    hi,

    just ro be sure.
    there are spaces in your path:
    C:\Users\trick_east\Desktop\openglworkspace\project1\Debug\projec_t1.exe

    so at least the last space "projec t1.exe" seems strange.
    so what...
  14. Replies
    1
    Views
    1,110

    stuck with 360 camera loop

    hi all,

    sorry , but i just got stuck with a free 360 camera movement.
    right now i can move left / right at full 360 .. but the up and down holds at -90 / + 90 degree.
    here is what i do right...
  15. Replies
    7
    Views
    2,494

    hi, can you post a screenshot or video ? or...

    hi,

    can you post a screenshot or video ?
    or link ..
    i donīt understand the problem ..

    cu
    uwi
  16. Thread: Mask Texture

    by uwi2k2
    Replies
    2
    Views
    899

    hi, there are multiple ways to do this. the...

    hi,

    there are multiple ways to do this.
    the best i can think of right now, is to pass both textures to a shader and only use the color of main texture where the mask texture is black.
    but i...
  17. Replies
    3
    Views
    944

    hi, i had the same issu once. make a quad...

    hi,

    i had the same issu once.
    make a quad inside your 3d world and texture it with the shadow map .. thats the first hint to see if the texture is holding the right data.

    cu
    uwi
  18. Thread: rotations

    by uwi2k2
    Replies
    4
    Views
    547

    hi, we need to know the content of:...

    hi,

    we need to know the content of: drawGLCube();
    i just guess its moving the cube to some place in 3d space .. and its NOT around ( 0,0,0 ) right ?
    caus thats the point... you need to play...
  19. hi, a lot of graphic cards have some extra...

    hi,

    a lot of graphic cards have some extra settings to improve rendering. mostly multisample and antialising.
    look at you settings and disable them.
    anyway you should post a screenshot to show...
  20. Replies
    2
    Views
    1,133

    hi, if the rest of the code is no big secret...

    hi,

    if the rest of the code is no big secret pls post it.
    so i can copy it - modefy it - and post it back ..
    thats mutch easyer than anything els :-)

    cu
    uwi
  21. Replies
    1
    Views
    1,046

    hi, without some code of yours we canīt help...

    hi,

    without some code of yours we canīt help you.
    anyway you need a GameLoop that is running over and over again.

    cu
    uwi
  22. Replies
    3
    Views
    919

    hi, i guess you need to give a bit more...

    hi,



    i guess you need to give a bit more information.
    But what i can say .. you may rotate in you 3D world, to get a final oriantation...

    cu
    uwi
  23. Replies
    1
    Views
    791

    hi, i guess almost everybody makes this...

    hi,

    i guess almost everybody makes this mistake at least once in the fragment shader .. :-)

    you are adding 5*2 values that you took from the texture, that leads to the fact taht you properbly...
  24. Replies
    2
    Views
    758

    hi, thats really a strange one. i copy and ran...

    hi,

    thats really a strange one. i copy and ran your code.
    by changing the parameters of glut sphere i was able to change black spot size ...
    my attempt would be: use own mesh, add colors, start...
  25. Replies
    2
    Views
    772

    hi, first of all, nice code style ! i am not...

    hi,

    first of all, nice code style !
    i am not shure if you just forgot to post it, but after you have set all the attrib pointers and the uniforms you miss the final Draw() command.
    And its...
Results 1 to 25 of 98
Page 1 of 4 1 2 3 4