> On Monday 14 October 2002 15:32, Fabian Dortu wrote:
> > I am working on the unit cell box visualization.  The code given in
> > attachment works but there is some problems:
> >
> > * To draw the unit cell box lines, I use the ArrowLine object. The
> > problem is that arrowHeadSize, arrowHeadRadius and arrowLength fields
> > are static and I would like to have them non static. For instance I want
> > arrowHeadSize to be 0.0f to draw the unit cell lines but want it
> > different from 0.0f to draw the primitives vectors.
> > arrowLength must always be 1.0f.
> >
> > Solution: create a ArrowLineBis object which is almost identical to
> > ArrowLine?
>
> What about a plain Line class?

I agree. Why not a plain Line class?


> > * Z buffering. If you rotate the crystal, you will see that sometimes a
> > line is hiden altough it shouldn't be. It's because I use the end of the
> > line (or vector) for the getZ method.

This is because Jmol rendering uses a simple painter's algorithm. They only
way to correct the problem is to use a full 3D rendering technique (like
using Java3D). Eventually we will have optional viewing with Java3D.

> > * Should I add the main axis (cartesian axis of the molecule/crystal)?

If you like.

> > * Where to enable or disable the visualization of the unit cell box
> > or/and primitive vectors? In the Crystal Properties Dialog box? But
> > where to modify the preferences for these lines/vectors? In the
> > Preferences Dialog Box?

I think yes on both.

Thanks,
  Bradley



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to