当前位置: 首页 > news >正文

网站开发设计总结电影里的做视频在线观看网站

网站开发设计总结,电影里的做视频在线观看网站,微信创建公众号,时间轴网站代码目标: 数据化#xff0c;模块化#xff0c;自动化 备注: 从这个节点开始整体设计往系统规范的方向靠拢。之前的都算作是若干准备。所以会和之前的版本实现有些差异。 当前示例源码github地址: https://github.com/vilyLei/voxwebgpu/blob/feature/material/src/voxgpu/sa…目标:  数据化模块化自动化 备注: 从这个节点开始整体设计往系统规范的方向靠拢。之前的都算作是若干准备。所以会和之前的版本实现有些差异。 当前示例源码github地址: https://github.com/vilyLei/voxwebgpu/blob/feature/material/src/voxgpu/sample/MaterialPipelineTest.ts 当前示例运行效果: 此示例基于此渲染系统实现当前示例TypeScript源码如下 export class MaterialPipelineTest {private mRscene new RendererScene();initialize(): void {this.mRscene.initialize({canvasWith: 512,canvasHeight: 512,mtplEnabled: true,rpassparam: { multisampled: true }});this.initScene();this.initEvent();}private initScene(): void {let rc this.mRscene;let mtpl rc.renderer.mtpl;mtpl.light.data createLightData([0, 300, 0], 600, 5.0);mtpl.shadow.param.intensity 0.7;let position [-230.0, 100.0, -200.0];let materials this.createMaterials(true);let sph new SphereEntity({radius: 80,transform: {position},materials});rc.addEntity(sph);position [10.0, 100.0, -180.0];materials this.createMaterials(true);let box new BoxEntity({minPos: [-30, -30, -30],maxPos: [130, 230, 80],transform: {position,rotation: [50, 130, 80]},materials});rc.addEntity(box);position [160.0, 100.0, 210.0];materials this.createMaterials(true);let torus new TorusEntity({transform: {position,rotation: [50, 30, 80]},materials});rc.addEntity(torus);position [130.0, 220.0, 180.0];materials this.createMaterials(true);torus new TorusEntity({transform: {position,rotation: [50, 30, 80]},materials});rc.addEntity(torus);position [0, -1, 0];materials this.createMaterials(true, false);let plane new PlaneEntity({axisType: 1,materials,extent: [-600, -600, 1200, 1200],transform: { position }});rc.addEntity(plane);}private initEvent(): void {const rc this.mRscene;rc.addEventListener(MouseEvent.MOUSE_DOWN, this.mouseDown);new MouseInteraction().initialize(rc, 0, false).setAutoRunning(true);}private hdrEnvtex new SpecularEnvBrnTexture();private createBaseTextures(): WGTextureDataDescriptor[] {const albedoTex { albedo: { url: static/assets/pbrtex/rough_plaster_broken_diff_1k.jpg } };const normalTex { normal: { url: static/assets/pbrtex/rough_plaster_broken_nor_1k.jpg } };const armTex { arm: { url: static/assets/pbrtex/rough_plaster_broken_arm_1k.jpg } };let textures [this.hdrEnvtex,albedoTex,normalTex,armTex] as WGTextureDataDescriptor[];return textures;}private createMaterials(shadowReceived false, shadow true, uvParam?: number[]): BaseMaterial[] {let textures0 this.createBaseTextures();let material0 this.createMaterial(textures0);this.applyMaterialPPt(material0, shadowReceived, shadow);let list [material0];if (uvParam) {for (let i 0; i list.length; i) {list[i].property.uvParam.value uvParam;}}return list;}private applyMaterialPPt(material: BaseMaterial, shadowReceived false, shadow true): void {let property material.property;property.ambient.value [0.0, 0.2, 0.2];property.albedo.value [0.7, 0.7, 0.3];property.arms.roughness 0.8;property.armsBase.value [0, 0, 0];property.param.scatterIntensity 32;property.shadow shadow;property.lighting true;property.shadowReceived shadowReceived;}private createMaterial(textures: WGTextureDataDescriptor[]): BaseMaterial {let pipelineDefParam {depthWriteEnabled: true};let material new BaseMaterial({ pipelineDefParam });material.addTextures(textures);return material;}private mouseDown (evt: MouseEvent): void {}run(): void {this.mRscene.run();} }
http://www.yutouwan.com/news/477884/

相关文章:

  • 做好网站怎么做app头条有没有做网站的
  • 过时的网站邯郸企业网站建设公司
  • 平面设计专业的大专院校网站做sem优化
  • 门户网站怎么开发mysol做的选课网站
  • 建德市建设局网站昆明网站建设公司
  • 八年级信息技术网站建立怎么做怎么免费建设个人博客网站
  • 网站建设以什么盈利网站建设中系统实现
  • 网站建设实习内容字体设计转换器
  • 百讯网站建设论坛类网站设计
  • 网站建设背景资料做网站大作业的心得体会
  • 网站开发中 整体框架的架构网站建设利润
  • 做百度移动网站排建设行业网站价格
  • 外包做网站不付尾款春雨直播正版下载
  • wordpress 技术类主题宁波seo公司排名榜
  • 邯郸网站建设信息影视小程序搭建
  • 宿迁市建设局网站维修基金深圳网页设计培训费用
  • 个人工作室网站株洲网站建设的公司
  • 预约网站制作投资公司收到分红要交什么税
  • 包装设计app南昌seo推广
  • 新网站如何做优化火车头采集 wordpress
  • 网站在建设中163企业邮箱登录注册入口
  • 免费开源网站建设系统手机做ppt免费模板
  • 如何创建个人网站赚钱电商首页设计
  • 专业网站做网站商城开发什么语言最快
  • 做网站内容需要自己填的手机微信网页版
  • 建设网站需要什么技术人员网上营销策略有哪些
  • 想做网站要学什么连接外国的网站吗
  • wordpress 页面伪静态页面优化排名
  • 上海松江网站建设公司免费咨询医生的app
  • 企业免费推广网站无锡哪家网站做的比较好