[brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-02-24 Thread Shubham Rathore
Hello, This is Shubham Rathore(:gabbar1947), a junior year student currently pursuing my engineering degree from IIIT Hyderabad, India. I have contributed to various organizations like Joomla! , The Processing Foundation, Mozilla etc. I work in the field of Computer Vision and have an

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-02-28 Thread Shubham Rathore
Hi Sean, First of all congratulations on being selected for GSOC. It will be of great help if I come to know about the status of BRL-CAD's participation. Regards, Shubham Rathore On Mon, Feb 27, 2017 at 9:27 PM, Christopher Sean Morrison wrote: > > > This is Shubham Ratho

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-03-06 Thread Shubham Rathore
cuments to study. Regards, Shubham Rathore(:gabbar1947) On Wed, Mar 1, 2017 at 11:24 AM, Christopher Sean Morrison wrote: > > > On Mar 1, 2017, at 12:34 AM, Shubham Rathore < > shubhamrathore1...@gmail.com> wrote: > > > > Hi Sean, > > > > First of all co

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-03-06 Thread Shubham Rathore
Hello Sean, Thanks for the reply. I have already gone through the tutorial series, rendered a radio and a trash can, but will try doing more of it. Thanks, Shubham Rathore(:gabbar1947) On Tue, Mar 7, 2017 at 11:15 AM, Christopher Sean Morrison wrote: > > > On Mar 7, 2017, at

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-03-23 Thread Shubham Rathore
? Regards, Shubham Rathore(:gabbar1947) On Tue, Mar 7, 2017 at 11:29 AM, Shubham Rathore < shubhamrathore1...@gmail.com> wrote: > Hello Sean, > Thanks for the reply. I have already gone through the tutorial series, > rendered a radio and a trash can, but will try doing more of

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-03-25 Thread Shubham Rathore
On Sat, Mar 25, 2017 at 1:55 AM, Christopher Sean Morrison wrote: > > > I don’t understand what you mean. Simple leader lines to text are the > most basic type of annotation. > > Sorry for sounding ambiguous. What I meant to say is that annotations can include GD, tolerances, single or multilin

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-03-26 Thread Shubham Rathore
t if you could throw some light on Annotation scaling. What is exactly expected when we talk of annotation scaling (usually it is automated in other CAD's) ? I'm trying hard to go deep into the project, but that is of no use unless I come to know about the community's exp

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-03-29 Thread Shubham Rathore
Hello, I have shared a rough proposal on the summer of code dashboard, link to which is https://docs.google.com/document/d/1M6oDUZOXFYZ2uJv7K2qoBbRF5TDYuzQXEDobdJvtfhM/edit?usp=sharing Views and Suggestions are welcome, for further amendments. Regards, Shubham Rathore

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-02 Thread Shubham Rathore
Hello sir, Thank you for your valuable feedback. Will make sure to include these points in the proposal if I've missed any. Regards, Shubham Rathore On Sat, Apr 1, 2017 at 8:11 PM, Daniel Roßberg wrote: > Shubham, > > Keep the annotation primitive itself simple. Some fea

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-03 Thread Shubham Rathore
Keep the annotation primitive itself simple. Some features as color, > thickness, font, etc. could be fully implemented afterwards. I could > imagine an inheritance mechanism for them. For now, we have the > application level only. If there is time you could implement a > functionality which s

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-03 Thread Shubham Rathore
about the time consumption of various parts of the project. Thank you. Regards, Shubham Rathore(:gabbar1947) On Mon, Apr 3, 2017 at 5:24 PM, Daniel Roßberg wrote: > >> Another feature extension would be relative coordinates, i.e. to > >> define a line with the length of the

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-03 Thread Shubham Rathore
> > > Hi , > > > > Oh fine! bounding box for the text . I get it ! . I can handle that. > > :) Not so fast. One part of the problem is to define the special > points of the annotation primitive's subelements (e.g. the corners of > the bounding box). Another is to compute them (e.g. based on the >

[brlcad-devel] Unable to find the tec primitive

2017-04-04 Thread Shubham Rathore
Hi, Is the tec primitive yet to be defined? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ BRL-

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-06 Thread Shubham Rathore
Hello, Annotations can't be ray traced. 1) Does the container for it, needs to be defined in the rt/geom.h ? 2) rt_annotation_internal comprises of some extrusion related parameters. Could you just explain ? Regards, Shubham Rathore(:gabbar1947) On Mon, Apr 3, 2017 at 8:09 PM, Shubham Ra

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-10 Thread Shubham Rathore
es - The annotation_transform() will map those 3D points to the 2D plane - We get the 2D on screen coordinates. 1) what exactly does the user give as the input ? 3D space coords of the desired place of annotation ? 2) What else does the function consist of, except the transformation matr

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-12 Thread Shubham Rathore
Daniel > > 2017-04-10 21:37 GMT+02:00 Shubham Rathore : > > Regarding the pipeline - "coordinates from the primitive -> 3D world > > coordinates -> 2D plane (e.g. with a perspective) -> 2D screen > coordinates" > > > > Need some clarifications : &g

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-13 Thread Shubham Rathore
Hi Sean, Thank you for the reply. I'm sorry to have merged the discussion under the same manner. The discussion was left incomplete on the irc, thus I shifted it to the mailing list immediately without realizing the subject of the current discussions. Apologies, Regards, Shubham Ra

Re: [brlcad-devel] Hooking ehy into analyze

2017-04-13 Thread Shubham Rathore
Oh! will make sure that analyze_general is called. Thank you for the help. Regards, Shubham Rathore(:gabbar1947) On Thu, Apr 13, 2017 at 11:27 PM, Daniel Roßberg wrote: > Shubham, > > As Sean has already mentioned, analyze_general() doesn't require the > volume function to be

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-15 Thread Shubham Rathore
) - We aim for view independent annotations. Thus there must be relation between the camera matrix and the annotation coordinate system. Can I get some details about camera positioning and the camera projection matrices. That would be of great help. Regards, Shubham Rathore(:gabbar1947

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-15 Thread Shubham Rathore
. - size_t ver_count; // no. of vertices - point_t *ver; // array of vertices that serve as control points - struct bu_vls label; // text and symbols- UNICODE Is there something more that I need to add as of now ? Regards, Shubham Rathore(:gabbar1947) On Sat, Apr 15, 2017 at 11:59 PM, Shubham

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-04-18 Thread Shubham Rathore
t on the wireframe view ? Because if we don't aim for the editor then the user input through command line should comprise of the 3D points. > Looks like we are very close :) > :) Regards, Shubham Rathore(:gabbar1947) -

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-05-11 Thread Shubham Rathore
Hello, Is it possible to retrieve all the primitives along with the parameters from a ".g " file. Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.li

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-05-13 Thread Shubham Rathore
Hello, Thanks for the help. This is the plan that I aim to follow in the next few days. Reviews are appreciated. https://docs.google.com/document/d/1ITdGP4M7TgN-x0ih0Nb71RI-G0JlbJUQIZ6omh9VnDs/edit?usp=sharing Regards, Shubham Rathore(:gabbar1947) On Fri, May 12, 2017 at 3:06 AM

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-05-14 Thread Shubham Rathore
precision. (or do you want user interactive[mouse input] selection of points?) This is what I thought, which may not be perfect. Your ideas and suggestion are welcome. Regards, Shubham Rathore(:gabbar1947) On Sun, May 14, 2017 at 12:54 AM, Daniel Roßberg wrote: > Shubham, > > What is

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-05-15 Thread Shubham Rathore
Sir, > > There are probable some misunderstandings. > First, be careful with using the term "sketch". A sketch is a BRL-CAD > primitive which isn't very interesting as it is because it's 2D and > has therefore no correspondence in the 3D world. I.e. you won't find > much sketches in BRL-CAD mode

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-05-15 Thread Shubham Rathore
contd. -ively. Will surely consider this. Regards, Shubham Rathore(:gabbar1947) [apologies for the broken mail] On Mon, May 15, 2017 at 11:16 PM, Shubham Rathore < shubhamrathore1...@gmail.com> wrote: > Sir, > >> >> There are probable some misunderstandings. >> Fi

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-05-29 Thread Shubham Rathore
gards, Shubham Rathore(:gabbar1947) On Mon, May 15, 2017 at 11:17 PM, Shubham Rathore < shubhamrathore1...@gmail.com> wrote: > contd. > -ively. Will surely consider this. > > Regards, > Shubham Rathore(:gabbar1947) > [apologies for the broken mail] > > On Mon, May 15

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-05-31 Thread Shubham Rathore
no .patch . How should I submit the functions in annotation.c for review? Regards, Shubham Rathore(:gabbar1947) On Tue, May 30, 2017 at 6:34 PM, Daniel Roßberg wrote: > Shubham, > > > I would like to know more about the functions that should be included in > > this file.

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-01 Thread Shubham Rathore
//brlcad.org/wiki/Google_Summer_of_Code/2017 . I'll be updating the progress in the previous 2-3 days soon. Regards, Shubham Rathore(:gabbar1947) -- Check out the vibrant tech community on one of the world's most engagi

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-01 Thread Shubham Rathore
("network > long") and then the string itself. > I thought of this before, but this ain't possible, as "ptr" cannot be jumped directly to the string length variable without exactly knowing the string

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-05 Thread Shubham Rathore
Sir, Regarding the surf_area, volume and the centroid functions. Surf_area and volume don't make sense here, but the centroid can be thought off, if the text if considered to be enclosed in a bounding box of a particular size. What do you think ? Regards, Shubham Rathore(:gabbar1947) O

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-08 Thread Shubham Rathore
but found difficulty in some parts. It will be very grateful if I get some help regarding this part.( the files to be modified, their dependencies and which directories should I particularly look into) Regards, Shubham Rathore(:gabbar1947) On Mon, Jun 5, 2017 at 10:29 PM, Daniel Roßberg wrote: &g

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-11 Thread Shubham Rathore
line segment , then user can input the point to be annotated and the coords of the line segment. but for beizer, nurb etc. we will need the editor. suggestions please. Regards, Shubham Rathore(:gabbar1947) On Sun, Jun 11, 2017 at 1:06 AM, Christopher Sean Morrison wrote: > > > I d

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-13 Thread Shubham Rathore
internal object. - This is currently only for the line segment, which can be extended to arc,nurb, beizer etc. - Next step will be the coordinate plane representation and mapping. Inputs ! Regards, Shubham Rathore(:gabbar1947) On Mon, Jun 12, 2017 at 2:43 PM, Daniel Roßberg wrote: >

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-14 Thread Shubham Rathore
o do is to implement support for 3D-> 2D, or is there something that I'll have to do before it ? I'll be grateful if you let me know the particular files that are relevant for this task, so that I work in the right direction. Regards, Shubham Rathore(:gabbar1947) --

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-15 Thread Shubham Rathore
anno, but now I get it ! - Aim for formal correctness regarding the coding style. E.g. indents > (anno.c line 78 or 1781 et seqq.), consistent number of line feeds > between the functions, no trailing spaces. When your patch is > formally correct I can check i

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-18 Thread Shubham Rathore
r of segments in the SL: ", "Enter the segments: " }; Where I expect the user to give the SL input something like this: SL { { line S 0 E 1 } { carc S 2 E 1 R -1 L 0 O 0 } { bezier D 3 P { 1 3 4 5 } } { carc S 5 E 6 R 1.644755298192071224505639 L 0 O 0 } { line S

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-20 Thread Shubham Rathore
le and I was going through the magic.c and saw "anno" written, so thought of giving the name "anno" itself, that's it. Thank you for the valuable suggestions. Regards, Shubham Rathore(:gabbar1947) ---

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-23 Thread Shubham Rathore
Hi Daniel, I have uploaded the patch. It passes the build and the input part seems to work as of now for the text. I'm sorry, I missed your mail regarding the thursday deadline as it got overriden by another mail on the thread on the same day. I have worked hard on understanding the workflow and

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-23 Thread Shubham Rathore
requent patch submissions from me. Apologies . Regards, Shubham Rathore(:gabbar1947) On Fri, Jun 23, 2017 at 8:47 PM, Daniel Roßberg wrote: > Hi Shubham, > > I had a short look at your code. We talked about it on IRC. But, as > announced, I haven't the time for a deeper r

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-06-25 Thread Shubham Rathore
ed to 1( 1 because currently I'm only testing it for the text, and line_seg, nurb,carc are supposed to be added on later) the command window crashes due to a segmentation fault, otherwise everything works fine. I've checked the export5() function again and again, there seems to be no issue wit

Re: [brlcad-devel] [brlcad:patches] #471 annotation plot() [REVISED]

2017-07-26 Thread Shubham Rathore
Hi Sean, That’s great to see, thanks! Do you mind if I share that image? > Please feel free to share the image ! Cheers! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.o

Re: [brlcad-devel] Annotations

2017-08-03 Thread Shubham Rathore
s with the xmat in the displaymanagers' code have > unnecessary parenthesis. > Done. Meanwhile I made changes to dm-plot as well. I'll upload it in the next patch. Regards, Shubham Rathore(:gabbar1947) -- Chec

Re: [brlcad-devel] Annotations

2017-08-03 Thread Shubham Rathore
xt > MODEL_MAT command. > > I completely get this. We can use a flag that gets set when DISPLAY_MAT is called and is reset on MODEL_MAT. What do you think? Regards, Shubham Rathore(:gabbar1947) -- Check out the vibrant tec

Re: [brlcad-devel] Annotations

2017-08-03 Thread Shubham Rathore
ts in the DISPLAY_MAT command and ignore the rest of the points until we encounter a MODEL_MAT command. Hope, this is the answer to your question. Pardon me if not. Regards, Shubham Rathore(:gabbar1947) -- Check out the vibrant

Re: [brlcad-devel] Annotations

2017-08-31 Thread Shubham Rathore
tor with the matrix entries for > every draw again and again. This won't work. > However, I committed a solution for the X Window system display manager > which, I think, looks good. > > Regards, > Daniel > > > 2017-08-30 8:34 GMT+02:00 Shubham Rathore : > &g

Re: [brlcad-devel] additional t-shirts

2017-09-01 Thread Shubham Rathore
arrange for a couple of them. It would be a great way to promote open source in our university. Thanks, Shubham Rathore(:gabbar1947) > > -- Check out the vibrant tech community on one of the world's m

[brlcad-devel] Google Code In

2017-10-02 Thread Shubham Rathore
Hi everyone, Recently there was the announcement for Google Code In 2017. Is BRL-CAD up for the 'code in' this time? Regards, Shubham Rathore(:gabbar1947) -- Check out the vibrant tech community on one of t

Re: [brlcad-devel] Google Code In

2017-10-02 Thread Shubham Rathore
yet? >> > >> > Cheers! >> > Sean >> > >> > >> > >> >> On Oct 2, 2017, at 12:49 PM, Shubham Rathore < >> shubhamrathore1...@gmail.com> wrote: >> >> >> >> Hi every

Re: [brlcad-devel] Google Code In

2017-10-18 Thread Shubham Rathore
Hi everyone, Any updates regarding the code in? Daniel mentioned some tasks to be done. Those tasks can be divided and worked upon. Regards, Shubham Rathore(:gabbar1947) -- Check out the vibrant tech community on one of

[brlcad-devel] Variable IOR

2017-10-19 Thread Shubham Rathore
origin. For ex. if we want to render a mirage; the ior changes for the part of the medium close to the road. Regards, Shubham Rathore(:gabbar1947) -- Check out the vibrant tech community on one of the world's most eng

Re: [brlcad-devel] Google Code In

2017-10-20 Thread Shubham Rathore
Hi, Dashboard for the ideas. https://brlcad.org/wiki/Google_Code_In/2017/Tasks We'll all add up here ! Regards, Shubham Rathore(:gabbar1947) On Thu, Oct 19, 2017 at 11:18 AM, Gauravjeet Singh < gaurav.ishwer...@gmail.com> wrote: > On Mon, Oct 2, 2017 at 11:16 AM, Christopher

Re: [brlcad-devel] GCI is a go!

2017-10-26 Thread Shubham Rathore
Congratulations to everyone ! Can we have an update on the BRL-CAD's facebook page too ? Cheers! Shubham Rathore(:gabbar1947) On Thu, Oct 26, 2017 at 10:36 PM, Christopher Sean Morrison wrote: > > BRL-CAD is accepted into GCI 2017! > > The clock starts ticking now on gett

Re: [brlcad-devel] [GSOC-18] Project : Python Geometry

2018-02-11 Thread Shubham Rathore
ld on the project. As far as the project is concerned. We already have a part of it done. I'll strongly recommend going through the already wrapped primitives, that'll help you get a grip on what the project is about. It

Re: [brlcad-devel] Introduction

2018-02-19 Thread Shubham Rathore
project. Cheers, Shubham Rathore(:gabbar1947) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ BR

Re: [brlcad-devel] Update : Python Geometry

2018-03-09 Thread Shubham Rathore
Hello Jaipal, Good research work indeed. I've added some comments to your inferences. Hope that helps. Cheers, Shubham Rathore(:gabbar1947) On Thu, Mar 8, 2018 at 12:34 AM, Jaipal Singh wrote: > Hey Everyone, > > I've given figuring out BRL-CAD Python (https://github.co

Re: [brlcad-devel] New Committer: Shubham Rathore

2018-07-16 Thread Shubham Rathore
Thanks Sean! Would love to put in my best. The community has been helpful throughout. Thanks for being so supportive ! Cheers ! On Mon, Jul 16, 2018 at 7:36 PM, Christopher Sean Morrison via brlcad-devel wrote: > > > Shubham Rathore (gabbar1947) has been granted commit access. &g