摘要:
看到一篇JavaScript写的光线跟踪,于是我想搬进MaxScript。JavaScript的帖子可见Milo的博客 http://www.cnblogs.com/miloyip/archive/2010/03/29/1698953.html先从画布填充开始.画布填充Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->GC()FreeSceneBitmaps()if theCanvas!= undefined do UnDisplay theC 阅读全文
摘要:
Interface *MaxInterface= GetCOREInterface();IMenuManager *MaxMenuManager = MaxInterface->GetMenuManager();IMenu *MaxMainMenu = MaxMenuManager->GetMainMenuBar();IMenu *TestMenu = GetIMenu();TestMenu->SetTitle("TestMenu");IMenuItem *TestMenuItem = GetIMenuItem();TestMenuItem->Set 阅读全文