C++11 multithreading tutorial

January 23, 2017 in C++, Tutorial by Adrian Marius

The code for this tutorial is on GitHub: https://github.com/sol-prog/threads.

In  previous tutorials I’ve presented some of the newest C++11 additions to the language: regular expressions, raw strings and lambdas.

Perhaps one of the biggest change to the language is the addition of multithreading support. Before C++11, it was possible to target multicore computers using OS facilities (pthreads on Unix like systems) or libraries like OpenMP and MPI.

This tutorial is meant to get you started with C++11 threads and not to be an exhaustive reference of the standard.

 

 

The lost art of 3D rendering without shaders

January 22, 2017 in Programming Languages, Swift by Adrian Marius

Let’s say you wanted to create a sweet bouncing cube, like this:

A bouncing cube

You might use a 3D framework such as OpenGL or Metal. That involves writing one or more vertex shaders to transform your 3D objects, and one or more fragment shaders to draw these transformed objects on the screen.

The framework then takes these shaders and your 3D data, performs some magic, and paints everything in glorious 32-bit color.

But what exactly is that magic that OpenGL and Metal do behind the scenes?

http://machinethink.net/blog/3d-rendering-without-shaders/

Unreal Engine 4 Tutorial for Beginners

January 22, 2017 in Uncategorized by Adrian Marius

Unreal-begin-feature

Unreal Engine 4 is a collection of game development tools capable of producing everything from 2D mobile games to AAA console titles. It is the engine behind titles such as ARK: Survival Evolved, Tekken 7 and Kingdom Hearts III.

Developing in Unreal Engine 4 is very simple for beginners. Using the Blueprints Visual Scripting system, you can create entire games without writing a single line of code! Combined with an easy-to-use interface, you can quickly get a prototype up and running.

This Unreal Engine 4 tutorial is focused on helping beginners get started. Here are the key points that this tutorial will cover:

  • Installing the engine
  • Importing assets
  • Creating materials
  • Using Blueprints to create objects with basic functionality

To learn these, you will create a spinning turntable that displays a banana.

 

Unreal Engine 4 Tutorial for Beginners

by admin

Stingray Engine Code Walkthrough

January 20, 2017 in C, Game Engines, Programming, Stingray, Stingray, Tutorial by admin

by admin

Low-level plugins in Unity WebGL

January 20, 2017 in C++, Game Engines, OpenCL, Tips & Tricks, Tutorial, Unity by admin

Last year the guys at Unity launched on their blog a series of technical articles on WebGL. They are now back with a new article, showing how to reuse existing C / C++ such as graphic effect written in OpenGL ES code in a webpage, using Unity WebGL.

For the article, follow this link.

by admin

Unreal Engine sponsors Global Game Jam2017: Development resources released

January 19, 2017 in Game Engines, News, Tips & Tricks, Tutorial, Unreal Engine by admin

From the Unreal Engine blog:

“Running over 48 hours from January 20 – 22, the Global Game Jam will bring developers across the world together to build games. Last year, the event had grown to over 630 sites in 93 countries with over 30,000 jammers, and this year seems set to build on that!

As proud sponsors of the event again this year, we want all of the UE4 developers taking part to be able to get the most out of the engine. In light of this, we asked Mathew Wadstein (well known for his YouTube training videos) to come up with a tips and tricks series. Mathew has created a massive, 27 video, UE4 game jam series to help those participating in the GGJ be more successful with their UE4 games.

This series has many helpful videos including:

  • Quickly building a menu
  • Cooking and packaging
  • Audio tips
  • Materials and HUDs
  • How to use all of our templates
  • Much, much more!”

The entire playlist can be reached here. For more information, follow this link.

by admin

Unreal Engine 4.15 Preview

January 19, 2017 in Game Engines, News, Unreal Engine by admin

Epic Games has published on their forum the list of improvements available for Unreal Engine 1.15. A Preview of the upcoming 4.15 release is available now on the Launcher and Github.

This list provides a brief summary of updates in this Preview which may benefit from additional testing. Full release notes will be made available with the final 4.15 release. We may not be able to provide additional information about updates at this time.

Read the rest of this entry →

Build your PiZero Swarm with OTG networking

January 7, 2017 in Hardware, Raspberry PI, Tips & Tricks, Tutorial, Uncategorized by Adrian Marius

The Raspberry Pi Zero can act as a network adapter via a USB cable enabling you to carry around a Docker Engine and full Linux OS in your pocket.

Here is the article on building a PiZero Docker Swarm :

View image on Twitter

The HackerBoards.com New Year’s 2017 guide to Linux friendly single board computers has now been published.

January 7, 2017 in Hardware, Linux, Raspberry PI by Adrian Marius

The HackerBoards.com New Year’s 2017 guide to Linux friendly single board computers has now been published. The project turned up 90 boards, ranging from powerful media playing rigs to power-sipping IoT platforms. A detailed analysis with summaries of each board is at http://hackerboards.com/ringing-in-2017-with-90-hacker-friendly-single-board-computers/, and a spreadsheet that compares the key specs of all 90 boards is at http://hackerboards.com/hacker-friendly-sbcs-table-170101.html

by admin

Bitbanged USB stack on a sub-$1 Cortex M0+ MCU

January 5, 2017 in ARM, Devices, DIY, Hardware, Microcontroller, Tips & Tricks, Tutorial by admin

A nice presentation about how to get USB running on an sub-$1 Cortex M0+ ARM microcontroller that has no built in USB hardware. The talk describes the implementation of a new bitbanged USB stack, starting with a primer on the USB PHY layer and continuing up the stack, concluding with “Palawan”, a feature-complete open-source bitbanged USB Low Speed stack available for use on microcontrollers priced for under a dollar. We’ll go over requirements for getting USB to work, as well as talking about USB timing, packet order, and how to integrate everything together.

Skip to toolbar