top of page

Week 6 : Time Trench.

Class 18 It was a Sunday, woke up early, around 8 am, well that's too early for me. went and made that tea. arranged my cloths and did a few stuff for the work at the company. Prepared myself to leave the home and I left the place I stay. I reached at the class a few minutes late. Anyways I reached the class. they were going through the Journal entries each of us have done. I can hear my favorite jazz music compilation playing the background. I was a bit surprised to see it. That day we demonstrated our game progress to our tutor. he asked a few question regarding who did what and such. once thats was done. I had to have an urgent meeting at my workplace. I left my class leaving my things at the desk. ran, took the metro and reach the place, ran again to reach the office. I had the meeting. ran back did the same thing. reach back at the class two of my buddies were still waiting at the class till I get back. One of them left soon after, I waited to get some of my work stuff done once I reached the class room, but the network was not letting me through, I was exhausted and dry. I left it. walked with my buddy to the food court to just chill and have something. we talked, had something to bite and left. What proceeded was a hell of a days, busy as hell. Well I just realized that I wont budge under pressure. That week on Thursday I got done.


Class 19

It was a Thursday, speaking of what we learned at class. we learned to upload the server to Heroku server. Heroku is a free server provider who only charge once the traffic goes above a certain threshold. for to upload the server we pushed the changes to the github, then we made an account in Heroku website and created a added the project, then we connected the github repo of the uploaded server so that heroku can take the data from github and deploy the server.

Then our tutor told us that keeping the .env files accessible and raw is a serious security threat as it exposes several sensitive information about the connections and backend and database. Instead what we are advised to do was to add the data inside the .env files into heroku config vars.


Class 20

It was a Saturday, Month of March the year 2021. We were introduced the topic of the lecture which was graphic programming and rendering pipeline. He started by detailing about the history of the GUP and rendering. backing the early days of digital rendering there were no specialized unity of piece of hardware dedicated to support the process the generation and display of pixels on the screen. In those days the CPU itself was used the rendering and displaying of images in the screen, which was a very slow process. later GUP chips were made to support and process the display data in a much faster phase that what a CPU would ever be capable of achieving. Then the after that the main issue was that the the lack of a consistent method of communicating with the GPU card, which was solved by the arrival of OpenGL and DirectX. In the later days of today OpenGL stopped the development and moved to Vulcan and DirectX11 is discontinued and is called DirectX12 which are completely different to its predecessors. The he moved on to explaining about how models and 3D graphics objects gets rendered on to the screen. the model data is stored as Vertices, Normal, UVs etc. which are all arrays of floats. The vertex data is pushed into the GPU memory and is used to draw triangles, how gets rasterized and gets colored by the fragment section of the shader.

Fig 1


The we wen on explain how the vertices are modified to render the model onto the screen. the vertex data gets multiplied by three Matrices before being rasterized these matrices are Model => View => Projection matrix. Multiplying the vertex which is in local space with the Model matrix brings it to World Space and multiplying a vertex in world space brings it to View space which is within the frustum of then camera, were the position of the vertex now will be relative to the position of the camera which is the origin of this transformation space. then multiplying that with the Projection matrix brings it to screen space applying the Perspective Divide which results in the illusion of depth.


Fig. 2

Then he explained how matrix multiplications are done and the kinds of matrices used commonly in graphic programming, which is Column-Major-Matrix. Then he went on explaining what are the composite elements of a transformation matrix. A transformation matrix is produced my multiplying three independent matrices with singular elements in the order Scale x Rotation x Translation . The once combined matrix can be use to define a new space.

The individual compomemts of the matrix are these.


Fig .3


Fig 4



Fig 5


References



Fig 3 & Fig 4 Retrieved from

http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/


Fig 5 Retrieved from

https://stackoverflow.com/questions/30145414/rotate-a-3d-object-on-3-axis-in-javafx-properly

Recent Posts

See All
Week 13 : El Fin...

Class 39 : We join in the class on Sunday. There's is nothing much to teach from our tutors side. all of us guys are doing our curricular...

 
 
 
Week 12 : Ending it rightly...

Class 36 : It was a Sunday. a busy morning. I showed up for the class, the tutor asked us let him know if we need any support with the...

 
 
 

Comments


  • LinkedIn
  • YouTube

© 2017 by Alwin Joshy. Proudly created with Wix.com.

bottom of page