Hello,

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?


* 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.


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

* 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 am waiting your suggestions

Thanks

Fabian



-- 


**********
Fabian Dortu

Phone   : 32-475-599268
e-mails : [EMAIL PROTECTED]
*********************************************** 


Attachment: box_visu.tar.gz
Description: GNU Zip compressed data

Attachment: signature.asc
Description: PGP signature

Reply via email to