I am finding examples on using tess. (other than tess.c and tesswind.c) I want to draw concave polygon but I don't have enough knowledge to do this. Please tell me if u know any web that teaches...
Type: Posts; User: pigpig
I am finding examples on using tess. (other than tess.c and tesswind.c) I want to draw concave polygon but I don't have enough knowledge to do this. Please tell me if u know any web that teaches...
I need to perform some free transformation on rectangular image to form any quadrilateral shape. I am seeking for some methods that involve less calculation and that can use OpenGL built-in functions...
john: how can I do this? can u describe more?
thx...
It seems that it's very complicated to solve like that...
How about any usual method to handle image transformation? eg. in photoshop. Is it very difficult to work around this way?
"sub-divided the polygon" means I have to divide both the texture coordinates and the mapped polygon?
I am making simple distortion effect in a 2D space. The distortion is simple as I am mapping the image to a quadrilateral. When I distort the first image to the shape of the second, the result is not...
In win32, u can also use OleLoadPicture to load the JPG first and then get the raw image to render.
I read about rendering a movie in an example in SIG97. I want to know more about that. Do you have any experience?
:>
The whole image is one picture, I haven't repeat anything in it. And I only make this in a 2D-application.
When I changed from gltexcoord2* to gltexcoord4*, I got the same results. I set all the...
I use texture mapping to do distortion effect of my program. However, the effect seems not uniform.
What are the correct flags I need to set?
original: http://www.cs.ust.hk/~yvonne/gl/e1.jpg" ...
I succeed by doing this:
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, 128, 128, 0, GL_RGBA, GL_UNSIGNED_BYTE, data);
http://www.opengl.org/discussion_boards/ubb/biggrin.gif
I don't have the Redbook...
Would you mind telling me the URL of the online edition?
Also, I have set both to GL_RGB, both 3 components...
The depth I have set for them is the same:
...
Try this link:
msdn.microsoft.com/library/techart/msdn_gl5.htm
How about these two image?
1) using glDrawPixels http://www.cs.ust.hk/~yvonne/gl/orig.jpg
2) using gluBuild2DMipmaps http://www.cs.ust.hk/~yvonne/gl/mipmap.jpg
Any comment that I can make...
I already used level 0 in glTexImage2D.
Is it that there should be no effect on how I set the filter?
How to set the parameters will make the clearest image? No bluring and no zig-zag edge...
Thanks for all the advice.
I also found that glTexImage2D is faster in my 2-D application.
It seems that the image is clearer using glTexImage2D than mipmapping.
Hi All,
I just want to simply draw a .bmp image in a 2D space.
Which one should I use?
Which one will be faster in rendering?
Thanks
Pigpig
How about the size of the image?
Is it restricted to power of 2?
Also, I just want to display an image in a 2D space, so I want to show every pixel clearly. What flag I need to set for mipmap?
...
How about the size of the image?
Is it restricted to power of 2?
Also, I just want to display an image in a 2D space, so I want to show every pixel clearly. What flag I need to set for mipmap?
...
Hi all,
I am new in texture mapping. Here is the code I have written:
glEnable( GL_TEXTURE_2D );
glPixelStorei( GL_UNPACK_ALIGNMENT, 1 );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S,...
Hi all,
I am new in texture mapping. Here is the code I have written:
glEnable( GL_TEXTURE_2D );
glPixelStorei( GL_UNPACK_ALIGNMENT, 1 );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S,...