Crystal Space
Welcome, Guest. Please login or register.
October 24, 2017, 03:25:31 am

Login with username, password and session length
Search:     Advanced search
9063 Posts in 2051 Topics by 77929 Members
Latest Member: Joankaarduin782
* 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.

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.125 seconds with 16 queries.