活动介绍
file-type

NVIDIA OpenGL扩展集:关键功能与文档概述

PDF文件

下载需积分: 3 | 1.3MB | 更新于2024-12-17 | 103 浏览量 | 1 下载量 举报 收藏
download 立即下载
《NVIDIA OpenGL 扩展规格》是一本专门探讨NVIDIA公司为OpenGL图形编程接口提供的扩展功能的详细文档。OpenGL 是一种广泛应用于计算机图形学领域的标准API,NVIDIA作为GPU市场的领导者,对其扩展技术进行了深入研究并制定了一系列标准,以提升游戏和图形应用的性能和功能。 这本书分为几个主要部分,包括: 1. NVIDIA OpenGL Extension Specifications 1:这部分概述了NVIDIA对OpenGL标准的扩展工作,强调了版权保护和NVIDIA对扩展内容的专有信息。它指出,NVIDIA的扩展是为了补充和增强基础OpenGL规范,使得开发者能够利用NVIDIA硬件的优势。 2. 一些具体扩展的介绍: - ARB_multisample: 提供了多采样抗锯齿技术,提高了图像的平滑度和质量。 - ARB_multitexture: 允许同时使用多个纹理贴图,增强了纹理处理的灵活性。 - ARB_texture_border_clamp: 定义了纹理边界条件,使得纹理在边缘行为更可控。 - ARB_texture_compression: 支持纹理数据压缩,节省内存并加快加载速度。 - ARB_texture_env_add: 增加了环境映射的灵活性,允许更复杂的光照效果。 - ARB_transpose_matrix: 提供了转置矩阵功能,有助于简化矩阵操作。 - EXT系列扩展:如EXT_abgr和EXT_bgra,提供了额外的颜色格式选项;EXT_blend_color和EXT_blend_minmax/EXT_blend_subtract用于调整混合模式;EXT_compiled_vertex_array、EXT_draw_range_elements等扩展改进了顶点数组的性能;EXT_fog_coord支持雾效计算;EXT_packed_pixels和EXT_paletted_texture支持特殊格式的像素数据;EXT_point_parameters控制点属性;EXT_rescale_normal提供标准化法线变换;EXT_secondary_color增加了颜色通道;EXT_separate_specular_color增强光照表现;EXT_shared_texture_palette和EXT_stencil_wrap优化纹理和贴图边缘处理;EXT_texture_compression则涉及纹理压缩技术。 这些扩展展示了NVIDIA如何通过扩展功能来满足专业级图形应用的需求,比如提高图形质量、优化渲染效率以及增加新的视觉特性。对于想要深入了解NVIDIA OpenGL特性和如何在实际项目中应用的开发者来说,这本书是不可或缺的参考资料。同时,它也体现了NVIDIA对推动图形技术和行业的贡献。

相关推荐

filetype

(foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# python run_demo.py /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/torch/utils/cpp_extension.py:25: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import packaging # type: ignore[attr-defined] Warp 1.0.2 initialized: CUDA Toolkit 11.5, Driver 12.6 Devices: "cpu" : "x86_64" "cuda:0" : "NVIDIA GeForce RTX 2070 SUPER" (8 GiB, sm_75, mempool enabled) Kernel cache: /root/.cache/warp/1.0.2 [__init__()] self.cfg: lr: 0.0001 c_in: 6 zfar: 'Infinity' debug: null n_view: 1 run_id: 3wy8qqex use_BN: true exp_name: 2024-01-11-20-02-45 n_epochs: 62 save_dir: /home/bowenw/debug/2024-01-11-20-02-45/ use_mask: false loss_type: pairwise_valid optimizer: adam batch_size: 64 crop_ratio: 1.1 enable_amp: true use_normal: false max_num_key: null warmup_step: -1 input_resize: - 160 - 160 max_step_val: 1000 vis_interval: 1000 weight_decay: 0 normalize_xyz: true resume_run_id: null clip_grad_norm: 'Infinity' lr_epoch_decay: 500 render_backend: nvdiffrast train_num_pair: 5 lr_decay_epochs: - 50 n_epochs_warmup: 1 make_pair_online: false gradient_max_norm: 'Infinity' max_step_per_epoch: 10000 n_rendering_workers: 1 save_epoch_interval: 100 n_dataloader_workers: 100 split_objects_across_gpus: true ckpt_dir: /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2024-01-11-20-02-45/model_best.pth [__init__()] self.h5_file:None [__init__()] Using pretrained model from /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2024-01-11-20-02-45/model_best.pth [__init__()] init done [__init__()] welcome [__init__()] self.cfg: lr: 0.0001 c_in: 6 zfar: .inf debug: null w_rot: 0.1 n_view: 1 run_id: null use_BN: true rot_rep: axis_angle ckpt_dir: /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2023-10-28-18-33-37/model_best.pth exp_name: 2023-10-28-18-33-37 save_dir: /tmp/2023-10-28-18-33-37/ loss_type: l2 optimizer: adam trans_rep: tracknet batch_size: 64 crop_ratio: 1.2 use_normal: false BN_momentum: 0.1 max_num_key: null warmup_step: -1 input_resize: - 160 - 160 max_step_val: 1000 normal_uint8: false vis_interval: 1000 weight_decay: 0 n_max_objects: null normalize_xyz: true clip_grad_norm: 'Infinity' rot_normalizer: 0.3490658503988659 trans_normalizer: - 0.019999999552965164 - 0.019999999552965164 - 0.05000000074505806 max_step_per_epoch: 25000 val_epoch_interval: 10 n_dataloader_workers: 60 enable_amp: true use_mask: false [__init__()] self.h5_file: [__init__()] Using pretrained model from /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2023-10-28-18-33-37/model_best.pth [__init__()] init done [_get_plugin()] Lock file exists in build directory: '/root/.cache/torch_extensions/py39_cu117/nvdiffrast_plugin/lock'

filetype

root@localhost:~# eglinfo EGL client extensions string: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless GBM platform: EGL API version: 1.5 EGL vendor string: Mesa Project EGL version string: 1.5 EGL client APIs: OpenGL OpenGL_ES EGL extensions string: EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_image_dma_buf_export EGL_MESA_query_driver Configurations: bf lv colorbuffer dp st ms vis cav bi renderable supported id sz l r g b a th cl ns b id eat nd gl es es2 vg surfaces --------------------------------------------------------------------- 0x01 32 0 10 10 10 2 0 0 0 0 0x30335241-- y y y win 0x02 32 0 10 10 10 2 16 0 0 0 0x30335241-- y y y win 0x03 32 0 10 10 10 2 24 0 0 0 0x30335241-- y y y win 0x04 32 0 10 10 10 2 24 8 0 0 0x30335241-- y y y win 0x05 32 0 10 10 10 2 32 0 0 0 0x30335241-- y y y win 0x06 32 0 10 10 10 2 0 0 4 1 0x

filetype

In /build/vtk7-yd0MKW/vtk7-7.1.1+dfsg2/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 636 vtkXOpenGLRenderWindow (0x7fac4c000cb0): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. ERROR: In /build/vtk7-yd0MKW/vtk7-7.1.1+dfsg2/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx, line 3535 vtkOpenGLPolyDataMapper (0x7fac4c59be50): failed after BuildBufferObjects 1 OpenGL errors detected 0 : (1280) Invalid enum ERROR: In /build/vtk7-yd0MKW/vtk7-7.1.1+dfsg2/Rendering/OpenGL2/vtkShaderProgram.cxx, line 394 vtkShaderProgram (0x7fac4c5e5e50): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define varying in 5: #ifdef GL_FRAGMENT_PRECISION_HIGH 6: precision highp float; 7: precision highp sampler2D; 8: precision highp sampler3D; 9: #else 10: precision mediump float; 11: precision mediump sampler2D; 12: precision mediump sampler3D; 13: #endif 14: #define texelFetchBuffer texelFetch 15: #define texture1D texture 16: #define texture2D texture 17: #define texture3D texture 18: #endif // 300 19: #if __VERSION__ == 100 20: #extension GL_OES_standard_derivatives : enable 21: #ifdef GL_FRAGMENT_PRECISION_HIGH 22: precision highp float; 23: #else 24: precision mediump float; 25: #endif 26: #endif // 100 27: #else // GL_ES 28: #define highp 29: #define mediump 30: #define lowp 31: #if __VERSION__ == 150 32: #define varying in 33: #define texelFetchBuffer texelFetch 34: #define texture1D texture 35: #define texture2D texture 36: #define texture3D texture 37: #endif 38: #if __VERSION__ == 120 39: #extension GL_EXT_gpu_shader4 : require 40: #endif 41: #endif // GL_ES 42: 43: 44: /*========================================================================= 45: 46: Program: Visualization Toolkit 47: Module: vtkPoly

douzsh
  • 粉丝: 0
上传资源 快速赚钱