Search found 1366 matches

by Chris
14 Apr 2018, 03:46
Forum: Off Topic
Topic: XL Engine source code release!
Replies: 92
Views: 4382

Re: XL Engine source code release!

But really only necessary for Windows? It's only necessary insofar as it avoids needing to do a lot of boiler-plate work. Defining all the function pointers, checking for all the extensions, loading the functions for the supported version and extensions, etc. OpenGL has a lot of functions and exten...
by Chris
13 Apr 2018, 20:46
Forum: Organisation and Planning
Topic: Post 1.0 Planning Update
Replies: 90
Views: 4958

Re: Post 1.0 Planning Update

Certain post-processing effects will depend on the way the engine renders and the data provided. Motion blur, for instance, depends on the engine rendering a velocity buffer. Screen-space reflections depends on accessing the previous frame (taken at a particular moment of the render) as well as the ...
by Chris
13 Apr 2018, 20:31
Forum: Off Topic
Topic: XL Engine source code release!
Replies: 92
Views: 4382

Re: XL Engine source code release!

GLEW helps on Windows, where even standard versions need to be loaded through extensions (because MS hasn't updated opengl32.dll in years, so basically all functions need to be retrieved from the ICD). It automatically handles loading extensions for us, which will be useful with future work on the r...
by Chris
12 Apr 2018, 01:06
Forum: Feature Requests and Suggestions
Topic: Feature request. Add Panini fov projection.
Replies: 12
Views: 581

Re: Feature request. Add Panini fov projection.

It's a bit different since most other post-process shaders deal with things the renderer already has. It already rendered the previous frame, so it's just a matter of holding on to a copy for the next, and it already renders a depth map, so it can just provide it. The inputs are (would be) already t...
by Chris
11 Apr 2018, 19:59
Forum: Feature Requests and Suggestions
Topic: Feature request. Add Panini fov projection.
Replies: 12
Views: 581

Re: Feature request. Add Panini fov projection.

I also don't understand how the argument that you have to have exactly six renders as a cubemap if it's implemented as a post-process holds any weight as it's factually wrong. You might be able to get away with less if your final output FOV is small enough. It also depends on whether you apply any ...
by Chris
11 Apr 2018, 02:57
Forum: Organisation and Planning
Topic: Post 1.0 Planning Update
Replies: 90
Views: 4958

Re: Post 1.0 Planning Update

As I see it, if someone is determined to write a malicious script, there are bound to be ways of breaking out of the sandbox that we don't anticipate (such as calling functions with weird arguments which make the rest of the engine do weird things until some buffer somewhere is overflown and sudden...
by Chris
11 Apr 2018, 02:26
Forum: Feature Requests and Suggestions
Topic: Feature request. Add Panini fov projection.
Replies: 12
Views: 581

Re: Feature request. Add Panini fov projection.

Yea, this actually looks really interesting. Would this solve the flat view distance fog effect, or is that something completely separate? It's separate. It should already be possible to solve the flat fog by using the distance from the camera to the given pixel's world coordinates, rather than its...
by Chris
08 Apr 2018, 21:15
Forum: Organisation and Planning
Topic: Post 1.0 Planning Update
Replies: 90
Views: 4958

Re: Post 1.0 Planning Update

For me, scripts are simple short code snippets that make simple things happen in the game. I don't think I'm supposed to go full programmer on them. Just extend the functions and make it more comfy to use. Keywords being "comfy to use". Even with the things vanilla does, there are a multitude of wa...
by Chris
07 Apr 2018, 20:16
Forum: Off Topic
Topic: XL Engine source code release!
Replies: 92
Views: 4382

Re: XL Engine source code release!

Seems like it's complaining about string methods I started using, which I didn't realize were added in C++11. I could make some ugly workarounds for C++03, but I believe we were planning to move to C++11 (or 14?) anyway. In this case, it might work to explicitly enable C++11 if the issue is the comp...
by Chris
07 Apr 2018, 04:11
Forum: Off Topic
Topic: XL Engine source code release!
Replies: 92
Views: 4382

Re: XL Engine source code release!

psi29a wrote:
07 Apr 2018, 00:37
I think we've made some major progress... :)
Indeed.
screenshot.png