在不使用其他库/ API的情况下绘制3D几何图形 [英] Drawing 3D Geometries without using additional libraries/API

查看:109
本文介绍了在不使用其他库/ API的情况下绘制3D几何图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是如何在不使用DirectX,OpenGL API或GPU计算语言(如Nvidia CUDA)的情况下绘制简单的3D几何体,例如Sphere。我想使用可视化C / C ++生成3D几何库。



我知道DirectX是最简单有效的方法,但 我想了解如何使用我的纯C / C ++程序(软件级别)访问硬件级别使用GPU在显示器上绘制具有着色器的2D几何图形,以将这种2D几何图形视为三维(3D)几何图形。我知道我在问什么奇怪和沉重,但至少理论解释的东西滚动计算机科学加上数学。

My question is How to draw simple 3D geometry such as Sphere without using DirectX,OpenGL API or GPU Computational language such as Nvidia CUDA.I want to produce 3D geometry library using visual C/C++.

I know DirectX is the simplest and efficient way,but I want to understand how to access hardware level using my pure C/C++ program(software level) to draw 2D geometries with shaders on monitor using GPU to view such 2D geometry as three dimensional(3D) ones. I know what I am asking kind of odd and heavy but at least theoretical explanation stuff rolling with computer science plus mathematics.

推荐答案

这篇关于在不使用其他库/ API的情况下绘制3D几何图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆