Crystal Space
Welcome, Guest. Please login or register.
October 23, 2014, 06:15:28 pm

Login with username, password and session length
Search:     Advanced search
9010 Posts in 2044 Topics by 8800 Members
Latest Member: Xxbobo
* Home Help Search Login Register
  Show Posts
Pages: 1 2 3 [4]
46  Crystal Space Development / Support / Re: Shader not updated on: October 29, 2007, 06:01:44 pm
It is a normal genmesh.

I have solved the problem now like you said, I just call UpdateMove() every frame.

Thanks.
47  Crystal Space Development / Support / Shader not updated on: October 28, 2007, 10:17:11 pm
Hello, I wanted to make a 3rd person and decided to use a csColliderActor for my mesh. The collision detection works fine, but it appears thet the shading of the mesh is only updated per frame when the mesh is moved by the collider actor(vector is not zero), not when the mesh it just rotated. I managed to get shading update done every frame by moving the mesh back and forth every frame, like this:

collider_actor.Move(dt, GAME_SPEED, XZspeed*CS_VEC_FORWARD+csVector3(0,0,0.1f), 0);
collider_actor.Move(dt, GAME_SPEED, -csVector3(0,0,0.1f), 0);

But it looks kinda clumsy, don't you guys agree? If anyone knows how to get shading updated the right way, I'd be happy to hear.
Pages: 1 2 3 [4]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 2.22 seconds with 16 queries.