Đã hoàn thành

Create a Ray Tracer using C/C++.

Build a Ray Tracer using C/C++. The system only needs to handle FURTHER CLARIFICATION HAS BEEN ATTACHED PLEASE ALSO READ IT CAREFULLY.

the rendering of ellipsoids, with a fixed camera situated at the origin in a right handed coordinate

system, looking down the negative z-axis. Local illumination, reflections, and shadows will also need

to be implemented.

The program should take a single argument, which is the name of the file to be parsed. Make sure your

executable has the name “[login to view URL]”and that we can run it as in the following example:

> [login to view URL] [login to view URL]

We will use a script to generate

INPUT FILE

The content and syntax of the file is as follows:

Content:

a. The near plane**, left**, right**, top**, and bottom**

b. The resolution of the image nColumns* X nRows*

c. The position** and scaling** (non-uniform), color***, Ka***, Kd***, Ks***, Kr

*** and the

specular exponent n* of a sphere

d. The position** and intensity*** of a point light source

e. The background color***

f. The scene’s ambient intensity***

g. The output file name (you should limit this to 20 characters with no spaces)

* int ** float *** float between 0 and 1

Syntax:

NEAR <n>

LEFT <l>

RIGHT <r>

BOTTOM <b>

T OP <t>

RES <x> <y>

SPHERE <name> <pos x> <pos y> <pos z> <scl x> <scl y> <scl z> <r> <g> <b> <Ka> <Kd> <Ks> <Kr> <n>

… // up to 14 additional sphere specifications

LIGHT <name> <pos x> <pos y> <pos z> <Ir> <Ig> <Ib>

… // up to 9 additional light specifications

BACK <r> <g > <b>

AMBIENT <Ir> <Ig> <Ib>

OUTPUT <name>

All names should be limited to 20 characters, with no spaces. All fields are separated by spaces. There

will be no angle brackets in the input file. The ones above are used to indicate the fields.

Kĩ năng: Lập trình C, Lập trình C#, Lập trình C++, Java, Kiến trúc phần mềm

Xem nhiều hơn: create flyers trifolds using adobe photoshop, create floor plan using autocad, create online admission using php javascript html, ray tracing shadows, how to write a ray tracer, recursive ray tracing, basic ray tracing algorithm, ray tracing code c++ opengl, ray tracing in c, ray tracing refraction c++, ray tracing tutorial, create dyanamic website using php, create website voting using java mysql tomcat, create contact form using formailpl, create simple banner using css, create registration form using mysql, create report php using pdf, create xml file using mysql, create sms website using aspnet, create category structure using mysql php

Về Bên Thuê:
( 1 Nhận xét ) Richmond Hill, Canada

ID dự án: #18241276

Được trao cho:

donghyukchung

Dear client I have a great skills and experiences in ray tracking. I can perfectly complete your project in good time. If you interest in my bid, please give me a message. Thanks.

$150 CAD trong 3 ngày
(25 Đánh Giá)
4.4

4 freelancer đang chào giá trung bình $153 cho công việc này

goldsea808

hello,how are you. i read your bid carefully. i am c/c++ expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact Thêm

$160 CAD trong 3 ngày
(17 Nhận xét)
5.7
dungforever

hi bro i read your description carefully and i am so interested in your project. i am confident in your project and i can finish it on time. i have over 10 years good experience in c++ programming. C++ is no matter Thêm

$50 CAD trong 0 ngày
(25 Nhận xét)
4.9
C3guru

Hello, it was very interesting to read your description and I want to support you. Well, talking about me, I learned how to program in C/C++ and Java language when I was 10. C, C++, C# is my first language in program Thêm

$250 CAD trong 1 ngày
(9 Nhận xét)
4.3