{"size": 8921, "ext": "js", "max_stars_repo_path": "ForumArchive/acc/post_12800_page_1.js", "max_stars_repo_name": "doc22940/Extensions", "max_stars_repo_stars_event_min_datetime": "2015-01-01T17:33:35.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-26T16:38:08.000Z", "max_issues_repo_path": "ForumArchive/acc/post_12800_page_1.js", "max_issues_repo_name": "doc22940/Extensions", "max_issues_repo_issues_event_min_datetime": "2015-06-20T00:39:16.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T22:55:27.000Z", "max_forks_repo_path": "ForumArchive/acc/post_12800_page_1.js", "max_forks_repo_name": "doc22940/Extensions", "max_forks_repo_forks_event_min_datetime": "2015-04-29T09:50:11.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:20:44.000Z"}
{"max_stars_count": 136, "max_issues_count": 60, "max_forks_count": 141, "avg_line_length": 8921.0, "max_line_length": 8921, "alphanum_fraction": 0.8389194037}
[{"Owner":"joshcamas","Date":"2015-02-28T01:10:20Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Hello guys!!!_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_I_t_ve been working a huge amount on my editor_co_ (it_t_s been like 4 months now?) and I_t_m actually getting somewhere!_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_I_t_ve run into an interesting problem_co_ however - the editor is going to have a list of meshes. When you hover over the mesh_co_ I need a image to go along with it._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_How would I do this? Render a mesh and turn it into an image during runtime... _lt_/p_gt__lt_p_gt_I hope this makes sense!_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Thanks!_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_-Josh_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_oh_co_ and here_t_s a sneaky peaky of my work_dd_ _dd_3 _lt_/p_gt__lt_blockquote class_eq__qt_ipsStyle_spoiler_qt_ data-ipsspoiler_eq__qt__qt__gt__lt_div_gt_ _lt_/div_gt__lt_div_gt__lt_p_gt_It_t_s not that great but hey it_t_s progress_lt_/p_gt__lt_/div_gt__lt_p_gt__lt_img src_eq__qt_http_dd_//i.imgur.com/TmOcYjX.png?1_qt_ alt_eq__qt_TmOcYjX.png?1_qt__gt__lt_/p_gt__lt_/blockquote_gt__lt_p_gt_ _lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Dad72","Date":"2015-02-28T01:20:10Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Nice work ... your interface is very well chosen._lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"joshcamas","Date":"2015-02-28T01:22:33Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Thanks! I really had to put my nose to the grindstone and learn the css to do it... but it was totally worth it. _lt_img src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_wink.png_qt_ alt_eq__qt__sm_)_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/wink@2x.png 2x_qt_ width_eq__qt_20_qt_ height_eq__qt_20_qt__gt__lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Dad72","Date":"2015-02-28T11:12:13Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_div_gt_You should remove your link from your signature is dead. or to point to a demo of your editor._lt_/div_gt__lt_br_gt__lt_div_gt_Google could give the black list because link not going anywhere._lt_/div_gt__lt_br_gt_\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Wingnut","Date":"2015-02-28T16:44:28Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Hi Josh!  Good to hear from you_co_ and congrats on your editor advancements.  It looks great!_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_HI to you_co_ too_co_ Dad72.  Hope you guys are well._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_If I may clarify_co_ you want an image _lt_u_gt_of the hovered mesh_lt_/u_gt__co_ correct?_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Did you see the _qt_render scene on a PNG_qt_ document..._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt__lt_a href_eq__qt_http_dd_//babylondoc.azurewebsites.net/search.php?q_eq_Render+Scene+on+a+PNG_qt_ rel_eq__qt_external nofollow_qt__gt_http_dd_//babylondoc.azurewebsites.net/search.php?q_eq_Render+Scene+on+a+PNG_lt_/a_gt__lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_*shrug*_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_There might be ANOTHER option.  Does it _lt_u_gt_have to_lt_/u_gt_ be an image?_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Maybe... onHover/onMouseOver...  you could aim _lt_u_gt_another BJS camera_lt_/u_gt_ at the mesh_co_ then render that camera viewport as a small webGL canvas  Use that canvas... in place of the image.  *shrug*  I bet you thought about that already_co_ though._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_One general hint.  Never LEARN something when you can steal it and re-purpose it for your own needs. _lt_img src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_biggrin.png_qt_ alt_eq__qt__dd_D_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/biggrin@2x.png 2x_qt_ width_eq__qt_20_qt_ height_eq__qt_20_qt__gt_  Later in life_co_ when you become mega-lazy and your brain is badly damaged from abuse_co_ this secret will be VERY handy._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_I bet you knew THAT already_co_ too_co_ as I think Samac began as something else_co_ if I remember right.  _lt_img src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ alt_eq__qt__dd_)_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ width_eq__qt_20_qt_ height_eq__qt_20_qt__gt_  But you stated that right from the start_co_ so you are clean_co_ noble_co_ and honorable... and a darned good trailblazer_co_ as well._lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Dad72","Date":"2015-02-28T17:45:14Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_div_gt_Hi Wingnut_co__lt_/div_gt__lt_br_gt__lt_div_gt_ _lt_/div_gt__lt_br_gt__lt_div_gt_It interests me to have an image of the model flying over a link. Your idea is interesting Wingnut. but I think this may hurting performance this solution._lt_/div_gt__lt_br_gt__lt_div_gt_ _lt_/div_gt__lt_br_gt__lt_div_gt_The ideal is to be able to generate thumbnail images of each models from models give a bank._lt_/div_gt__lt_br_gt_\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Wingnut","Date":"2015-02-28T17:59:17Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_nod.  I think you are correct.  Performance issues._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_When a user changes the texture or scaling of a mesh (its look)_co_ they would need/want to re-create the thumb pic. _lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_But this could be a non-automatic function.  The user might need to right-click_co_ choose _t_create/recreate thumbnail_t_.  Then a short wait_co_ and then the thumb pic is updated/created._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Then hover would _lt_u_gt_only_lt_/u_gt_ pop-up (or iconify) the image _lt_u_gt_IF_lt_/u_gt_ one has been created for that mesh._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Josh didn_t_t say if the image would happen near the mesh_co_ or become an icon on a menu/toolbar.  Maybe both_co_ and more.  _lt_img src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ alt_eq__qt__dd_)_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ width_eq__qt_20_qt_ height_eq__qt_20_qt__gt__lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Interesting topic._lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"joshcamas","Date":"2015-03-01T22:57:35Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Yeah_co_ there would be many many icons. The image would be on a toolbar thingy. _lt_img src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ alt_eq__qt__dd_)_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ width_eq__qt_20_qt_ height_eq__qt_20_qt__gt__lt_br_gt__lt_br_gt_I was thinking of a system that merges both of your ideas_co_ Wingnut_dd_ have a hidden babylon engine in the background that loads the mesh_co_ creates the scene from png_co_ and then puts it into the html._lt_br_gt__lt_br_gt_I_t_ll try this out later! _lt_img src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_biggrin.png_qt_ alt_eq__qt__dd_D_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/biggrin@2x.png 2x_qt_ width_eq__qt_20_qt_ height_eq__qt_20_qt__gt__lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Deltakosh","Date":"2015-03-02T03:45:13Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_You can do the following_dd__lt_/p_gt__lt_p_gt_- Create a camera_lt_/p_gt__lt_p_gt_- Position you camera to have your object in his frustum_lt_/p_gt__lt_p_gt_- Set your camera as scene.activeCamera_lt_/p_gt__lt_p_gt_- When you want to get a picture of your mesh_dd__lt_/p_gt__lt_pre class_eq__qt_ipsCode prettyprint_qt__gt_var texture _eq_ new RenderTargetTexture(_qt_screenShot_qt__co_ size_co_ scene_co_ false_co_ false)_sm_texture.renderList _eq_ myMesh_sm_texture.onAfterRender _eq_ () _eq_&gt_sm_ {    Tools.DumpFramebuffer(width_co_ height_co_ engine)_sm_}_sm_scene.incrementRenderId()_sm_texture.render(true)_sm_texture.dispose()_sm_if (previousCamera) {    scene.activeCamera _eq_ previousCamera_sm_}_lt_/pre_gt__lt_p_gt_(Please note that you_t_ll need bjs 2.1 for this to work)_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"}]