Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-09-28 Thread Robert Osfield
On Fri, 28 Sep 2018 at 12:13, michael kapelko wrote: > But so far I've seen no problem with `this` approach. Well it compiles... and technically it's valid C++. I don't believe it's a good practice though, you can do lots of crazy things in C++ and still have it compile. The 6 extra characters

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-09-28 Thread michael kapelko
Hi, Robert. I agree with you that explicit usage of `this` is not something I see frequently myself. That's a valid point. I've been on that side, too. Probably, because I never asked myself about `this`. My work is related to iOS development, so I've seen Apple ecosystem migration from Objective

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-09-26 Thread Robert Osfield
Hi Michael, On Wed, 26 Sep 2018 at 09:16, michael kapelko wrote: > I started to use explicit `this` to simplify reading and increase > "shareability" of code: Doing something that very few other developers do is likely to reduce "shareability", I'm experienced engineer and read lots of third par

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-09-26 Thread michael kapelko
Hi, Robert. I started to use explicit `this` to simplify reading and increase "shareability" of code: * I don't need to rely on IDE to highlight member or local variables/functions for me, so I can get away with simpler and faster tools (VIM, in my case) * I can paste such code blocks anywhere, an

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-09-25 Thread Robert Osfield
Hi Michael, Thanks for creating the new tutorial. I had a quick look at the examples repository and am curious why do you use "this->" every time you access a member variable or method? Personally, as a style of coding I find it a bit odd to see it used so pervasively, it's unusually enough that

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-09-25 Thread michael kapelko
Hi. I've created a new cross-platform example on running a sequence of asynchronous operations (network loading, animations, etc): https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/06.CommandSequence Try the sample in your web browser (click on the box): https://ogstud

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-08-14 Thread michael kapelko
Hi. I've created three new cross-platform examples: * HTTP(s) client (Mongoose, NSURLSession, HttpUrlConnection, Fetch API) * Remote debugging (OSG app, intermediate Node.js server, JS debug UI) * Node selection (handling input under Android and Web (Emscripten) ) They are available here: https:

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-04-17 Thread Alberto Luaces
michael kapelko writes: > Hi. > > All hail the second cross-platform example on how to use PNG images > (embedded into application) with PNG/ImageIO plugins: > https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/02.TextureImage Thanks, nice resource! -- Alberto _

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-04-17 Thread michael kapelko
Hi. All hail the second cross-platform example on how to use PNG images (embedded into application) with PNG/ImageIO plugins: https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/02.TextureImage On 10 April 2018 at 17:19, HITESH KUMAR SINGHAL wrote: > > On Mon, 9 Apr 2

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-04-10 Thread HITESH KUMAR SINGHAL
On Mon, 9 Apr 2018 15:01 michael kapelko, wrote: > Hi. > > TL;DR > All hail the first cross-platform example on how to embed a binary > resource into executable: > > https://github.com/OGStudio/openscenegraph-cross-platform-examples/blob/master/01.EmbedResource/README.md > > Lengthy explanation.

[osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-04-09 Thread michael kapelko
Hi. TL;DR All hail the first cross-platform example on how to embed a binary resource into executable: https://github.com/OGStudio/openscenegraph-cross-platform-examples/blob/master/01.EmbedResource/README.md Lengthy explanation. Once the OpenSceneGraph cross-platform guide ( https://ogstudio.gi