Miguel wrote:

If you tell me what data you need then I will expose it through an API.
...
- what kind of shape is used
- how do I get the attributes of the drawing: points used for drawing
splines, colors, sizes, transparency, ... (Java methods)
- simple examples (datafile + script) to show this type of structure.

Support for this does not exist in the API.

We need to define all of these things.

I could start with the simplest structure
(A few months ago, I have coded a few things for trace/polymer support)..

We should probably keep working with trace ... because it is simple.

We can use it as the basis to expose more internal data attributes. (like
color, radius, whether or not it is displayed, etc. )

Ok, let's start with trace then.
IMHO, here is the list of things I need to render them with PovRay :

1. Get the path for each structure :
I am currently using JmolViewer.getPolymerCountInModel() and JmolViewer.getPolymerLeadMidPoints()

2. Know if the structure is visible or not (probably not necessary, see 3)

3. Know which part of the structure is visible and what to do when only a part of the structure should be drawn

4. Know the radius(es) to use

5. Know the color(s) to use

6. Other things ?
- transparency ?

I don't believe that points 2 to 6 are currently available in the JmolViewer API. I can probably add methods in the API, but I know this is a sensitive part that need to be well thought.

Nicolas




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to