Hi,
I changed my camera.
Now I don't use the method where I create the rtt camera, like shown in first
post.
Now I just created the camera in the method where I setup the scene and it
works...
I really do not get why
Is there a specific order I should follow with the camera calls
Hi,
ok that was a big mistake from my side.
I forgot to set the width and height of the Texture, but I used
getTextureWidth() and getTextureHeight to specify the Viewport.
Well if the Viewport is (0, 0, 0, 0) there will be nothing to see.
But the thing with the orientation I am still trying
Hi,
my bad for not explaining it very well ;)
I want the following:
With the RTT Camera I want to render a specific geometry. The texture I get
from that, will be used in the main scene later.
The RTT Camera must not point in the same direction as the main camera.
If this would be the case
Hi Andreas,
Hi,
my bad for not explaining it very well ;)
I want the following:
With the RTT Camera I want to render a specific geometry. The texture I get
from that, will be used in the main scene later.
The RTT Camera must not point in the same direction as the main camera.
If this
Hi Andreas,
you are not showing the part where you use the
createRTTCamera
function.
Are you setting it up as relative to the main camera?
Cheers
Sebastian
Hi,
ok that was a big mistake from my side.
I forgot to set the width and height of the Texture, but I used
getTextureWidth() and
You lost me here,
You want a relative RTT camera (pointing to where the main camera
points to) but you set up da absolute camera (having its independent
Viewport, matrix etc.)
You most likely want to have a ABSOLUTE ref frame for screenspace passes
and final output only-
Cheers
Sebastian
Maybe you forgot to add the camera to the main scene graph?
An addChild() into the scene graph root should do the trick.
2015-04-14 15:16 GMT+02:00 Andreas Schreiber a...@online.de:
Hi
I'm trying to generate a texture with a rtt-camera, so I can use this
texture later in my main scene.
Hi
I'm trying to generate a texture with a rtt-camera, so I can use this texture
later in my main scene.
To verify if the texture is correct I'm trying to put the texture on a quad in
my main scene.
I use the following method for the rtt-camera, the red clearColor I used to
test what the
8 matches
Mail list logo