I want to display the text at the top of canvas3d

I am trying to display text at the corner of the canvas3d. It would be like the text being patched at the canvas3d. The ViewPlatform could be changed (trasformed or rotated) but the text to displayed at the corner … always and further more as it would be time text so it would change as well
Any suggestions

Or there is any possiblity to attached multiple Views the on the canvas and the text’s view bounds would be much small

I belive you can attach 3d or 2d text to the viewpointTransform. If you do that the text will allwas have the same pos on the screen if you dont move it.

Create a Text2D and attach it to the viewplatform node. Displace it a bit with a Transformgroup so that it is always in front of the camera.
Pay attention to the near clipping plane! Move behind it.

Check out the Overlay package on the J3D.org site:
http://code.j3d.org

I have used it with good results.

A bit of overkill for a text though…

We do it like that:

    private final void createHUD()
    {
            Transform3D tx = new Transform3D();
        tx.setTranslation( new Vector3f( 2.2f, 2.6f, (float)-(getCamera().getNearClip() + 1)  ) );

            TransformGroup HUDGroup = new TransformGroup( tx );
            HUDGroup.setPickable( false );
            HUDGroup.setCollidable( false );
        
        Text2D Text = new Text2D( "YOUR TEXT HERE!", new Color3f(0.f, 0.f, .0f), "Verdana", 36, Font.PLAIN );
            Text.setCollidable( false );
            Text.setPickable( false );
            
            HUDGroup.addChild( Text );
            
        BranchGroup bg = new BranchGroup();
            bg.setPickable( false );
            bg.setCollidable( false );

            bg.addChild( HUDGroup );
            
            getCamera().getMount().getTransformGroup().addChild( bg );
    }

You might want to check out the HUD package at:

http://www.newdawnsoftware.com

in the resources section. Its slightly simpler to understand than the j3d overlay stuff.