Jump to content

ray tracing in c programming

- - - - -

  • Please log in to reply
3 replies to this topic

#1
zeybekli

zeybekli

    Newbie

  • Members
  • Pip
  • 4 posts
i have a project in college here.
i have draw a 3d sphere and work colours on it.
i still dont how to start it.

what they said firs i have to learn the mathematik formulas to do do it firs before programming.(by starting drawing a line,..., than generating a pixel ,...,..,etc)
generating algoritma and programming.and what they said the language is not importand it can be with any of language like basic, delphi, c,etc

so pls just pls somebody tell me how should where should i start.can you offer me a documents, Tutorials,..

Edited by zeybekli, 19 April 2010 - 11:13 PM.


#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Do you know linear algebra?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
zeybekli

zeybekli

    Newbie

  • Members
  • Pip
  • 4 posts
no idont

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Step one: learn some linear algebra. That's the mathematics used by ray tracing. You don't need to learn everything, but be comfortable with matrix manipulations and arithmetic. You'll also need to create functions to handle that in your program.

Step two: make sure you understand how the above relates to modeling ray tracing.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users