重要提示:请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
首页 > 大学本科> 网课在线教育
网友您好,请在下方输入框内输入要搜索的题目:
搜题
拍照、语音搜题,请扫码下载APP
扫一扫 下载APP
题目内容 (请给出正确答案)
[单选题]

已知下列代码完成了一个带纹理的立面绘制,请从选项里面选择正确的语句填到空白处: PImage img; float theta = 0.0; void setup() { size(400,400,P3D); noStroke(); img = loadImage("f2.jpg"); ① //设置纹理模式 } void draw() { background(144); theta +=0.01; translate(150,200,0); rotateX(theta); beginShape(QUADS); ② //加载纹理图片 vertex(0,0,0,0,0); vertex(100,0,0,1,0); vertex(100,100,0,1,1); vertex(0,100,0,0,1); endShape(); }

A.①texture(img); ②textureMode(NORMAL);

B.①textureMode(NORMAL); ②texture(img);

C.①texture(img); ②textureMode(img);

D.①textureMode(img); ②texture(img);

答案
查看答案
更多“已知下列代码完成了一个带纹理的立面绘制,请从选项里面选择正确的语句填到空白处: PImage img”相关的问题

第1题

已知下列代码完成了一个立方体的绘制,请从选项里面选择正确的语句填到空白处: void drawCube(

A.A.vertex(0,0,0); vertex(a,0,0); vertex(a,a,0); vertex(0,a,0);

B.B.vertex(0,0,0); vertex(0,a,0); vertex(a,0,a); vertex(0,a,0);

C.C.vertex(0,0,0); vertex(0,a,0); vertex(a,a,0); vertex(0,a,0);

D.D.vertex(0,0,0); vertex(a,0,0); vertex(a,0,a); vertex(0,a,0);

点击查看答案

第2题

请从下列语句表选项中选择错误的一个()。

A.LDNIM3.4

B.INVDMD10

C.DECWAC1

D.-RVD0,AC3

点击查看答案

第3题

完形性属于格式塔心理学里面一个概念。()

完形性属于格式塔心理学里面一个概念。()

点击查看答案

第4题

阅读下面的程序,按要求在空白处填写适当的表达式或语句,使程序完整并符合题目要求。已知下面程
序的功能是:从键盘任意输入一个年号,判断它是否是闰年。若是闰年,输出“Yes”; 否则输出“No”, 已知符合下列条件之一者是闰年:(1) 能被4整除, 但不能被100整除;

(2)能被400整除。

点击查看答案

第5题

阅读下面html代码,下面选项中可以正确获取代码中第一个文本框对象的javascript语句是() A、doc

阅读下面html代码,下面选项中可以正确获取代码中第一个文本框对象的javascript语句是()

:A、document.getElementByName(firstpwd)

B、document.getElementByName(pwd)

C、document.getElementByid(firstpwd)

D、document.getElementByTagName(input)

点击查看答案

第6题

第二节 完型填空 阅读下面短文,从短文后所给的[A]、[B]、[C]三个选项中选择能填入相应空白处的最佳

第二节 完型填空

阅读下面短文,从短文后所给的[A]、[B]、[C]三个选项中选择能填入相应空白处的最佳选项。

People go to pubs (酒吧) to drink and to meet friends. There is【C1】______waiter service in a pub; people【C2】______drinks or food and drink or eat【C3】______at a table. Drinks and food are【C4】______as they are handed over. Pubs are open from half past ten in the morning to half past two in the afternoon , and【C5】______from half past five to ten【C6】______eleven in the evening. Pubs have to be very strict (严格的) about【C7】______time. Ten minutes【C8】______, the manager will call "last orders, please". People are【C9】______a few minutes "drinking up time". They【C10】______and the doors are closed.

【C1】

A.none

B.few

C.no

点击查看答案

第7题

第二节 完型填空 阅读下面短文,从短文后所给的[A]、[B]、[C]三个选项中选择能填入相应空白处的最佳

第二节 完型填空

阅读下面短文,从短文后所给的[A]、[B]、[C]三个选项中选择能填入相应空白处的最佳选项。

Though every morning I queue(排队) at the bus stop very early, I am often【C1】______ for school. The reason is that there are【C2】______ buses for all the people who queue up at the stop, and the buses often arrive there late.【C3】______ the time table,there should be a bus【C4】______ fifteen minutes, but one often has to wait【C5】______ hour for a bus to arrive.

By the time the bus arrives,【C6】______ so many people in the queue that those near the【C7】______ can't get on the bus and【C8】______ to wait for another thirty minutes before the【C9】______ bus arrives.

I wish the bus【C10】______ would put more buses on.

【C1】

A.early

B.late

C.on time

点击查看答案

第8题

下列选项中,对于MyBatis框架的Sql语句编写在下列什么文件中,实现sql语句与java代码的分离()

A.spring-mvc.xml

B.xxxmapper.xml

C.spring.xml

D.web.xml

点击查看答案

第9题

函数的意义是:把实现相同功能的代码作为一个代码块封装在一起,就形成了一个函数()

点击查看答案

第10题

已知:intx,a,b;下列选项中正确的if语句是()。

A.if(a=b)x++;

B.if(a=<b)x++;

C.if(a-b)x++;

D.if(x)x++;

点击查看答案
下载APP
关注公众号
TOP
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案 购买前请仔细阅读《购买须知》
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《服务协议》《购买须知》
立即支付 系统将自动为您注册账号
已付款,但不能查看答案,请点这里登录即可>>>
请使用微信扫码支付(元)

订单号:

遇到问题请联系在线客服

请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示:请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
请用微信扫码测试
优题宝