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 examples do.

Robert.


>
> 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 buffer, and
>>then write this to disk.
>
>>If this is the question your are answering then the answer is to use a
>>pbuffer or FBO to create the desired size of image, render to this,
>>then copy the image and write it to disk.  The osgscreencapture
>>example has an example of using a pbuffer to do offscreen rendering.
>
>>Robert.
>
>>2008/8/29 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.
>>
>>     Can you tell me what should I do?Thank you~~~~~~~~~
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to