Hello All,

I think that it might be interesting for those who wants to know why
antialising is not working with nvidia GeForce 2 graphic cards and older.
Just read the below answer from nvidia.

Cheers,

Florin

-----Urspr�ngliche Nachricht-----
Von: Nick Triantos [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 12. Juni 2003 16:58
An: 'Florin Herinean'
Betreff: RE: [JAVA3D] AW: [JAVA3D] Antialiasing


Hello Florin,

Unfortunately, there is no extension to control supersampling.  The control
panel works by setting a registry key, though, so I guess you could
programmatically control it in that way (but that would be per-window, at
window creation time, not per-primitive like the ARB_multisample extension
allows)

regards,
-Nick

-----Original Message-----
From: Florin Herinean [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 12, 2003 3:20 AM
To: Nick Triantos
Subject: AW: [JAVA3D] AW: [JAVA3D] Antialiasing


Yes, thank you very much, everything is clear now. However, it would be nice
to know if there is possible to control the "supersample antialiasing" at
the level of OpenGL API and not from the control panel. Is it possible to do
that ? If yes, how ?

Regarding NVx I was confused by the name GeForce "2". 

Kind Regards,

Florin


-----Urspr�ngliche Nachricht-----
Von: Nick Triantos [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 12. Juni 2003 02:14
An: Florin Herinean
Betreff: RE: [JAVA3D] AW: [JAVA3D] Antialiasing


On your card, we implement what's called "supersample antialiasing".  While
it does improve the quality of the images, it does not meet the requirements
for the multisample spec.  As a result, we do not expose that extension in
our string.

We had an early implementation of multisample that we were trying to make
work, but it did not work well enough for us to keep it in the driver.  The
GeForce2MX is an NV1x part (it's an NV11, actually).

Does that clear things up?

If not, drop me another note, I'm happy to explain anything further.

regards,
-Nick

-----Original Message-----
From: Florin Herinean [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 11, 2003 12:41 AM
To: Nick Triantos
Subject: AW: [JAVA3D] AW: [JAVA3D] Antialiasing


Hello Nick,

Ok, I understand your point of view, but then why I'm able to turn
antialising "on" in the windows display control panel (and it's working
perfect !) ? That means that antialiasing is in gneral supported by the
graphic card itself or the graphic driver, but that is not visible at the
level of opengl api.

Besides that at delphi3d.net/hardware is listed:
 for combo GeForce2 MX/AGP/SSE, driver 5.13.1.2183, WGL_ARB_multisample is
present, 
   but for GeForce2 MX/AGP/SSE, driver 6.13.10.4072, is not !!!

Also, on http://developer.nvidia.com/docs/IO/1174/ATT/nv30specs.pdf, at the
Table of NVIDIA OpenGL Extension Support, ARB_multisample is said to be
supported starting with NV2x family.

So, it looks like a lot of contradictions. Can you please explain them so
that I can understand what's going on ? Then I'll transmit my info on the
java3d mailing list, eventualy discuss with the guys how are they checking
the antialising properties. As much as I know, they are doing *exactly* what
you have described below.

Kind Regards,

Florin Herinean

-----Urspr�ngliche Nachricht-----
Von: Nick Triantos [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 11. Juni 2003 07:46
An: Florin Herinean; Carsten Albert
Betreff: FW: [JAVA3D] AW: [JAVA3D] Antialiasing


Hello guys,

Someone who reads this mailing list forwarded your email thread to me.  I'm
Nick Triantos, I oversee all of OpenGL development at NVIDIA.

In short, it sounds like there are two problems.

First, Florin, your graphics card, the GeForce2 MX, indeed does not support
ARB_multisample.  It was a new feature first added in GeForce3.  For the
complete [reasonably authoritative] list of what extensions are supported by
various cards, you can check at:  http://delphi3d.net/hardware/.  NVIDIA
also keeps a complete list of which specs we support on our various cards,
as well as the full specs themselves, at our web site at 
http://developer.nvidia.com/view.asp?IO=nvidia_opengl_specs

Now, Carsten, on to your problem.  Unfortunately, I don't know Java (I'm a C
guy), but at least in the C interface to OpenGL, the application is required
to do quite a bit to set up multisample anti-aliasing.  This is totally
different from AA line rendering, which works as a standard feature of
OpenGL.  I am not sure if Java3D knows how to take advantage of AA
rendering.  You'd have to check with someone who knows Java3D's internals.
Java3D would need to:
  (1) Search for an OpenGL pixel format that contains more than 1 sample per
pixel
  (2) glEnable( GL_MULTISAMPLE )
Then just render your scene.

If you need help with features of NVIDIA graphics cards or drivers, in
general, you can find good help on either opengl.org, or web sites like
nvnews.net in their forums.

Hope this clears things up.

regards,
-Nick

--- Florin Herinean <[EMAIL PROTECTED]> wrote:
> Date:         Fri, 9 May 2003 12:37:30 +0200
> From: Florin Herinean <[EMAIL PROTECTED]>
> Subject:      [JAVA3D] AW: [JAVA3D] Antialiasing
> To: [EMAIL PROTECTED]
> 
> Welcome to the comunity of disapointed GeForce users ! It looks like
> the
> current drivers of nvidia doesn't expose the necessary properties so
> that
> the *standard* api knows that antialising is available. I don't know
> what
> directx is doing, but the latest nvidia drivers tells opengl that
> full scene
> antialising is NOT available !!! I have checked that with a native
> opengl
> utility, which is looking for any ogl extension containing
> "multisample",
> like "WGL_ARB_multisample" or "GL_NV_multisample_filter_hint" and
> others,
> but in the list of available properties no such things can be found.
> 
> So, when you ask java3d for full scene antialising, it queries in
> turn the
> native drivers, which in case of nvidia returns "not supported", and
> java3d
> defaults to a SOFTWARE antialising, that's why your scene seems to be
> "stil".
> 
> I don't know why nvidia is not allowing the ogl applications to
> control the
> antialising, since it's obvious that antialising is in fact
> supported, if
> you *manually* enable it in the windows control panel.
> 
> Of course you *can* control antialising if you speak directly with
> the
> driver, but that was supposed to be available at a higher level!
> 
> FOR OPENGL GURU's:
> ------------------
> 
> Here is my full list of available extensions. Is there anything in
> there
> that might hint that antialising is supported ?
> 
> Vendor: NVIDIA Corporation
> Renderer: GeForce2 MX/PCI/SSE
> Version: 1.4.0
> 
> Extensions:
> GL_ARB_imaging
> GL_ARB_multitexture
> GL_ARB_point_parameters
> GL_ARB_texture_compression
> GL_ARB_texture_cube_map
> GL_ARB_texture_env_add
> GL_ARB_texture_env_combine
> GL_ARB_texture_env_dot3
> GL_ARB_texture_mirrored_repeat
> GL_ARB_transpose_matrix
> GL_ARB_vertex_program
> GL_ARB_window_pos
> GL_S3_s3tc
> GL_EXT_abgr
> GL_EXT_bgra
> GL_EXT_blend_color
> GL_EXT_blend_minmax
> GL_EXT_blend_subtract
> GL_EXT_clip_volume_hint
> GL_EXT_compiled_vertex_array
> GL_EXT_draw_range_elements
> GL_EXT_fog_coord
> GL_EXT_multi_draw_arrays
> GL_EXT_packed_pixels
> GL_EXT_paletted_texture
> GL_EXT_point_parameters
> GL_EXT_rescale_normal
> GL_EXT_secondary_color
> GL_EXT_separate_specular_color
> GL_EXT_shared_texture_palette
> GL_EXT_stencil_wrap
> GL_EXT_texture_compression_s3tc
> GL_EXT_texture_cube_map
> GL_EXT_texture_edge_clamp
> GL_EXT_texture_env_add
> GL_EXT_texture_env_combine
> GL_EXT_texture_env_dot3
> GL_EXT_texture_filter_anisotropic
> GL_EXT_texture_lod
> GL_EXT_texture_lod_bias
> GL_EXT_texture_object
> GL_EXT_vertex_array
> GL_IBM_texture_mirrored_repeat
> GL_KTX_buffer_region
> GL_NV_blend_square
> GL_NV_fence
> GL_NV_fog_distance
> GL_NV_light_max_exponent
> GL_NV_packed_depth_stencil
> GL_NV_pixel_data_range
> GL_NV_point_sprite
> GL_NV_register_combiners
> GL_NV_texgen_reflection
> GL_NV_texture_env_combine4
> GL_NV_texture_rectangle
> GL_NV_vertex_array_range
> GL_NV_vertex_array_range2
> GL_NV_vertex_program
> GL_NV_vertex_program1_1
> GL_NVX_ycrcb
> GL_SGIS_generate_mipmap
> GL_SGIS_multitexture
> GL_SGIS_texture_lod
> GL_WIN_swap_hint
> WGL_EXT_swap_control
> 
> WGL Extensions:
> WGL_ARB_buffer_region
> WGL_ARB_extensions_string
> WGL_ARB_pbuffer
> WGL_ARB_pixel_format
> WGL_ARB_render_texture
> WGL_EXT_extensions_string
> WGL_EXT_swap_control
> WGL_NV_render_texture_rectangle
> 
> 
> Cheers,
> 
> Florin
> 
> 
> -----Urspr�ngliche Nachricht-----
> Von: Carsten Albert [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 9. Mai 2003 12:06
> An: [EMAIL PROTECTED]
> Betreff: [JAVA3D] Antialiasing
> 
> 
> Hi,
> 
> I'm quiet new to graphics programming, so I need some help in
> understanding the antialiasing in java3d (or probably in general). I
> use
> GForce4 Ti4200, Athlon 1200, 512MB, Java 1.4.1 Beta2 (sun) and Java3d
> 1.3.1 Beta (I tried openGL and D3D). I use the following code for the
> appearance:
> 
>                 Appearance appearSt = new Appearance();
> 
>                 Material materialSt = new Material();
>                 materialSt.setAmbientColor(0.2f,0.2f,0.2f);
>                 materialSt.setSpecularColor(0.3f,0.3f,0.3f);
>                 materialSt.setShininess(0.0f);        
>                 appearSt.setMaterial(materialSt);
> 
>                 LineAttributes lineSt = new
> LineAttributes(1.0f,LineAttributes.PATTERN_SOLID,true);
>                 appearSt.setLineAttributes(lineSt);
> 
>                 PolygonAttributes polyAtt = new
> PolygonAttributes(PolygonAttributes.POLYGON_FILL,
>                 PolygonAttributes.CULL_BACK,0.0f);
>                 appearSt.setPolygonAttributes(polyAtt);
>               
>                 this.setAppearance(appearSt);
>               
>                 this.setGeometry(createStGeometry());
> 
> The geometry is rendered well but the borders of the object are not
> antialiased to the background. When I change the PolygonAttributes to
> POLYGON_LINE the lines are well antialiased (so antialising is in
> general available). I could find two ways to work around this: 
> 
> view.setSceneAntialiasingEnable(true);
> 
> which turns the whole applet into a well antialiased fixed picture:(.
> 
> or remove all antialiasing from the code and force the driver of my
> card
> to do the antialiasing in general. the result is fantastic fast :),
> but
> I would like the code having control about the antialiasing of any
> single object. How can I do this?
> 
> 
> regards 
> Carsten
> 
>
==========================================================================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