Cloned Chapter 7 model viewer, using to preview each model.
Nissan GTR OBJ -
- downloaded from turbosquid.
- materials weren't showing up imported into Blender.
- Tried simple convert using Three.js OBJ converter, materials still didn't show up
- Problem was spaces in file names in .MTL (material) file e.g. 'Nissan OBJ.js'; I took out spaces and materials worked.
- Converted to JS, couldn't see texture
- (edited JS file) Changed diffuse color of materials from black to white, textures showed up
- (edited JS file) Added blue specular to car body for pop
Muscle Car -
- no materials or textures present. might complain to turbosquid
Camaro -
- downloaded from turbosquid, no materials in the file, had to chat with support.
- they sent me updated model. noted that pivot point (origin) is at front of car instead of center,
and off-center in X dimension too
Nova Car (OBJ)
- fixed spaces in material file name
- fixed spaces in texture file names, also a problem
- converted Targa texture files to JPEG
- loaded in model previewer, noted that pivot point (origin) is at front of car instead of center
Hatchback (OBJ)
- came in two pieces
- needed to convert BMP to JPG
- needed to hack double-sided for the wheel
A lot of the models don't have anything underneath. That's ok, only our main one needs to.
SCORING
RESTART
CONTENT
Sounds
Driving in a Car http://www.freesound.org/people/RutgerMuller/sounds/50910/
Nissan Maxima Burnout http://www.freesound.org/people/audible-edge/sounds/71740/
Car Crash http://www.freesound.org/people/sandyrb/sounds/95078/
Car Revving http://www.freesound.org/people/Walter_Odington/sounds/18620/
CODE
Awesome speedometer
https://github.com/vjt/canvas-speedometer
没有合适的资源?快使用搜索试试~ 我知道了~
WebGL入门指南源码
共125个文件
js:68个
html:43个
css:10个
5星 · 超过95%的资源 需积分: 32 27 下载量 83 浏览量
2017-11-24
10:43:28
上传
评论
收藏 135KB ZIP 举报
温馨提示
WebGL入门指南源代码,包含各章节源代码。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
资源推荐
资源详情
资源评论
收起资源包目录
WebGL入门指南源码 (125个子文件)
game.css 2KB
integration-object.css 1KB
integration-div.css 1022B
integration-media.css 574B
game-model-viewer.css 385B
integration-canvas.css 371B
integration-text.css 266B
game-sounds.css 226B
integration-video.css 171B
production-loader-scene.css 155B
game-model-viewer.html 7KB
game.html 5KB
example1-1.html 5KB
game-sounds.html 5KB
game-art-direction.html 4KB
production-loader-model.html 4KB
game-hud.html 4KB
integration-object.html 3KB
integration-media.html 3KB
example2-2.html 3KB
graphics-solar-system.html 2KB
production-loader-scene.html 2KB
integration-video.html 2KB
keyframe-lights.html 2KB
keyframe-material.html 2KB
production-loader-json.html 1KB
interaction-camera-navigation.html 1KB
integration-div.html 1KB
production-loader-collada.html 1KB
production-loader-binary.html 1KB
interaction-drag.html 1KB
tween-easing.html 1KB
production-crossdomain-CORS.html 1KB
interaction-camera-model.html 1KB
interaction-hitpoint.html 1KB
production-context-lost.html 1KB
interaction-simple.html 1KB
example2-1.html 1KB
keyframe-simple.html 1KB
keyframe-robot.html 1KB
keyframe-texture.html 1KB
production-detect-webgl.html 1KB
game-graybox.html 1KB
integration-canvas.html 1KB
tween-basic.html 1KB
production-crossdomain-JSONP.html 997B
integration-text.html 958B
production-crossdomain-proxy.html 911B
game-particles.html 894B
graphics-earth-shader.html 819B
graphics-earth-lit.html 804B
graphics-earth-moon.html 800B
graphics-earth-basic.html 790B
webgl-debug.js 25KB
speedometer.js 14KB
keyframe-robot-byhand.js 11KB
game.js 8KB
interaction-camera-navigation.js 7KB
environment.js 7KB
earth.js 7KB
interaction-hitpoint.js 6KB
integration-div.js 6KB
earth-moon.js 5KB
car.js 5KB
keyframe-robot.js 5KB
interaction-camera-model.js 5KB
artDirection.js 5KB
integration-trackingdiv.js 5KB
solarSystem2.js 5KB
interaction-simple.js 5KB
interaction-drag.js 4KB
saturn.js 4KB
integration-object.js 4KB
keyframe-material.js 4KB
player.js 4KB
rssCanvasProgram.js 4KB
keyframe-lights.js 4KB
digitaldisplay.js 4KB
grayBox.js 4KB
integration-text.js 4KB
xcanvas.js 4KB
earth-shader.js 4KB
paintCanvasProgram.js 3KB
earth-shader.js 3KB
keyframe-simple.js 3KB
keyframe-texture.js 3KB
canvasView.js 3KB
videoPlayer.js 3KB
integration-video.js 2KB
JSONPImageApp.js 2KB
sceneViewer.js 2KB
contextLost.js 2KB
exhaust.js 2KB
solarSystem1.js 2KB
tween-easing.js 2KB
modelViewer.js 2KB
modelViewer.js 2KB
colladaModel.js 2KB
planet.js 2KB
tween-basic.js 2KB
共 125 条
- 1
- 2
资源评论
- u0107441252022-02-21没发现什么问题。
qq_36810479
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功