joshcamas Posted October 15, 2016 Share Posted October 15, 2016 Hey guys! I had a little idea that sprouted in my mind, and of course couldn't get rid of it. The first thing I did? Oh, I made a logo. For some reason this is I what I do every time I start a project... gotta make a logo!! Basically, SpriteGen generates spritesheets out of 3D models in babylonjs. Currently, all it does is allow you to load a scene (or load the test scene), fiddle with a couple camera controls, and generate a super simple sprite sheet... just all 4 sides. I plan on adding animations, where you can generate frame by frame. So anyways, here's the most basic possible version that was made in a couple hours. INSTRUCTIONS: PRESS 'LOAD BASIC SCENE', THEN 'GENERATE SPRITE'http://samacstudios.com/projects/spritegen/ Here's the scene: And here's the output: If you guys know how to enable anti-aliasing on screenshots that'd be sexy! I plan on making this little guy nice and tidy and pretty soon :3 It feels good to be home. Pryme8 and jerome 2 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted October 17, 2016 Share Posted October 17, 2016 Good to have you home, Josh. Cool project! Screenshots might not be anti-alias-able, for the same reason that edgesRendering is not included in screenshots. http://www.html5gamedevs.com/topic/25071-showing-edges-when-taking-screenshot/#comment-143856 Not sure, though. Anti-aliasing might be a post-processing "layer" thing... just like edgesRendering. Screen grabs might happen "up-stream" from that. http://doc.babylonjs.com/tutorials/Render_Scene_on_a_PNG Our broken-picture screen-grab docs also agrees about anti-aliasing... but you probably saw that already. Hopefully, smarter people than I... will comment soon. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 17, 2016 Share Posted October 17, 2016 Hey hey!!! I did a cool update to screenshot The new version supports antialiasing! Just give it a try https://github.com/BabylonJS/Babylon.js/blob/master/src/Tools/babylon.tools.ts#L650 Old version also still supported just in case: https://github.com/BabylonJS/Babylon.js/blob/master/src/Tools/babylon.tools.ts#L696 BTW: Love the logo! Quote Link to comment Share on other sites More sharing options...
joshcamas Posted October 17, 2016 Author Share Posted October 17, 2016 @Wingnut Ayee thanks for the tips man! I sadly have no knowledge of fancy stuff of post processing, so I guess we'll both have to wait for a smarter guy. Oh wait... @Deltakosh Here he is! Awesome! I'm super excited to try that out, Deltakosh! Quote Link to comment Share on other sites More sharing options...
Aerion Posted August 27, 2017 Share Posted August 27, 2017 Would be awesome if you could finish this, @joshcamas! <3 Quote Link to comment Share on other sites More sharing options...
joshcamas Posted October 11, 2017 Author Share Posted October 11, 2017 Sorry about the super late reply! I'm afraid I have moved on from the HTML5 scene for now, I may return. I'm currently working on a big project with Unity. I can release the source files, if you want to see how it works, it's actually quite simple 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.