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

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    188

    bezier curve problem

    I am doing 3d max plugin application.In there keyframe interpolation.they claimed to use bezier curve. But bezier i know is interoplated from four control pointer. However they give bezier control...
  2. Re: how to mix TEXTURE_2D and cube map texture in the one single pass of the multitexture

    Oh my,Twixn ,you are really helpful. thanx.
    I got my problem solved ,simply by using glTexEnvi( GL_TEXTURE_ENV ,GL_TEXTURE_ENV_MODE,GL_COMBINE_ARB);...
  3. Re: how to mix TEXTURE_2D and cube map texture in the one single pass of the multitexture

    Thankx mate ,Now i understand The GlEnable GLDisable Pair is the key to the render multitexture properly.

    Now , i got that i have to use texture_env_combine AND texture_env_dot3 to modulate the...
  4. how to mix TEXTURE_2D and cube map texture in the one single pass of the multitexture

    I have this code to render a simple cube. the texture0 is simple texture 2d map then i decide to add reflection by using cubemap .as result i get rather weird effect.This is important ,for example ,i...
  5. Thread: loading map

    by Sourpotato
    Replies
    1
    Views
    266

    Re: loading map

    i don't think there is no more efficient map loading than the other. considering there is so many open souce ,why not just grab one and go on to use it. And later on, in the case you don't satisfy...
  6. Replies
    1
    Views
    92

    Re: rendering fonts

    i don't think the SDL would be nothing to do with the font rendering. but please don't forget to use glrasterpos ,in the case you use wglusefontbitmap.

    To easily to do font rendering, actually...
  7. Re: Don't draw background everytime in the drawing loop

    Don't i don't use the glDrawPixels, simply put the texture on the quads and a lot of texts on the background. what do you mean that i put it into the memory.
  8. Re: Don't draw background everytime in the drawing loop

    Thanx for attention, here goes the code rather descriptive



    void OGLRender::DrawAll()
    {
    glClear();
    funcion()...//set the ortho projection
    Render2D(); // this part slow down the...
  9. Don't draw background everytime in the drawing loop

    the background picture rendering slow my application greatly.
    and background picture seldom changes and update in the rendering loop.
    how can do to make the background is not erased and redrawed...
  10. Replies
    4
    Views
    249

    Re: OpenGL Maths!

    i thought the Computer Graphics PRINCIPLES AND PRACTICES is good at talking about the theory and princple behind the opengl.
  11. Replies
    3
    Views
    159

    Re: Any good maths libraries

    try this
    http://people.haptek.com/clint/pfx/

    has good implementation of vector ,matrix ,quaternion,

    there surely are a lot math lib you can google out .but i think ,to write one for your...
  12. Replies
    2
    Views
    439

    Re: 3D Reconstruction

    first you need to load the image using api auxDIBImageLoad .
    then you need to use the following texture command like to generate the texture .

    glGenTextures
    glBindTexture
    gluBuildTexture
    ...
  13. Replies
    13
    Views
    1,117

    Re: Rotational Matrices

    To Relic
    for a face in the 3D model,if we can know the face's the "normal vector" and "up vector" . we can construct the rotation matrix immediately to make face orient to the screen/user.but we...
  14. Replies
    13
    Views
    1,117

    Re: Rotational Matrices

    [QUOTE]Originally posted by Relic:
    Not sure about a direct way, but here's a general solution for Euler angles:

    Not sure how to use this unmatrix ..~~~

    it turn out that i am spending the...
  15. Replies
    13
    Views
    1,117

    Re: Rotational Matrices

    Now ,relic, i have further problem,is this deduction reversible ?? i mean , if i get the rotation matrix first,can i get the get the rotation angle, and the rotating vector. i think this is very...
  16. Replies
    13
    Views
    1,117

    Re: Rotational Matrices

    Oh,God,Relic, i adore you, you solved my problem.thanx ,greatly
  17. Replies
    13
    Views
    1,117

    Re: Rotational Matrices

    Now , i've deduced in some way.but there is some problem during my deduction, please give me comments or correction .

    for example if glRotate(50,1,0,0);

    then according to the rotation formula...
  18. Replies
    13
    Views
    1,117

    Re: Rotational Matrices

    I have the same problem, the formula is hard to figure ,especially what the uu(t) is ?do you got the idea now
  19. help! How to i compute the bounding x and y coordinates

    In the perspective projection , for the given z coordiniate,
    how i can get the leftest and righest x coordinates as well as the highest and lowest y coordinates.

    For example, if i set the...
  20. help! How to i compute the bounding x and y coordinates

    In the perspective projection , for the given z coordiniate,
    how i can get the leftest and righest x coordinates as well as the highest and lowest y coordinates.

    For example, if i set the...
  21. Replies
    3
    Views
    218

    Re: Transparent Window

    I have to say there is no solution to make transparent window for the entire OpenGL scene. The average transparente window are made through GDI while
    OpenGL use different hardware of graphics card...
  22. Replies
    4
    Views
    153

    Re: lighting problem

    How do you place your light source position?hah
  23. Re: Not Opengl,just Language problem ,please help

    So why Amerian rush to buy a product make in japan or made by japanese if they loathe japanese? And always they seem to love japan-made product from the bottom of their heart rather than home-made ....
  24. Re: Not Opengl,just Language problem ,please help

    Terrific , huge thanks to chowe6685.
    Can not imagine that sentence can be organized like this and have such meaning.
  25. Not Opengl,just Language problem ,please help

    "I've only visited Japan once, but I can only surmise that the general good manners I experienced on my trip would not have been reciprocated to a visiting Japanese national to Chicago. Not to say...
Results 1 to 25 of 118
Page 1 of 5 1 2 3 4