|
From: Egon W. <el...@ca...> - 2003-02-26 17:16:14
|
On Wednesday 26 February 2003 4:56 pm, Miguel wrote: > > PROPOSAL > > > > A API to be implemented by all CDK renderers and possible others, e.g. > > Jmol's 3D renderer. The API would define how the renderer can be > > instantiated and how a molecule can be passed to the viewer that should > > be displayes by the viewer. > > In general, sounds like a good idea. > > > At this moment CDK includes two working renderers (and one that does not > > work, which is Renderer3D): > > Why doesn't the Renderer3D work? Because it is only a partial implementation which I wrote when I felt I had to port the Jmol renderer to CDK ;) Which failed... > > AcceleratedRenderer3D > > Presumably this renderer requires Java3D. Does the (broken) Renderer3D > also require Java3D? No, but it is seriously broken... The Jmol renderer will replace it. > > and Renderer2D. > > How well does this renderer work? > Is this the one that you wanted me to incorporate into Jmol? > Is Viewer the only app that currently uses Renderer2D? It works very well... download JChemPaint 1.9.4 and find out... I indeed want this renderer used in Jmol too... > Sorry, am not familiar enough with cdk to comment on the proposal. Well, the proposal also deals with Jmol... in the future we need to have the renderer in Jmol also implement this API... Does the proposed API make sense to you? Egon |