On Mon, Jul 11, 2016 at 6:17 AM, Shubham Chauhan
<shubham13...@iiitd.ac.in> wrote:
> 3). How's the screenshot thing working out? One way that I came across a
> while back was using phantomJS for the task. What is your approach for it?
> One thing must be taken care of here is, (in an ideal scenario) the user
> must be able to choose the right frame for the thumbnail (zoom in/out
> option).

Screenshot part is done. I haven't used phantomJs.
On uploading a model, we get to a form where we save model
description, and upon saving that, we get to model view page, where we
can zoom in and zoom out to the desired view, and then use that view
as a thumbnail. The thumbnail is stored as image data stored in
ModelFiles collection.


-- 
Fear is wisdom in the face of danger. It’s nothing to be ashamed of

Gauravjeet Singh
http://github.com/gauravjeetsingh

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to