Good thought, however
The model viewer is for a video games website. The idea is that they can
upload their
game models (as is) and my loader will parse them and display them. So, I'm
stuck
loading all the parts individually.
Fiasco
----- Original Message -----
From: Paul Byrne <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 1:56 PM
Subject: Re: [JAVA3D] 3DS Loader Texture
> Fiasco,
>
> Why not model the entire aircraft in a single 3DS file and name each
> component of the model ( wing root, flaps etc ).
>
> The 3DS loader will provide you with a HashMap so you can extract the
> named objects from the scene graph.
>
> Rgds
>
> Paul
>
>
> ----------------------------------------------------------
> Paul Byrne Email : [EMAIL PROTECTED]
> Sun Microsystems Phone : (650) 786 9926
> Visualization Software Group Fax : (650) 786 5852
> ----------------------------------------------------------
>
> >MIME-Version: 1.0
> >Content-Transfer-Encoding: 7bit
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
> >Date: Fri, 16 Mar 2001 15:48:00 -0800
> >From: Fiasco <[EMAIL PROTECTED]>
> >Subject: Re: [JAVA3D] 3DS Loader Texture Error
> >To: [EMAIL PROTECTED]
> >
> >In my particular case, I have an aircraft model (f86sabre).
> >
> >Each part of the sabre is it's own seperate 3ds model. (aerlon, wing
root,
> >flaps, rudder, landing gear ect).
> >
> >I load each of these parts into my viewer, and then add them to the scene
to
> >create a working model of
> >the aircraft. Each of these individual 3ds meshes use the same piece of
> >artwork.
> >
> >I suppose that each is redownloading the texture file.
> >
> >In the future, would it be possible to get/set a cache previous textures
> >option?
> >
> >Fiasco
> >----- Original Message -----
> >From: John Wright <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Friday, March 16, 2001 5:02 AM
> >Subject: Re: [JAVA3D] 3DS Loader Texture Error
> >
> >
> >> Fiasco,
> >>
> >> Each texture should be loaded only ONCE. If you turn the detail
> >> reporting on high enough you should see it loading each texture so
> >> unless you built your model such that it requests the same file twice
it
> >> should not double load it. If on the other hand you loaded a second
> >> model then there is no memory of previously loaded textures.
> >>
> >> - John Wright
> >> Starfire Research
> >>
> >> Fiasco wrote:
> >> >
> >> > Thanks John, works like a charm.
> >> >
> >> > One more question.
> >> >
> >> > I have a model a model I am viewing consisting of several 3ds meshes.
> >Each
> >> > of these meshes
> >> > uses the same texture file. When I load all the meshes does each
mesh
> >have
> >> > to re-retrieve that same texture
> >> > image over the internet, or does the starfire loader cache the
> >previously
> >> > downloaded texture image so
> >> > that any other meshes referencing it can use it?
> >> >
> >> > Fiasco
> >> >
> >> > ----- Original Message -----
> >> > From: John Wright <[EMAIL PROTECTED]>
> >> > To: <[EMAIL PROTECTED]>
> >> > Sent: Thursday, March 15, 2001 3:56 PM
> >> > Subject: Re: [JAVA3D] 3DS Loader Texture Error
> >> >
> >> > > Fiasco,
> >> > >
> >> > > The call to setURLBase() should be passed a String not a URL (you
have
> >> > > it typed as setBaseUrl() - I'm assuming that is just a typo in your
> >> > > e-mail).
> >> > >
> >> > > As for more informative error messages {grin}... sure... get Sun to
> >> > > provide more informative errors (*joke*). But seriously, ok, I'll
> >look
> >> > > at the code to see if I can have it spit out some better error
> >messages.
> >> > >
> >> > > - John Wright
> >> > > Starfire Research
> >> > >
> >> > > Fiasco wrote:
> >> > > >
> >> > > > Here's my code
> >> > > >
> >> > > > try {
> >> > > > Loader3DS modelLoader = new Loader3DS();
> >> > > > modelLoader.setDetail(2);
> >> > > > modelLoader.setBaseUrl( new
> >> > > > URL("http://localhost/jbuilder/TargetWare/f86sabre/" ) );
> >> > > > scene = modelLoader.load( new
> >> > > > RL( "http://localhost/jbuilder/TargetWare/f86sabre/" +
> >> > geometryfilename ) );
> >> > > > } catch () {}
> >> > > >
> >> > > > When I run it I get a very unhelpfull
> >> > > > Malformed URL trying to make texture URL
> >> > > > error message. Would be nice if this error message included the
URL
> >> > that
> >> > > > was trying to be created.
> >> > > >
> >> > > > Is it something wrong in my code above?
> >> > > >
> >> > > > Fiasco
> >> > > >
> >> > > >
> >> >
>
>===========================================================================
> >> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include
in
> >the
> >> > body
> >> > > > of the message "signoff JAVA3D-INTEREST". For general help, send
> >email
> >> > to
> >> > > > [EMAIL PROTECTED] and include in the body of the message
"help".
> >> > >
> >> > >
> >> >
>
>===========================================================================
> >> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
the
> >> > body
> >> > > of the message "signoff JAVA3D-INTEREST". For general help, send
> >email to
> >> > > [EMAIL PROTECTED] and include in the body of the message
"help".
> >> > >
> >> >
> >> >
>
>===========================================================================
> >> > To unsubscribe, send email to [EMAIL PROTECTED] and include in
the
> >body
> >> > of the message "signoff JAVA3D-INTEREST". For general help, send
email
> >to
> >> > [EMAIL PROTECTED] and include in the body of the message "help".
> >>
> >>
>
>===========================================================================
> >> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> >body
> >> of the message "signoff JAVA3D-INTEREST". For general help, send email
to
> >> [EMAIL PROTECTED] and include in the body of the message "help".
> >>
> >
>
>===========================================================================
> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> >of the message "signoff JAVA3D-INTEREST". For general help, send email
to
> >[EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".