About Store Forum Documentation Contact



Post Reply 
blurry mesh
Author Message
Fab4 Offline
Member

Post: #1
blurry mesh
Hi,
I'm trying to use a controller for movement and cast a meshed skeleton on this controller.
So the first thing i did was creating the Controller as a capsule. Then I created a Skeleton.
In Update function I tell the skelton to be at the position of the capsule.
This works so far with

cskel.move(controller.center());

, but as soon as i put a blur effect on, everything is getting weird.
If I choose the high blur-mode, the object is blurry as soon as the object moves. [the camera moves with the object(camera.at=controller.center()wink

I also have to update velocities of skelton two times (after matrix update of animation and agter movement of skeleton) or the mesh is blurry continously.
here an example
[Image: blur.png]
left without movement, right with movement.

is it maybe cause by the handling of the camera movement or do you have any idea what is causing this?

thank you very much for your help in advance

Fab
10-16-2011 07:02 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: blurry mesh
this will work correcly only in deferred renderer, high motion blur mode.
you need to use:
cskel.clear().animate(..).updateMatrix(..).updateVelocities();
not cskel.move
(btw: nice model!)
10-16-2011 07:05 PM
Find all posts by this user Quote this message in a reply
Fab4 Offline
Member

Post: #3
RE: blurry mesh
thanx for the fast reply.
but is it even possible to connect the skeleton to a controller without cskel.move?

p.s. and thx, it took a lot time to create the model wink

(edit)
ahh i just forgot to update velocities of camera. now it works very good
(This post was last modified: 10-16-2011 07:21 PM by Fab4.)
10-16-2011 07:18 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: blurry mesh
just use updateMatrix according to controller position
10-16-2011 07:20 PM
Find all posts by this user Quote this message in a reply
Fab4 Offline
Member

Post: #5
RE: blurry mesh
ok i just played a little around and it works now pretty good. thanks again.
10-16-2011 07:49 PM
Find all posts by this user Quote this message in a reply
Post Reply