Scan the archives for the words "video texture" or something similar.  There
is a link posted by someone in the last 2 months in this archive that points
to some demo java3d code by the sun team that does this.

Dave Yazel

> ----------
> From:         Matthew Huber[SMTP:[EMAIL PROTECTED]]
> Reply To:     Discussion list for Java 3D API
> Sent:         Friday, October 27, 2000 12:11 PM
> To:   [EMAIL PROTECTED]
> Subject:      [JAVA3D] ImageComponent2D question.
>
> Hello,
>
> I'm setting a Background node with a BufferedImage, but I need to modify
> that image on the fly depending on user input.  Since the scene graph is
> live, every time I need to update the image I am creating a new
> ImageComponent2D (if there's a way around it I haven't tried I would love
> to know).  The problem is that creating the ImageComponent is very slow,
> approx. 200ms.  There is an flag to pass the image into the component by
> reference, but either this is not working or is just as slow as copying
> the whole image in.  I've set the yUp flag true as well (as indicated in
> the documentation) and I've tried to match the image formats
> (BufferedImage.TYPE_INT_RGB and ImageComponent.FORMAT_RGB) but it's still
> not cooperating.
>
> Any insights on this (or maybe the source for ImageComponent2D so I can
> figure out why it's moving so slowly) would be welcome.
>
> Thanks,
>
> Matthew Huber
>
> ==========================================================================
> =
> 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