MTM2.com

A forum for mtm2 discussion
FAQ :: Search :: Members :: Groups :: Register
Login
It is currently Fri Nov 22, 2024 6:04 am



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Another soft body physics update.
PostPosted: Sun Aug 27, 2017 7:50 am 
Member

Joined: Sun Apr 17, 2005 8:10 am
Posts: 98
Location: U.S.A.
I have been working a great deal on my soft-body physics engine for my modern monster truck game and have made great strides. It now supports 4 wheel independent steering, a chase camera, ground is textured (simple) an a actual monster truck model. Still need to work on the model but hopefully this will give you guys a clue to how far it has come and what is yet to come. Here is a screenshot of the latest work in progress. Image


Top
 Profile  
 
 Post subject: Re: Another soft body physics update.
PostPosted: Mon Aug 28, 2017 8:09 am 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
That terrain is looking neat textured, is the altitude bit-mapped like in MTM2?


Top
 Profile  
 
 Post subject: Re: Another soft body physics update.
PostPosted: Mon Aug 28, 2017 11:43 am 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
That looks good indeed.


Top
 Profile  
 
 Post subject: Re: Another soft body physics update.
PostPosted: Tue Aug 29, 2017 1:36 pm 
Member

Joined: Sun Apr 17, 2005 8:10 am
Posts: 98
Location: U.S.A.
I am not exactly sure what you mean Kmaster, altitude bit-mapped? The terrain is a simple height map of any size (within reason, tested upto 2048x2048) the terrain wraps as well. As of right now it only textures the terrain with a single texture, but I mainly just did that to get an idea of how it will look. I am mainly focusing on the physics for now. As I have said before, it is not possible to reuse MTM trucks.. I have brainstormed over and over without a good way of making them softbody. So hopefully once I get enough complete some MTMers will come forward and help make tr?cks for it. I am seriously considering using OpenGL 3.3 or greater allowing to have multiple textures layered.. splatmaps. Similar to ROR. Otherwise the terrain will probably be textured similar to MTM. I've got the OpenGL modern version with the splat maps already up and running. Just haven't put the physics into it yet. Not all video cards would be supported though that a way. The older ones won't run it, so... I am not sure which way I am going to do it yet. Any input? I will release what I have so far tonight sometime and let me know what you guys think.


Top
 Profile  
 
 Post subject: Re: Another soft body physics update.
PostPosted: Tue Aug 29, 2017 4:10 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
Jpez1432 wrote:
I am not exactly sure what you mean Kmaster, altitude bit-mapped? The terrain is a simple height map of any size


Yes, that's the right word: "height map". every byte is translated to a height, just like in MTM2 which uses a 256x256 raw file as height map. Asigning a single texture to each grid wouldn't be that difficult I bet.


Top
 Profile  
 
 Post subject: Re: Another soft body physics update.
PostPosted: Tue Aug 29, 2017 7:24 pm 
Member

Joined: Sun Apr 17, 2005 8:10 am
Posts: 98
Location: U.S.A.
Both concepts use a simple heightmap. It is by far the easiest and little memory footprint that away. I've already got a clone practically of MTM track engine, it loads MTM 1 & 2 tracks and renders them in OpenGL... I've considered making my own map format that is similar. Texturing each triangle/quad is no problem. The link for Project Monster is at the end. I am still undecided whether to use modern OpenGL and splatmap textures.. I'll post a screenshot of that here in a bit. I created a really crappy simple track before I went to work.. gonna redo it. It will show what is possible.

Project Monster (MTM 1 & 2 Track loader)
http://s000.tinyupload.com/index.php?fi ... 8883636153


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 117 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group