13 April, 2016

VR with AFrame vs Three.js vs Babylon.js
By: Matthew Jackson

It is hard to compare three great evolving libraries. They all grow and change, but it is good to know what is working now and what isn't. 

BabylonJS

This library probably is evolving faster than ThreeJS. It is always hard to tell, but they both don't have that many contributors besides their founders. It does look like Babylon had more updates recently and s more active community. 

It is worth noting that I did try BabylonJs a few months ago with Google Cardboard and it...

Tags: AFrame

Read More
16 February, 2016

AFrame Clickable Entities
By: Matthew Jackson

A-Frame tutorials use "document.querySelector"; however, using document.querySelectorAll, has a bug that doesn't apply. Also if you want to affect newly added objects, querySelector was having issues (Edit: It is working now).

Luckily, we have a workaround to use jQuery.

$("body").on("click","a-entity",function(){
      console.log("Clicked!");
      this.setAttribute('material', 'color',...

Tags: AFrame

Read More
30 September, 2015

ICE4J Networking Part 2 (HTTP Post/Get with Java)
By: Matthew Jackson

Jitsi logoHow do you get your information to the wesite?

Below is some simple code that I wrote that will allow you to take anray where the first index (postParams[i][0]) is the paramater name, the second paramater (postParams[i][1]) is the paramater value. They must both be formatted to strings since that is how the post request is formatted. 

public static String postRequest(String targetURL, String[][] postParams) {
        URL url;
       ...

Tags: ICE4J, Java, Networking

Read More
17 April, 2015

ICE4J Networking Tutorial Part 1
By: Matthew Jackson

Jitsi LogoPlease read a simple understanding of STUN, TURN, & ICE if you are new to the concepts

Get the Ice4J Library: If you don't have the ice4j jar or source, you can get it from [the official repository here on Google] here on GitHub! I also have a github repository with a few changes I made, but I don't keep it up to date with the official repository yet, so use the official repository for now, I noticed that the original library does limit receivable chunks of data to...

Tags: ICE4J, Java, Networking

Read More
1 2 3 4 5