[osg-users] About Image~~

2008-08-28 Thread GuiYe
  Hello~~ I want to ask a question about how to write(osgDB::writeImageFile()) a capture_screen_image that I hope it's size bigger than the window size into the disk.For example,my window size is 1280*1024,but the size of image is 2560*1024.I use scaleImage(),but it doesn't work.

Re: [osg-users] About Image〜〜

2008-08-29 Thread Robert Osfield
Hi GuiYe, I'm afraid I could not easily understand your email, so will have to guess at what you meant. Is it that you want to do an offscreen render of your scene at higher resolution that the frame buffer, and then write this to disk. If this is the question your are answering then the answer

Re: [osg-users] About Image

2008-08-29 Thread GuiYe
Hello,Robert. Yes,you are right. But I don't know how to rewrite the program.Can you tell me how to do this??Can you give me a new example Thank you >I guess at what you meant. Is it that you want to do an offscreen >render of your scene at higher resolution that the frame buf

Re: [osg-users] About Image

2008-09-01 Thread Robert Osfield
Hi GuiYe, 2008/8/29 GuiYe <[EMAIL PROTECTED]>: > Yes,you are right. But I don't know how to rewrite the program.Can you tell > me how to do this??Can you give me a new example No, I gave you the examples you need, you just need to put some effort in at your end to learn about what the example