Generate a terrain and render it:

- generate a 2D-array of 100x100 heights (called height map),

- calculate the normal vector to each entry(or tile) of the grid, (use the cross product of the any two normalized vectors from the tile)

- calculate the color for each tile (use the dot product of the normalized light vector and the normalized normal vector) (the cosine value obtained is considered proportional to the desired color)

-render the terrain (tradditional opengl used glBegin, glEnd())

Subject | Computer |

Due By (Pacific Time) | 11/03/2014 12:00 pm |

Tutor | Rating |
---|---|

pallavi Chat Now! |
out of 1971 reviews More.. |

amosmm Chat Now! |
out of 766 reviews More.. |

PhyzKyd Chat Now! |
out of 1164 reviews More.. |

rajdeep77 Chat Now! |
out of 721 reviews More.. |

sctys Chat Now! |
out of 1600 reviews More.. |

sharadgreen Chat Now! |
out of 770 reviews More.. |

topnotcher Chat Now! |
out of 766 reviews More.. |

XXXIAO Chat Now! |
out of 680 reviews More.. |