OK, that sounds logical.
Thank you, bye for now!
Åsa
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Robert Osfield
Skickat: den 7 november 2008 14:22
Till: OpenSceneGraph Users
Ämne: Re: [osg-users] Render to texture problem
Hi Asa,
On Fri, Nov 7, 2008
Hi Asa,
On Fri, Nov 7, 2008 at 1:16 PM, Engvall Åsa <[EMAIL PROTECTED]> wrote:
> It isn't obvious to me why the RTT camera must be under the viewer. I just
> thought of the viewer as a camera which looks at the scene. Is the viewer
> more like something that collects the pictures from all camera
user?
Trying to learn more...
Åsa
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För J.P. Delport
Skickat: den 7 november 2008 13:47
Till: OpenSceneGraph Users
Ämne: Re: [osg-users] Render to texture problem
I just read quickly, but it seems your camera is stil
in Node1 instead and
they will not be used when rendering with the RTTCamera.
/Andreas
2008/11/7 Engvall Åsa <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
No, it isn't. Should it be?
I tried to draw the scenegraph in my first message, but it's not
easy ju
; {
> osgDB::writeImageFile(*textureImage, "h:/temp/textureImage2.bmp");
> }
> while (!viewer.done())
> {
> viewer.frame();
> }
>
> --------------
> *Från:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *För *Andreas Lindmark
> *Skickat:* den 7 nove
frame();
if (image->data())
{
osgDB::writeImageFile(*image, "h:/temp/blurImage2.bmp");
}
if (textureImage->data())
{
osgDB::writeImageFile(*textureImage, "h:/temp/textureImage2.bmp");
}
while (!viewer.done())
{
viewer.frame();
}
_
e-
> Från: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] För J.P. Delport
> Skickat: den 7 november 2008 09:42
> Till: OpenSceneGraph Users
> Ämne: Re: [osg-users] Render to texture problem
>
> Hi,
>
> is your RTT camera the child of anything? I'm just guessing
er 2008 09:42
Till: OpenSceneGraph Users
Ämne: Re: [osg-users] Render to texture problem
Hi,
is your RTT camera the child of anything? I'm just guessing without having an
example to run.
jp
Engvall Åsa wrote:
> I thought that the texture must be in RGBA to be used in a shader. The
>
PROTECTED] För J.P. Delport
Skickat: den 7 november 2008 08:22
Till: OpenSceneGraph Users
Ämne: Re: [osg-users] Render to texture problem
Hi,
any reason why you have RGBA texture, but RGB in callback?
jp
Engvall Åsa wrote:
Hi!
I want to render the scene to a texture and use the texture in a sh
Model(osgViewer::Viewer::SingleThreaded);
Unfortunately, the texture is still gray.
Åsa
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För J.P. Delport
Skickat: den 7 november 2008 08:22
Till: OpenSceneGraph Users
Ämne: Re: [osg-users] Render to texture proble
Hi,
any reason why you have RGBA texture, but RGB in callback?
jp
Engvall Åsa wrote:
Hi!
I want to render the scene to a texture and use the texture in a shader.
The texture image is saved to file by a postdraw callback, so I can look
at it. I'm doing something wrong because the texture bec
Hi,
can you force single threaded osgviewer and see if it still is a problem?
jp
Engvall Åsa wrote:
Hi!
I want to render the scene to a texture and use the texture in a shader.
The texture image is saved to file by a postdraw callback, so I can look
at it. I'm doing something wrong because
On Thu, Nov 6, 2008 at 5:16 PM, Engvall Åsa <[EMAIL PROTECTED]> wrote:
>
> I want to render the scene to a texture and use the texture in a shader. The
> texture image is saved to file by a postdraw callback, so I can look at it.
> I'm doing something wrong because the texture becomes all gray.
I
Hi,
do both graphics cards support Frame_Buffer_object ? The problem could be
in the renderfallback (i.e. PIXEL_BUFFER_RTT) if they do not support it? Try
the different RTT methods if these seems to be the problem. Also , i think
you maust set the viewport for FBO to work (i suppose it is set i
14 matches
Mail list logo