Feeds:
Posts
Comments

Archive for the ‘Introduction to 3D Graphics’ Category

W12: Demo

I have been concentrating on optimising my renderer and my demoas mentioned before, rather than implementing new features. I now have two models displaying on screen and have added user input so the user can toggle between different drawing and lighting modes with the press of a key.
LockBitmap()
One of the problems I had was that [...]

Read Full Post »

W11: Demo

Due to the renderer being due in next week, I have decided to implement the demo features before considering to do texturing (even though I have started on some texturing). I would like to have 2 models on the screen at the same time and different keys assigned to different effects (i.e. gouraud, wireframe, etc…), [...]

Read Full Post »

Last week I finally completed rasterization. Rasterization seems quite simple (dare I say) when looking back at it, but whilst trying to do it, it did give me a bit of a headache. The main reason why it gave me a headache was the fact that I was searching through my code, debugging continuously looking [...]

Read Full Post »

For the past two weeks I have been stuck on rasterization. I understand the concept, however I am having troubles getting it to show the model properly. At the moment the model is displaying, however some polygons on the model aren’t being displayed at all; every other polygon to be precise.
I had various troubles with [...]

Read Full Post »

Directional, Point and Ambient Lighting have finally been implemented. In my previous Introduction to 3D Graphics post, I mentioned that the model look weird whilst rotating. This was due to the fact that I was rendering things in the wrong order. In order for my lighting to work I had to do rotation first, then [...]

Read Full Post »

I have finally implented Directional Light and it looks like it is working fine. Here is a video of my current progress…

The model seems to be a bit weird whilst rotating. I am unsure why it looks odd, but hopefully I’ll find the error, as I am more than certain that [...]

Read Full Post »

I have now implemented back-face culling, depth-sorting and put colour on the model (as the title of this blog post would suggest). The main problem I have had so far is over-complicating some of the tasks, which when done seem quite simple when looking back; though I do know the future tasks will be a [...]

Read Full Post »

Last week I finally got something on screen and fixed the rotation issue; well didn’t fix it as it was already technically correct. It was to do with the perspective and how close to the screen the model was, which made it look out of place whilst it rotated. I still need to implement backface [...]

Read Full Post »

I have implemented rotation, so the cube in the window now rotates, however by doing this I have noticed that the shape seems to be slightly changing depending on the axis I rotate it on. I am still unsure as to why this is happening or if it is to do with the order I [...]

Read Full Post »

Finally I managed to get something on screen. It was one of those programming days where everything seemed logically right, but when I ran the program it showed a blank screen with no model.
I first realised that there was an unusual blue line appearing at the top of the window. I originally thought it was [...]

Read Full Post »

Older Posts »