Hey Eric and Olga,

  This 'stepping' is known as aliasing, or more fondly as 'jaggies'.  There are
blending techniques to reduce the effect, called anti-aliasing.  This is an
expensive operation and most hardware does not support it yet.
  This is really a problem with drawing lines or edges that are not aligned
with the layout of the square pixels on your screen at any resolution.  Take
graph paper and draw a line at an angle by filling in entire squares and you
see exactly what happens on the screen.  Higher DISPLAY resolution helps reduce
this effect by making the pixels smaller, producing smoother looking edges and
lines.  Changing the canvas size on your fixed resolution display will not
change size of the pixels on your screen and will not change the aliasing
effect.
  If you increase your screen resolution then the pixels get smaller and the
effect is reduced.  This does increase the number of pixels to draw for the
same size of actual screen space, and impacts performance in a big way.  I
suggest sticking with a lower res and living with the 'jaggies' until solutions
are provided by real-time graphics hardware vendors, or find creative ways to
avoid the effect being so noticeable.  Off the top of my head - try using
colors that reduce the contrast where edges are visible.  This may not be
applicable to your app - but it's an idea.  You may also be able to use
lighting and/or textures to reduce the effect in various ways.

Roger



> --- Sagrebin <[EMAIL PROTECTED]> wrote:
> > Hi, Eric
> > thank you very much for your answer.
> > I agree whith you that I will always have this stepping effects.
> > But I mean, that my image must looks at high resolution better.
> > I mean that Canvas3D must take the configuration of my graphics hardware
> > from:
> >
> >           GraphicsConfigTemplate3D gct3d = new GraphicsConfigTemplate3D();
> >           gct3d.setSceneAntialiasing(GraphicsConfigTemplate.PREFERRED);
> >
> >           GraphicsEnvironment  ge
> > =GraphicsEnvironment.getLocalGraphicsEnvironment();
> >           GraphicsDevice gd =ge.getDefaultScreenDevice();
> >           gconfig = gd.getBestConfiguration(gct3d) ;
> >           Canvas3D canvas = new Canvas3D(gconfig);
> > and when I change the screen resolution, I must see any difference on my
> > Canvas3D.
> > Do your images look as bad as my too?
> > Olga
> >
> > Eric Reiss wrote:
> >
> > > You are going to have some stepping effects at even high resolutions.
> > > The problem you are showing is mostly one of perspective.  The graph
> column
> > > you point out on the right of the attached image has more stepping than
> the
> > > one in the center of the screen and the columns on the left are stepped
> the
> > > in the other direction.
> > >
> > > This is because it is a rendering of a 3D image from a perspective view
> on
> > > a 2D screen.
> > > If this was a plot from a spreadsheet, the columns would be perfectly
> > > vertical because they are not 3D.
> > >
> > > At 08:23 AM 09/18/2000 +0200, you wrote:
> > > >Hi,
> > > >I do not have many experience in Java3D, but next i will try to finish
> > > >my first project.
> > > >I have a following problem:
> > > >The canavs3D uses 640x480 resolution, although the screen resolution is
> > > >1024x768. Consequently the 3D models get angular edges. (You can see
> > > >this edges on the attached gif-file.) All Demos from SUN and other
> > > >developer look as bad as this 3D models.
> > > >Can anybody tell me how to solve this problem?
> > > >
> > > >I use Windows NT Service Pack 6,ATI graphic card.
> > > >Any help is appreciated.
> > > >Olga
> > >
> > > ***********************************************************************
> > > Eric Reiss - http://www.sigda.acm.org/Eric/
> > > Email: [EMAIL PROTECTED]
> > >
> > > SIGDA Internet Server Manager - http://www.sigda.acm.org/
> > >
> > > Assistant Systems Manager - School of Engineering
> > > University of Pittsburgh
> > > ***********************************************************************
> > >
> > >
> ===========================================================================
> > > 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".
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

===========================================================================
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