coolroar Posted November 1, 2018 Share Posted November 1, 2018 I keep changing my avatar. A character defect? ? Anyway I created it using BJS: https://www.babylonjs-playground.com/#SVZL1I#3 https://www.babylonjs-playground.com/#SVZL1I#4 I needed to take a break from long-term projects, so I did this instant gratification stuff. ? Take a look, they're short, fun, & tinkerable! eps, DylanD, Gijs and 5 others 8 Quote Link to comment Share on other sites More sharing options...
Guest Posted November 1, 2018 Share Posted November 1, 2018 haha! excellent! coolroar 1 Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted November 2, 2018 Share Posted November 2, 2018 Thanks! I had tried doing this earlier, but my .gif would never animate on this site as an avatar. I had seen others who had a .gif. What did you use to go from .webm to .gif? DylanD 1 Quote Link to comment Share on other sites More sharing options...
coolroar Posted November 2, 2018 Author Share Posted November 2, 2018 Hey @JCPalmer & @DylanD, well surprisingly, googling "webm to gif" led me straight to it. But issues: I repeatedly ran the PG with different time values in recorder.startRecording("test.webm", 2) in order to eliminate the jump as the vid cycled. (using the converter at https://convertio.co/webm-gif/) Ended up exceeding their 10/day limit. Then I went to https://ezgif.com/video-to-gif where they had editing options (trim by frame numbers) for the resulting gif. I also used those editing options to remove alternate frames to shrink file size to fit avatar requirements. Good luck, I hope it goes smoothly for you! ? Edit: one other issue: to make the avatar, I put the playground code in a local .html where I set the canvas dimensions to avatar size (128px x 128px). Arte and DylanD 2 Quote Link to comment Share on other sites More sharing options...
eps Posted November 3, 2018 Share Posted November 3, 2018 Cool! coolroar 1 Quote Link to comment Share on other sites More sharing options...
coolroar Posted November 3, 2018 Author Share Posted November 3, 2018 @JCPalmer I see that your my .gif is animated. Maybe the transparent background clashes with site avatar? JCPalmer 1 Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted November 3, 2018 Share Posted November 3, 2018 If you look at the repo history, I had an initial commit with blue background. It did not work, but thanks for thinking about it. I have seen a .gif that worked which had transparency. The thing in common with those which have worked is that they all have very few colors. Think I will try to generate a .webm to an unpublished scene, based on my Blow Me Baby scene. Then try to follow your converter process. It is Saturday, cold & rainy (grabbing beer). Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted November 3, 2018 Share Posted November 3, 2018 Well got the scene generating a vp8 codec WEBM. Below in HD in 2.39:1 aspect ratio. I need to add another resolution (128x128), or just temp change the code for 480, then I will have a good candidate: avatarHD.webm Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted November 3, 2018 Share Posted November 3, 2018 Now at 128 by 128 webm. the conversion F'ing worked! Thanks again. DylanD and coolroar 1 1 Quote Link to comment Share on other sites More sharing options...
coolroar Posted November 3, 2018 Author Share Posted November 3, 2018 Woo Woo! Very nice! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.