Search found 1615 matches

by Chris
06 Apr 2012, 05:13
Forum: General Development
Topic: Making better use of Ogre's capbilities?
Replies: 209
Views: 106856

Re: Making better use of Ogre's capbilities?

I have this working correctly in openmw, for shapes without skins. I don't know if my implementation will help you though. Another creature with NiTriShapes like this is the Ancestor Ghost - the head and jaw. From what I can tell, you weight unskinned vertices to the last bone index in the skeleton...
by Chris
06 Apr 2012, 02:05
Forum: General Development
Topic: Making better use of Ogre's capbilities?
Replies: 209
Views: 106856

Re: Making better use of Ogre's capbilities?

Looks good. Doesn't the head have a parent NiNode/Bone you can connect it to? I can take the last node specified in the tree before the NiTriShape, but that doesn't really seem correct. If I try that, it was still rotated incorrectly). I imagine something a little more complex is at work. AFAIK, xs...
by Chris
06 Apr 2012, 00:13
Forum: General Development
Topic: Making better use of Ogre's capbilities?
Replies: 209
Views: 106856

Re: Making better use of Ogre's capbilities?

Do you think you can get this working by modifying the regular NIFLoader? Or do we really need niflib? I imagine it should be possible, as long as it can get the necessary data (the code I'm working with is actually based on a much older version of OpenMW's NIFLoader). I'm not sure how many helper ...
by Chris
05 Apr 2012, 08:12
Forum: General Development
Topic: Making better use of Ogre's capbilities?
Replies: 209
Views: 106856

Re: Making better use of Ogre's capbilities?

Success! Kind of. http://ompldr.org/vZDlscQ/OP_Screenshot_04042012_233957240.png The skeleton now seems to be animating correctly. There is, unfortunately, some warping in the mesh (look at the feet..), but it is otherwise moving and behaving correctly. The mesh warping doesn't seem to be an animati...
by Chris
05 Apr 2012, 05:57
Forum: General Development
Topic: Making better use of Ogre's capbilities?
Replies: 209
Views: 106856

Re: Making better use of Ogre's capbilities?

I've done a bit more digging, and it appears the wrong nodes are getting animated. If I leave all the animation transformations/translations at identity, and cause a time-based sine wave scaling to the "Bip01 L Toe0" target, then it's actually the right index finger (Bip01 R Finger11) that...
by Chris
05 Apr 2012, 03:06
Forum: General Development
Topic: Making better use of Ogre's capbilities?
Replies: 209
Views: 106856

Re: Making better use of Ogre's capbilities?

Anyways, with ogre animation objects you provide a translation (Vector3) and a rotation (Quaternion) for each keyframe. If we are at (5, 0, 0) position and provide (10, 0, 0) as a translation input it would result in (15, 0, 0). This is different from what morrowind/NIF does, in nifs the inputs are...
by Chris
04 Apr 2012, 21:23
Forum: General Development
Topic: Making better use of Ogre's capbilities?
Replies: 209
Views: 106856

Re: Making better use of Ogre's capbilities?

I've been working on this, and I almost have Nifs working with Ogre's skeletal animation system. I've got the skeleton loading into Ogre correctly using niflib: http://ompldr.org/vZDlnaw/OP_Screenshot_04042012_123301990.png (those blue/green/red speckles are the bones as Ogre sees them; they're rota...
by Chris
02 Apr 2012, 01:40
Forum: General Development
Topic: Making better use of Ogre's capbilities?
Replies: 209
Views: 106856

Making better use of Ogre's capbilities?

Something I've noticing is that many of Ogre's existing systems aren't being utilized where they probably could be. For instance, the animations don't seem to be using Ogre::AnimationTrack , which automatically applies time-based transformations to an Animation, which in turn can affect a set of ver...
by Chris
01 Apr 2012, 23:15
Forum: Support
Topic: Audiere
Replies: 14
Views: 8562

Re: Audiere

Sorry for the double-post. I had a look at libvlc , and it doesn't look like it can be easily wrangled into acting as a general decoder. I've went and implemented an Audiere decoder in my sound branch, though I'd still recommend trying to find something that's been updated more recently than 6 years...
by Chris
01 Apr 2012, 18:32
Forum: Support
Topic: Audiere
Replies: 14
Views: 8562

Re: Audiere

Is there any way we can bring it back? If I can get it to build and install, it looks like I may be able to get it working again. Though given the age of the lib, I'd be very curious if you have any other ideas for audio decoder libs. Now that I think, what about VLC? There is a version of the play...