简体   繁体   中英

How can I create a pre-render input window in MFC?

I have modified Nehe's terrain tutorial so that it generates a terrain using Perlin noise instead of loading the static .raw file that comes with the tutorial. I want to specify the parameters for perlin noise (frequency, amplitude, number of octaves) before rendering the terrain. In fact, I just want to create a window that takes those 3 parameters and then dies , I don't need anything else, I do my interfaces on GLUT, I just want this particular app to run this way.

How can I do that? What should be modified in the Nehe project ? I understand MFC doesn't have a built-in input box ?

我对本教程不熟悉,但是如果您希望不显示输入框,但要输入参数,是否可以将窗口创建为不可见?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM