[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Goptical] non flat curve for Sys::Stop
From: |
Alexandre Becoulet |
Subject: |
Re: [Goptical] non flat curve for Sys::Stop |
Date: |
Tue, 09 Oct 2012 15:13:41 +0200 |
User-agent: |
KMail/4.9 (Linux/3.5.3-1-ARCH; KDE/4.9.0; x86_64; ; ) |
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