Re: Example P4_07

Send all questions to visad-list, rather than just to me.

I don't know the answer to your question, except to guess
that you probably don't have Java3D properly installed.

On Thu, 24 Jul 2003, Jay Parsons wrote:

> Bill,
>
> In trying different ways to display data with VisAD, I
> am constantly getting the following errors:
>
> Windows - System Error - Microsoft Windows detected
> and recovered from a device failure. Please save your
> work and rebot to restoe full functionality.
>
> Java 3D No compatible device found, please switch to
> other display mode and try again.
>
> I am running windows XP and jdk1.4.1.
>
> Is there any way to catch some exception to prevent
> the errors?
> -Jay
> --- Bill Hibbard <billh@xxxxxxxxxxxxx> wrote:
> > Hi Jay,
> >
> > > I am new the VisAD library and I am trying to
> > display
> > > several layers (DataReferences) with different
> > > ScalarMaps.  (I want the layers to have different
> > > color ranges with the top layer a slightly
> > > tranparent.)
> > >
> > > Is it possible to assign a different ScalarMap to
> > each
> > > layer?
> >
> > A ScalarMap will apply to all occurences of its
> > ScalarType
> > in Data linked to the display. There is no way to
> > limit it
> > to one DataReference.
> >
> > However, you can use the changeMathType(MathType
> > new_type)
> > method of Data to change all occurrences of a
> > ScalarType in
> > a Data object to a different ScalarType, so that a
> > given
> > ScalarType only occurs in the Data linked in one
> > DataReference.
> >
> > You can pass ConstantMaps with DataReferences to the
> > addReference() method of DisplayImpl, and these are
> > associated with just that DataReference.
> >
> > Good luck,
> > Bill
> >
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>


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