计算机图形学_信工学院_和核心代码.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计算机图形学_信工学院_和核心代码

float Nblend (int i; int k; float t; int *knot) int temt; float v; If (k==1) { v=0; if((knot[i]=t)(tknot[i+1])) v=1; } else { v=0; temp=knot[i+k-1]-knot[i]; if(temp0)v=(t-knot[i])*Nblend(i,k-1,t)/temp; temp=knot[i+k]-knot[i+1]; if(temp0)v=v+(knot[i+k]-t)*Nblend(i+1,k-1,t)/temp; } Nblend=v; } 8. Interactive Input Methods 8.1 Logical Classification of Input Devices 8.2 Input Modes 8.3 Interactive Picture-Construction Techniques 8.4 The User Dialogue 8.2 Logical Classification of Input Devices (1) Locator-a device for specifying a coordinate position(x,y) (2) Stroke-a device for specifying a series of coordinate positions (3) String-a device for specifying text input (4) Valuator-a device for specifying scalar values (5) Choice-a device for selecting menu options (6) Pick-a device for selecting picture components (1) Locator A standard method for interactive selection of a coordinate point is by positioning the screen cursor. Mouse Joystick Trackball Spaceball Thumbwheels Dials Digitizer stylus or hand cursor Keyboards Light pens (2) Stroke This class of logical devices is used to input a sequence of coordinate positions. Mouse Trackball Joystick Tablet hand cursor (3) String Keyboards Locator or stroke devices Voice devices Mouse(soft keyboards) (4) Valuator Valuators are used for setting various graphics parameters, such as rotation angle and scale factors, and for setting physical parameters associated with a particular application. Keyboards Control dials Locators-joysticks, trackballs, tablets sliders (5) Choice A choice device is defined as one that enters a selection from a list(menu) of alternatives. Keyboards Cursor-control devices Voice input devices (6) Pick Pick devices are used to select parts of a scene that are to be transformed or edited in some way. Cursor Pick window keyboards-High light display in sequence Keyboards-the name of segment 8.4 Interactive Picture-Construction Techniques 8.4.1 Basic Positioning Methods 8.4.2 Con

文档评论(0)

feixiang2017 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档