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....
Type: Posts; User: Lee_Jennifer_82
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....
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...
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...
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...
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...
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|
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...
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...
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...
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...
I have never used VBO. I just use simple texture mapping. Do I need to use VBO in this case?
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...
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...
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...
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];
...
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...
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...
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...