useSmoothMesh

useSmoothMesh

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

useSmoothMesh

Post by Argh »

Tried this out, very cool feature. Largely fixes aircraft behaviors, especially bombers. Now if only we were allowed to manipulate that mesh's height values, I could keep them from diving through tall buildings occasionally :roll:

Just wanted to let people know that this was available, if they aren't following Git, it looks like imbazcek's really doing some useful stuff to make it easier to get certain behaviors out've aircraft, like afterburners, etc.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: useSmoothMesh

Post by AF »

+1, having a pillar surrounded by a bottomless pit for a map shouldnt result in aircraft that slowly glide down to infinity, although its better than the nosedive into the ground they do now
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: useSmoothMesh

Post by imbaczek »

i have smooth mesh manipulation in mind, glad somebody's testing it.

i'll probably copy heightmap manipulation interface to smooth mesh pretty much verbatim in the next few days.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: useSmoothMesh

Post by Argh »

Can regular Units be told to use the smoothMesh (i.e., can I haz invisible heightmaps yet plz)?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: useSmoothMesh

Post by imbaczek »

not possible now. theoretically doable, but it'd take quite some work to design and test; also, initialization of such custom heightmaps would be rather slow (if done with lua).
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: useSmoothMesh

Post by Argh »

I'm sure it'd be slow, but it's a small price to pay (if it's done during GameStart(), anyhow).

There are so many things that would require massive changes if done engine-side, that I can do with Lua relatively easily, if support for that concept existed.

Anyhow, in the shorter term this is nice, and it certainly fixes a lot of things.
Post Reply

Return to “Engine”