On Tue, Oct 9, 2012 at 8:13 AM, Alexandre Becoulet
<address@hidden> wrote:
On Tuesday 09 October 2012 05:56:16 Viktor Malyarchuk wrote:
Hi,
> Actually, ray tracing wise "stop->set_curve()" is working fine. The issue
> is when I do
>
> Io::RendererSvg renderer("layout.svg", 800, 400);
> sys.draw_2d_fit(renderer);
> sys.draw_2d(renderer);
>
> stop is still drawn as a flat line, not as a sphere. Is there any way to
> correct this?
Have a look to goptical_core/src/sys_stop.cc
The "intersect" function is used for raytracing and the "draw_*_e" functions
are used for 2d and 3d rendering. You may want to comment out these drawing
functions so that those in the Sys::Surface class are used instead.
May I ask you why do you need a non flat stop?
Best,
--
Alexandre