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

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    322

    How to get a fixed window in glut?

    Dear All:
    I want to forbid to change the size of OpenGL window.How to do this using glut?
    Thanks a lot!
  2. Replies
    4
    Views
    758

    Thank you! I will try!

    Thank you! I will try!
  3. Replies
    4
    Views
    758

    Thank you! The GLSL worked . Would you tell me an...

    Thank you! The GLSL worked . Would you tell me an efficient way to provide triangles to the GPU?
  4. Replies
    1
    Views
    396

    How to simulating focal length in OpenGL ?

    Dear All:
    My application need me to simulate a virtual camera in OpenGL.
    How to simulate or compute the focal length based on glulookat and gluperspective?
    In computer vision, if a 3d point locate...
  5. Replies
    2
    Views
    548

    Thank you! I use meshlab to computer vertex...

    Thank you! I use meshlab to computer vertex normal and read them into OpenGL
  6. Replies
    4
    Views
    758

    How to send vertex color to vertex shader?

    Dear All:
    I use GLSL120
    I draw a triangle mesh in OpenGL using this:
    void RenderScene()
    {
    ....
    glBegin(GL_TRIANGLES);
    for (int i = 0; i < faceNum; i++)
    {
    //Draw the...
  7. Replies
    2
    Views
    548

    How to computing the vertex normal vector?

    Dear All:
    I am learning to write a Phong shader using GLSL. I think the normal vector of each vertex should be computing correctly and provided to the vertex shader and fragment shader to simulating...
  8. Replies
    2
    Views
    385

    [QUOTE=Dan Bartlett;1260712]Because you need to...

    [QUOTE=Dan Bartlett;1260712]Because you need to provide the number of vertices to PlyBatch.Begin(), so 106466*3 rather than the number of triangles. Currently it is only drawing 1/3 of the...
  9. Replies
    2
    Views
    385

    Why my mesh is display partly?

    Dear All:
    I want to display a facial mesh model. I refer to the codes of OpenGL SuperBible, the codes use GLBatch to draw the mesh, but it only display parts of whole mesh, why?
    1378
    this is the...
  10. Thank you! i will try it

    Thank you! i will try it
  11. Yes,it is an error.Thank you!

    Yes,it is an error.Thank you!
  12. How to use a big GLfloat array to display a dense mesh model?

    Dear All:
    I want to display a 3d facial mesh(50496 vertices and 106466 faces). I use the code of OpenGL SuperBible just like this:

    GLBatch PlyBatch;
    void SetupRC()
    {
    ....
    GLfloat...
  13. Thank you! I will try. Sorry about cross post,...

    Thank you! I will try.
    Sorry about cross post, because it's my first time to use this forum, I did not find the area of shading language in the beginning.
  14. How to display a colored 3d mesh using Phong shader?

    Dear All:
    I am a beginner. I want to display a colored 3d facial mesh using phong shader. The facial mesh is obtained by 3d scanning, and every vertex has its own color(RGB).Please tell me this: can...
Results 1 to 14 of 14