POV-Ray : Newsgroups : povray.text.scene-files : rheotomic surfaces flowlines test : Re: rheotomic surfaces flowlines test Server Time
18 Apr 2024 19:35:20 EDT (-0400)
  Re: rheotomic surfaces flowlines test  
From: posfan12
Date: 3 Sep 2013 23:30:01
Message: <web.5226a8327c5b93966c400f6f0@news.povray.org>
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)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.