<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Hi, Robert:<br>
Could you give me an answer? Thanks!<br>
<br>
Hesicong<br>
</font></font><br>
J.P. Delport wrote:
<blockquote cite="mid:486CE519.4040109@csir.co.za" type="cite">Hi,
<br>
<br>
hesicong2006 wrote:
<br>
<blockquote type="cite">Hi, Delport and Robert:
<br>
I now want to set the camera with FSAA support, the newest SVN
version has provided the parameters for camera->attach.
<br>
I changed line 344 of osgmultiplerendertargets.cpp from
<br>
camera->attach(osg::Camera::BufferComponent(osg::Camera::COLOR_BUFFER0+i),
textureRect[i]);
<br>
to
<br>
camera->attach(osg::Camera::BufferComponent(osg::Camera::COLOR_BUFFER0+i),
textureRect[i], 0,0, false ,4,4);
<br>
<br>
and line 360 from
<br>
camera->attach(osg::Camera::BufferComponent(osg::Camera::COLOR_BUFFER0
+ tex_to_get), image);
<br>
to
<br>
camera->attach(osg::Camera::BufferComponent(osg::Camera::COLOR_BUFFER0
+ tex_to_get), image, 4, 4);
<br>
<br>
This will give me 4X FSAA support. But to my disappointment, the
output pixel data will not exceed 1. That could be a problem!
<br>
</blockquote>
<br>
Yes, I'm not sure about the interaction between AA and floating point
buffers.
<br>
<br>
jp
<br>
<br>
</blockquote>
</body>
</html>