08-04-13, 18:37 | #11 |
Member
Joined: Jan 2013
Posts: 195
|
character controller
Hi all! I make a character controller and try difference ways. Now I use faster way - static position fixing by ghost object (capsule shape). Convex sweep test for capsule is too slow but not for sphere. Convex sweep test (sphere shape) is used for eliminating tunneling effect in high characters speed cases. May be shakes while moving I will try to fix it .
Changes: 1) Room mesh normals calculates like in all other meshes (more smooth picture). 2) If floor slant more than 30 deg, Lara sly down (this time without animation change). 3) Now I render full mesh with glDrawElements - it is much faster than glDrawArrays for every polygon. But may be glitches with skyboxes. I have no one on my PC, but some people say about "bad skyboxes". 4) You can choose objects by RMB (right mouse button) and switch it's animations by "q" and "e" buttons. P.S. Sorry for slow progress, some deals in work and dissertation and TR 2013 is too interest Thanks to Lwmte for animation control fixing!!! |
13-04-13, 08:49 | #12 |
Member
Joined: Apr 2013
Posts: 343
|
Thank you very much for everythink
The last update is cool and i'm very happy you solved problem with slopes and also the collision of Lara works good I'm looking forward to this engine. Good job and good luck |
27-04-13, 18:23 | #13 |
Member
Joined: Apr 2013
Posts: 343
|
Hi everybody
Did you know that is possible to play your own level in the tesla rus engine? I created a custom level which had one room, this room was created in Metasequoia. I wanted to try engine's collision system and it works great, thanks Tesla Rus http://www.youtube.com/watch?feature...&v=lmVG2xwNVeE |
28-04-13, 16:29 | #14 |
Member
Joined: Apr 2008
Posts: 368
|
That's really great
|
28-04-13, 16:47 | #15 |
Moderator
Joined: Jul 2003
Posts: 33,359
|
Looks good.
@ Ado Croft: Did you use the original TRLE to create the TR4 file or TRNG? |
28-04-13, 17:31 | #16 |
Member
Joined: Apr 2013
Posts: 343
|
|
28-04-13, 17:45 | #17 |
Moderator
Joined: Jul 2003
Posts: 33,359
|
Hmmm... too bad custom wads don't work.
Hopefully it can be fixed. |
29-04-13, 16:40 | #18 |
Member
Joined: Jan 2013
Posts: 195
|
Maybe Tesla Rus will fix it later
Hmm... To fix problems with custom levels loading I need
- custom level (that does not work) - level specification (documentation, file structure). As I understood, custom levels has a TR4 format with a little modification. I was trying to load TRLE levels (TR4 level loading function), but I got zlib error (Z_DATA_ERROR (-3)). Maybe offset or data size correction needs... You can send level and documentation to my mail. |
29-04-13, 17:10 | #19 |
Member
Joined: Apr 2008
Posts: 368
|
Has the level been encrypted? If so, it won't load.
Edit: the custom level format is the same as the format used in the original levels, but I think Wadmerger causes Animations[].FrameEnd to be -1 in some cases when animations are edited. Last edited by meta2tr; 29-04-13 at 17:15. |
29-04-13, 17:47 | #20 | |
Member
Joined: Jan 2013
Posts: 195
|
level format
Quote:
|
|
Thread Tools | |
|
|