开发者

Zooming in and out in Direct3D

开发者 https://www.devze.com 2023-01-16 00:38 出处:网络
I have a 3D scene and I want to开发者_运维问答 be able to zoom in and out. What implementations are good, and which has some flaws? Will I be changing viewport, clipping panes? I totally don\'t know.

I have a 3D scene and I want to开发者_运维问答 be able to zoom in and out. What implementations are good, and which has some flaws? Will I be changing viewport, clipping panes? I totally don't know.

Thanks


If you want a camera-like zoom, just change the camera viewing angle. This is usually set to around 45 degrees, but making it smaller will zoom into the image.


I think "zooming" refers to adjusting the view of a 2d image.

In a 3d scene I do not know what you mean with zooming. Probably moving the camera is what you are looking for? http://www.toymaker.info/Games/html/camera.html

0

精彩评论

暂无评论...
验证码 换一张
取 消