Encerrado

Write some Software

Assume we have a camera at P=[1,1,1] which is looking at [0,0.0]', and we have a light at Q=[-3,20, -1]' which we want compute shadows for. To do that, we render a scene with the camera at Q looking at [0,0,0]', with up defined, as in the class discussion, as the projection of [0,1,0]' onto the plane with normal [-3,20,-1]'/norm([-3,20,-1']), and save the Z buffer, Zl. Now to determine if a point is in the shadow with respect to that light we compare the coordinates of that point in the light generated frame to the corresponding value in the Zl buffer. If the value in the Zl buffer is less than the z coordinate of the point, that point is in the shadow. But, since we are rendering in the camera frame the coodinates of our points are given in the camera frame coordinates. Therefore to use the Zl buffer we need a transform that takes the camera frame into the light frame.

Calculate that transform. Your answer can be a floating point 4x4 matrix or a symbolic 4x4 matrix. However to receive credit for the problem you must show enough intermediate calculations to indicate how the problem is solved.

Habilidades: Programação C, Design Gráfico

Ver mais: symbolic programming, render software, projection design, matrix programming, intermediate programming, design rendering software, calculate and write, graphic design of write up, write p, software defined, light shadow, rendering scene, matrix problem, projection plane, matrix 4x4, software rendering, coordinate points, compute normal points, matrix software, problem need solved, software write websites idea, software write book images, software write books, software write protection, free software write book

Acerca do Empregador:
( 3 comentários ) new brunswick, United States

ID do Projeto: #6844453

1 freelancer está ofertando em média $30 para este trabalho

ditzdragos

I can help you with this project if you don't need graphical design. I am very good at algorithms and I can provide you the solution in any programming language you need. Private message me with the programming languag Mais

$30 USD em 1 dia
(0 Comentários)
0.0