Wednesday, November 18, 2015

Rooting Nexus 6P

So I haven't even had this phone for a week and the root-junkie inside me had to get this phone rooted and bootloader unlocked to explore the awesome kernel tweaks and new features that are already out there. Following heisenberg I was able to get it rooted in under 20 minutes... That was lame. My htc one m8 got softbricked about 4 times and hard bricked once in the process. Already got a better kernel in there for efficiency and a cool multitasking feature not seen on a whole lot of phones.


I mean I personally find this awesome, and only time will reveal the other tweaks that are out there.

I've had no time to work on my cube project as I've picked up more hours at work. So that will probably have to wait until this semester wraps up to resume work on it.

Monday, October 26, 2015

Embedded Systems

Last night when I was working on my homework for embedded systems I did something fun. I got the led's to blink in a fun strobe like pattern.




It was quite the fun little project. All of it is done in assembly. I generate a pseudo random color by decrementing the bits by 7 starting from FF

Cube Update 3

Been super busy with school work, and still learning so progress that is made is slow. The camera movement is finally working! Hurray! However this is short lived as I'm going to start rewriting the code to utilize quaternions. Quaternions was developed by a mathematician in the 1800s named Hamilton that extended complex numbers. It's uses include rotations along axes. Here's a demo of the camera working.


Using the lectures from UC Davis and some sample code I found online, I will hopefully have quaternions down soon and implemented successfully.


I also hope to restructure my engines rendering. Right now instead of sending the vertex buffer to the shader I'm just drawing a primitive for every cube.


I got in touch with @AlwaysGeeky and spoke to him about his recent open sourcing of his voxel "Hello World" app in OpenGL. I wanted to know how many years of experience he had in graphic design, if he worked on other projects, etc. He replied promptly and his responses couldn't have made me happier. I definitely see myself working with graphics in the future, and I'm excited to learn all there is to know.

Thursday, September 24, 2015

Cube Project 2

So I finally have a video of my cube project. It's not that complex (yet), but I feel it is something to show off.

  • First of all I have implemented a instance matrix to copy one cube and render it in a 5x5x5 cube.
  • Second I have gotten the view matrix to change it's Z and X direction with keyboard input
  • Third I have fixed up my delta time method to render the animation at a constant speed
  • I have a working frames per second counter (will demo that when I have figured out rendering fonts/text to the screen)
  • Culling/CounterClockwiseCulling/No Culling has been set to toggle with C
  • Changing the Fill Mode can be changed with V (shows vertices/triangles/points)
I know it's not much to show off; however, I have lots planned for it. I am currently auditing the CSCI 566 class at school which is the graphics course. They are learning webgl which is a tad different because it's all done on a <canvas> but the graphics concepts are still the same. To come next....

  • Using mouse input to rotate yaw and pitch of the viewmatrix (camera/eye).
  • Work on the chunk loader a bit
  • And get more hyped about this project!

Saturday, August 15, 2015

Kuffner Family Website 3

Well today was a good day for the website project. Got it looking a bit more modern and implemented a feature that was requested by my family "Also, bringing the older/historical family pictures for everyone to see is so lovely, wonder if there would be a way to have them captured digitally on our family site and then folks could print off what they wanted...they are such a treasure. Perhaps we could post a note on the site about 'historical/older pix' so others could upload and then others could scan and print the images they wanted?" So my implementation was to use the same dropzone.js script but modify it to point to another folder so that way there could be individual folders for reading from to display and downloading from.
So that is my implementation. On the banner above the pictures you can toggle between the two folders of pictures. Other than that, I cleaned up the looks of the site so it is a bit more contemporary. 
Features left to still add:
  -Download All Photos Button
  -Get a more material design going on with enhanced animations
  -Add some more color that fits, will reference ^

Overall, good progress was made and I'm really happy with it's progress.

Tuesday, August 11, 2015

Kuffner Family Website 2

Today I thought it was a good day to make some progress on the website. Where to begin though.... I wanted all the images to dynamically load onto the page when users upload them as I'll have lots of family members uploading photos so that meant busting out the ajax to load the photos to the html document. The photos are relatively high resolution so when I originally scaled them down it still took quite a long time to load them. After speaking with my colleague he recommended using thumbnails. So looking up how to make a thumbnail php script I finally got one working to convert all pictures in one folder on the webserver to a new folder filled with smaller thumbnails. Other than that and some on hover effects with the mouse to scale the image so you have some reactive feedback on navigating the website that's what I got accomplished today. I relearned ajax (one of the coolest parts of web development to me) and got a pseudo functional website. There's still much to handle when there are hundreds of pictures, I can't just have them populating down the page. One idea was to have multiple pages of about 20 photos or so and use ajax to populate those pages by pulling from the image bank, for another time though.

Oh, and spent some time working on the cube project today as well. Going to be posting that soon.

Sunday, August 9, 2015

Kuffner Family Website 1

So I was contracted by our family to make a website for uploading the photos taking at the Kuffner family reunion. I wanted to make something that was both desktop friendly and mobile friendly.
Desktop Site
Mobile Site

I know it's not the most aesthetically pleasing website, but it will get the job done for those who don't understand a flashy website... (I have plenty of relatives in their 90s so the simpler the better, and I suppose the simpler the better goes for most websites). I used a cool plugin called dropzone.js which can handle all the file uploading across platforms. Next I wanted to get some custom font scaling for the mobile version so that way the text wasn't super small and my friend Shane showed me how using the @media rule. Over all it was a simple project that was accomplished in one night.

Overall it was a great trip to Montana and I'm so lucky to have such nice relatives =D

Saturday, July 25, 2015

Cube Project 1

To begin, I started reading two books that got my knowledge meter up on OpenGL. Also using (http://learnopengl.com/) and (https://www.youtube.com/watch?v=6-9XFm7XAT8 (a three hour lecture from some university)) I was getting the ropes down. Getting through that lecture was kinda rough, so many new terms and concepts to understand. After all, programming can be just throwing your head into a wall until the wall seems to fade out and you wake up with the epiphany of just climbing the damn thing. After learning what OpenGL and the power it has cross web, linux, mac, and windows I felt like I should take a glance at DirectX. After all, it is what cube world was made with so I'm not going to pretend that that didn't have an impact on my final decision to begin work with direct3d; however, it was not the only reason. DirectX felt to me more standardized (probably because it is contained just for windows...) So with a couple days of studying from ZophusX I was up and running with my Cube Project.
http://zophusx.byethost11.com/about.php

Introduction

This is an introduction to my blog I am starting regarding my programming projects. Whether it's from school (CSU Chico) or my personal projects, I will be documenting the process of my programming. Currently in the works, I am working on a voxel engine of my own. I hope to educate anyone who visits about the programming that interests me personally. With all that said and done, it's time to move onto the first entry for my Cube Project.