Hi Kevin and Artur,

thanks for your replies. I have not yet planed how I will do a workaround, but I
will let you
know how the story continued.


Thanks again,
Karsten


Kevin Rushforth wrote:

> We are adding a new destination offset attribute to Raster in version
> 1.3 of Java 3D that should do what you want.  In the mean time, you'll need
> to adjust the raster position to compensate (which can be difficult since
> you have to take the transforms above the Shape3D node into account
> when computing the amount by which to adjust the position).
>
> --
> Kevin Rushforth
> Java 3D Team
> Sun Microsystems
>
> [EMAIL PROTECTED]
>
> >Date: Mon, 23 Apr 2001 12:00:39 +0200
> >From: Karsten Fries <[EMAIL PROTECTED]>
> >Subject: [JAVA3D] Raster
> >To: [EMAIL PROTECTED]
> >
> >Hi there,
> >
> >I use the javax.media.j3d.Raster geometry object to display 2d bitmaps.
> >Everything is fine, but I want the Raster to be centered at the 3d
> >position. How can I do this. The Raster has a offset attribute, but i
> >can't tell neither the BufferedImage nor the ImageComponent2D to use
> >an offset as a transformation.
> >The only thing that excepts a translation is the Graphics object that
> >can be
> >inquired using the BufferedImages getGraphics() method.
> >Unfortunately a translation of the Graphics object has no effect.
> >
> >I appreciate any suggestion,
> >
> >Cheers Karsten
> >
> >===========================================================================
> >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