使用Direct x创建球面网格? [英] Creating spherical meshes with Direct x?

查看:137
本文介绍了使用Direct x创建球面网格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Direct-x中创建带有网格的球体?我使用的是C ++,程序只能在Windows上运行。

How do you go about creating a sphere with meshes in Direct-x? I'm using C++ and the program will be run on windows, only.

当前通过IDiRECT3DDEVICE9对象呈现所有内容。

Everything is currently rendered through an IDiRECT3DDEVICE9 object.

推荐答案

您可以使用 D3DXCreateSphere 函数。

You could use the D3DXCreateSphere function.

这篇关于使用Direct x创建球面网格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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