Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 41
» Latest member: Joachim
» Forum threads: 152
» Forum posts: 489

Full Statistics

Online Users
There are currently 18 online users.
» 0 Member(s) | 18 Guest(s)

Latest Threads
Its getting better
Forum: Getting started
Last Post: Brian Beuken
Yesterday, 12:12 PM
» Replies: 0
» Views: 7
Cube OpenGL ES 2.0 exampl...
Forum: Getting Started
Last Post: jomoengineer
Yesterday, 06:06 AM
» Replies: 4
» Views: 33
Chapter 7 Assets
Forum: Fundamentals Errata/Questions
Last Post: Brian Beuken
02-18-2019, 08:28 PM
» Replies: 16
» Views: 223
OpenGLES3.0 causes flcker...
Forum: Help my code won't work??
Last Post: Brian Beuken
02-18-2019, 06:22 PM
» Replies: 3
» Views: 30
Asus Tinkerboard
Forum: Other SBC's
Last Post: Brian Beuken
02-17-2019, 02:27 PM
» Replies: 9
» Views: 1,098
Make sure you update and ...
Forum: Getting started
Last Post: jomoengineer
02-15-2019, 08:02 AM
» Replies: 1
» Views: 56
So....what do I do?
Forum: Getting started
Last Post: Brian Beuken
02-13-2019, 09:10 AM
» Replies: 10
» Views: 2,260
Reviewing the code
Forum: Scratchpad Games
Last Post: Brian Beuken
02-13-2019, 12:53 AM
» Replies: 1
» Views: 77
If your trial has run out...
Forum: Getting started
Last Post: Brian Beuken
02-11-2019, 10:08 PM
» Replies: 1
» Views: 42
Finally have a machine
Forum: OpenGLES3.2 Shaders
Last Post: Brian Beuken
02-11-2019, 11:51 AM
» Replies: 6
» Views: 845

  Nano Pi 2 (fire)
Posted by: Brian Beuken - 09-29-2018, 03:07 PM - Forum: Other SBC's - No Replies

I don't actually have a Fire version but given the only difference is a network RJ45 connector I'm going to assume it will produce the same result. I connected wireless and it handled that fine, but quite slow. But in terms of graphical results I have to say there's nothing to report.

Its not really a game board, having only one USB and HDMI its hard to imagine it would have any use. Its Debian as supplied by Friendly Arm is  quite a limited version with low res 720 HDMI .Its also no longer in production so the OS isn't being updated, and even Armbian don't have it, but one of the other S5P4418 builds might work.

But it is a functioning system, when all said and done its another mini  quad core S5P4418 with a Mali 400, but only 1 core I think. I could install libs and get building but just wasn't able to get a screen to display, and even without the screen it was reporting painfully low update rates, so I think its a no go as a graphics target. But fun as a deadless device for some non graphical usage.

I am going to try a Nano2AFire image which has OpenGLES2.0 support, not sure if it will work any better, but it is a more uptodate OS for the same CPU and though the board has some differences in layout it seems to have the same functions (famous last words)! The download links all seem to go to the same S54518 support page, I'll let you know.

Print this item

  How to Register
Posted by: Brian Beuken - 09-25-2018, 02:10 PM - Forum: Scratchpad Games - No Replies

As you might notice we get a lot of spam bots trying to log on to the forum, a few do get through, but I am doing a pretty good job of keeping them out. But even so, up to 20 applications a day are recieved from spam bots, which are booted mostly before they get a chance to post.

Registration here is easy, just log in, register and wait for your email.....which will never come... I've disabled the emails because the spam bots were automatically responding and gaining access.

So all access is down to me checking your IP is not listed on a spam check site, and approving.

It is also helpful if you post a notice on the open parts of the forums to verify you are indeed who you claim to be.. Just a hello, and why you are here is enough to ensure a smooth ok on your application. Even without a post I will validate your request within a day or 2 and feel free to come back and check if you have access.. Then please post a hello notice or ask any questions you might have.

If you have registered and not been given access after a few days, please just post here in the open sections, it will be moderated, but I will see the thread, and activate you.

All part of the service, keeping this forum spam free.

Print this item

  Installation of Bullet, STB and GLM
Posted by: Brian Beuken - 09-25-2018, 12:16 PM - Forum: Fundamentals Errata/Questions - Replies (1)

Not an actual error but a change of content from the book so best to list here.

Most of the projects available for download are including lib files where needed, this tends to make them self contained but also rather large. GLM in particular is a large repetitive download on each project.

So over time I am going to be assuming that Bullet, STB and GLM are reinstalled on your targets using git clone, (see details how to install here), for Raspberry that will put the dirs in.. /Home/Pi

For non raspberry systems it will got into /Home/XXX where x is your user name when you logged on.

This will reduce the download size of the projects but may, just may, result in some incompatibility of projects expecting specific versions of the GLM (in particular as its live) libs. I will try to maintain regular updates of the libs and resolve changes as I find them, and note them here.

Print this item

  Now using the 3B+ as main machine
Posted by: Brian Beuken - 09-25-2018, 10:00 AM - Forum: General Chat - No Replies

I've avoided doing a full switch to the 3B+ for a while now, not because it worried me at all, but the MagPi articles and occasional mails I get from book readers tend to be more related to Raspberry 3B with Jessie. My old 3B allowed me to keep a hybrid updated Jessie/with stretch libs on board so I could test code. The 3B is pure Stretch. 
But I've now updated fully to the 3B+ and enjoying the little extra kick of speed both on builds and execution as well as debug with the faster ethernet.

I don't really anticipate any issues with this transition, the system is pretty much identical, mostly I'll have problems with tools or templates I had stored on the old machine and now have to replicate on the new. If I get people having issues with older code I can still hook up the 3B

onward and upward.

Print this item

  C++ Coding MagPi #73
Posted by: Brian Beuken - 09-25-2018, 09:34 AM - Forum: General Chat - No Replies

Now we know how to speed things up, lets get retro and fill the screen.
Discuss the separation of logic and display and work out a way to scroll.

Also lets make a start on using some fonts on our system to display text

Print this item

  C++ Coding MagPi #72
Posted by: Brian Beuken - 09-25-2018, 09:33 AM - Forum: General Chat - No Replies

Time to think about our baddies and the basics of a state system to give them some logic.
Also we're starting to push our systems a bit, what can we do to make it better, delve into the workings of the GPU, thats what?

Print this item

  C++ Coding MagPi #71
Posted by: Brian Beuken - 09-25-2018, 09:31 AM - Forum: General Chat - No Replies

I've been getting a little behind on updates here, but I'm starting to catch up.

Issue 71 is now up and ready for you to play with, animation and interaction with our maps now take centre stage

Print this item

  installing STB and GLM
Posted by: Brian Beuken - 09-25-2018, 09:22 AM - Forum: General Chat - No Replies

Unless you know how to use git on your Raspberry, the article where STB was first installed doesn't make it totally clear how to do it. The "what you need" insert provides you with a shortcut which might not make sense.

The simplest way is to enter this in your terminal

git clone https://github.com/nothings/stb.git

and voila you will now have an STB dir in your /Home/Pi directory

likewise for GLM 
git clone https://github.com/g-truc/glm.git

Installs GLM, in the /Home/Pi directory ready to use (this is a much bigger download though and not all is needed but best to have it all)

One very tiny point to consider with git cloning, is that unlike an apt-install. The files you place on your computer do not update automatically on an apt-get update/upgrade cycle when the libs update.
Glm in particular updates from time to time, though stb is pretty much finished with.
So you may, have occasions when working with other people, where you have different versions of the libs. Be careful to check what others are using, and update this from time to time with another git clone and try to always use the latest version (unless, as can happen, you find the latest version does not work with your code)

Print this item

  Linux getting in the way X11 not initialising
Posted by: Brian Beuken - 09-23-2018, 05:23 PM - Forum: Other SBC's - Replies (8)

I've noted before that I had some trouble with ubuntu systems throwing up strange errors unable to open Displays causing failure of our test projects I thought it was limited to Ubuntu, but today I had it on a Tinkerboard system which is Debian, it did however throw a much more useful No Protocol supplied, error, which after a bit of googling resulted in some answers.

I can't honestly explain much about how any flavour of Linux works, its a total mystery to me and the way it seems to over protect things you want to directly access is frustrating, but it does seem that  some of our issues are related to lock of display system by the OS.

If you don't have root access we know some things get hard to use, like keys and mouse, but it seems also the screen....

One solution is to enter 
xhost +  
on a terminal, and then you can finally open the screens.

But then of course you have all kinds of other issues Big Grin

Print this item

  Not much chat?
Posted by: Brian Beuken - 09-09-2018, 10:13 AM - Forum: Scratchpad Games - Replies (2)

The book seems to be selling well but I'm quite surprised at the lack of chat/requests for files we should be seeing here.

Are people having issues with this forum, or with the book, mail me if you need help?

Print this item