Page 1 of 1

Anti-aliasing feature

Posted: 01.04.2006, 12:58
by ElChristou
What a disappointment...

A year ago, I was downloading for first time Celestia; after roaming in every corners of the soft I have done some bugs report inherent to my platform...

Me: "hey guys, antialiasing don't work on my GeForce4Mx..."

Guys: "normal, your card don't support antialiasing..."

Me (resigned): "ah... ok, Tx"

Since, I'm playing, enjoying, making models and working on some improvements, a year has passed and still, every time I approach a planet or a model I cannot avoid thinking that I really should change my graphic card... :(

Yesterday, I've been hable to test a commercial soft also based on OpenGL (I won't tell with one), and... 8O... antialiasing DO work... planets are smooths... :cry:

So I won't change my card... What a disappointment...

Posted: 01.04.2006, 13:29
by selden
If your card supports anti-aliasing in the hardware, then you should be able to turn it on in the Display Properties menu. Have you looked for that feature since the last time you upgraded the Nvidia driver?

p.s. Of course, it's probably somewhere else in the Mac software.

Have you tried turning on the Anti-Aliasing feature in celestia.cfg recently?

p.p.s I changed the subject of the thread so people will understand the discussion.

Posted: 01.04.2006, 13:34
by t00fri
Chris,

What you see in terms of anti-aliasing in general depends on the settings for your card. Dependiing on the software, anti-aliasing may be switched on upon start-up or NOT. Celestia by default has AA turned OFF, since the performance drops significantly with higher AA.

celestia.cfg wrote:#-----------------------------------------------------------------------
# Set the level of multisample antialiasing. Not all 3D graphics
# hardware supports antialiasing, though most newer graphics chipsets
# do. Larger values will result in smoother edges with a cost in
# rendering speed. 4 is a sensible setting for recent, higher-end
# graphics hardware; 2 is probably better mid-range graphics. The
# default value is 1, which disables antialiasing.
# AntialiasingSamples 4


So you got to comment out the line
# AntialiasingSamples 4

Also on your computer, there should be a GUI that comes with your GeForce driver that allows you to override Celestia's default settings.

So just to make sure: Were you aware of these various possibilities and facts?

Bye Fridger

Posted: 01.04.2006, 14:10
by ElChristou
Selden, Fridger,

Yes, I'm aware of the setting in Celestia.cfg, by default I always have it uncomment but this don't change anything...

Now concerning Nvidia driver and settings, here things are a bit more complicated: the powerbook G4 12" is the smallest of Apple line, so apparently the card used to fit in this ultra thin and dense laptop is quite specific; there is no drivers (apparently) available at Nvidia but, the upgrade of the driver is delivered by Apple within some more general upgrade of the OS. In all case there is no GUI to do some change at the driver level...

Now, the point is that I met various small apps using OpenGL where things are smoothed; in some others apps no... I don't know what to think... :x

The only thing I can find in my System is the further xml; if someone see something that could help with antialiasing, please tell me...

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>kGLEmulatorVersion</key>
   <integer>1</integer>
   <key>kGLGeneralEmulationParameters</key>
   <dict>
      <key>GL_VENDOR</key>
      <string>NVIDIA Inc.</string>
      <key>GL_RENDERER</key>
      <string>NVIDIA GeForce4 MX OpenGL Engine</string>
      <key>GL_VERSION</key>
      <string>1.1 NVIDIA-1.2.26</string>
      <key>GL_MAX_LIST_NESTING</key>
      <integer>64</integer>
      <key>GL_MAX_EVAL_ORDER</key>
      <integer>10</integer>
      <key>GL_MAX_LIGHTS</key>
      <integer>8</integer>
      <key>GL_MAX_CLIP_PLANES</key>
      <integer>6</integer>
      <key>GL_MAX_TEXTURE_SIZE</key>
      <integer>2048</integer>
      <key>GL_MAX_PIXEL_MAP_TABLE</key>
      <integer>256</integer>
      <key>GL_MAX_ATTRIB_STACK_DEPTH</key>
      <integer>16</integer>
      <key>GL_MAX_MODELVIEW_STACK_DEPTH</key>
      <integer>32</integer>
      <key>GL_MAX_NAME_STACK_DEPTH</key>
      <integer>100</integer>
      <key>GL_MAX_PROJECTION_STACK_DEPTH</key>
      <integer>5</integer>
      <key>GL_MAX_TEXTURE_STACK_DEPTH</key>
      <integer>5</integer>
      <key>GL_MAX_VIEWPORT_DIMS</key>
      <array>
         <integer>2048</integer>
         <integer>2048</integer>
      </array>
      <key>GL_MAX_CLIENT_ATTRIB_STACK_DEPTH</key>
      <integer>16</integer>
      <key>GL_MAX_COLOR_MATRIX_STACK_DEPTH</key>
      <integer>5</integer>
      <key>GL_MAX_3D_TEXTURE_SIZE</key>
      <integer>2048</integer>
      <key>GL_MAX_TEXTURE_UNITS</key>
      <integer>2</integer>
      <key>GL_MAX_CUBE_MAP_TEXTURE_SIZE</key>
      <integer>2046</integer>
      <key>GL_MAX_TEXTURE_LOD_BIAS</key>
      <integer>4</integer>
      <key>GL_MAX_ELEMENTS_VERTICES</key>
      <integer>2048</integer>
      <key>GL_MAX_ELEMENTS_INDICES</key>
      <integer>150000</integer>
      <key>GL_MAX_TEXTURE_UNITS_ARB</key>
      <integer>2</integer>
      <key>GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB</key>
      <integer>2046</integer>
      <key>GL_MAX_VERTEX_UNITS_ARB</key>
      <integer>4</integer>
      <key>GL_MAX_ELEMENTS_VERTICES_EXT</key>
      <integer>2048</integer>
      <key>GL_MAX_ELEMENTS_INDICES_EXT</key>
      <integer>150000</integer>
      <key>GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE</key>
      <integer>65535</integer>
      <key>GL_MAX_TEXTURE_LOD_BIAS_EXT</key>
      <integer>4</integer>
      <key>GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT</key>
      <integer>2</integer>
      <key>GL_MAX_SHININESS_NV</key>
      <integer>1024</integer>
      <key>GL_MAX_SPOT_EXPONENT_NV</key>
      <integer>1024</integer>
      <key>GL_MAX_GENERAL_COMBINERS_NV</key>
      <integer>2</integer>
      <key>GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT</key>
      <integer>2046</integer>
      <key>GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI</key>
      <integer>0</integer>
      <key>GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATIX</key>
      <integer>0</integer>
      <key>GL_MAX_TEXTURE_COORDS_ARB</key>
      <integer>2</integer>
      <key>GL_MAX_TEXTURE_IMAGE_UNITS_ARB</key>
      <integer>2</integer>
      <key>GL_MAX_VERTEX_ATTRIBS_ARB</key>
      <integer>16</integer>
      <key>GL_MAX_PROGRAM_MATRICES_ARB</key>
      <integer>8</integer>
      <key>GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB</key>
      <integer>2</integer>
      <key>GL_SMOOTH_POINT_SIZE_RANGE</key>
      <array>
         <real>1.00</real>
         <real>63.00</real>
      </array>
      <key>GL_SMOOTH_POINT_SIZE_GRANULARITY</key>
      <real>0.00</real>
      <key>GL_SMOOTH_LINE_WIDTH_RANGE</key>
      <array>
         <real>0.00</real>
         <real>10.00</real>
      </array>
      <key>GL_SMOOTH_LINE_WIDTH_GRANULARITY</key>
      <real>0.00</real>
      <key>GL_ALIASED_POINT_SIZE_RANGE</key>
      <array>
         <real>1.00</real>
         <real>63.00</real>
      </array>
      <key>GL_ALIASED_LINE_WIDTH_RANGE</key>
      <array>
            <real>0.00</real>
            <real>10.00</real>
      </array>
      <key>GL_LINE_WIDTH_RANGE</key>
      <array>
         <real>0.00</real>
         <real>10.00</real>
      </array>
      <key>GL_LINE_WIDTH_GRANULARITY</key>
      <real>0.00</real>
      <key>GL_POINT_SIZE_RANGE</key>
      <array>
         <real>1.00</real>
         <real>63.00</real>
      </array>
      <key>GL_POINT_SIZE_GRANULARITY</key>
      <real>0.00</real>
      <key>GL_APPLE_specular_vector</key>
      <integer>1</integer>
      <key>GL_APPLE_transform_hint</key>
      <integer>1</integer>
      <key>GL_APPLE_packed_pixels</key>
      <integer>1</integer>
      <key>GL_APPLE_client_storage</key>
      <integer>1</integer>
      <key>GL_APPLE_ycbcr_422</key>
      <integer>1</integer>
      <key>GL_APPLE_texture_range</key>
      <integer>1</integer>
      <key>GL_APPLE_fence</key>
      <integer>1</integer>
      <key>GL_APPLE_vertex_array_range</key>
      <integer>1</integer>
      <key>GL_APPLE_vertex_array_object</key>
      <integer>1</integer>
      <key>GL_APPLE_element_array</key>
      <integer>1</integer>
      <key>GL_APPLE_vertex_program_evaluators</key>
      <integer>1</integer>
      <key>GL_APPLE_float_pixels</key>
      <integer>0</integer>
      <key>GL_APPLE_flush_render</key>
      <integer>1</integer>
      <key>GL_ARB_imaging</key>
      <integer>1</integer>
      <key>GL_ARB_transpose_matrix</key>
      <integer>1</integer>
      <key>GL_ARB_multitexture</key>
      <integer>1</integer>
      <key>GL_ARB_texture_env_add</key>
      <integer>1</integer>
      <key>GL_ARB_texture_env_combine</key>
      <integer>1</integer>
      <key>GL_ARB_texture_env_dot3</key>
      <integer>1</integer>
      <key>GL_ARB_texture_env_crossbar</key>
      <integer>0</integer>
      <key>GL_ARB_texture_cube_map</key>
      <integer>1</integer>
      <key>GL_ARB_texture_compression</key>
      <integer>1</integer>
      <key>GL_ARB_multisample</key>
      <integer>0</integer>
      <key>GL_ARB_texture_border_clamp</key>
      <integer>0</integer>
      <key>GL_ARB_point_parameters</key>
      <integer>1</integer>
      <key>GL_ARB_vertex_program</key>
      <integer>1</integer>
      <key>GL_ARB_fragment_program</key>
      <integer>0</integer>
      <key>GL_ARB_texture_mirrored_repeat</key>
      <integer>1</integer>
      <key>GL_ARB_depth_texture</key>
      <integer>0</integer>
      <key>GL_ARB_shadow</key>
      <integer>0</integer>
      <key>GL_ARB_shadow_ambient</key>
      <integer>0</integer>
      <key>GL_ARB_vertex_blend</key>
      <integer>1</integer>
      <key>GL_ARB_window_pos</key>
      <integer>1</integer>
      <key>GL_EXT_clip_volume_hint</key>
      <integer>1</integer>
      <key>GL_EXT_rescale_normal</key>
      <integer>1</integer>
      <key>GL_EXT_blend_color</key>
      <integer>1</integer>
      <key>GL_EXT_blend_minmax</key>
      <integer>1</integer>
      <key>GL_EXT_blend_subtract</key>
      <integer>1</integer>
      <key>GL_EXT_compiled_vertex_array</key>
      <integer>1</integer>
      <key>GL_EXT_texture_lod_bias</key>
      <integer>1</integer>
      <key>GL_EXT_texture_env_add</key>
      <integer>1</integer>
      <key>GL_EXT_abgr</key>
      <integer>1</integer>
      <key>GL_EXT_bgra</key>
      <integer>1</integer>
      <key>GL_EXT_texture_filter_anisotropic</key>
      <integer>1</integer>
      <key>GL_EXT_paletted_texture</key>
      <integer>1</integer>
      <key>GL_EXT_shared_texture_palette</key>
      <integer>1</integer>
      <key>GL_EXT_secondary_color</key>
      <integer>1</integer>
      <key>GL_EXT_texture_compression_s3tc</key>
      <integer>1</integer>
      <key>GL_EXT_texture_rectangle</key>
      <integer>1</integer>
      <key>GL_EXT_fog_coord</key>
      <integer>1</integer>
      <key>GL_EXT_draw_range_elements</key>
      <integer>1</integer>
      <key>GL_EXT_stencil_wrap</key>
      <integer>1</integer>
      <key>GL_EXT_blend_func_separate</key>
      <integer>0</integer>
      <key>GL_EXT_multi_draw_arrays</key>
      <integer>1</integer>
      <key>GL_EXT_shadow_funcs</key>
      <integer>0</integer>
      <key>GL_EXT_stencil_two_side</key>
      <integer>0</integer>
      <key>GL_EXT_separate_specular_color</key>
      <integer>0</integer>
      <key>GL_SGIS_texture_edge_clamp</key>
      <integer>1</integer>
      <key>GL_SGIS_generate_mipmap</key>
      <integer>1</integer>
      <key>GL_SGIS_texture_lod</key>
      <integer>1</integer>
      <key>GL_ATI_point_cull_mode</key>
      <integer>0</integer>
      <key>GL_ATI_texture_mirror_once</key>
      <integer>0</integer>
      <key>GL_ATI_pn_triangles</key>
      <integer>0</integer>
      <key>GL_ATIX_pn_triangles</key>
      <integer>0</integer>
      <key>GL_ATI_text_fragment_shader</key>
      <integer>0</integer>
      <key>GL_ATI_blend_equation_separate</key>
      <integer>0</integer>
      <key>GL_ATI_blend_weighted_minmax</key>
      <integer>0</integer>
      <key>GL_ATI_texture_env_combine3</key>
      <integer>1</integer>
      <key>GL_ATI_separate_stencil</key>
      <integer>0</integer>
      <key>GL_ATI_array_rev_comps_in_4_bytes</key>
      <integer>0</integer>
      <key>GL_NV_point_sprite</key>
      <integer>0</integer>
      <key>GL_NV_register_combiners</key>
      <integer>1</integer>
      <key>GL_NV_register_combiners2</key>
      <integer>0</integer>
      <key>GL_NV_texture_env_combine4</key>
      <integer>0</integer>
      <key>GL_NV_blend_square</key>
      <integer>1</integer>
      <key>GL_NV_fog_distance</key>
      <integer>1</integer>
      <key>GL_NV_multisample_filter_hint</key>
      <integer>1</integer>
      <key>GL_NV_texgen_reflection</key>
      <integer>1</integer>
      <key>GL_NV_texture_shader</key>
      <integer>0</integer>
      <key>GL_NV_texture_shader2</key>
      <integer>0</integer>
      <key>GL_NV_texture_shader3</key>
      <integer>0</integer>
      <key>GL_NV_depth_clamp</key>
      <integer>0</integer>
      <key>GL_NV_light_max_exponent</key>
      <integer>1</integer>
      <key>GL_IBM_rasterpos_clip</key>
      <integer>1</integer>
   </dict>
   <key>GL_VERTEX_PROGRAM_ARB</key>
   <dict>
      <key>GL_MAX_PROGRAM_ENV_PARAMETERS_ARB</key>
      <integer>96</integer>
      <key>GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB</key>
      <integer>96</integer>
      <key>GL_MAX_PROGRAM_INSTRUCTIONS_ARB</key>
      <integer>128</integer>
      <key>GL_MAX_PROGRAM_TEMPORARIES_ARB</key>
      <integer>16</integer>
      <key>GL_MAX_PROGRAM_PARAMETERS_ARB</key>
      <integer>192</integer>
      <key>GL_MAX_PROGRAM_ATTRIBS_ARB</key>
      <integer>16</integer>
      <key>GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB</key>
      <integer>1</integer>
      <key>GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB</key>
      <integer>0</integer>
   </dict>
   <key>GL_FRAGMENT_PROGRAM_ARB</key>
   <dict>
      <key>GL_MAX_PROGRAM_ENV_PARAMETERS_ARB</key>
      <integer>96</integer>
      <key>GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB</key>
      <integer>96</integer>
      <key>GL_MAX_PROGRAM_INSTRUCTIONS_ARB</key>
      <integer>72</integer>
      <key>GL_MAX_PROGRAM_TEMPORARIES_ARB</key>
      <integer>16</integer>
      <key>GL_MAX_PROGRAM_PARAMETERS_ARB</key>
      <integer>24</integer>
      <key>GL_MAX_PROGRAM_ATTRIBS_ARB</key>
      <integer>10</integer>
      <key>GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB</key>
      <integer>48</integer>
      <key>GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB</key>
      <integer>24</integer>
      <key>GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB</key>
      <integer>4</integer>
      <key>GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB</key>
      <integer>0</integer>
      <key>GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB</key>
      <integer>0</integer>
   </dict>
</dict>
</plist>


PS: I doubt changing something in this file will help, because for example the app I was testing lately support antialiasing with those same settings...

Posted: 01.04.2006, 14:26
by selden
Did you try the value of 4 to 2 for the antialiasing?

Posted: 01.04.2006, 16:20
by ElChristou
selden wrote:Did you try the value of 4 to 2 for the antialiasing?


Yep, 4 or 2 is the same... nothing...
I suppose this issue as really something to do with the driver vs Celestia... but how to find what's wrong... I really don't know... :x

Posted: 01.04.2006, 18:11
by Cham
Chris,

I'm pretty sure I understand what is the source of your frustration : The NVidia GForce4MX video card cannot do real time AA. The hardware can't do it. But some software applications can do it in some way which do not rely on the video card (software AA). It isn't real AA as defined by video card manufacturers. For example, Celestia can do software AA on orbital paths, but not on the planets themselves (because it's too heavy on the system). Maybe a software AA solution can be added to Celestia, but currently it can't do AA without the hardware. The other app you're using has some software AA features built in.

Posted: 01.04.2006, 23:03
by ElChristou
Cham wrote:Chris,

I'm pretty sure I understand what is the source of your frustration : The NVidia GForce4MX video card cannot do real time AA. The hardware can't do it. But some software applications can do it in some way which do not rely on the video card (software AA). It isn't real AA as defined by video card manufacturers. For example, Celestia can do software AA on orbital paths, but not on the planets themselves (because it's too heavy on the system). Maybe a software AA solution can be added to Celestia, but currently it can't do AA without the hardware. The other app you're using has some software AA features built in.


Ok, I suppose this is what happen between those apps...
So definitively I must change my card... :?

Tx for the explanation.
Bye