mrslip777

Members
  • Content Count

    9
  • Joined

  • Last visited

About mrslip777

  • Rank
    Newbie
  • Birthday 08/02/1983

Profile Information

  • Gender
    Male
  • Location
    japan/Hokkaido

Contact Methods

  • Twitter
    https://twitter.com/KjmCh2s
  1. sorry. The download destination was not appropriate. It should be as follows. 1.Download the model from the URL below. https://www.live2d.com/en/download/cubism-sdk/download-web/ 2.Push "Cubism SDL for Web" 3.Unzip CubismSdkForWeb-4-r.1\Samples\Resources Hiyori
  2. I put the current project below. It may be a little complicated because it is based on rpgmakermz. https://www.dropbox.com/sh/qssuxyoeq54830r/AAD7ekxmQslb_ZTt6yWzRgdHa?dl=0
  3. Due to the rules, it is difficult to post the current project as it is. Please wait for a while as we will create the smallest project separately.
  4. Thank you for responce. ①about vao I replaced vao with the following code. (The result did not change) renderer.geometry.contextChange(); ②current results When the display target is displayed, the background becomes black. [reference] https://twitter.com/KjmCh2s/status/1298019423782141954?s=20
  5. The background is displayed in black.(I want to display only the live2d model on the existing screen). I think the baseRenderTexture setting is wrong, but I'm not sure. I would like to know if there is a way to make the background transparent. The code of the render part is as follows. ※renderer is Renderer Live2DSprite.prototype._render = function(renderer) { //Create renderTexture. $gameLive2d.gl = renderer.gl; $gameLive2d.canvas = renderer.view; if (!this.modelReady) { this.texture = new PIXI.RenderTexture.create($gameLive2d.canvas.width, $gameLive2d.canvas.height); this.modelReady = true; return; } renderer.gl.activeTexture(renderer.gl.TEXTURE1); //Create VertexArray vao = renderer.gl.createVertexArray(); renderer.gl.bindVertexArray(vao); //Clear buffer renderer.framebuffer.clear(0.0, 0.0, 0.0, 0.0); //Draw Live2dModel if($gameLive2d._lappLive2dManager){ LAppPal.updateTime(); renderer.gl.flush(); $gameLive2d._lappLive2dManager.onUpdate(); } //bind renderTexture renderer.renderTexture.bind(this.texture); }
  6. Below is the continuation of the project. https://www.html5gamedevs.com/topic/46091-replacement-bindrendertexture-and-bindrendertarget-at-pixijs-v5/ Somehow, I understand how to render a live2d model. Currently, it is possible to display the live2d model. However, the background becomes dark. I want to display the background transparently. I thought that if you preload BaseRenderTexture from the following description, it will be solved, I don't know how. I would appreciate it if you could introduce useful materials. https://pixijs.download/dev/docs/PIXI.BaseRenderTexture.html
  7. thank you so much! I will study with reference to the contents of the reply.
  8. I want to display a live2d model using PixiJS V5, cubism 4.0 sdk. Specifically, I am planning to create a Live2DSprite that inherits Sprite and display it by rendering. However, it is not done at present. Probably you haven't successfully replaced the bindRenderTexture and bindRenderTarget of PixiJS V4 I am thinking. Is there a mechanism to change to bindRenderTexture and bindRenderTarget in PixiJS V5? [reference] I want to do the following. https://github.com/avgjs/pixi-live2d [progress] Reference video https://github.com/MrSlip777/MZ_talk_live2d_cubism4