How to enable anti-aliasing?

hi!
I simply cannot force anti-aliasing (FSAA).
for example:
GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
Canvas 3D c = new Canvas3D(config);
renders canvas w/o AA (I can enable it manually in my GeForce4 settings, but I want to be enabled by program)
another try:
GraphicsConfigTemplate3D gc3D = new GraphicsConfigTemplate3D();
gc3D.setSceneAntialiasing( GraphicsConfigTemplate.REQUIRED);
GraphicsDevice gd[] = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices();
Canvas3D c = new Canvas3D(gd[0].getBestConfiguration(gc3D ), false);
this gives worst result - AA is always disabled, no matter it is set to REQUIRED.
Can somebody show me sample code enabling (and possibly +disabling) FSAA in Java3D?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

still no success :((
I tried almost everything -
OpenGL and DX versions of java3D;
different video cards (!)
java -Dj3d.implicitAntialiasing=true MyProgram (according readme)
any advice?

Similar Messages

  • Bitmap smart objects and anti aliasing, Photoshop CC

    Photoshop CC is doing a poor job of rendering bitmap smart objects, and I saw Chris Cox mention the checkbox to enable anti aliasing for placed smart objects. This works with vector smart objects, but this box is grayed out for bitmaps that I've converted to smart objects. The smart object bitmap renders poorly when manually rasterized too. I don't recall having this problem in previous versions of Photoshop. For now I'm going to avoid converting bitmap elements to smart objects so I get decent transforms.

    There are no jagged lines in that example - you're just rasterizing at a REALLY low resolution.

  • [SOLVED] FontConfig Update and Anti-Aliasing

    After doing upgrade of fontconfig exactly like explained on news here;
    http://www.archlinux.org/news/fontconfi … -required/
    Font became too thin, I think anti-aliasing is working wrong now. I've even added this:
    https://wiki.archlinux.org/index.php/Fo … igurations
    Also, my appearance settings is:
    Default Font: Sans / Size: 10
    Rendering: Enabled anti-aliasing
    Hinting: Full
    Sub-pixel order: None
    DPI: Custom DPI setting 96
    Here is few examples:
    ArchLinux.org -- http://i.imgur.com/O7ZEC.png
    Google.com -- http://i.imgur.com/TaY5S.png
    Slashdot.org -- http://i.imgur.com/U8Oto.png
    Digg.com -- http://i.imgur.com/TtgsM.png
    Is there anyhting else I can do to fix this ?
    Last edited by TuxLyn (2012-09-08 04:41:23)

    My fonts were also looking bad after the upgrade (the same as in your screenshots), what I did:
    mv .fontconfig .config/fontconfig
    mv .fonts.conf .config/fontconfig/fonts.conf
    mkdir .config/fontconfig/conf.d
    ln -s /etc/fonts/conf.avail/10-sub-pixel-rgb.conf .config/fontconfig/conf.d ## Though this wasn't really necessary.
    Moved all cache files from .config/fontconfig (formerly ~/.fontconfig) to ~/.cache, as suggested in the wiki.
    And I copied this in my fonts.conf (.config/fontconfig/fonts.conf), examples you can also find in the wiki:
    <?xml version='1.0'?>
    <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
    <fontconfig>
    <match target="font" >
    <edit mode="assign" name="autohint"> <bool>true</bool></edit>
    <edit mode="assign" name="hinting"> <bool>false</bool></edit>
    <edit mode="assign" name="lcdfilter"> <const>lcddefault</const></edit>
    <edit mode="assign" name="hintstyle"> <const>hintslight</const></edit>
    <edit mode="assign" name="antialias"> <bool>true</bool></edit>
    <edit mode="assign" name="rgba"> <const>rgb</const></edit>
    </match>
    <match target="font">
    <test name="pixelsize" qual="any" compare="more"><double>15</double></test>
    <edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
    <edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
    </match>
    <match target="font">
    <test name="weight" compare="more"><const>medium</const></test>
    <edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
    <edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
    </match>
    <match target="font">
    <test name="slant" compare="not_eq"><double>0</double></test>
    <edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
    <edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
    </match>
    <match target="font">
    <edit name="antialias" mode="assign"><bool>true</bool></edit>
    <edit name="hinting" mode="assign"><bool>true</bool></edit>
    <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
    <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
    </match>
    </fontconfig>
    Now my fonts look like before, and Chromium looks even better, thanks to one of the examples found.

  • SwingTextField font anti-aliasing

    Hi,
    How to force anti-aliasing in javafx.ext.swing.SwingTextField?
    Lukasz

    See [JavaFX Text Component|http://blogs.sun.com/tor/entry/javafx_text_component] blog entry. There is a word about text AA. See also comments.

  • Paths being anti-aliased

    Hello,
    I've got a project with a lot of artwork in paths.  It was created in illustrator run through catalyst.  The artwork was all fine until I added some RichText on the screen next to the art in Flash Builder.  Now the art is all anti-aliasing making the fine lines look very fuzzy.  Can anyone tell me how to turn anti-aliasing off for the entire project?  I've confirmed that its the RichText that is doing it because if I comment it out it goes back to aliased lines in all the paths.
    Thanks for any help,
    Paul

    Check out the section "Anti-Aliased Text' toward the bottom of this article:
    Intermediate Images
    http://java.sun.com/developer/technicalArticles/Media/intimages/

  • IPhone OpenGL ES anti-aliasing?

    Is it possible to enable anti-aliasing for OpenGL ES on the iPhone? I've tried a few different things:
    glBlendFunc(GLSRCALPHA, GLONE_MINUS_SRCALPHA);
    glEnable(GL_BLEND);
    glEnable(GL_SMOOTH);
    glEnable(GL_MULTISAMPLE);
    and a few others, but none of them work. I'm not exactly an OpenGL heavy, so I wouldn't know if these were even the right kinds of things to enable for anti-aliasing content (it seems like GL_SMOOTH or GL_MULTISAMPLE would work). It seems like the general consensus for OpenGL ES is that anti-aliasing is platform-dependent, but I haven't seen anything which says whether it's possible on the iPhone. I would assume that it would be possible on the iPhone, considering that things drawn with the Quartz CG methods are anti-aliased by default. It looks to me, though, like the only way to do it would be to render into a buffer with two times the width and height, and then scale it down to fit the display. That seems a little bit processor heavy, though, especially on a mobile device. Any input would be greatly appreciated .
    Sonny Jim

    I've accomplished FSAA(full screen antialiasing) on the iPhone by rendering the same scene multiple times and jittering the perspective matrix.
    The technique has been used since the 70s. Details on the technique can be found at http://www.opengl.org/resources/code/samples/advanced/advanced97/notes/node63.ht ml
    The iPhone doesn't have an accumulation buffer, but you can still use the same idea by faking an accumulation buffer by copying the contents of the color buffer and blending the passes together yourself. If you depth-sort your scene you can just blend everything together and forget about an accumulation buffer.
    There are variations on this technique where you re-render the scene several times in wireframe mode and use the results to antialias just the edges of polygons.
    I'm doing a puzzle game that never has a front-facing polygon behind another front-facing polygon, so I don't have to mess around with faking an accumulation buffer or worry about depth sorting. Remember that this will make your fps drop by whatever factor you antialias.

  • How to Turn Off anti-aliasing in JavaFX?

    How to Turn Off anti-aliasing in JavaFX? Is that possible at all?

    If you find that doesn't work as well as you want, perhaps the easiest thing is to select the object (Select>All), Edit>Copy, File>New>Image from Clipboard.
    Then follow MichelBParis's instructions, then either copy and paste back to the original or drag to the original.
    If that is your only layer then using the Image Size is the best way.

  • How can I force font anti-aliasing globally?

    Hi, I'm Korean.
    Latin fonts has embeded bitmap and so looks good in small size(As you know, system disable anti-aliasing when font size is small). However, official fonts for Korean and Japanese has no embeded bitmap and looks v-e-r-y ugly. Look this.
    Therefore I used FontRouter to force system using font anti-aliasing every size. But FontRouter crashes texts of application based on Qt (Only Qt...). So I'm searching another solution.

    Is there anyone who knows how to make system render anti-aliased fonts?

  • Turn off anti-aliasing (can someone please tell me how to turn it off)

    Can someone tell me how to turn off anti-aliasing in Solaris 8
    Thanks

    Did you watch the movie on your computer?
    You have 30 days from the time of rental to watch your movie, and 24 hours (in the US) or 48 hours (elsewhere) after you've started viewing to finish it. Once the rental period expires, the movie will disappear from your iTunes library.
     Cheers, Tom

  • How can i use puppet without anti aliasing ?

    Hello,
    Could you tell be how to use Puppet Warp without anti aliasing ?
    Because the outline is blured.
    Regards

    Thank you very much
    In fact i want to animate sprite for smartphone game, that s why i don t want antialiasing
    Best regards
    Envoyé depuis un mobile Samsung

  • In Adobe Photoshop 10 how do you turn off anti Aliasing?

    I am running adobe photoshop 10 and I need to turn off anti aliasing, How to?

    With most of the Selection Tools one can uncheck Anti-alias in the tool options bar before drawing out a selection.

  • How do I get non anti-aliased vector rectangles in Photoshop CS5 using a Wacom Intuos 4?

    Hello,
    When using Photoshop CS5 to draw a vector rectangle using the Wacom Intuos 4, the rectangle comes out anti-aliased, but when I draw a rectangle using a mouse on the same machine, there is no anti-aliasing.
    What can I do to get sharp, non anti-aliased vector rectangles?
    Any help would be appreciated.
    Thank you

    c.pfaffenbichler, here is a screenshot of my problem:
    The red square was created using a mouse and the blue square was created using my Wacom pen, which you can see the anti-aliasing on.

  • How to preserve jagged (without anti-aliasing) when exporting to PDF?

    I created a jagged line drawing in Processing, than exported it to PDF. When I opened it in Illustrator it was fine (I turned anti-aliasing off). But after saving it to PDF and reviewing in Adobe Acrobat the anti-aliasing was back on.
    Is there any way to preserve it? Or is it just Acrobat, that applies anti-aliasing when previewing? Is it possible to print it on paper in it's jagged format?
    Thank you!

    The anti-aliasing preference setting in both Illustrator and Acrobat is just a preview on screen.
    If you're going to print it preserving the jagged nature you could apply Effect > Rasterize with appropriate settings in Illustrator, for example.

  • How can I get anti-aliased text?

    I create my bitmap and Graphics2D object as follows:
    BufferedImage img = new BufferedImage(devExtX, devExtY, BufferedImage.TYPE_INT_ARGB);
    graphic = (Graphics2D) img.getGraphics();
    graphic.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    graphic.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON);
    graphic.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
    graphic.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY);
    But text is drawn with no anti-aliasing (does that mean it is aliased <g>?).
    Any ideas what I am missing?
    thanks - dave

    Hi George,
    STXL: Long Text (Header - English)
    Extract all records where XTDOBJECT='AUFK' and XTDID='KOPF' and XTDSPRAS in ('E')
    XTDNAME is MANDT+AUFNR
    STXL: Long Text (Operations- English)
    Extract all records where XTDOBJECT='AUFK' and XTDID='AVOT' and XTDSPRAS in ('E')
    XTDNAME is MANDTAUFPLAPLZL
    STXL: Long Text (Components- English)
    Extract all records where XTDOBJECT='AUFK' and XTDID='MATK' and XTDSPRAS in ('E')
    XTDNAME is MANDTRSNUMRSPOS
    This may help you
    Babu

  • Embedded vector files aren't anti-aliased. How do I fix this?

    When I attempt to embed vector files in Photoshop sometimes they appear without anti-aliasing. I've tried rasterizing them after they are embedded, but this doesn't fix the issue.
    Here is a video I captured of the issue in action: 2014 10 10 12 39 54 - YouTube
    And here's a photo of the several embedded .EPS files.

    Rasterizing will just keep the bits you have.
    Select the smart object layer, select free transform, turn on the antialias checkbox in the free transform options, and commit the transform (without moving anything).

Maybe you are looking for

  • Calling a Stored Procedure using SSRS Custom Data Processing Extension

    I need SSRS Custom Data Processing Extension to call a stored procedure for my ssrs report. I refered many links regarding this, but i cannot find it. Instead of that there are examples for Data processing extensions that uses XML files and also mult

  • Lenovo s860 1Gb RAM not recognized by the computer,camera and gallery problem

    Hi,yesterday i received a shipment of 2 phones s860. Both are installed VibeUi .20 same version. No problems with 1 of them, but other... 1.Camera can't save image.When thry to get picture,camera app close, same problem with another camera app. and a

  • ESS List of Services for ERP(2005)

    hi,   We are using ECC6.0.We have to implement ESS What should be the Version of Business Package that should be used for the same.We tried downloading BP version 1.0.We used to get an excel sheet which used to give the list of all the services and i

  • Changing my MacBook hard drive?

    Hi all, I'm planning on getting a bigger (250gb) internal hard drive for my MacBook (a white one, about 3 years old.) The current drive is a 80gb TOSHIBA MK8034GSX (http://sdd.toshiba.com/main.aspx?Path=StorageSolutions/2.5-inchHardDiskDrives/MK 8034

  • HELP I purchased an album with 2 songs and it won't download

    Help! I purchased an album with 2 songs and it won't download.I have a Windows XP.When i try to download it I get this message: There was a problem downloading"the songs i Tryed to download".An unknown error occurred(-50). Please check that the conne