octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a light source?


From: Julien563
Subject: Re: How to create a light source?
Date: Sun, 16 Oct 2016 06:45:34 -0700 (PDT)

The principle of simulation follows the "ray tracing". 
Steps are:
 - Defining a two-dimensional matrix M1 which represents the background
visible for the observer without intermediaries masses;
 - Masses of deviant placed at a certain distance from the observer;
 - From the observer, it is all the matrix cells (x, y)
thereby define the angles in x and y;
- Passing at the mass level, the angles are changed;
- The radius derivative arrives at the plane of the matrix M1 to
coordinates (x2, y2);
- Are plotted at (x, y) of the M2 matrix that records what
which is actually reached by the radius of the pixel matrix M1 (x2, y2);

 and so on for all x, y coordinates of the starting template.

See here, for much informations :
http://www.epm6604b.be/lentille/lentille_theorie.html





--
View this message in context: 
http://octave.1599824.n4.nabble.com/How-to-create-a-light-source-tp4680142p4680149.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]