Search found 26 matches

by crassell
20 Sep 2017, 03:56
Forum: Development
Topic: Generic nif engine importer for openmw
Replies: 19
Views: 583

Re: Generic nif engine importer for openmw

A lot of discussion happened while I slept it seems. So development is convoluted, with submodules and the rest. The idea that the nif format is defined in xml is not that bad (read once), once loaded into memory is nifxml not longer needed. Good to hear that nifxml is a solid choice at least from a...
by crassell
19 Sep 2017, 06:42
Forum: Development
Topic: Generic nif engine importer for openmw
Replies: 19
Views: 583

Re: Generic nif engine importer for openmw

I'm a member of the niftool effort. Awesome. Someone who knows some history behind niftools development! Ugh.. nif.xml (I hated this and it being broken for things while in development). This doesn't give me much confidence in what i'm currently basing my work on :(. Is the nif.xml unreliable in ge...
by crassell
19 Sep 2017, 00:30
Forum: Development
Topic: Generic nif engine importer for openmw
Replies: 19
Views: 583

Generic nif engine importer for openmw

In my attempt to understand format import options for animation, I wanted to first understand our entire asset import component set (nif, nifosg, nifbullet). After reviewing the nif streaming and parsing code, I noticed that will be a manual maintenance pain to support all of the various newer nif v...
by crassell
16 Sep 2017, 03:36
Forum: Development
Topic: first pass at third person over the shoulder option
Replies: 19
Views: 1423

Re: first pass at third person over the shoulder option

Posting here in case anyone else is still interested in testing out the options for third person over the shoulder targeting: https://github.com/OpenMW/openmw/pull/1425 I explain in the last comment the 2 options I implemented as candidates for target alignment for shooting. If anyone is interested,...
by crassell
09 Sep 2017, 03:23
Forum: Development
Topic: first pass at third person over the shoulder option
Replies: 19
Views: 1423

Re: first pass at third person over the shoulder option

Why do you have to triangulate at all? There's an angle created between the camera perspective and the player model perspective to meet the target under the crosshair when the bow is fired. This is inevitable in third person over the shoulder because of the placement of the player model relative to...
by crassell
08 Sep 2017, 14:51
Forum: Development
Topic: game mechanics code optimization
Replies: 6
Views: 419

Re: game mechanics code optimization

I looked into that but unfortunately the PR is for a proposed changeset. What would be nice is to review an entire file / set of files from top to bottom. A large code audit would be very useful in case massive code re-factoring is warranted. I think I saw some hints at how you could fake this on gi...
by crassell
07 Sep 2017, 23:23
Forum: Development
Topic: game mechanics code optimization
Replies: 6
Views: 419

Re: game mechanics code optimization

that means the list isn't sorted correctly for what you want to do to it. If a list is multi-purpose, with different purposes using different entries, it may even be better to have separate lists (and don't be fooled by virtual functions; they're basically just switch statements in disguise). I did...
by crassell
07 Sep 2017, 03:35
Forum: Development
Topic: first pass at third person over the shoulder option
Replies: 19
Views: 1423

Re: first pass at third person over the shoulder option

I just put a check in to stop head rotation. By bow arm always pointing to the crosshair I'm guessing you mean when the aim wildly swings away as a result of bad tracking. I have to make slight adjustments towards and away from the crosshair to triangulate towards the target under the crosshair.
by crassell
07 Sep 2017, 03:12
Forum: Development
Topic: game mechanics code optimization
Replies: 6
Views: 419

game mechanics code optimization

I'm a new developer and I know one of the main tenants of optimization is stay away from premature optimization, but I do notice some basic design patterns that are causing me to think even implementation code i'm adding is potentially slowing down mainline code. I hope what you find here is constru...
by crassell
05 Sep 2017, 05:08
Forum: Development
Topic: first pass at third person over the shoulder option
Replies: 19
Views: 1423

Re: first pass at third person over the shoulder option

Re-posting my summary from the pull request comments here for some possible feedback from others: This is a video of aim alignment happening in third person over the shoulder archery: https://youtu.be/_7xBR2rQL7s Not commit ready but feedback is welcome. What I don't like is the amount of fluctuatio...