Re: [Lazarus] Game development walkthrough: A simple example using Bare Game

2015-02-09 Thread Anthony Walter
Dmitry: wrong
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Game development walkthrough: A simple example using Bare Game

2015-02-09 Thread Dmitry Boyarintsev
The GL wrapper (bare.games in this case ) depends on the GL settings not to
be modified outside of it. The example does the exact hack.
The functionality can be achieved should be implemented using Cameras, then
the example should show it. Camer should be in "minimal" set for APIs

thanks,
Dmitry
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Game development walkthrough: A simple example using Bare Game

2015-02-09 Thread Anthony Walter
1) as noted in the source, for that case you could use the camera instead
2) being minimal, there will always be places where opengl makes sense,
like if someone wanted to make a shadow map implementation using a stencil
buffer, or if someone wanted to make bone animations using a quaternions
interweaved with vertex data, i will not provide every possible concept
neatly wrapped in a class. as such you're free to mix in opengl whenever
without restriction, which is what the small example is demonstrating at
that point
3) it's called Bare Game, as in it's minimal
4) if you think the design is bad, look at the documentation, then decide

http://www.baregame.org/#bare_game
http://www.baregame.org/#bare
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Game development walkthrough: A simple example using Bare Game

2015-02-09 Thread Dmitry Boyarintsev
Criticism: mixing low-level opengl functions with higher-level APIs is a
bad design.
Either higher-level apis needs to be updated to allow the desired
functionality(which is achieved by direct calling gl functions) or not used
at all.

thanks,
Dmitry

On Mon, Feb 9, 2015 at 5:58 AM, Anthony Walter  wrote:

> A walkthrough of the new draw example in Bare Game is here:
>
> http://www.getlazarus.org/videos/baregame/
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Game development walkthrough: A simple example using Bare Game

2015-02-09 Thread Anthony Walter
A walkthrough of the new draw example in Bare Game is here:

http://www.getlazarus.org/videos/baregame/
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus