Search found 2006 matches

by scrawl
19 Sep 2017, 19:29
Forum: Development
Topic: Generic nif engine importer for openmw
Replies: 17
Views: 330

Re: Generic nif engine importer for openmw

What exactly is the issue with Morrowind's way of skinning? I'm sure it's been mentioned before, but I don't know where. Would it be possible to improve osgAnimation to support what we need? Would it be possible to convert Morrowind's way of skinning to something osgAnimation can work with? It's a ...
by scrawl
19 Sep 2017, 16:21
Forum: Development
Topic: Generic nif engine importer for openmw
Replies: 17
Views: 330

Re: Generic nif engine importer for openmw

Agreed on all but the last paragraph of Chris' post. Ideally we should leverage a general model loading API to support multiple formats. The 'API' for a loader is really simple: file goes in, osg::Node comes out. That's how the NIF loader was designed as well. That said, sometimes our engine still n...
by scrawl
19 Sep 2017, 11:21
Forum: Development
Topic: Generic nif engine importer for openmw
Replies: 17
Views: 330

Re: Generic nif engine importer for openmw

Not ruling this out, but we should think about the implications before we jump into coding. My first concern is how fast niflib would be. When I profiled our code a while ago, a lot of time spent loading was in parsing NIF files. So it's a bottleneck that we don't want to make any worse. As I unders...
by scrawl
18 Sep 2017, 20:40
Forum: Organisation and Planning
Topic: Principles and Vision
Replies: 38
Views: 2244

Re: Principles and Vision

I deleted PCs/NPCs and left the rest. when you have it how you want it? The answer is almost always 'never', but it should be close enough now, anyway. https://wiki.openmw.org/index.php?title=Bug_Triaging_Guidelines Hoping we can get more people on board now that it'll be under a badass name. Bug Tr...
by scrawl
18 Sep 2017, 00:24
Forum: Development
Topic: Help with SSAO shader.
Replies: 5
Views: 232

Re: Help with SSAO shader.

Hm, you're trying to add this to the terrain and object shaders? That's not how it works. For post effects like SSAO, you need to render a full-screen quad with the scene and depth textures as input. Doing them in the object shader itself won't work, because you need the result of surrounding pixels...
by scrawl
17 Sep 2017, 20:18
Forum: Organisation and Planning
Topic: Principles and Vision
Replies: 38
Views: 2244

Re: Principles and Vision

On the topic of organization: I'm working on a Bug Triaging Guidelines page that shall document all the processes for the bugtracker. While working on the description for categories I noticed that: - PC/NPCs often overlaps either AI or Game Mechanics, and is not very useful either (doesn't say if it...
by scrawl
17 Sep 2017, 16:11
Forum: Development
Topic: Improving distant terrain distance
Replies: 7
Views: 381

Re: Improving distant terrain distance

The default game without distant terrain would continue to behave as-is. There probably could be another setting to modify the far clip plane even without distant terrain on, something like 'far clip plane offset' which specifies an offset from the viewing distance (positive only, to push it out fa...
by scrawl
17 Sep 2017, 14:42
Forum: Development
Topic: Improving distant terrain distance
Replies: 7
Views: 381

Re: Improving distant terrain distance

Separate the far clip plane from the fog end distance, leaving the fog end distance controlled by the viewing distance setting. Makes sense to me (assuming it's opt-in, so the default game without distant terrain behaves as-is, and there's still a way to manually set the far clip plane in case I on...
by scrawl
17 Sep 2017, 13:45
Forum: Feature Requests and Suggestions
Topic: [Suggestion] Comment faulty lines instead of erasing it in openmw.cfg
Replies: 4
Views: 271

Re: [Suggestion] Comment faulty lines instead of erasing it in openmw.cfg

Okay, I got confused here. I was thinking of settings.cfg for some reason, but you're talking about openmw.cfg. Then it's 100% a launcher-only issue, because only the launcher touches openmw.cfg, the game just reads it. Anyway, my suggestion to not start the program when the file has errors still st...
by scrawl
17 Sep 2017, 13:24
Forum: Feature Requests and Suggestions
Topic: Save Edit - Cleaning, Merging lists etc.
Replies: 13
Views: 581

Re: Save Edit - Cleaning, Merging lists etc.

int ESMStore::find(const string&) tells you the type of an id, or 0 if it doesn't exist.