what do i do to get labels along with the contour lines? can you share ur algorithm for more reference?
Thanks
Type: Posts; User: rakeshthp
what do i do to get labels along with the contour lines? can you share ur algorithm for more reference?
Thanks
OMG! I am confused :confused: Well, I did understand the first half. But how can I change the number of contour lines? Will Edge detection algorithm help me in displaying 100 contour lines next...
Hi,
I Need to display contours for a given grid. The grid what I have is triangulated. I also have an algorithm for generating contours for a given range. Now one option is to use this generated...
Thanks guys. I was able to solve it by including glext.h and using wglGetProcAddress. It solved the problem. :-)
Hi thokra,
<GL/glext.h> file is already included in that file. Is it different from these loaders..?? I found function declaration of the above two functions in this file. But definition was...
Hi,
I got a sample example for displaying image. In that code there is a call to a function named glBlendFuncSeperate(). After googling this I came to know that it is an API. The problem is when I...
Hello,
I am trying to render an raster image (either bmp, jpeg, png). It works fine on windows XP and other desktop machines. But the image is not being shown or rendered on windows server 2008...
If you want to stick to OpenGL, you need to write your own code for displaying the surface. As far as triangulation is concerned, there exist many free delaunay triangulation libraries on the web.
...
How about glBufferSubData..??
Hello,
How to display the wireframe for a given mesh using GLSL?
Thanks
Which one would be the good approach? Mapping values before they are passed into shaders? or within the shaders itself? I feel doing it within the shader is easy.
Thanks
Can someone suggest something on this?
Thanks
Hi,
I went through various links and tried to implement them. The examples mentioned here, also executes well. I went through the teapot example mentioned in The Redbook here on the online...
Hi,
If you are using shaders, here are few tuts which can help you.
http://en.wikibooks.org/wiki/OpenGL_Programming
But before that this is good for beginners
http://nehe.gamedev.net/
...
Hi,
How to 1D texture and look up the colour with a texture lookup.??
Thanks
Hi mhagain,
The sample shader program which I tested was having some problem. I got another example which displays an ellipse using shaders. IT works fine. Now I am experimenting on shader...
In the attached zip file, there are two png files. One showing how the polygon is being rendered now and another showing how it should be rendered.
Basically, polygon is rendered by displaying the...
Should I go ahead with color index mode to solve my problem or is there much better way to do it.?
Thanks
Hi tonyo_au,
Exactly that's the word. Lookup table. I don't want to hard code it every time. The logic you mentioned, I did used once, but for testing and it works fine for small number of points....
Hi
How to manage different colour palettes in OpenGL? Basically I want to display a set of 2d points and points must be colored based on the depth value at that particular point. The depth value...
Hi,
Did you able to manage to implement "Millions of points with new ones being added rapidly." ? If so, can you guide me how did you do that? Also did you try dynamic deleting the points?
...
That makes some sense. Anyways, a sample shader code you wrote I suppose is a Vertex shader. Isn't it? Then what about fragment shader?
[COLOR=#3E3E3E]
I had been through super-bible 5th...
Hi,
Actually, the was working with already existing example and in that example I was trying out your code. I didn't start a new application all the way from scratch. So I'll try with a total...
I'm still not getting it working. I'm getting full white background. Probably some problem with my code. I'll try with that. But it would have been nice if it was possible to make it more dynamic...
Oh that's very kind of you. Thank you very much. I'll try that and get back to you. :)