Hi Mobeen. Thanks for replying to my question. I've already done the glewExperimental = GL_TRUE; thing. And because I'm writing a win32 program here I don't get command line arguments passed to it...
Type: Posts; User: vindy
Hi Mobeen. Thanks for replying to my question. I've already done the glewExperimental = GL_TRUE; thing. And because I'm writing a win32 program here I don't get command line arguments passed to it...
I'm trying to use the GLTools library with glew and wglew to make a OpenGL windows screensaver. Something is going wrong with ShaderManager.InitializeStockShader(). I set up my windows rendering...
Thanks tonyo_au! I think you were right. GLTriangleBatch was running out of memory. So, I decided to write code to render the mesh myself and now its working fine. It's even faster too. Well, thanks...
Hi guys. Got a little problem. I downloaded some meshes of a rabbit figure, wrote a program to render the meshes, and every mesh renders just fine until I get to the highest resolution mesh. Its all...
Cool! Thanks carsten! I'm gonna buy it.
Hi Alfonse. I would love to learn how to use Photorealistic Renderman, but for now its way out of my price range. I think maybe I'll try to scale back what I'm attempting to do. I know OpenGL is...
Hi carsten. Its hard to explain beyond what I have already said. Image quality is what I'm after. What I would like to do for example is take a mesh data file produced from a scan of an object, draw...
Does anyone know of a website where a good tutorial on 3D picture composition using OpenGL can be found? You know, where you take a 3D mesh data file containing the coordinates of vertices and their...
Hi everybody. I just finished programming an OpenGL screensaver for Windows and I like the speed it runs at on my computer. But my computer is six years old. I'm concerned it may run a little too...
Hi Shinta. I just wanted to tell you I got it working. Thank you again for all your help!
Thank you so much Shinta. If all else fails I'll try to make use of this, but I really would like to figure out where I'm going wrong in my code and get my program working. It'll take a little bit of...
Well, I tried making a WndProc function for the child window and it still doesn't work. The same thing is happening. I'm about at my whits end here guys. Any ideas as to where I might be going wrong?...
To clarify, when I create the child window for preview mode does it have to have its own WndProc function?
Hi BionicBytes. I think I might know what the problem is. When I create my window do I have to register it with a whole new WndProc function? I'm new to windows programming as well as OpenGL so...
Hi BionicBytes. Thanks for responding. Yes, I do have a handle to the preview window. I checked it and its valid. I'm also getting a valid rendering context. I checked that too. I tried putting a...
Hi guys. I know I'm not supposed to do this, post questions that belong in a different section of the forum, but I thought maybe some of you would know a thing or two about OpenGL programming with...
Hey Shinta. I discovered a major oversight on my part. I wasn't setting a pixel format in the child window. I feel like a moron! Now I am setting a pixel format and the rendering context is valid....
Thanks mhagain. That's something I had not considered. I'll look into it. Hey, do you guys have a windows live messenger account. It would be cool to have a couple of contacts to message with who are...
Well, I'm actually doing the scaling of the screen image in my initRendering function. Why would gluScaleImage be inappropriate during run-time?
Oh, one other thing, just thought I'd post a link to the algorithm I found online. Here it is:
http://tech-algorithm.com/articles/nearest-neighbor-image-scaling/
Cool! Thanks V-man! I also discovered an algorithm, probably older than I am, that uses nearest-neighbor sampling to accomplish scaling up or down of an image. Thank you for all your help.
Hi again Shinta. I found the mistake that was hanging my computer. I decided I was going to see if I could simply change the preview window white before trying to grab a desktop image and do...
Hello everyone. This is what I would like to accomplish: Use glReadPixels to grab what's currently on the screen into a texture and then shrink that texture by a certain factor. The degree to which...
Hello everybody. Up and until now I've been using OpenGL 1.1 when doing graphics programming. I had an old crappy graphics card which limited me to version 1.1 Also, I was afraid to venture higher...
Hi Shinta. Thanks for taking the time to help me out. I tried what you suggested about making a window as a child on top of the preview window but it hung my computer. Maybe the way I went about...