Search found 1615 matches

by Chris
08 Jan 2013, 07:24
Forum: General Development
Topic: Animations 2013
Replies: 260
Views: 94862

Re: Animations 2013

I started putting print statements everywhere and it looks like pmove(...) is still getting called, so I think that's what is doing the movement. Animations aren't doing anything physics-based. It's just moving the character's base given how much the animation root moves. void Animation::updatePosi...
by Chris
08 Jan 2013, 05:24
Forum: Join the team
Topic: Mine
Replies: 22
Views: 12078

Re: Mine

Read the link I posted there ^^ Quake 3's bots were revolutionary for its time. The "cognitive model" of the world the bot has, which is internal to the AI, will prevent it from running into obstacles. This model is the graph traversed with A*. If you're familiar with this stuff, we could...
by Chris
08 Jan 2013, 02:08
Forum: General Development
Topic: video playback
Replies: 36
Views: 14705

Re: video playback

A random thought though; if we're going to be using ffmpeg anyway then what about deprecating the other audio systems? (Audiere, mpg123 + libsndfile) For people that are building it themselves, it may be difficult to get ffmpeg set up. In principle I have no problem dropping the others, since we ne...
by Chris
08 Jan 2013, 01:59
Forum: Join the team
Topic: Mine
Replies: 22
Views: 12078

Re: Mine

All the AI does is simulate player input. The AI should simulate a player turning towards the next path node, and holding W. And that's what a character controller resolves, right? Manages "input" for various actors, either from player keypresses or AI, and sets the character state to do ...
by Chris
07 Jan 2013, 16:51
Forum: General Development
Topic: video playback
Replies: 36
Views: 14705

Re: video playback

So windows packagers need to either statically compile in the libs or provide the libs in the zip or exe installer? Yup. Static linking will be tricky on Windows though, because ffmpeg itself doesn't build with MSVC, and I don't think the static libs mingw makes are compatible with MSVC. The header...
by Chris
07 Jan 2013, 14:48
Forum: General Development
Topic: video playback
Replies: 36
Views: 14705

Re: video playback

Should be simple enough to add to Ubuntu dependancies, there is nothing strange here from my point of view. Yeah, and for Windows there are prebuilt DLLs here: http://ffmpeg.zeranoe.com/builds/ They probably have more enabled than we need, but it makes things easier. EDIT: You'll want the shared pa...
by Chris
07 Jan 2013, 13:44
Forum: General Development
Topic: video playback
Replies: 36
Views: 14705

Re: video playback

for ffmpeg, to get minimal required ffmpeg build for OpenMW video playback hmm, not sure of the exact options. But the minimum for proper playback of audio and video would be: Codecs: pcm, mpg123, ffbinkvideo, and ffbinkrdftaud (these are what mplayer calls them) Not sure about what demuxers need t...
by Chris
07 Jan 2013, 06:44
Forum: General Development
Topic: Animations 2013
Replies: 260
Views: 94862

Re: Animations 2013

Cool, animations are now actually moving the object. There's no physics/collisions (yet), and there's a couple minor issues, but it's working. https://github.com/ChrisKCat/openmw/tree/animation2 My next question would be, how do I get physics working? That is, given its old position and new wanted p...
by Chris
07 Jan 2013, 06:29
Forum: General Development
Topic: On mouses and input focus
Replies: 56
Views: 30449

Re: On mouses and input focus

Sticking with OIS, even as an option, still leaves the problem: no way to ungrab the mouse without a modified OIS. Allowing SDL2 as an optional replacement will only do anything for people that have SDL2, so for someone who doesn't have SDL2 (everyone), then it's no better off... either no ungrabbin...
by Chris
07 Jan 2013, 00:38
Forum: General Development
Topic: video playback
Replies: 36
Views: 14705

Re: video playback

corristo wrote:Can anyone give me minimal required build options for ffmpeg?
Build options for ffmpeg itself, or options for OpenMW to use ffmpeg?