Browsing '2013': Students starting in 2013

Web Servers!

This blog post and probably the next one will be about winsock servers.
Winsock like many other ways to code servers is a hassle and are not worth the trouble unless you are seriously considering creating one.
This post will only outline my idea of how the server is going to be designed in a simple way to interact with a user trying to connect to the server.
I will show some code but as I am only at the accept phase I […]

/ Comments Off on Web Servers!
Program: Programming

Web Servers!

This blog post and probably the next one will be about winsock servers.
Winsock like many other ways to code servers is a hassle and are not worth the trouble unless you are seriously considering creating one.
This post will only outline my idea of how the server is going to be designed in a simple way to interact with a user trying to connect to the server.
I will show some code but as I am only at the accept phase I […]

/ Comments Off on Web Servers!
Program: Programming

Planning the next step. (Week 49)

So this week I haven’t done much actual programming. I have just been reading up about different programming patterns and I have also been planning about how to create a server solution for the game we need to make in assignment 3.
Making a game with a multiplayer solution is only needed if you aim for a higher grade, which I do.
So I’m reading up about different things to think about when it comes to game networking. I first […]

/ Comments Off on Planning the next step. (Week 49)
Program: Programming

Planning the next step. (Week 49)

So this week I haven’t done much actual programming. I have just been reading up about different programming patterns and I have also been planning about how to create a server solution for the game we need to make in assignment 3.
Making a game with a multiplayer solution is only needed if you aim for a higher grade, which I do.
So I’m reading up about different things to think about when it comes to game networking. I first […]

/ Comments Off on Planning the next step. (Week 49)
Program: Programming

Programming III Week 4

This week we have textured out first cube, illuminated it and we have created a simple icon to place on our UI.
To create the shading on out cube we used a technique called Phong shading. To create a reflection that looks realistic enough we have to illuminate out box in three different ways, first off we need to apply the ambient lighting, this light doesn’t have a source and it will illuminate the model the exact same way from all […]

/ Comments Off on Programming III Week 4
Program: Programming

Programming III Week 4

This week we have textured out first cube, illuminated it and we have created a simple icon to place on our UI.
To create the shading on out cube we used a technique called Phong shading. To create a reflection that looks realistic enough we have to illuminate out box in three different ways, first off we need to apply the ambient lighting, this light doesn’t have a source and it will illuminate the model the exact same way from all […]

/ Comments Off on Programming III Week 4
Program: Programming

Programming III Week 4

This week we have textured out first cube, illuminated it and we have created a simple icon to place on our UI.
To create the shading on out cube we used a technique called Phong shading. To create a reflection that looks realistic enough we have to illuminate out box in three different ways, first off we need to apply the ambient lighting, this light doesn’t have a source and it will illuminate the model the exact same way from all […]

/ Comments Off on Programming III Week 4
Program: Programming

Programming III Week 4

This week we have textured out first cube, illuminated it and we have created a simple icon to place on our UI.
To create the shading on out cube we used a technique called Phong shading. To create a reflection that looks realistic enough we have to illuminate out box in three different ways, first off we need to apply the ambient lighting, this light doesn’t have a source and it will illuminate the model the exact same way from all […]

/ Comments Off on Programming III Week 4
Program: Programming

Web server finished

The programming adventures continue! I finished the second assignment (a web server built from scratch), which hopefully gets a pass, which would allow me to put all focus into the last assignment!
First of all, I apologize for not writing a post the week before this. I was exhibiting Flash & Crash at DreamHack Winter, and never really found the time to sit down and write a post. When I got home on the Monday, I had forgotten about it.
So yeah, […]

/ Comments Off on Web server finished
Program: Programming

Web server finished

The programming adventures continue! I finished the second assignment (a web server built from scratch), which hopefully gets a pass, which would allow me to put all focus into the last assignment!
First of all, I apologize for not writing a post the week before this. I was exhibiting Flash & Crash at DreamHack Winter, and never really found the time to sit down and write a post. When I got home on the Monday, I had forgotten about it.
So yeah, […]

/ Comments Off on Web server finished
Program: Programming

Weekly programming – The “client” concept (v49)

I’d like to describe a concept connected to code structure this week. I was introduced to this concept in a book I’m currently reading called “More Effective C++: 35 ways to improve your programs and designs” by Scott Meyers. It’s an optional book for our current course in programming.

The concept in a nutshell is making classes with it’s “clients” in mind. Clients are the programmers (perhaps yourself included) and other classes or parts of the code that will use the said class. You might […]

/ Comments Off on Weekly programming – The “client” concept (v49)
Program: Programming

Weekly programming – The “client” concept (v49)

I’d like to describe a concept connected to code structure this week. I was introduced to this concept in a book I’m currently reading called “More Effective C++: 35 ways to improve your programs and designs” by Scott Meyers. It’s an optional book for our current course in programming.

The concept in a nutshell is making classes with it’s “clients” in mind. Clients are the programmers (perhaps yourself included) and other classes or parts of the code that will use the said class. You might […]

/ Comments Off on Weekly programming – The “client” concept (v49)
Program: Programming

Weekly programming – The “client” concept (v49)

I’d like to describe a concept connected to code structure this week. I was introduced to this concept in a book I’m currently reading called “More Effective C++: 35 ways to improve your programs and designs” by Scott Meyers. It’s an optional book for our current course in programming.

The concept in a nutshell is making classes with it’s “clients” in mind. Clients are the programmers (perhaps yourself included) and other classes or parts of the code that will use the said class. You might […]

/ Comments Off on Weekly programming – The “client” concept (v49)
Program: Programming

Weekly programming – The “client” concept (v49)

I’d like to describe a concept connected to code structure this week. I was introduced to this concept in a book I’m currently reading called “More Effective C++: 35 ways to improve your programs and designs” by Scott Meyers. It’s an optional book for our current course in programming.

The concept in a nutshell is making classes with it’s “clients” in mind. Clients are the programmers (perhaps yourself included) and other classes or parts of the code that will use the said class. You might […]

/ Comments Off on Weekly programming – The “client” concept (v49)
Program: Programming

Programming 3 Lighting

Hello, this week we have been going through how to properly render something in dirextX, there are several things to be considered. In my recent post I talked about creating a box and how we calculate it. But in order to make our box act as if it were in the real world there are a few things we must code, a light source is one major aspect in order to get an object to feel more real.
In directX there […]

/ Comments Off on Programming 3 Lighting
Program: Programming

Programming 3 Lighting

Hello, this week we have been going through how to properly render something in dirextX, there are several things to be considered. In my recent post I talked about creating a box and how we calculate it. But in order to make our box act as if it were in the real world there are a few things we must code, a light source is one major aspect in order to get an object to feel more real.
In directX there […]

/ Comments Off on Programming 3 Lighting
Program: Programming

Programming 3 Lighting

Hello, this week we have been going through how to properly render something in dirextX, there are several things to be considered. In my recent post I talked about creating a box and how we calculate it. But in order to make our box act as if it were in the real world there are a few things we must code, a light source is one major aspect in order to get an object to feel more real.
In directX there […]

/ Comments Off on Programming 3 Lighting
Program: Programming

Programming 3 Lighting

Hello, this week we have been going through how to properly render something in dirextX, there are several things to be considered. In my recent post I talked about creating a box and how we calculate it. But in order to make our box act as if it were in the real world there are a few things we must code, a light source is one major aspect in order to get an object to feel more real.
In directX there […]

/ Comments Off on Programming 3 Lighting
Program: Programming

Game Programming III – the fourth week, webserver part one (1)


Hello!
This week I’ve been mostly working on the second assignment for this course, which is to make a simple web server. The web server needs to use the TCP protocol and handle HTTP/1.1 headers. The first thing you need to make a web server is to make a socket for it. A socket is, in short, an IP adress and a port number that are bound together to make an endpoint for communication over a network. I will make use […]

/ Comments Off on Game Programming III – the fourth week, webserver part one (1)
Program: Programming

Game Programming III – the fourth week, webserver part one (1)


Hello!
This week I’ve been mostly working on the second assignment for this course, which is to make a simple web server. The web server needs to use the TCP protocol and handle HTTP/1.1 headers. The first thing you need to make a web server is to make a socket for it. A socket is, in short, an IP adress and a port number that are bound together to make an endpoint for communication over a network. I will make use […]

/ Comments Off on Game Programming III – the fourth week, webserver part one (1)
Program: Programming

Game Programming III – the fourth week, webserver part one (1)


Hello!
This week I’ve been mostly working on the second assignment for this course, which is to make a simple web server. The web server needs to use the TCP protocol and handle HTTP/1.1 headers. The first thing you need to make a web server is to make a socket for it. A socket is, in short, an IP adress and a port number that are bound together to make an endpoint for communication over a network. I will make use […]

/ Comments Off on Game Programming III – the fourth week, webserver part one (1)
Program: Programming

Game Programming III – the fourth week, webserver part one (1)


Hello!
This week I’ve been mostly working on the second assignment for this course, which is to make a simple web server. The web server needs to use the TCP protocol and handle HTTP/1.1 headers. The first thing you need to make a web server is to make a socket for it. A socket is, in short, an IP adress and a port number that are bound together to make an endpoint for communication over a network. I will make use […]

/ Comments Off on Game Programming III – the fourth week, webserver part one (1)
Program: Programming

Started on Assignment part 2

I finally got started ever so slightly on the second part of the assignment today. On the morning I started piecing together parts from our two earlier pieces of code to make a webbserver. The first part is the UDP Peer to Peer chat we made which includes some functions and structure used to connect between to users over the Internet. The second part is a demonstration given to us which takes the html page google.com and displays its properties […]

/ Comments Off on Started on Assignment part 2
Program: Programming

Started on Assignment part 2

I finally got started ever so slightly on the second part of the assignment today. On the morning I started piecing together parts from our two earlier pieces of code to make a webbserver. The first part is the UDP Peer to Peer chat we made which includes some functions and structure used to connect between to users over the Internet. The second part is a demonstration given to us which takes the html page google.com and displays its properties […]

/ Comments Off on Started on Assignment part 2
Program: Programming