I have found it easier to use a boundingLeaf attached to
the viewPlatform for background, as described in chapter 3
of the tutorial. Although I don't know if this is the
cause of your problem.

On Thu, 26 Aug 1999 11:08:38 +0200 Ivaylo Velikov
<[EMAIL PROTECTED]> wrote:
> Hello colleagues,
>
> This message is being resent, because of some "undeliverable" responses,
> caused by incorrect name entered from my side.
> Please, forgive my ignorance.
>
> I want to make an image background in Java3D through the following piece of
> code.
>
> Group scene = new Group( );
>
> ImageComponent2D imageComponent = new ImageComponent2D;
> TextureLoader texLoader = new TextureLoader( "clouds.jpg", this );
> imageComponent = texLoader.getImage();
>
> BoundingSphere worldBounds = new BoundingSphere( new Point3d( 0.0, 0.0, 0.0
>  ), 5000.0 );
>
> Background background = new Background( );
>
> background.setImage( image );
> background.setApplicationBounds( worldBounds );
>
> scene.addChild( background );
>
> The scene then is added to the root.
> The program is compiled without any problems, the scene appears but with no
>  background at all.
> No exceptions occurred. Everything seems to be allright, but it's not.
> Could anybody make some suggestions about the reason of such a problem?
>
> Thanks.
>
> Ivailo Velikov
>
> ===========================================================================
> 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