Re: [visad] Put random text on top of 3D display (Nguyen Tam Chinh)

Hi Nguyen Tam Chinh,

@Google result: I also have the feeling that you are right about VisAD is not known commonly. On the other hand I am programming a software for my diploma thesis currently using VisAD as core library, and it works perfectly well and also very performant. I use VisAD wrapped as an OSGi library bundle in my JSciVision Project, which itself is an Eclipse RCP Project. I can also tell, that it worked out of the box with the SWT_AWT Bridge.

I searched for an appropriate back end library for JSciVision for almost two years resulting in, that unless you want to use an C/C++ Library, there currently just isn't any open source Alternative to VisAD for Java. Despite that I really do not think, that VisAD is not that well known because its not mature or something. It is in fact a well designed and very well working piece of software in my opinion, implementing a lot of hints given in the literature concerning visualization topics.

I'm almost sure, the low awareness level of VisAD is only because of the original project homepage leaves the mark, that it is outdated. Unless you look deeper into it and join the mailing list you virtually do not have any chance to notice, that VisAD development is still going on.

I would bet, that some more promoting effort and increased level of interactivity for developers communication would instantly boost VisADs level of awareness and would help it to get the popularity it deserves. Therefore my first step was to create this VisAD kenai project, to provide the VisAD OSGi/Equinox bundle wrappers, making the use of VisAD for OSGi projects easy and also have a forum and a wiki available for shared communication. I am NOT going to change anything in the original VisAD library code in this project anyhow to avoid breaking the compatibility of the bundles and the original library. On the other hand I could imagine to develop additional VisAD wrapping bundles in the future, explicitly declaring extension points for VisAD core functionality, e.g. for the cell interface. To use the whole power of OSGi Service based and strongly decoupled architecture, Xml declarations for every VisAD class explicitly designed for extension will be needed. They can fortunately be provided in external bundles, leaving the VisAD library itself untouched. The earliest possibility for me to start this work will be in January 2011...

Google analytics show, that since starting the JSciVision and VisAD project here on kenai, are both having a growing rate of hits :-). I also convinced three working groups of our institute already, trying to use JSciVision for their scientific work so far, and they are pretty happy by now. (And they also started to write a wishlist already... :-). In november this year I am going to try to apply JSciVision for the Google summer of code. Furthermore I am going to show JSciVision to the Eclipse community via the market place, trying to attract some developers to it. Hopefully both actions will entail an increased awareness for VisAD as well.

Best regards,
Bergtroll

visad-request@xxxxxxxxxxxxxxxx wrote:
Send visad mailing list submissions to
        visad@xxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.unidata.ucar.edu/mailman/listinfo/visad
or, via email, send a message with subject or body 'help' to
        visad-request@xxxxxxxxxxxxxxxx

You can reach the person managing the list at
        visad-owner@xxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of visad digest..."


Today's Topics:

   1. Re: Put random text on top of 3D display (Nguyen Tam Chinh)


----------------------------------------------------------------------

Message: 1
Date: Thu, 5 Aug 2010 10:22:52 +0800
From: Nguyen Tam Chinh <chinh@xxxxxxxxxx>
To: 'Tom Whittaker' <whittaker@xxxxxxxx>
Cc: "visad@xxxxxxxxxxxxxxxx" <visad@xxxxxxxxxxxxxxxx>
Subject: Re: [visad] Put random text on top of 3D display
Message-ID:
        <C91AFFA3DF2CAD469A34E6507D9F09610FAF24A1@xxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="koi8-r"

Dear Tom,
Thank you so much. I'm using Java, not Jython. Actually I started with Jython 
because I was more familiar with Python, but seems we're using all Java 
libraries, it'd better to go with all Java :)
I'll poke around the examples that you suggested!

---
With best regards,
Chinh Nguyen

-----Original Message-----
From: Tom Whittaker [mailto:whittaker@xxxxxxxx] Sent: Wednesday, August 04, 2010 10:26 PM
To: Nguyen Tam Chinh
Cc: visad@xxxxxxxxxxxxxxxx
Subject: Re: [visad] Put random text on top of 3D display

Hi --

I would suggest looking at these VisAD examples:
Test44.java
Test45.java
Test61.java
Test69.java
Test70.java

If you are using Jython, however, I suggest you look in the subs.py module at the 
"drawString()" method (plus the init() method that does the scalar mappings).

I will have to let others comment on how to tie these to the cursor position....

Hope this helps.

tom

On Wed, Aug 4, 2010 at 4:59 AM, Nguyen Tam Chinh <chinh@xxxxxxxxxx> wrote:
Dear All,

I just started with Visad programming recently so quite new to everything. 
There is one problem that cracks my head for the last 2 days is to control the 
text on the 2D or 3D display.
For example I have DisplayImplJ3D showing a 3D plot from netcdf. I'd like to 
put a of text or label/annotation ontop but seems it's not straight-forward to 
do. I'd like to be able to control the text content so that I can manipulate 
the content according to the current cursor position.

Would you please kindly advise what is the best way to do this? I'm using 
SWT_AWT bridge.

Thank you so much!

--
With best regards,
Chinh

PS. Seems not many people use visad around, Google hardly gives me good search 
result ...
_______________________________________________
visad mailing list
visad@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/




--
Tom Whittaker
University of Wisconsin-Madison
Space Science & Engineering Center (SSEC) Cooperative Institute for 
Meteorological Satellite Studies (CIMSS)
1225 W. Dayton Street
Madison, WI? 53706? USA
ph: +1 608 262 2759



------------------------------

_______________________________________________
visad mailing list
visad@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
End of visad Digest, Vol 14, Issue 2
************************************




  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: