Uma is having problem posting message to the alias. Here is her response
to the AlternateAppearance question:



The original intent of AlternateAppearance is to use it for highlight - such as
in response to an user action. Alternate appearance is not designed to
dynamically set the appearance at a large group level so as to override the
individual appearance on a large number of Shape3Ds. Scoping the alternate
appearance at a very high group level (with several Shape3Ds ) and/or
detaching/attaching alternate appearance every frame and/or changing the
transform above the alternate appearance every frame would result in
degradation in performance (as would be the case with lights/fog/modelclip).



-Uma
Java3D Team

> X-Accept-Language: en,ja,zh-CN,zh-TW
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Fri, 2 Feb 2001 16:57:28 -0800
> From: John Sutter <[EMAIL PROTECTED]>
> Subject: Re: [JAVA3D] Performance of AlternateAppearance
> To: [EMAIL PROTECTED]
>
>   I get the feeling that some bad assumptions were made about how
> many nodes will actually be under an AlternateAppearance node.
> I think alot of time is being spent on juggling arrays from some
> shot in the dark investigations.  AlternateAppearances seem to be
> treated similar to 'small quantity' objects like lights.  Things
> get slow pretty quickly on a model of any complexity for us..
>
> -j
>
>
> Yuri Nikishkov wrote:
> >
> > Did anybody try setting AlternateAppearance on a large scene?
> >
> > I have the model that has about 200 groups and 11000 shapes total. The
> > rendering time (in software) is still not bad, less than 0.4 sec per frame,
> > but when I try to set AlternateAppearance that colors the whole model (with
> > my top branch group as a scope), it takes about 2 seconds! And moreover, it
> > takes about twice this time, 4 seconds, to remove it. Profiling indicates
> > that most of the time (75%) is spent in Java3D RenderUpdateStructure thread.
> > Is there something that I can do to improve performance?
> >
> > Yuri Nikishkov
> > Software Engineer, Graphics Technology
> > Alventive, Inc. - 678.202.2349
> >
> > ===========================================================================
> > 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".

Reply via email to