|
|
The original Processing (Java) code:
http://www.openprocessing.org/sketch/17344
My POVray code is attached.
I tried to convert between the two langauges as closely as I could, However the
results are different: in the POVray version there are lines that criss-cross,
marring the scene. You can see here:
http://i421.photobucket.com/albums/pp292/SharkD2161/Support/flowlines_test_lines_zps3d7bbcf0.png
My suspicion is that there is a difference between how POVray and Java handle
trigonometric (sin, cos, tan, etc.) function when the input is greater than 2 *
pi.
That's just a hunch, though, and I may be completely wrong.
Post a reply to this message
Attachments:
Download 'flowlines_test_lines.pov.txt' (4 KB)
|
|