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

Search: Search took 0.00 seconds.

  1. Different functions from a triangle

    I have a triangle with base '2b' and height 'h' as shown in the attached figure (a). I would like to construct two different functions as shown in (b) and (c) keeping the height and base the same....
  2. Order of x, y, z rotation angles in OpenGL

    I have extracted the three rotation angles from a rotation matrix. Now if an object is multiplied by the rotation matrix or the rotation angles, both should give the same result. I followed the...
  3. Sorry for the confusion. Let me try to explain...

    Sorry for the confusion. Let me try to explain again. Suppose I have a rotation matrix in coordinate system (a). I would like to see it in coordinate system (b) but with same orientation as shown...
  4. Hi Dark Photon, thank you very much again for...

    Hi Dark Photon, thank you very much again for commenting on my post. I know as a newbie, my question my be too simple to ask. We don't need to consider opencv. Let us consider the two coordinate...
  5. Thanks for the provided link. I am clear now...

    Thanks for the provided link. I am clear now about the coordinate systems in opencv and opengl. But the way I could make it work right is as follows:

    1)First, post multiply the above mentioned...
  6. So sorry for my mistake. The matrix should be as...

    So sorry for my mistake. The matrix should be as follows:

    |1 0 0 0|
    |0 -1 0 0|
    |0 0 -1 0|
    |0 0 0 1|
  7. Thank you all for the reply. Have any one have...

    Thank you all for the reply. Have any one have done matrix transformation from OpenCV to OpenGL? I am doing by multiplying the opencv matrix by the following:

    |1 0 0 0|
    |0 1 0 0|
    |0 0 1 0|
    |0 0...
  8. Need some clarification on transformation matrices

    Hello, I need some clarification on transformation matrices. I have given x ( x1, x2, x3), y (y1, y2, y3) and z (z1, z2, z3) axis basis vectors. Does the required rotation transformation matrix look...
  9. Replies
    2
    Views
    665

    reading vertices from a file

    I have to extract vertices frm a file written as follows:

    {(1.20, 3.0, -3.0); (1.10, -2.0, 4.0); (-5.0, 8.0, 7.0) ...........................................................(-4.0, 7.0,-3.0)}

    I...
  10. Replies
    6
    Views
    1,539

    Actually I was thinking whether the texture image...

    Actually I was thinking whether the texture image can be mapped in a different way. The image can be divided into a number of contours as shown in the figure (attached). Then grdually map it (from...
  11. Replies
    6
    Views
    1,539

    I have never used VBO. I just use simple texture...

    I have never used VBO. I just use simple texture mapping. Do I need to use VBO in this case?
  12. Replies
    6
    Views
    1,539

    I know that texture values range from (0.0, 0.0)...

    I know that texture values range from (0.0, 0.0) to (1.0, 1.0). How can I establish correspondence between u,v texture values and vertices of my unstructured data. Please help me clarify a bit. I am...
  13. Replies
    6
    Views
    1,539

    Texture mapping question

    At this moment I just can do some simple texture mapping. I have one tubular model of a certain depth. I would like to paste a 2D image around the inside wall of the cylinder. The result needs to...
  14. the following works: for(VerticeSet::iterator...

    the following works:

    for(VerticeSet::iterator cur_a = current_start.begin(); cur_a != current_start.end(); cur_a++){

    for (int i = 0; i < tempContainerOne->size();){
    Triangle...
  15. If I write like the following it still shows...

    If I write like the following it still shows error, Am I using erase function properly:

    for(int i = 0; i < tempContainerOne->size(); i++){

    Triangle& tri_2 = (*tempContainerOne)[i];
    ...
  16. Some problem with deleting tringles using vector iterator

    I wrote the following code. I want to delete some triangle from tempContainerOne which is described as a vector of triangles.

    I can compilewithout error, but when run the program, it fails. WOuld...
  17. Replies
    7
    Views
    2,214

    Thanks for the information. Actually we are...

    Thanks for the information. Actually we are trying to display one vase with artistic design outside as well as its inside wall. none of us from science background. I have started reading the red...
  18. Replies
    7
    Views
    2,214

    Need some help

    I am a beginner in OpenGL. I want to create two panels in a window. Each will have different view for a particular object. Could any one suggest me the foolowing:

    1.How to create two panels in a...
Results 1 to 18 of 18