Stream: brlcad

Topic: general


view this post on Zulip Naseef (Mar 28 2018 at 11:32):

Can a 64 bit phone running Linux replace desktop PCs?

view this post on Zulip Naseef (Mar 28 2018 at 11:34):

We could simply connect wireless keyboard, mouse and a monitor to the Phone and get a full desktop PC, right?

view this post on Zulip Naseef (Mar 28 2018 at 12:07):

Cannonical tried something like this with Ubuntu. Looks like they've now gave up.

view this post on Zulip Sean (Mar 29 2018 at 03:37):

Plenty of tablets and notepads are essentially that already.

view this post on Zulip Naseef (Mar 29 2018 at 15:36):

Well, I mean, like Samsung Dex and Microsoft Continuum, but for Linux.

view this post on Zulip Naseef (Mar 29 2018 at 15:36):

With all the desktop applications.

view this post on Zulip Naseef (Mar 29 2018 at 15:37):

Something like that can change people's lives.

view this post on Zulip Naseef (Mar 29 2018 at 15:41):

We're able to squeeze so much data into so little space, We also have cloud storage.

view this post on Zulip Peter Pronai (Apr 27 2018 at 08:37):

IMHO no, phones are harder to repair. I use(d) my desktop PC for Blender and I would hate having to replace my entire PC when I want more RAM or a stronger CPU. That'd be disgustingly wasteful and expensive.
Futher IMHO that doubles as hot take: smartphones are simply not that good.

view this post on Zulip Naseef (Jun 14 2018 at 16:27):

But still, I'd like to use smartphone as a PC ;)

view this post on Zulip Naseef (Jun 14 2018 at 16:29):

Maybe we'll get a easily repairable and upgradable phones in the future.

view this post on Zulip Naseef (Jun 14 2018 at 16:29):

If we didn't, I'm gonna make one anyway.

view this post on Zulip Peter Pronai (Jun 14 2018 at 21:02):

@Naseef have your tried postmarketos?

view this post on Zulip Naseef (Jun 15 2018 at 07:42):

I haven't tried it, I have to create a backup of the phone before trying.
thanks for letting me know @Peter Pronai

view this post on Zulip Jaipal Singh (Jun 23 2018 at 05:22):

I've run into a small issue here. I've got a .g file with two shapes defined in it but a given time, I'm only able to draw one of the shapes. I have a sphere and an arbn. If I draw the arbn first, I can't render the sphere and it's the other way round if I go ahead with the sphere first. https://file.io/ygMWEh

view this post on Zulip Naseef (Jun 23 2018 at 20:48):

https://puri.sm/shop/librem-5/
This is what I was talking about! It's a phone that runs full GNU Linux!

view this post on Zulip Sean (Jun 24 2018 at 15:47):

@Jaipal Singh how are you drawing? I get a 404 on that link

view this post on Zulip Jaipal Singh (Jun 26 2018 at 04:43):

@Sean , I'm using the ctypesgen bindings of libwdb api to create the .g file.

view this post on Zulip Jaipal Singh (Jun 26 2018 at 04:46):

It's weirdly working now, as in I can draw all the shapes now. Let me try the exact combination of shapes I had used then and see if I can recreate the issue!

view this post on Zulip Sean (Jun 26 2018 at 22:58):

It's weirdly working now, as in I can draw all the shapes now. Let me try the exact combination of shapes I had used then and see if I can recreate the issue!

any update @Jaipal Singh ?

view this post on Zulip Naseef (Jun 30 2018 at 00:32):

file.io has a expiration date that must be set, I think it was set too early.

view this post on Zulip Naseef (Aug 04 2018 at 22:56):

Why I can't access https://brlcad.org/
Is the website down?

view this post on Zulip Sean (Aug 04 2018 at 23:34):

yes, it's being worked on

view this post on Zulip Sean (Aug 05 2018 at 00:39):

it's back online now

view this post on Zulip Naseef (Aug 12 2018 at 01:15):

Why the main page is still not updated?

view this post on Zulip Naseef (Aug 12 2018 at 01:17):

It's been like 5 months since I updated the icons, But the main page is still using the old low-res icons.

view this post on Zulip Naseef (Aug 12 2018 at 01:18):

Is there anything I can help with?

view this post on Zulip Abhijeet Singh (Aug 13 2018 at 18:32):

Hi maintainers at BRL-CAD!
This summer at GSoC, I have been working with Probot and I developed a Weekly Digest application for GitHub.
I request you to install it in your GitHub organisation and provide me feedbacks: https://github.com/probot/weekly-digest :smile:

view this post on Zulip Sean (Aug 13 2018 at 18:37):

Why the main page is still not updated?

because of GSoC ...

limited hands. I'm managing students and mentors, and other devs are busy mentoring and writing code. not forgotten, though. there's a handful of website updates that are pending on github. the biggest issue that backed up applying requests is on the main menu. we need a website manager, someone willing to commit the time and effort needed (which is a lot). you volunteering? :)

view this post on Zulip Sean (Aug 13 2018 at 19:01):

hi @Abhijeet Singh what does probot do?

view this post on Zulip Sean (Aug 13 2018 at 19:03):

I mean I see that it summarizes activity, but what's the intended use -- like as a page on our website separate from github that indicates activity?

view this post on Zulip Sean (Aug 13 2018 at 19:03):

also, how does it behave when a repo has hundreds of open issues?

view this post on Zulip Abhijeet Singh (Aug 14 2018 at 02:34):

Hi @Sean , Probot (https://probot.github.io/) is actually a framework used to develop applications for GitHub.
It will work normally if even if you have 100+ issues. If you want the bot to auto close stale issues, you should try out stale (http://github.com/apps/stale).
The list of apps is not limited to these only, you can check out more here: https://probot.github.io/apps/

view this post on Zulip Jaipal Singh (Aug 14 2018 at 03:26):

Is it just me or is markdown on github broken?

view this post on Zulip Jaipal Singh (Aug 14 2018 at 03:32):

For example, the links and list markdown doesn't work.
Links do work if you format it in html5.

view this post on Zulip Naseef (Aug 15 2018 at 04:29):

Why the main page is still not updated?

because of GSoC ...

limited hands. I'm managing students and mentors, and other devs are busy mentoring and writing code. not forgotten, though. there's a handful of website updates that are pending on github. the biggest issue that backed up applying requests is on the main menu. we need a website manager, someone willing to commit the time and effort needed (which is a lot). you volunteering? :)

What a website manager do? I have a very little web dev knowledge, But I guess I can learn.
I don't have school for like next 2 weeks, So I can spend that time learning these things. I'll still have plenty of free time in the evenings even after school started.

view this post on Zulip Sean (Aug 15 2018 at 17:29):

thanks @Abhijeet Singh we'll have to check it out. we still haven't moved our main repo over to github yet, but that plan should be executed sometime this year, soon.

view this post on Zulip Sean (Aug 15 2018 at 17:52):

@Naseef a website manager does web development, works to make the site consistent across all the pages, integrate changes, implement requests, discuss and announce changes

view this post on Zulip Naseef (Aug 16 2018 at 06:23):

I don't think I want that many responsibilities, But I'd like to make the wiki and main page use the same navbar.
where is the beta version of About, Download and other pages?

view this post on Zulip Jaipal Singh (Aug 20 2018 at 05:33):

BRL-CAD wiki's https certificates seem to have expired 4 days ago?

view this post on Zulip Saran Narayan (Aug 21 2018 at 16:09):

BRL-CAD wiki's https certificates seem to have expired 4 days ago?

hmm I had submitted a https link to my report hosted on brlcad wiki.
I hope that does not affect my results :fingers_crossed:

view this post on Zulip Naseef (Sep 21 2018 at 09:08):

@Sean what happened? No BRL-CAD in GCI this year?

view this post on Zulip Sean (Sep 21 2018 at 11:36):

Nothing happened @Naseef -- we didn't apply to participate so mentors could have a break. I sent a message to the mentoring list a few weeks ago regarding it.

view this post on Zulip Naseef (Sep 24 2018 at 18:40):

okay.

view this post on Zulip Naseef (Apr 19 2019 at 17:26):

How's the development of brlcad website going? The site still looks like how it did 2 years ago

view this post on Zulip Sean (Apr 20 2019 at 14:59):

@Naseef we don't have a dedicated website administrator, so ... it's pretty much gets updated as-needed only

view this post on Zulip Sean (Apr 20 2019 at 14:59):

which includes security patches and other updates on the backend that take a lot of time

view this post on Zulip Sean (Apr 20 2019 at 15:00):

would love for someone to take it over, but that requires a dedicated contributor to trust someone with that much responsibility. several people have submitted requests, but nobody has stuck with it quite long enough to take it over

view this post on Zulip Sean (Apr 20 2019 at 15:01):

maybe that could be you ;)

view this post on Zulip Naseef (Apr 20 2019 at 22:18):

I'd be really glad to help if you think I can do it. I don't have any experience so if someone could help me get started, I will definitely help with that. :)

view this post on Zulip Naseef (Apr 20 2019 at 22:23):

By the way, how's the development of the new Qt based GUI going? Were there any progress after Code-In? I want to get the latest source code and have a look soon, before that I have to clear up some space in my hard drive.

view this post on Zulip Daniel Rossberg (Apr 21 2019 at 12:31):

By the way, how's the development of the new Qt based GUI going? Were there any progress after Code-In? I want to get the latest source code and have a look soon, before that I have to clear up some space in my hard drive.

There was no progress on the new GUI worth mentioning since our last GCi. For this years GSoC the "New BRL-CAD GUI" project idea got some response. Let's see ...

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:31):

hello kartik

view this post on Zulip Kartik kumar (Dec 10 2019 at 04:32):

Hi @Sumagna Das

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:37):

r u one of the metntors?

view this post on Zulip Kartik kumar (Dec 10 2019 at 04:39):

yes, i am mentoring the tasks related to LibreCAD

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:40):

o

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:41):

k

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 00:04):

Hi @Sean , I'm currently finishing up appleseed task #3 and I realized that there are a lot of requirements to actually compile the C++ file. Would you still be fine with me just submitting the C++ file, the output, and the appleseed project? I would be happy to include a text file on how I set up my working environment.

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 00:39):

^ I ended up just including it as a comment in case it was needed.

view this post on Zulip Devansh Singh (Dec 12 2019 at 04:27):

My task for the github pull request is not being reviewed. Please help.

view this post on Zulip Sean (Dec 12 2019 at 04:28):

reviews can take up to 24 hours

view this post on Zulip Devansh Singh (Dec 12 2019 at 04:28):

it's been more than 24 hours

view this post on Zulip Sean (Dec 12 2019 at 04:29):

link?

view this post on Zulip Devansh Singh (Dec 12 2019 at 04:29):

I've abandoned the task for now

view this post on Zulip Devansh Singh (Dec 12 2019 at 04:30):

https://github.com/Devansh3712/googlecodein/pull/2 here is the link btw

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 04:30):

I don't think mentors can review the task if you've abandoned it.

view this post on Zulip Sean (Dec 12 2019 at 04:31):

every time you abandoned and reclaimed the task, the clock starts over, so you never have gotten to 24 hours (36 is the technical limit)

view this post on Zulip Sean (Dec 12 2019 at 04:33):

looks like you almost got to 17 hours

view this post on Zulip Sean (Dec 12 2019 at 04:33):

that said, @Devansh Singh I don't think you've read the task description completely.

view this post on Zulip Sean (Dec 12 2019 at 04:34):

that task is for submitting changes to BRL-CAD, not for some random pull request to your own repo

view this post on Zulip Sean (Dec 12 2019 at 04:35):

that's so that mentors can review and integrate your work, and you can get credit for the extra effort it takes to submit that work as a pull request vs some other method

view this post on Zulip Sean (Dec 12 2019 at 04:36):

[serious] what should the task have said to have made that more clear?

view this post on Zulip Sean (Dec 12 2019 at 04:36):

you're not the only one to have made that mistake

view this post on Zulip Sean (Dec 12 2019 at 04:37):

Hi Sean , I'm currently finishing up appleseed task #3 and I realized that there are a lot of requirements to actually compile the C++ file. Would you still be fine with me just submitting the C++ file, the output, and the appleseed project? I would be happy to include a text file on how I set up my working environment.

@Jeffrey Liu I'm not sure I understood your question

view this post on Zulip Sean (Dec 12 2019 at 04:37):

short answer: yes

view this post on Zulip Sean (Dec 12 2019 at 04:41):

Nevermind, it seems like basic was apparently renamed to helloworld but they should still be the same thing.

glad you figured it out :) yay for vc history.

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 04:43):

Jeffrey Liu I'm not sure I understood your question

Sorry for the confusion @Sean , I ended up summarizing what I did as a comment. That being said, I'm not quite sure if I completed the task correctly; even though I did follow the sample source (helloworld) and received a correct output, the task mentioned something about using a previous appleseed project but the program generates an appleseed project itself. If there's something I need to change, I wouldn't mind at all.

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 04:45):

However, I did ask the appleseed discord about the intended function of helloworld.cpp, and it is indeed supposed to create a new .appleseed file. Is there anything I may have accidentally neglected to look at?

view this post on Zulip Devansh Singh (Dec 12 2019 at 04:55):

I am unable to create a pull request in brl-cad repository. Please help @Sean

view this post on Zulip Sean (Dec 12 2019 at 05:03):

@Jeffrey Liu I should be able to review it here in a few minutes. Just getting through a few other things first.

view this post on Zulip Sean (Dec 12 2019 at 05:04):

sounds like you did everything needed. the gist of that task is just to get a little familiar with the (different) way things are set up in appleseed, to make sure you're set up to compile against the appleseed libs and such.

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:04):

Thank you, that's great to hear :) I'd like to move on to the fourth task as soon as I can - it seems like that's where the real integration fun starts.

view this post on Zulip Sean (Dec 12 2019 at 05:04):

the next two tasks are where things start to get more interesting. You've been learning up to this point. it shifts over to starting to be productive next.

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:05):

Can't wait to get started!

view this post on Zulip Sean (Dec 12 2019 at 05:06):

let me know if you find yourself spending more than 4 hours on any task -- you "shouldn't" unless you're lacking some background information that you need to learn first. but if you do, let me know so we can talk through it, figure out if the task needs to be broken up or redefined, etc.

view this post on Zulip Devansh Singh (Dec 12 2019 at 05:07):

@Sean please help. I am unable to create a pull request for brl cad

view this post on Zulip Sean (Dec 12 2019 at 05:07):

what we'd ultimately hope to achieve with the appleseed task chain is a tool as simple as 'rt', but that goes through appleseed for rendering (i.e., 'art') much prettier pictures.

view this post on Zulip Sean (Dec 12 2019 at 05:07):

@Devansh Singh did you read what I wrote??

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:09):

let me know if you find yourself spending more than 4 hours on any task -- you "shouldn't" unless you're lacking some background information that you need to learn first. but if you do, let me know so we can talk through it, figure out if the task needs to be broken up or redefined, etc.

I do think that most of the time I spend at the moment is either trying to set things up or understand something. Interestingly, when I was first trying to compile the examples, I was told that some recent changes to the appleseed core engine ended up breaking some things. Fortunately franz helped me work through them on the appleseed discord.

view this post on Zulip Sean (Dec 12 2019 at 05:09):

@Devansh Singh I responded to you 40 minutes ago... with a concern then about you not reading something written to you. I'm sensing a pattern.

view this post on Zulip Sean (Dec 12 2019 at 05:10):

@Jeffrey Liu ah, that's great you're talking to Franz

view this post on Zulip Sean (Dec 12 2019 at 05:11):

he's super helpful and supportive

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:11):

Yep, he's really active and helpful - it didn't take long for him to help me work through the issues.

view this post on Zulip Sean (Dec 12 2019 at 05:14):

@Jeffrey Liu this may be some slightly relevant or at least interesting context: https://brlcad.org/wiki/User:DenisPavlov/GSoC18/Log

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:15):

Wow this person really figured everything super quickly

view this post on Zulip Sean (Dec 12 2019 at 05:15):

that was a college student that was working on appleseed integration as a project. unfortunately, they failed themselves from the program and they were (apparently) so upset that we never got to see their code, but progress was made. you can get a general idea of what someone else worked through, and the order of things

view this post on Zulip Sean (Dec 12 2019 at 05:15):

well, keep in mind they were working on this full time like a job, not under GCI

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:16):

Oh right

view this post on Zulip Sean (Dec 12 2019 at 05:17):

that said, I think it's entirely possible to get a basic renderer up and working in a week or possibly two and if we can get that far, that will be a HUGE success.

view this post on Zulip Devansh Singh (Dec 12 2019 at 05:17):

@Sean Ok I'm really sorry I understood at last what I needed to do. I'm really grateful to you :)

view this post on Zulip Sean (Dec 12 2019 at 05:18):

if you want to work all GCI on appleseed integration, we'll make all the dozens of tasks necessary. if you get tired or want more variety, we can wrap things up at any stage (hopefully after you've gotten something useful working)

view this post on Zulip Sean (Dec 12 2019 at 05:18):

@Devansh Singh It's quite alright. Did you see the question to you then?

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:21):

That sounds amazing, I will try my best :) I really like this task set, it's one of my favorites (even though I haven't really done much outside of it)

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:23):

That being said, I would like to explore a little bit with the geometry challenges such as the "lowest points" or "sphere fill" one, but I could absolutely see myself dedicating all of GCI (and maybe beyond) towards the appleseed integration.

view this post on Zulip Devansh Singh (Dec 12 2019 at 05:23):

@Sean yes I did

view this post on Zulip Sean (Dec 12 2019 at 05:27):

@Devansh Singh and?

view this post on Zulip Sean (Dec 12 2019 at 05:27):

@Jeffrey Liu we have a very long list of geometry-related tasks that haven't even been uploaded yet but are being worked on

view this post on Zulip Sean (Dec 12 2019 at 05:28):

for example, "implement a faster raytraced AABB function that calls ft_plot(), shoots a ray through each point, and computes the resulting box"

view this post on Zulip Sean (Dec 12 2019 at 05:29):

or "implement a function that takes a path to an object and returns its color"

view this post on Zulip Sean (Dec 12 2019 at 05:29):

or "implement ray tracing for the pnts primitive"

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:29):

Jeffrey Liu we have a very long list of geometry-related tasks that haven't even been uploaded yet but are being worked on

That's great to hear :) Ideally speaking, if possible, I'd like to spend most of my time working on appleseed integration while taking breaks in between to work on such geometry tasks so I don't tire out.

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 05:30):

The EBM task set seems very interesting as well

view this post on Zulip Sean (Dec 12 2019 at 05:30):

Jeffrey Liu we have a very long list of geometry-related tasks that haven't even been uploaded yet but are being worked on

That's great to hear :) Ideally speaking, if possible, I'd like to spend most of my time working on appleseed integration while taking breaks in between to work on such geometry tasks so I don't tire out.

That sounds like a solid plan. ;)

view this post on Zulip Sumagna Das (Dec 12 2019 at 05:36):

anyone knows how to disable a certain key of the keyboard in ubuntu

view this post on Zulip Sean (Dec 12 2019 at 05:38):

to all, if there's an area or topic of BRL-CAD that you'd like to see more tasks for, or particular items in the TODO or BUGS file that you'd like to see turned into tasks because they sound interesting to you, speak up and let us know

view this post on Zulip Sumagna Das (Dec 12 2019 at 05:38):

my delete key is deleting everything without even pressing it

view this post on Zulip Sean (Dec 12 2019 at 05:38):

stty reset

view this post on Zulip Sean (Dec 12 2019 at 05:39):

rather "stty ek"

view this post on Zulip Sean (Dec 12 2019 at 06:59):

@Jeffrey Liu you nailed it, well done.

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 07:00):

Thank you! It's getting pretty late, but I'll move on to task #4 as soon as I can.

view this post on Zulip Sean (Dec 12 2019 at 07:01):

no worries, I'm done for the night as well

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 07:02):

Have a good night :)

view this post on Zulip Sumagna Das (Dec 12 2019 at 09:22):

you are one of the leaders of brl cad

view this post on Zulip Sumagna Das (Dec 12 2019 at 09:22):

himanshu

view this post on Zulip Sumagna Das (Dec 12 2019 at 09:22):

you completed one or two remove throw statement task?

view this post on Zulip CSY (Dec 12 2019 at 09:40):

Why my task is abandoned?

view this post on Zulip Sumagna Das (Dec 12 2019 at 13:51):

Welcome @Anushka

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:08):

Can anyone tell how much tasks had completed by the current leaders under BRL-CAD organization?

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:08):

Why?

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:09):

How much have you completed?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:09):

Just asking.

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:09):

Btw can you tell me the names of the leaders?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:09):

I have done 4 tasks now.

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:10):

Ok

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:10):

2 beginners + 2 normal?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:10):

Such as jebbly or chiranjiv singh malhi

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:10):

Yes.

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:11):

Me too but one normal extra

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:11):

I am BurningPhoenix

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:11):

2 beginners + 3 normal

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:11):

First time?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:11):

No way.

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:12):

yes this is my first time

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:12):

i m only still 13 years old.

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:13):

are you seriously burning phoenix?

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:14):

Me too

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:14):

My first time

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:14):

In GCI

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:14):

Yea

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:14):

I am serious

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:14):

chiran how many tasks have you done currently?

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:15):

I was also shocked to see my name

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:15):

are you 13?

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:15):

Yup

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:17):

are you from india

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:17):

i m from sri lanka

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:19):

Yup

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:19):

Hey erik

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:19):

How's it going?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:20):

eric can you review my latest task?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:21):

are you know computer languages sumagna?

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:23):

Not much because i didnt had time this year to atleast see a language

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:24):

what do you mean?

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:24):

I know C and C++ a little

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:24):

well i m not

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:25):

Erik can you review my work I have sent my screenshots.

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:25):

This year i had so much pressure of school homeworks, projects, etc that i couldn't even learn C++. I have a book lying around my house

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:26):

Sumagna erik is not really chatty don t he?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:27):

do you entered GCI by knowing from your school?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:27):

are you from delhi?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:28):

Chiranjiv how much tasks have you done?

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:37):

Nope i got to know about GCI from my family

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:37):

One of my cousin's told me about it

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:38):

ok

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:38):

My sister also urged me to search for coding competitions held by Google or big tech companies

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:38):

are you from delhi

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:49):

Nope

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:49):

then?

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:52):

Kolkata

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:52):

kolkata knight riders

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:52):

You can be one of the leaders. Just try, try and don't cry.

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:53):

Switch topic cuz this is not a GCI topic

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:53):

Here

view this post on Zulip Sumagna Das (Dec 12 2019 at 15:54):

Btw i am a fan of Kolkata knight riders

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:58):

ipl is next year

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 15:59):

Chiranjiv how many tasks have you done?

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:01):

Btw i am a fan of Kolkata knight riders

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:01):

Yea

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:03):

chiranjiv how many tasks have you done?

view this post on Zulip Chiranjiv Singh Malhi (Dec 12 2019 at 16:03):

about 9

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:03):

by the way sumagna are you always online?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:04):

9 tasks

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:04):

how old are you chiran?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:05):

you re the gci winner in 2017 and how was the trip to US

view this post on Zulip Chiranjiv Singh Malhi (Dec 12 2019 at 16:06):

No i wasnt

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:07):

but i look at the winners of 2017 and your name was there

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:07):

and how old are you

view this post on Zulip Chiranjiv Singh Malhi (Dec 12 2019 at 16:08):

1.PNG these were the winners

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:09):

at least you weren t a finalist on previous contests

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:11):

how old are you by the way

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:12):

9!?!

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:13):

Great job

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:14):

no no i mean you have done 9 tasks I have done only 4

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:14):

Nope

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:15):

I was watching dantdm on youtube

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:15):

Saw the message and replied

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:15):

i have done 4 tasks +1 was sent to review

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:15):

Daniel i saw that you committed the changes by H1manshu and BurningPhoenix

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:16):

Me too

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:16):

are you burning phoenix sumagna

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:16):

2+3 and 1 sent for review

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:16):

Yup

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:16):

Anyways does that matter

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:17):

Himanshu how many tasks you completed

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:17):

More than 10

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:18):

sumagna do you know how to build libre cad 3 from the source code

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:19):

sumagna can you send a screen shot of your dashboard in GCI?

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:20):

Why?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:20):

Just to have a look

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:21):

to be informed about what types of tasks that you been completed

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:23):

oh the url

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:26):

What?

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:26):

Hey Jeffrey Liu, are you jebbly?

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:27):

I mean send a screenshot or the url of your dashboard in GCI it s better to send the URL

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 16:28):

Hey Jeffrey Liu, are you jebbly?

Yes I am :)

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:29):

how many tasks have you done jebbly

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 16:29):

I think 7 so far.

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:29):

oh

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:29):

i have done 4

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:30):

how old are you

view this post on Zulip Thusal Ranawaka (Dec 12 2019 at 16:30):

gotta go see you tomorrow

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:30):

Me 5 :sob:

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:32):

Is this your first time Jeffrey?

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 16:43):

Yes it is, I'm loving the experience so far.

view this post on Zulip Sumagna Das (Dec 12 2019 at 16:49):

Me too

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 16:51):

@Sean @Erik I am about to begin appleseed task #4, but before I start, I just want to make sure that I understand the task completely. Is the idea to create a plugin, something like a modified sphereobject.cpp (so that it prints some verification statement), and then attach the dll/plugin to an example scene?

view this post on Zulip Chiranjiv Singh Malhi (Dec 12 2019 at 16:52):

With gci we all learn something new and the experience is great

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 16:53):

Yep, this is my first time working with a large-scale opensource project, but the mentor help has been awesome in helping me work through any issues I have.

view this post on Zulip Sean (Dec 12 2019 at 17:06):

Why my task is abandoned?

@CSY can you provide a link to it? if it's a pull request task, a reason was provided in the comments

view this post on Zulip Sean (Dec 12 2019 at 17:11):

Sean Erik I am about to begin appleseed task #4, but before I start, I just want to make sure that I understand the task completely. Is the idea to create a plugin, something like a modified sphereobject.cpp (so that it prints some verification statement), and then attach the dll/plugin to an example scene?

Yeah, something like that. That task is exploring the notion of integrating BRL-CAD into appleseed, having a plugin in their system call into LIBRT during their rendering

view this post on Zulip Sean (Dec 12 2019 at 17:12):

#4 creates the bones to the plugin and #5 adds in LIBRT

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 17:13):

I see. So this task doesn't actually implement the plugin into BRLCAD yet, right? As in the task requirements are to use the plugin in an appleseed project?

view this post on Zulip Sean (Dec 12 2019 at 17:14):

#5 seemed to be a little hard last year, so #6 was created to fix a couple issues you'll likely encounter

view this post on Zulip Sean (Dec 12 2019 at 17:14):

right -- nobody has gotten that far yet

view this post on Zulip Sean (Dec 12 2019 at 17:15):

integrating appleseed into BRL-CAD is the desired end-state, but that's even more complicated .. this is all baby steps towards the goal :)

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 17:15):

Alright, I will see what I can do with task #4 and then I will see how well I can handle the following tasks. Thank you for your explanations!

view this post on Zulip Sean (Dec 12 2019 at 17:19):

#7-#12 would likely be the continuation where you #7 start creating the 'art' application in brl-cad with #8 appleseed doing rendering that #9 conforms with rt's command-line geometry/view specification #10 running in parallel (if it's not already) with #11 material properties and possibly #12 selectable render modes

view this post on Zulip Sean (Dec 12 2019 at 17:21):

and if that all doesn't come to fruition or work, we should at least already have a system that can render brl-cad geometry in parallel after #5 :)

view this post on Zulip Jeffrey Liu (Dec 12 2019 at 17:22):

Sounds exciting :)

view this post on Zulip Sumagna Das (Dec 12 2019 at 17:31):

Good

view this post on Zulip Sumagna Das (Dec 12 2019 at 19:29):

welcome @CW Mann

view this post on Zulip Sumagna Das (Dec 12 2019 at 19:56):

which variable should i store the return value of xpush() in for push -x?

view this post on Zulip Sumagna Das (Dec 12 2019 at 19:57):

for merge xpush and push together task?

view this post on Zulip Sumagna Das (Dec 12 2019 at 19:58):

i was thinking about doing it after my present task is approved

view this post on Zulip Sumagna Das (Dec 12 2019 at 19:59):

which variable should i store it in cuz it returns an int value?

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:08):

daniel can u help me with this?

view this post on Zulip Daniel Rossberg (Dec 12 2019 at 20:16):

I don't understand the question. There is no xpush() C function. And, I'm not aware of return values of the mged commands. They change the database.

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:18):

sorry my bad

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:18):

its ged_xpush

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:20):

anyways can u help me?

view this post on Zulip Daniel Rossberg (Dec 12 2019 at 20:21):

ged_push() has the push_error.

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:21):

huh?

view this post on Zulip Daniel Rossberg (Dec 12 2019 at 20:22):

That's essentially the variable for the return value.

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:22):

for push?

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:25):

the files are documented somewhere i think?

view this post on Zulip Daniel Rossberg (Dec 12 2019 at 20:25):

for push?

Yes. However, push_error is in fact gpdp->push_error.

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:26):

ok

view this post on Zulip Daniel Rossberg (Dec 12 2019 at 20:26):

the files are documented somewhere i think?

In the files itself.

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:26):

ok

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:32):

good night

view this post on Zulip Sumagna Das (Dec 12 2019 at 20:43):

Hey Sean can you tell me in which variable am I supposed to keep the value of ged_xpush() after merging it with push as push -x

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:08):

Sean can you tell how to build the Libre CAD version 3 from the source code.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:09):

I am a beginner still so I don't know how to download softwares from source code.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:10):

I tried about thousand times to build the Libre CAD v3 source code to my PC but I never succeed.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:15):

Also can anyone tell which rankings now I currently at under BRL-CAD organization.

view this post on Zulip Sean (Dec 13 2019 at 03:42):

@Thusal Ranawaka You have raised a general request for help, but you haven't asked a specific question. That makes it rather hard to help you.

view this post on Zulip Sean (Dec 13 2019 at 03:42):

So which is it? Do you not know how to download or not know how to compile?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:43):

Wait a minute

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:45):

1.png

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:47):

I have sent a screenshot of the task that the problem I have.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:48):

So the task says build LibreCAD 3 from source and I don t know how to do it so my question is how to build the LibreCAD 3 from source?

view this post on Zulip Sean (Dec 13 2019 at 03:51):

anyways can u help me?

@Sumagna Das you're also asking very vague questions ... I don't know if you can be helped without knowing what specifically your question is or what you're trying to do

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:52):

i want to download LibreCAD v3 to my computer.

view this post on Zulip Sean (Dec 13 2019 at 03:52):

Hey Sean can you tell me in which variable am I supposed to keep the value of ged_xpush() after merging it with push as push -x

You shouldn't need to keep any values in any variables I think. The task is far simpler than that.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 03:59):

Hellooo

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:03):

Can you tell me how to download LibreCAD 3?

view this post on Zulip Sean (Dec 13 2019 at 04:04):

@Thusal Ranawaka you're basically telling me you have absolutely no idea what to do for that task

view this post on Zulip Sean (Dec 13 2019 at 04:04):

which I don't believe

view this post on Zulip Sean (Dec 13 2019 at 04:05):

because if it is true and you have absolutely no idea, then that's probably not a task you should be attempting at this time

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:05):

I can't understand what it says

view this post on Zulip Sean (Dec 13 2019 at 04:06):

I presume you know what download and source means, I presume you have ideas for how you can find where the source is and how to download it, so you could possibly ask a question a little more specific than what you have thus far

view this post on Zulip Sean (Dec 13 2019 at 04:06):

we're not helping you at all if we tell you what to do

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:07):

That's the question I don t know how to find the source and download it.

view this post on Zulip Sean (Dec 13 2019 at 04:11):

really

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:12):

Yes. im a beginner I doesn t know much about this source stuff

view this post on Zulip Sean (Dec 13 2019 at 04:13):

so what have you tried?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:14):

what do you mean

view this post on Zulip Sean (Dec 13 2019 at 04:14):

you say you don't now how to find the source

view this post on Zulip Sean (Dec 13 2019 at 04:14):

so you must have tried something

view this post on Zulip Sean (Dec 13 2019 at 04:14):

anything

view this post on Zulip Sean (Dec 13 2019 at 04:14):

or you hav never looked for anything before

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:15):

you mean other tasks

view this post on Zulip Sean (Dec 13 2019 at 04:15):

no I don't

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:15):

then you mean this task

view this post on Zulip Sean (Dec 13 2019 at 04:15):

I mean have you ever looked for anything before? something you don't know much about.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:20):

yes

view this post on Zulip Sean (Dec 13 2019 at 04:20):

how did you start?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:21):

First i cloned the LibreCAD 3 repository to my laptop

view this post on Zulip Sean (Dec 13 2019 at 04:22):

do you know what cloned means?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:22):

Something like downloading to your PC

view this post on Zulip Sean (Dec 13 2019 at 04:24):

yes, cloned means copy, copying librecad 3's source code to your computer, i.e., downloading it to your computer

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:24):

so from after that step I can t understand what do you have to do next

view this post on Zulip Sean (Dec 13 2019 at 04:26):

well, so your first claim of not knowing how to find and download the source was false

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:26):

Then

view this post on Zulip Sean (Dec 13 2019 at 04:26):

so I'm going to have to assume this new claim is also false ;0

view this post on Zulip Sean (Dec 13 2019 at 04:27):

:)

view this post on Zulip Sean (Dec 13 2019 at 04:27):

what is it you have to do next?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:28):

I dont know what to do next after cloning LibreCAD 3 repository to my PC

view this post on Zulip Sean (Dec 13 2019 at 04:39):

well where did you get the instruction to clone librecad 3?

view this post on Zulip Sean (Dec 13 2019 at 04:40):

I would wager the next step is specified in the same place

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:41):

1.png

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:41):

from this

view this post on Zulip Sean (Dec 13 2019 at 04:51):

so... what's the next step then?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:52):

read the build instructions but I read the instructions but I can t understand them.

view this post on Zulip Sean (Dec 13 2019 at 04:55):

you keep saying that, and then I ask you to think it through and the story changes .. do you see the pattern here?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 04:57):

no

view this post on Zulip Sean (Dec 13 2019 at 05:03):

I get the sense that you're very much just used to being told what to do and not thinking things through yourself. it's an important skill in nearly any job or future career. I encourage you to read the instructions and tackle them one step at a time.

view this post on Zulip Sean (Dec 13 2019 at 05:04):

That way, you can ask very specific questions instead of simply saying "I don't understand"

view this post on Zulip Sean (Dec 13 2019 at 05:05):

Now in fairness, the librecad 3 instructions are a bit dense

view this post on Zulip Sean (Dec 13 2019 at 05:05):

but lets work through one part at a time

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 05:11):

Hi @Sean , sorry to distract you, but when we are printing some sort of message when intersect() is being called, do you recommend a certain approach? I would assume that intersect() would be called quite a lot, so printing something every single time would probably decrease the performance a lot.

view this post on Zulip Sean (Dec 13 2019 at 05:12):

not a problem @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 05:12):

I was considering limiting the amount of times to print the statement, but then it might be hard to verify if it's always working right.

view this post on Zulip Sean (Dec 13 2019 at 05:13):

yes, you don't want to cause any I/O or system calls (which include things memory allocations and reading/writing to files) during ray traversal

view this post on Zulip Sean (Dec 13 2019 at 05:14):

you can certainly do some debug printing during development, but then you just have to make sure to remove it all when things are working

view this post on Zulip Sean (Dec 13 2019 at 05:14):

what kind of statement are you looking to print?

view this post on Zulip Sean (Dec 13 2019 at 05:14):

there are some tricks you can use for important messages that are very very infrequent

view this post on Zulip Sean (Dec 13 2019 at 05:15):

what do you have in mind?

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 05:15):

I'm not sure, the task just says to "write out print statements," but it would probably just be something along the lines of showing that the function was actually called.

view this post on Zulip Sean (Dec 13 2019 at 05:15):

@Thusal Ranawaka so the first step in the compilation instructions is a list of things required .. that's a list of things you have to install before you can even start to compile

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 05:15):

But since you said I/O should be avoided during ray traversal, maybe I'm not understanding correctly?

view this post on Zulip Sean (Dec 13 2019 at 05:16):

oh sure, the task just has you print something to prove it's called is all, that's fine

view this post on Zulip Sean (Dec 13 2019 at 05:17):

that's by no means how you would keep it in a "real" application, but for the purposes of doing the task, it's perfectly fine -- the task isn't about performance

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 05:21):

Oh that makes sense. So I was considering using something like RENDERER_LOG_INFO - would that be fine? And then at the end, the image would output.

view this post on Zulip Sean (Dec 13 2019 at 05:21):

even printf or std::cout is find

view this post on Zulip Sean (Dec 13 2019 at 05:21):

fine

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:22):

I have claimed a new task called "Appleseed integration #1 of 5" and I made a new database and make a sphere successfully. But when I type g-obj command to convert .g into .obj so I can import it to appleseed but the command does not work.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:22):

It says "invalid command name "g-obj"

view this post on Zulip Sean (Dec 13 2019 at 05:23):

if you want, you could do something like: static int printed = 0; while (printed++ < 10) { std::cout << "callback called!" << std::endl; }

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 05:24):

if you want, you could do something like: static int printed = 0; while (printed++ < 10) { std::cout << "callback called!" << std::endl; }

So in this case, it would only print the first 10 times right?

view this post on Zulip Sean (Dec 13 2019 at 05:27):

right

view this post on Zulip Sean (Dec 13 2019 at 05:28):

It says "invalid command name "g-obj"

This happens when the command you're trying to run is not in your PATH. You have to either add the installation directory to your system's PATH, or you have to specify the full path to the application.

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 05:29):

Alright I think I'll go with that method then, I was just concerned that if it's limited to a certain amount of calls, then it might be difficult to verify if everything is still working correctly afterwards (although I guess with enough print statements, it's pretty obvious that everything will work).

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 05:34):

Thank you for your advice :)

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:39):

It says "invalid command name "g-obj"

This happens when the command you're trying to run is not in your PATH. You have to either add the installation directory to your system's PATH, or you have to specify the full path to the application.

So where is this installation directory at?

view this post on Zulip Sean (Dec 13 2019 at 05:41):

You tell me. You installed it presumably.

view this post on Zulip Sean (Dec 13 2019 at 05:42):

@Thusal Ranawaka which tasks have you completed?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:43):

I completed the 2 tutorial tasks of BRL CAD and download and install run BRL CAD

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:50):

Is there is something wrong with this command

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 05:52):

@Thusal Ranawaka I think the error you are getting is a result of being unable to find the application. If your install directory is not added to your PATH, and you call something like "g-obj" outside of the directory, then it wil be unable to find the proper application.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:53):

g-obj -o C:\Users\Asus\Downloads\appleseed-2.1.0-beta-0-g015adb503-win64-vc141 (1)

view this post on Zulip Sean (Dec 13 2019 at 05:54):

Is there is something wrong with this command

the command is fine, how you are trying to run it is a problem because your PATH is not set. provide the full path to g-obj instead of just "g-obj"

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:54):

I sent the command that I typed in command window but it says wrong.

view this post on Zulip Sean (Dec 13 2019 at 05:54):

find where it is installed (you can right-click it on the startup menu or icon), and specify the full path

view this post on Zulip Sean (Dec 13 2019 at 05:55):

It'll be something like C:\Program Files ...

view this post on Zulip Sean (Dec 13 2019 at 05:55):

I sent the command that I typed in command window but it says wrong.

It doesn't say "wrong"

view this post on Zulip Sean (Dec 13 2019 at 05:56):

it says "invalid command name"

view this post on Zulip Sean (Dec 13 2019 at 05:56):

that command name is not valid because it doesn't know where you installed g-obj

view this post on Zulip Sean (Dec 13 2019 at 05:57):

so the easiest fix is to tell it by specifying the full path to g-obj.exe

view this post on Zulip Sean (Dec 13 2019 at 05:57):

find g-obj.exe

view this post on Zulip Sean (Dec 13 2019 at 05:57):

on your computer

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:58):

i have found it then

view this post on Zulip Sean (Dec 13 2019 at 05:58):

where was it?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:59):

C:\Users\Asus\Documents\BRLCAD 7.26.0\bin

view this post on Zulip Sean (Dec 13 2019 at 05:59):

okay, that's good

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 05:59):

Then

view this post on Zulip Sean (Dec 13 2019 at 05:59):

so then on a command console, run C:\Users\Asus\Documents\BRLCAD 7.26.0\bin\g-obj.exe

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:13):

i ran it but it didn t work

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:14):

so then on a command console, run C:\Users\Asus\Documents\BRLCAD 7.26.0\bin\g-obj.exe

So it mean type this is on the command window.

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 06:21):

Yep, that should call it but you need to follow the g-obj specifications to properly convert something. This article helped me a lot: http://brlcad.org/~nouhrasofat/man1/en/g-obj.php

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:28):

jeff i ran it but it didn t work

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 06:28):

was an error message output?

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:29):

it says "invalid message"

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 06:30):

Sorry, could you send a screenshot? That would make it easier to evaluate the issue.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:30):

uh i closed and opened a new database

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:31):

i send a screenshot

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:31):

of the command window

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:32):

2.png

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:33):

So i send the screenshot so what should i type next

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:34):

and when i type g-obj

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:34):

the command window shows this below

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:35):

3.png

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 06:37):

The mged command line is entirely different from the terminal - you should be running g-obj outside of mged.

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 06:38):

so it means that i should run g-obj before opening MGED

view this post on Zulip Jeffrey Liu (Dec 13 2019 at 07:08):

Well, not necessarily - you should have a database with objects (made through MGED), but the g-obj application itself should be called through the Windows Command Prompt.

view this post on Zulip Mayank Goyal (Dec 13 2019 at 11:31):

so it means that i should run g-obj before opening MGED

Go to the bin folder and select this

view this post on Zulip Mayank Goyal (Dec 13 2019 at 11:32):

Capture.PNG

view this post on Zulip Mayank Goyal (Dec 13 2019 at 11:33):

otherwise find this in the bin folder and click on it

view this post on Zulip Mayank Goyal (Dec 13 2019 at 11:34):

1.PNG

view this post on Zulip Mayank Goyal (Dec 13 2019 at 11:35):

A command window will open and then you type the code to convert your file

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 15:12):

Thanks Mayank

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 15:45):

Helloo

view this post on Zulip Sumagna Das (Dec 13 2019 at 15:46):

hey should xpush, after merging with push as push -x, get options?

view this post on Zulip Sumagna Das (Dec 13 2019 at 15:52):

in this task
https://codein.withgoogle.com/tasks/5997566106271744/?sp-organization=4884012200361984&sp-is_beginner=False&sp-categories=1&sp-search=merge%20push%20and

view this post on Zulip Sumagna Das (Dec 13 2019 at 15:54):

i am trying to say whether there are gonna be any options to be given to push -x or not

view this post on Zulip Thusal Ranawaka (Dec 13 2019 at 15:59):

Hello

view this post on Zulip Sumagna Das (Dec 13 2019 at 16:00):

just reply to it if anyone can

view this post on Zulip Sean (Dec 13 2019 at 17:01):

hey should xpush, after merging with push as push -x, get options?

I'm not sure I understand the question. They should both support all the options they supported before they were merged.

view this post on Zulip Sean (Dec 13 2019 at 17:01):

So yes, it should support options...

view this post on Zulip Sumagna Das (Dec 13 2019 at 17:03):

I am saying like..

view this post on Zulip Sumagna Das (Dec 13 2019 at 17:04):

Tell me a command line option of xpush (i didnt had the time to see them)

view this post on Zulip Sumagna Das (Dec 13 2019 at 17:06):

btw should the value of ged_xpush be returned to push_error?

view this post on Zulip Sumagna Das (Dec 13 2019 at 17:07):

I found it being returned by the fed push function

view this post on Zulip Sumagna Das (Dec 13 2019 at 17:11):

push -x -(option) should supply an option to xpush?

view this post on Zulip Sumagna Das (Dec 13 2019 at 17:15):

Should it be that way?

view this post on Zulip Sumagna Das (Dec 13 2019 at 18:11):

does xpush has any options?

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:12):

hey daniel

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:13):

i am getting an error when i use make after trying to merge xpush and push

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:14):

Screenshot-from-2019-12-14-00-43-30.png
this is the error

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:15):

why is it saying that there are multiple definitions of ged_xpush()

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:16):

i building brlcad btw

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:17):

not rt^3

view this post on Zulip Daniel Rossberg (Dec 13 2019 at 19:18):

why is it saying that there are multiple definitions of ged_xpush()

Because there are multiple definitions of ged_xpush()?

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:18):

i didnt define ged_xpush() again

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:18):

i just added

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:18):

>

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:18):

gg

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:18):

my keyboard just went crazy

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:19):

these lines

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:19):

case 'x':
push_error=ged_xpush (gedp,argc,(const char **)argv);
return push_error;
break;

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:20):

and nothing else

view this post on Zulip Daniel Rossberg (Dec 13 2019 at 19:29):

Supposed that this is really your only change, you could try to clean up and rebuild libged:

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:30):

fixed it

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:30):

just defined an extern function

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:30):

of ged_xpush

view this post on Zulip Sumagna Das (Dec 13 2019 at 19:44):

do i need to include the object.cpp and object.h files too daniel?

view this post on Zulip Daniel Rossberg (Dec 13 2019 at 19:49):

No, these file are already clean.

view this post on Zulip Jeffrey Liu (Dec 14 2019 at 07:08):

Hi @Sean , I'm having some trouble configuring a proper setup for task #5 - could you help me? I assume that since I'm supposed to be calling rt_shootray() in the plugin, then I must somehow link the BRLCAD libraries into the appleseed plugin, but I'm having difficulty setting up the CMake text file. The two CMake files I've used for the previous tasks are very different and I'm not really sure how to integrate the rt one into the appleseed one.

view this post on Zulip Jeffrey Liu (Dec 14 2019 at 07:25):

Also, for the task itself, could you clarify how exactly rt_shootray() should be used? I was considering translating some of the ray information from the const asr::ShadingRay& ray into the respective ap.a_ray.r_pt and ap.a_ray.r_dir , but even then, I'm not sure how I would be able to translate the model data of the SphereObject into something like a .obj or .g format.

view this post on Zulip Jeffrey Liu (Dec 14 2019 at 07:29):

^^ The reason for me asking this is because I'm supposed to print some sort of statement from rt_shootray(), but I'm not sure how the hit/miss callbacks would actually work out.

view this post on Zulip Jeffrey Liu (Dec 14 2019 at 07:31):

Sorry for such lengthy questions, I just want to make sure that I'm working in the right direction.

view this post on Zulip scorp08 (Dec 14 2019 at 13:06):

@Sean is there a project or TODO for opencascade with brlcad (BRepBuilderAPI)??

view this post on Zulip starseeker (Dec 14 2019 at 13:09):

In general, you'll need to supply the necessary BRL-CAD libraries as target_link_libraries to your build target. At a glance we don't really have a good CMakeLists.txt example for a completely stand-alone app linking against our libs - you might take a look at https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/src/other/gct/psmain/CMakeLists.txt

view this post on Zulip starseeker (Dec 14 2019 at 13:11):

@Jeffrey Liu That CMakeLists.txt file isn't stand-alone, because the BRL-CAD libraries are listed as just their names (build targets, actually) supplied by the parent build. The general style is right - include directories, target_link_libraries - but you'll have to actually supply the library files built by the main build rather than the build target shorthand in that file

view this post on Zulip starseeker (Dec 14 2019 at 13:15):

rt^3 does this (https://sourceforge.net/p/brlcad/code/HEAD/tree/rt%5E3/trunk/cmake/FindBRLCAD.cmake) but it's a pretty heavyweight setup for a simple test application

view this post on Zulip Sean (Dec 14 2019 at 13:16):

@scorp08 not that I know of

view this post on Zulip starseeker (Dec 14 2019 at 13:23):

@Jeffrey Liu I don't know exactly how the tasks have been drawn up... My understanding (which is not deep) was that we were looking to use the procedural objects API introduced in 1.8.0: https://github.com/appleseedhq/appleseed/releases/tag/1.8.0-beta

view this post on Zulip starseeker (Dec 14 2019 at 13:27):

Translating the ray information sounds like it'll probably be needed - r_pt and r_dir are where I would have started - but for rendering with BRL-CAD I had assumed we'd need to define a procedural object in the appleseed scene based on the BRL-CAD object, then translate the ray information to/from librt as appropriate...

view this post on Zulip starseeker (Dec 14 2019 at 13:28):

All that may be ahead of where the GCI task progression is at this point though, so that might not be helpful/useful for what you're doing

view this post on Zulip starseeker (Dec 14 2019 at 13:47):

if you google opencascade and opennurbs together you'll see a bit of work to move data between those two libraries - that's some of the work that would be needed to write a FreeCAD <-> BRL-CAD converter, but as far as I know there aren't any tasks/projects for that at the moment. That's almost certainly beyond GCI scope, and would be a pretty heavy duty effort even as a GSoC project to get to useful levels of capability. That sort of translation requires understanding both systems and the concepts they are trying to express (NURBS breps in this case, plus a bunch of ancillary supporting info), as well as being able to think about expressing the intent of one system in the other when there isn't an exact parallel. Very much like translating literature from one language to another, in some ways...

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 14:30):

I tried very hard to work on this " APPLESEED integration: Create and render a sphere in appleseed and BRL-CAD" task but the g-obj.exe file does not open on my PC when I double click on the g-obj.exe, the command prompt showed up for a second and it's gone away. I tried about a thousand times to convert my .g database file to a .obj format but it didn't work out so I kindly asking for some solution to convert to my .g to .obj format.

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 14:32):

And also I request some more time to work on this task.

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 15:15):

Hello

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 15:16):

Please, someone help me.

view this post on Zulip starseeker (Dec 14 2019 at 15:18):

g-obj is not a graphical application - you can't run it by double clicking. Look into the Windows Command Prompt and how to use it

view this post on Zulip Sumagna Das (Dec 14 2019 at 15:22):

Should it be that way?

view this post on Zulip starseeker (Dec 14 2019 at 15:23):

Should what be that way? g-obj? That's how it is designed. Most BRL-CAD programs are command line - there are only a handful of exceptions

view this post on Zulip Sumagna Das (Dec 14 2019 at 15:27):

What happened here?

view this post on Zulip Sumagna Das (Dec 14 2019 at 15:27):

How did I send the message

view this post on Zulip Sumagna Das (Dec 14 2019 at 15:29):

I didn't even open zulip at 8 52

view this post on Zulip Mayank Goyal (Dec 14 2019 at 15:42):

Before starting,I wanted to know what basically we have to do in Appleseed task #2

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 15:44):

Mayank did you do the Appleseed task#1?

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 15:49):

Hello

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 15:49):

Did anyone complete the Appleseed#1 task?

view this post on Zulip Sumagna Das (Dec 14 2019 at 15:50):

Why?

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 15:51):

I can't understand that task did you do it?

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 15:53):

I finally convert the .g to .obj file but I can't open it in the Appleseed.

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 15:54):

Daniel do you which kind of projects that can be opened in Appleseed?

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:04):

Hello

view this post on Zulip Daniel Rossberg (Dec 14 2019 at 16:06):

I finally convert the .g to .obj file but I can't open it in the Appleseed.

Why not? What's the error?

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:12):

I went to open file in Appleseed but it does not show the sph.obj file.

view this post on Zulip Daniel Rossberg (Dec 14 2019 at 16:14):

Did you their tutorial at https://appleseedhq.net/docs/tutorials/gettingstarted.html as required in the task's description?

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:15):

Yes.

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:16):

sph.g.obj

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:16):

Is there something wrong with this .obj file.

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:18):

Hello

view this post on Zulip Daniel Rossberg (Dec 14 2019 at 16:20):

I haven't Appleseed here, but I would expect that you have to create a new project and import aph.g.obj there.

view this post on Zulip Daniel Rossberg (Dec 14 2019 at 16:22):

BTW, your sph.g.obj looks odd. Maybe, you should recreate it.

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:22):

I can't import it because it doesn't show the sph.g.obj

view this post on Zulip Daniel Rossberg (Dec 14 2019 at 16:27):

Which menu entries do you have to load or import a geometry file?

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:29):

In the file menu >open project

view this post on Zulip Jeffrey Liu (Dec 14 2019 at 16:30):

Hi @starseeker , thank you for your help! So if I'm understanding correctly, I should be setting the include_directories and then setting up the target_link_libraries, but to actually use them externally, I need to first use the RTUIF example of detecting BRLCAD (which uses the PATH environment variable?), right?

view this post on Zulip Daniel Rossberg (Dec 14 2019 at 16:31):

"project" sounds bad. the *.obj file isn't a project file. Aren't there any more menu entries? Maybe, after you created a new, empty project?

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:32):

There is a new project option in the file menu

view this post on Zulip Daniel Rossberg (Dec 14 2019 at 16:33):

Maybe you should hit his one. And after this, import the geometry into this project's workspace.

view this post on Zulip Jeffrey Liu (Dec 14 2019 at 16:35):

Jeffrey Liu I don't know exactly how the tasks have been drawn up... My understanding (which is not deep) was that we were looking to use the procedural objects API introduced in 1.8.0: https://github.com/appleseedhq/appleseed/releases/tag/1.8.0-beta

As for the task itself, I think that all I need to do is show that intersect() from the appleseed plugin successfully calls rt_shootray(), but it seems like I don't need to actually translate a BRLCAD object into a procedural object yet. Perhaps I am supposed to overlay a sphere object over the procedural object for the time being in order to allow rt_shootray() to evaluate correctly?

view this post on Zulip Jeffrey Liu (Dec 14 2019 at 16:43):

Sorry for kinda including unrelated comments between your conversation @Daniel Rossberg @Thusal Ranawaka , would I be allowed to move into the old AppleSeed channel for further discussion?

view this post on Zulip Thusal Ranawaka (Dec 14 2019 at 16:43):

ok

view this post on Zulip Daniel Rossberg (Dec 14 2019 at 16:48):

Sorry for kinda including unrelated comments between your conversation Daniel Rossberg Thusal Ranawaka , would I be allowed to move into the old AppleSeed channel for further discussion?

No need to be sorry. This one is open for all GCi related questions. And, of course you can shift your conversation to #Google Code-in > Appleseed.

view this post on Zulip Jeffrey Liu (Dec 14 2019 at 16:52):

Sounds good, I'll do that so that both channels are more understandable.

view this post on Zulip Mayank Goyal (Dec 14 2019 at 17:38):

Mayank did you do the Appleseed task#1?

yes

view this post on Zulip Sumagna Das (Dec 14 2019 at 18:47):

most tasks have been completed for openWisp(1273 tasks)

view this post on Zulip Chiranjiv Singh Malhi (Dec 15 2019 at 16:39):

d1.PNG d2.PNG Can anyone please help me , whenever i try to build the software i get these errors after following the steps of installation. many of the programs are built but the main mged or archer are not made.

view this post on Zulip Jeffrey Liu (Dec 15 2019 at 16:39):

@Chiranjiv Singh Malhi I don't know if I can help you exactly, but sending the Output log would help.

view this post on Zulip Chiranjiv Singh Malhi (Dec 15 2019 at 16:43):

New-Text-Document-2.txt

view this post on Zulip Jeffrey Liu (Dec 15 2019 at 16:44):

It looks like this is the cause of the initial error:
D:\3D\brlcad-svn-trunk\misc\tools\env2c\env2c.cxx(214,22): error C2131: expression did not evaluate to a constant so maybe try resolving that first?

view this post on Zulip Chiranjiv Singh Malhi (Dec 15 2019 at 16:45):

ok and how should i do that

view this post on Zulip Jeffrey Liu (Dec 15 2019 at 16:46):

I think the easiest way would be to open the file directly and manually resolve any errors that Visual Studio points out, before trying to build again.

view this post on Zulip Daniel Rossberg (Dec 15 2019 at 16:55):

ok and how should i do that

Maybe @starseeker can help you with this.

view this post on Zulip Sumagna Das (Dec 16 2019 at 19:25):

The whole country is going up in fire due to something( i don't know much about it)

view this post on Zulip Sumagna Das (Dec 16 2019 at 19:27):

In some places, internet is turned off

view this post on Zulip Daniel Rossberg (Dec 16 2019 at 19:33):

Which country is it?

view this post on Zulip Sumagna Das (Dec 16 2019 at 19:41):

India

view this post on Zulip Daniel Rossberg (Dec 16 2019 at 20:03):

OK, I see. It's in the news here too.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 04:55):

HELLO I submit the Appleseed task#1 on yesterday noon and I m kindly requesting to review it whenever time you got.

view this post on Zulip Sean (Dec 18 2019 at 04:58):

@Thusal Ranawaka the tasks are being reviewed as we speak -- you don't have to task. reviews can take 24-36 hours when it gets really busy.

view this post on Zulip Sean (Dec 18 2019 at 04:59):

asking doesn't help either. they are reviewed in order.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 05:03):

My task was got reviewed and there is a question in Appleseed#2 task it shows that there is a task for downloading and install BRL CAD from source but I cannot find that task.

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 05:04):

Ah ok, thanks for the explanation! So in the case of this sphere, do the x/y components also come in to play, given that there are multiple low/high points?

view this post on Zulip Sean (Dec 18 2019 at 05:09):

it doesn't use low/high points -- it actually calculates bounds during prep

view this post on Zulip Sean (Dec 18 2019 at 05:09):

that's why you can just use mdl_min and mdl_max

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 05:09):

Ohh that makes so much sense

view this post on Zulip Sean (Dec 18 2019 at 05:10):

but I'm a little surprised you said the sphere is .4 radius

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 05:11):

It's not consistent with the bounding box, is it?

view this post on Zulip Sean (Dec 18 2019 at 05:11):

it is -- I think we're just seeing the next spatial partitioning cell size

view this post on Zulip Sean (Dec 18 2019 at 05:12):

because it's so small

view this post on Zulip Sean (Dec 18 2019 at 05:12):

rt reports the same

view this post on Zulip Sean (Dec 18 2019 at 05:12):

mged> in sph sph
Enter X, Y, Z of vertex: 0 0 0
Enter radius: .4
sph
mged> bb sph
Bounding Box Dimensions, Object(s) sph:
X Length: 0.8 mm
Y Length: 0.8 mm
Z Length: 0.8 mm
Bounding Box Volume: 0.5 mm^3

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 05:13):

Sorry, I'm not too familiar with the terminology - what is a spatial partitioning cell size?

view this post on Zulip Sean (Dec 18 2019 at 05:14):

mged> rt
BRL-CAD Release 7.24.0  The BRL-CAD Raytracer RT
...
Model: X(-1, 1), Y(-1, 1), Z(-1, 1)

view this post on Zulip Sean (Dec 18 2019 at 05:15):

when you ray trace a scene, the ray marches through a simplified version before testing itself against individual objects

view this post on Zulip Sean (Dec 18 2019 at 05:15):

this simplified version is called a spatial partitioning (because it divides up space)

view this post on Zulip Sean (Dec 18 2019 at 05:16):

one common/typical method among several is to march through bounding volumes like axis aligned bounding boxes (AABBs)

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 05:17):

Ah, I think I kinda understand now. Thank you for the explanation!

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 05:24):

Ok I think I'm going to sleep a little earlier today :) Thank you so much for your time, I definitely learned a lot about how raytracing/rendering works! I'll get started with task #7 tomorrow - I'm not too good with CMake configuring so it seems like quite the challenge.

view this post on Zulip Sean (Dec 18 2019 at 05:25):

okay

view this post on Zulip Sean (Dec 18 2019 at 05:25):

did the changes make any difference?

view this post on Zulip Sean (Dec 18 2019 at 05:25):

you definitely are close

view this post on Zulip Sumagna Das (Dec 18 2019 at 08:50):

hey @Thusal Ranawaka you have become a leader, congrats!! brlcad-current-leaders.png

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 12:58):

hey Thusal Ranawaka you have become a leader, congrats!! brlcad-current-leaders.png

Thanks Sumagna.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:00):

hey Thusal Ranawaka you have become a leader, congrats!! brlcad-current-leaders.png

Thanks Sumagna.

I must work hard to keep with them.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:12):

http://brlcad.org/wiki/Example_Application

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:13):

What is the link for?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:13):

Are you doing the appleseed#2 task?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:14):

Can you send a screenshot of what types of tasks that have you done recently?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:18):

http://brlcad.org/wiki/Example_Application

@Sean @Sumagna Das In the Appleseed#2 task, where we have to type the rt_shootray script? In the mged command window or in the command prompt or somewhere else.

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:18):

You know C programming language?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:18):

Noo

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:18):

@Thusal Ranawaka

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:19):

Then there are problems for you in that task

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:19):

You shouldn't do it

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:19):

But it is a priority project.

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:19):

Cuz it deals with programming in C

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:20):

Are you doing it?

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:20):

I know it is a priority project

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:20):

Yes and Jeffrey is also doing it

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:20):

It's OK I try my best.

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:21):

Then you should research a bit on C language

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:21):

So we have to type that script in the command prompt.

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:21):

And probably should look up on C tutorials

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:21):

No

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:21):

Then

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:22):

You have to write it in a C program

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:22):

So where can I get the C program

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:25):

@Sumagna Das While I'm working on it can you send me a screenshot of your completed tasks so I can get an idea which tasks that I can do I have done only 6 tasks.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:27):

Hello

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:32):

some tasks, which i have done, are probably removed

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:33):

are there any remove throw statements tasks?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:34):

hello

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:36):

Are you using Turbo C++ as a C compiler?

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:36):

no

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:36):

Then

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:36):

gcc and g++

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:37):

its default for linux

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:37):

Both

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:37):

dont use turbo c++

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:37):

its outdated

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:37):

you can use msvc

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:38):

You have a linux operating system.

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:38):

yea

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:38):

and windows

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:38):

both on the same laptop

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:39):

How's that possible

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:39):

dual boot

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:39):

you can do that

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:39):

do u have a laptop or computer?

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:39):

/desktop?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:39):

What is your laptop brand

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:39):

hp

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:40):

I have a laptop

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:40):

ok

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:40):

Asus vivobook 15

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:40):

ok

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:40):

msvc means microsoft visual studio

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:41):

no. it means microsoft visual c++(compiler)

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:41):

what editor do u have

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:41):

so it s comes for the visual studio

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:42):

what editor do u have

??

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:42):

i have visual studio in my lap

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:42):

you have a ssd?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:42):

no hdd

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:43):

2gb vram with nvidia. good

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:43):

WHAT?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:44):

my laptop does not have nvidia but it has 2 gb vga card but that's intel

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:46):

you have a good laptop

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:47):

So I can type that script on the visual studio.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:48):

I have downloaded the C++ compiler for visual studio.

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:48):

its not a script

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:48):

Then

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:48):

you need the brlcad source

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:48):

From where do I get it?

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:49):

what beginner tasks have you done?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:49):

install and run BRL CAD

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:49):

and?

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:49):

only 1?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:50):

and the other one is from a different organisation

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:50):

you should have done compile brlcad from source

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:50):

what do u have (os)?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:50):

https://codein.withgoogle.com/dashboard/

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:51):

Windows

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:51):

But i cannot find that task

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:51):

did you do that task

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:52):

Can you send the URL of your dashboard too/

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:54):

Hellooo

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:55):

you cant do it anymore

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:55):

its a beginner task

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:55):

you can do only 2 beginner tasks

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:56):

but you can build it following this link

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 13:57):

it s okay send the link

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:57):

https://brlcad.org/wiki/Building_from_SVN

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:59):

i couldnt do it in windows so did it in ubuntu

view this post on Zulip Sumagna Das (Dec 18 2019 at 13:59):

hey @Jeffrey Liu hows it going?

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 14:00):

Hey what's up, I'm good, how about you?

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:00):

good

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:01):

what number of task are you working on in the series of appleseed

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 14:01):

I just finished 6, I'll probably work on a couple other tasks before starting 7

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:01):

ok

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:02):

i just finished 2 :sob:

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:02):

Jeff you and me have done same number of tasks

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:02):

no not that

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:03):

he finished appleseed integration #6 task

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:03):

he finished many tasks before

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:03):

how many did u finish anyways jeffrey or jebbly

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 14:04):

I think 10?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:04):

Jeff did you do the Appleseed#6 task before doing the Appleseed#2 task?

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 14:06):

No, the tasks should be done in order, as they are meant to prepare you for the next one.

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:07):

right

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 14:08):

This is just coming from me, but I don't think you should worry about the tasks other people are doing, just do what you want to do and what interests you.

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:08):

i have also done 10 tasks!!

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:08):

I have done only 6

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:26):

Hello Sean.

view this post on Zulip Sean (Dec 18 2019 at 14:26):

hey Thusal Ranawaka you have become a leader, congrats!! brlcad-current-leaders.png

Remember @Sumagna Das that it's not the quantity of tasks but the quality, usefulness, and overall impact of everyone's work.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:27):

Appleseed#2 task seems little harder to me but I try my best because it is a PRIORITY PROJECT.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:27):

hey Thusal Ranawaka you have become a leader, congrats!! brlcad-current-leaders.png

Remember Sumagna Das that it's not the quantity of tasks but the quality, usefulness, and overall impact of everyone's work.

Thanks Sean.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:28):

Are you in US, Sean?

view this post on Zulip Sean (Dec 18 2019 at 14:29):

@Thusal Ranawaka if you don't have C experience, you shouldn't start with the appleseed tasks. start with one of the other "Implement" tasks. there are some that involve implementing a single function that will be considerably easier than the appleseed tasks and might help you understand some of the fundamentals

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:30):

Can you send me a link?

view this post on Zulip Sean (Dec 18 2019 at 14:30):

priority just means that it's "valuable" to development, not that everyone should attempt it. there are other "priority" tasks that are not marked like that. that marking was from a previous year when we were marking them all.

view this post on Zulip Sean (Dec 18 2019 at 14:30):

just search on Implement and see if you can find one that you understand a little bit

view this post on Zulip Sean (Dec 18 2019 at 14:31):

honestly, I think you would be most helpful doing our new tutorial task @Thusal Ranawaka

view this post on Zulip Sean (Dec 18 2019 at 14:31):

we've not had anyone do that task yet, and it's a priority task

view this post on Zulip Sean (Dec 18 2019 at 14:32):

this one: https://codein.withgoogle.com/dashboard/tasks/5129152877821952/

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:33):

Thanks Sean I will do it.

view this post on Zulip Sean (Dec 18 2019 at 14:35):

Once you've done that tutorial, you might be able to claim one of the "Write a brief 1-page tutorial on ..." tasks. Nobody has done those too.

view this post on Zulip Sean (Dec 18 2019 at 14:35):

Those were an easy way for someone to earn 10 tasks but surprisingly nobody has tried yet.

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:37):

Thanks Sean for your tips.

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:38):

i know but Thusal said once

how many tasks have the leaders completed?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:43):

i know but Thusal said once

how many tasks have the leaders completed?

I cannot understand Sumagna.

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:44):

i know but Thusal said once

how many tasks have the leaders completed?

I cannot understand Sumagna.

you said once

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:44):

you asked once

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:44):

what i have said once?

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:46):

what i have asked once

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:46):

Can anyone tell how much tasks had completed by the current leaders under BRL-CAD organization?

this is what you said

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:46):

Such as jebbly or chiranjiv singh malhi

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:47):

anyways sorry for getting with you in a quarrel(if i had gotten into one)

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:47):

That's Ok

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:48):

but i dont wanna be in a false position saying lies about somebody

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:51):

Is Linux Os is working well is it better than windows?

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:54):

its only a kernel, not an os

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:55):

i also thought, like you, that its an os but its not

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:57):

you can download ubuntu

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:57):

Somedays I saw you are active on 2.00 a.m Sumagna

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:58):

yea i was

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:58):

Does your parents tell to go to bed

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:58):

online sometimes

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:58):

yea

view this post on Zulip Thusal Ranawaka (Dec 18 2019 at 14:59):

Are you have a room in your home all for yourself

view this post on Zulip Sumagna Das (Dec 18 2019 at 14:59):

nope btw

view this post on Zulip Sumagna Das (Dec 18 2019 at 15:00):

which error i helped you fix @Jeffrey Liu

view this post on Zulip Sumagna Das (Dec 18 2019 at 15:00):

i forgot

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 15:09):

Sorry if I was unclear, I was talking about Franz, the founder of appleseed.

view this post on Zulip Sumagna Das (Dec 18 2019 at 15:09):

sorry for confusing you

view this post on Zulip Sumagna Das (Dec 18 2019 at 15:09):

i got confused

view this post on Zulip Jeffrey Liu (Dec 18 2019 at 15:13):

No worries, glad we got it sorted out.

view this post on Zulip Sean (Dec 19 2019 at 03:18):

@Chiranjiv Singh Malhi if you update your svn checkout, there should be a fix for the compilation error you reported previously. @starseeker fixed it.

view this post on Zulip Mrinal Jain (Dec 19 2019 at 06:11):

I was able to install OGV on mac finally! I would like to update the documentation so others can also benefit.

view this post on Zulip Sean (Dec 19 2019 at 06:16):

@Mrinal Jain that's awesome! please do and submit a pull request (and then claim the pull request task, mention this comment)

view this post on Zulip Sumagna Das (Dec 19 2019 at 09:55):

hello

view this post on Zulip Mrinal Jain (Dec 19 2019 at 10:07):

I have submitted a pull request, can you please look into it and approve it.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 13:52):

Sahib, Hello

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:02):

Hello, Thusal

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:04):

I will submit a task in about 2 minutes. I'm on the final step.

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:06):

Sure!

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:07):

I already submit 50% of it.

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:10):

Thank you for submitting the feedback! How many chess pieces have you modeled till now?

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:11):

All of them

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:11):

That's great! Did you encounter any problem while modeling any of them?

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:12):

no

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:12):

Cool!

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:12):

I submit the task for review.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:14):

Sahib are you from Pakistan?

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:15):

Were you able to understand the measurements, Thusal?

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:15):

Yes.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:15):

I submit the task.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:16):

It was a lot of typing, but it was pretty easy.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:21):

Hellooo

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:22):

Nice! There is still work needed, I have commented the changes to be made on the task. You can have a look. :)
Great work though :)

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:23):

But the bishop's head was perfect.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:25):

I have built the bishop just as the tutorial said and the I have sent the knight.

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:25):

Yes, the pawn is missing.

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:28):

pasted image This is how it must look like.
This is yours:
pasted image
Just a little bit of difference. Can you find out where it went wrong? You can ask here, if stuck.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:31):

I have sent the pawn.

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:33):

@Chiranjiv Singh Malhi I have asked a few questions in the comment of this 3D chess task. Can you answer them?

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 14:35):

Great @Thusal Ranawaka Just commented on the task, have a look.

view this post on Zulip Chiranjiv Singh Malhi (Dec 19 2019 at 14:48):

@Sahibpreet Kaur Hi, I have submitted my answers.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:48):

@Sahibpreet Kaur I resubmit my task.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:53):

@Sahibpreet Kaur Come on, Sahib.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:55):

@Sean I submit the task for review of that Chess set tutorial that you told me to do.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:57):

@"Sean" Hello, Sean what's up?

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 14:59):

@Sahibpreet Kaur I resubmit the task.

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 15:00):

Yeah, I am looking into it.

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 15:01):

What changes did you make in the Bishop, in this case?

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:02):

I made it look like the bishop that you have send to me. @Sahibpreet Kaur

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 15:02):

What did you change in the command?

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:05):

@Sahibpreet Kaur I changed the measurements in the headtop.trc

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 15:06):

Can you send the new measurements here?

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:06):

@Sean Hello Sean, I did the task that you told me.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:12):

@Sahibpreet Kaur in headtop.trc trc 0 0 4.4 0 0 1.2 1 0.25

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:14):

helloo

view this post on Zulip Sahibpreet Kaur (Dec 19 2019 at 15:16):

Cool! @Thusal Ranawaka Approved the task. Hoping to see many more tasks from you. :)

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:17):

Thanks. Sahib

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:25):

Hello, Jeff

view this post on Zulip Jeffrey Liu (Dec 19 2019 at 15:26):

Hey, what's up!

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:26):

Going fine.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:26):

You have done 10 tasks,know?

view this post on Zulip Jeffrey Liu (Dec 19 2019 at 15:27):

Cool

view this post on Zulip Jeffrey Liu (Dec 19 2019 at 15:27):

Yeah

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:27):

Well, I have done 7 tasks.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:28):

Jeff, how old are you?

view this post on Zulip Jeffrey Liu (Dec 19 2019 at 15:28):

I'm 16 this year, what about you?

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:28):

I'm only 13 years old.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:29):

This is my first time in GCI.

view this post on Zulip Jeffrey Liu (Dec 19 2019 at 15:30):

Same here, I only recently started programming but it's been a lot of fun. I tried to learn as much as I could over the summer because I wanted to participate in GCI.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:30):

Is this your first time in GCI

view this post on Zulip Jeffrey Liu (Dec 19 2019 at 15:31):

Yep

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:31):

Are you in US?

view this post on Zulip Jeffrey Liu (Dec 19 2019 at 15:31):

Yes, why?

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:32):

Just asking. In where washington

view this post on Zulip Jeffrey Liu (Dec 19 2019 at 15:32):

Close, east coast.

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:33):

I'm in Sri Lanka.

view this post on Zulip Sumagna Das (Dec 19 2019 at 15:36):

hello

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:36):

Hello

view this post on Zulip Thusal Ranawaka (Dec 19 2019 at 15:37):

Uh I have no idea.

view this post on Zulip Himanshu (Dec 19 2019 at 17:21):

hey @Sumagna Das

view this post on Zulip Sumagna Das (Dec 19 2019 at 17:59):

i was sleeping late, always working on the laptop for GCI or playing Call of Duty:Mobile/Clash of Clans on the phone

view this post on Zulip Jeffrey Liu (Dec 20 2019 at 02:53):

Hi, this is a bit of beginner question - in order to stay up to date so that the patches I make are also up to date, is it necessary for me to always SVN update, reconfigure CMake, and then build/rebuild? This process is quite time consuming.

view this post on Zulip Jeffrey Liu (Dec 20 2019 at 02:55):

Especially when there are build errors - it seems like this is causing my most recent build to fail:

88>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libbrep\shape_recognition\cone.cpp(224,48): error C2589:  '(': illegal token on right side of '::'
88>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libbrep\shape_recognition\cone.cpp(224,48): error C2062:  type 'unknown-type' unexpected
88>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libbrep\shape_recognition\cone.cpp(224,48): error C2059:  syntax error: ')'
88>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libbrep\shape_recognition\cone.cpp(225,48): warning C4003:  not enough arguments for function-like macro invocation 'min'
88>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libbrep\shape_recognition\cone.cpp(225,48): error C2589:  '(': illegal token on right side of '::'
88>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libbrep\shape_recognition\cone.cpp(225,48): error C2062:  type 'unknown-type' unexpected

view this post on Zulip Jeffrey Liu (Dec 20 2019 at 02:55):

And this is the line that's causing it:

double tmin = std::numeric_limits<double>::max();
double tmax = std::numeric_limits<double>::min();

view this post on Zulip Jeffrey Liu (Dec 20 2019 at 03:09):

Oh, from what I've read online it's because there's Windows header included that defines a min or max macro. I believe I fixed it by doing this instead:

double tmin = (std::numeric_limits<double>::max)();
double tmax = (std::numeric_limits<double>::min)();

view this post on Zulip Thusal Ranawaka (Dec 20 2019 at 03:35):

Hello

view this post on Zulip Thusal Ranawaka (Dec 20 2019 at 04:40):

@Sean Hey, Sean I claimed the task "Model a chess scene using matrices (task #1 of 2)" task, but I quite don't understand much about this 'dbconcat' command and the 'oed+tra' commands. Do you know any tutorials or lessons which will help me to get the idea?

view this post on Zulip Sean (Dec 20 2019 at 04:45):

@Jeffrey Liu that's an interesting fix, but there must be something else wrong or missing. I'd guess the latter, that there's a header missing, because we have dozens of other places in teh code that all the same methods.

view this post on Zulip Sean (Dec 20 2019 at 04:46):

@Thusal Ranawaka did you do the the three tutorial tasks?

view this post on Zulip Thusal Ranawaka (Dec 20 2019 at 04:47):

@Sean You mean the mged 2 tutorials and the chess set tutorial. Yes, I did.

view this post on Zulip Thusal Ranawaka (Dec 20 2019 at 05:11):

@Sean A another question, Only black pieces will be enough to import to the chessboard?

view this post on Zulip Thusal Ranawaka (Dec 20 2019 at 05:26):

@Sean When I try to copy the objects (pawn.g) file to the current database using 'dbconcat' command and it shows Error: dbconcat: Can't open geometry datafile file pawn.g

view this post on Zulip Jeffrey Liu (Dec 20 2019 at 05:51):

Jeffrey Liu that's an interesting fix, but there must be something else wrong or missing. I'd guess the latter, that there's a header missing, because we have dozens of other places in teh code that all the same methods.

For now, changing this in both cone.cpp and cylinder.cpp seems to have fixed it. I'm getting two other errors though, one about distcheck failing because the files are now different from the repo, and this:

948>------ Rebuild All started: Project: regress-nurbs-nirt-NIST03_MISS_01, Configuration: Debug x64 ------
948>Generating NIST03_MISS_01-Debug.done
948>CMake Error at regress-nurbs-nirt-NIST03_MISS_01.cmake:31 (message):
948>  [nurbs_nirt] Failure, unexpected result running
948>  C:/Users/JeffL/Downloads/Google Code-in
948>  2019/Source/brlcad/build/Debug/bin/analyze_nhit.exe -M -b
948>  C:/Users/JeffL/Downloads/Google Code-in
948>  2019/Source/brlcad/build/share/db/nist/NIST_MBE_PMI_3.g Document
948>  -114.61944548140064626 -127.49462006675899772 -134.83948901109894791 35 25
948>
948>   Unable to open db file C:/Users/JeffL/Downloads/Google
948>
948>
948>
948>
948>
948>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(220,5): error MSB6006: "cmd.exe" exited with code 1.
948>Done building project "regress-nurbs-nirt-NIST03_MISS_01.vcxproj" -- FAILED.

view this post on Zulip Jeffrey Liu (Dec 20 2019 at 05:51):

Is it because there's spaces in my directory name?

view this post on Zulip Jeffrey Liu (Dec 20 2019 at 05:58):

Hm... despite those two failed builds everything seems to be working correctly.

view this post on Zulip starseeker (Dec 21 2019 at 13:05):

A quick look makes me think we might need bio.h for those two cpp files, which is where we've got the NOMINMAX definition - I committed an update adding those two headers.

view this post on Zulip starseeker (Dec 21 2019 at 13:06):

The different files notice in distcheck isn't an error, just an informative message - one of the uses of distcheck is for release testing, and it lets the developer know they have modified files so they're aware that the tarball distcheck will generate won't match the SVN repository contents.

view this post on Zulip starseeker (Dec 21 2019 at 13:07):

The nist test failure is probably space-in-path-name related, but that shouldn't happen - that's on me since I added the test, so I'll take a look

view this post on Zulip starseeker (Dec 21 2019 at 13:13):

I think I committed a fix for the space-in-pathname issue - let me know if it still breaks. For the latter you'll need to re-run CMake to test it.

view this post on Zulip starseeker (Dec 21 2019 at 13:14):

@Jeffrey Liu Most of the devs don't usually work with spaces in pathnames, so those sorts of errors creep in once in a while. We have a test to check for it, but it's only run as part of the big comprehensive test suite.

view this post on Zulip starseeker (Dec 21 2019 at 13:16):

@Jeffrey Liu If updates are just to .c/.h or .cpp/.hpp files you don't usually need to re-run CMake, but if if there are changes to .cmake or CMakeLists.txt files it means the build system changed and a re-run of CMake is needed. It is slow on Windows - unfortunately, there seems to be no way around that currently (it's just built in to how Visual C++ works.)

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 15:39):

@Sean Hey Sean, I claimed another task and submitted for review.

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 15:40):

@Sumagna Das Hello, Sumagna

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 15:41):

@Daniel Rossberg Hello, Daniel

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 15:57):

@Sumagna Das Hello, Sumagna

view this post on Zulip Sumagna Das (Dec 21 2019 at 15:58):

hello

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 15:58):

@Sumagna Das How about your eye?

view this post on Zulip Sumagna Das (Dec 21 2019 at 15:58):

not bad but not good

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 15:58):

What hapenned?

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 15:59):

And how much tasks have you done?

view this post on Zulip Sumagna Das (Dec 21 2019 at 16:01):

i dont remember how many tasks done

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:01):

Seriously?

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:02):

I have done 8

view this post on Zulip Sumagna Das (Dec 21 2019 at 16:02):

ok

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:02):

How about you?

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:03):

Who is Eryk Mikołajek in the leaders board?

view this post on Zulip Sumagna Das (Dec 21 2019 at 16:07):

how can i know

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:07):

No. I mean if anyone know.

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:08):

He is not seems to be a much active guy.

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:15):

@Sumagna Das Sumagna if I download Ubuntu on to my PC I should download Ubuntu Desktop or the Ubuntu server?

view this post on Zulip Sumagna Das (Dec 21 2019 at 16:15):

desktop

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:18):

So how can I keep both windows and ubuntu on one computer.

view this post on Zulip Himanshu (Dec 21 2019 at 16:20):

So how can I keep both windows and ubuntu on one computer.

You have to either dual boot or do virtualization :-)

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:20):

@Erik Hey Erik I claimed a task and submitted for review.

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:20):

@Himanshu Sekhar Nayak Thanks

view this post on Zulip Thusal Ranawaka (Dec 21 2019 at 16:22):

@Erik Also can you tell me some priority projects which I can do like less coding.

view this post on Zulip Himanshu (Dec 21 2019 at 16:23):

and one thing don't always ping them for reviewing tasks. They will check your tasks when they get time and they also can see that you have submitted task.

view this post on Zulip Sean (Dec 21 2019 at 17:08):

Hm... despite those two failed builds everything seems to be working correctly.

That's a regression test failure. You don't need to worry about any regress-* failures

view this post on Zulip Jeffrey Liu (Dec 21 2019 at 17:52):

Ah ok, thanks Sean and starseeker for the help!

view this post on Zulip Sumagna Das (Dec 21 2019 at 18:00):

hey @Sean can you extend my task deadline?

view this post on Zulip Sumagna Das (Dec 21 2019 at 18:01):

i had some issues with my eyes so i had to keep away from my laptop for one day or yesterday

view this post on Zulip Sumagna Das (Dec 21 2019 at 18:02):

just extend it by a day and not more.

view this post on Zulip Sumagna Das (Dec 21 2019 at 18:14):

thanks sean

view this post on Zulip Sumagna Das (Dec 21 2019 at 18:14):

thank you very very much

view this post on Zulip Sumagna Das (Dec 21 2019 at 18:45):

hey jeffrey did u build appleseed from source

view this post on Zulip Jeffrey Liu (Dec 21 2019 at 18:45):

Yeah I did, but on Windows

view this post on Zulip Jeffrey Liu (Dec 21 2019 at 18:48):

I'm afraid that I won't be able to help you that much because your issue seems Linux-specific, but I'm sure that the developers from the appleseed discord would be able to sort it out. You could try asking over there.

view this post on Zulip Sean (Dec 21 2019 at 19:00):

@Sumagna Das whenever you need an extension, just mark it ready for review, and leave a comment asking for more time

view this post on Zulip Sumagna Das (Dec 21 2019 at 19:01):

ok and thanks for extending it

view this post on Zulip Sean (Dec 21 2019 at 19:01):

I didn't, someone else probably did though :)

view this post on Zulip Sumagna Das (Dec 21 2019 at 19:01):

wait what

view this post on Zulip Sumagna Das (Dec 21 2019 at 19:02):

Kartik Kumar
Ngadou Yopa
S. Rathore(:gabbar1947)
Oleksandr Dubenko
Erik
Panda (Gauravjeet Singh)
Inder Singh
Sean
Sreyansh Jain

view this post on Zulip Sumagna Das (Dec 21 2019 at 19:02):

one of them did it?

view this post on Zulip Sumagna Das (Dec 21 2019 at 19:02):

whoever it is, thanks for extending it

view this post on Zulip Sumagna Das (Dec 21 2019 at 19:03):

by the way

view this post on Zulip Sean (Dec 21 2019 at 19:03):

you do see the comments on your tasks, no?

view this post on Zulip Sean (Dec 21 2019 at 19:03):

everything is there

view this post on Zulip Sumagna Das (Dec 21 2019 at 19:03):

ok

view this post on Zulip Sumagna Das (Dec 21 2019 at 19:03):

thanks @Daniel Rossberg

view this post on Zulip Sumagna Das (Dec 22 2019 at 15:43):

hello thusal

view this post on Zulip Sumagna Das (Dec 22 2019 at 15:43):

still trying to build appleseed

view this post on Zulip Sumagna Das (Dec 22 2019 at 15:44):

i dont know why it isnt building

view this post on Zulip Thusal Ranawaka (Dec 22 2019 at 15:47):

So I try on a another task.

view this post on Zulip Sumagna Das (Dec 22 2019 at 15:47):

yes?

view this post on Zulip Sumagna Das (Dec 22 2019 at 15:49):

sorry what

view this post on Zulip Sumagna Das (Dec 22 2019 at 15:49):

?

view this post on Zulip Sumagna Das (Dec 22 2019 at 15:54):

it was so problematic that i had to upgrade from an LTS to a normal version

view this post on Zulip Thusal Ranawaka (Dec 22 2019 at 16:01):

Hello Sumagna

view this post on Zulip Thusal Ranawaka (Dec 22 2019 at 16:07):

@Erik Hello Erik can you review my work? I have a problem.

view this post on Zulip Sean (Dec 24 2019 at 07:07):

Hi, this is a bit of beginner question - in order to stay up to date so that the patches I make are also up to date, is it necessary for me to always SVN update, reconfigure CMake, and then build/rebuild? This process is quite time consuming.

You only need to reconfigure cmake when build files change. On linux and mac this is detected and happens automatically only when needed. On windows, you have to pay attention to what files change during "svn update" and if you see any files with cmake in the name (e.g., CMakeLists.txt), you'll need to re-run cmake.

view this post on Zulip Sean (Dec 24 2019 at 07:09):

Oh, from what I've read online it's because there's Windows header included that defines a min or max macro. I believe I fixed it by doing this ```
One of the devs thinks they fixed this (the file was missing a header). You can undo your changes and check. If you encounter that error, make sure that file has "common.h" first, <limits> included, and "bio.h" included.

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 07:10):

Yep, I think starseeker fixed it almost immediately after I mentioned it

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 07:10):

I actually don't recall updating after that point, so I'll try to reconfigure and recompile to see how it works out.

view this post on Zulip Sean (Dec 24 2019 at 07:15):

@Vikramaditya Singh Welcome. And to answer your question, difficulty is greatly a function of experience. It's fair to say BRL-CAD has a steep learning curve, but is quite powerful in what it can do.

view this post on Zulip Sean (Dec 24 2019 at 07:15):

@Jeffrey Liu okay, great

view this post on Zulip Sean (Dec 24 2019 at 07:16):

yeah, when you see something like that ... and there are hundreds of other instances throughout the code, it's a red flag that there's something wrong in that specific file.

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 07:17):

That makes sense - I'll keep that in mind for the future. Thank you for your advice!

view this post on Zulip Sean (Dec 24 2019 at 07:19):

welcome @Omega Cuber -- what tasks are you working on now?

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:40):

As an update - the latest revision built successfully, again with the exceptions of distcheck-repo-verify and regress-nurbs-nirt-NIST03_MISS_01, which isn't a problem

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:02):

you are a christian, right?(no racist thoughts; just asking)

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:03):

Yeah I am

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:03):

(deleted)

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:05):

then you people are having
1) a christmas tree
2) a celebration tonight
3) a cake
4)fun

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:06):

I guess a little bit, although I think I'll be working for most of today :)

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:07):

I guess a little bit, although I think I'll be working for most of today :slight_smile:

me too(but i am not a christian so no celebration)

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:10):

your profile photo looks like a black hole as well as a modified appveyor logo

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:11):

Haha I made it in Blender a couple years ago, I believe there's a tutorial online

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:11):

oh

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:23):

do u know Krampus?

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:25):

Isn't that the horror movie?

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:25):

right

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:25):

plus its kind of a myth

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:26):

(deleted)

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:27):

Oh, I didn't know there was a myth associated to it as well

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:27):

Krampus-Wikipedia

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:28):

see

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:28):

it is also known as the anti santa claus

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:29):

just like santa claus is a myth

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:29):

and tonight i am gonna be mythbusting

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:32):

Yikes, horror stories are definitely not my thing, but have fun I guess

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:32):

you staying up tonight?

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:32):

the whole night?

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:35):

you live near new york?

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:36):

Yes, although I don't go there often

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:37):

ok

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:37):

you staying up tonight?on 24th december midnight

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:37):

Haha I usually stay up pretty late anyways... so yes?

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:38):

i stay up till 2 am but tonight i am gonna stay up the whole night

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:39):

me,my elder sister and my cousin are gonna stay up

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:41):

we are gonna be mythbusting

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:42):

the myth that santa claus is real or not

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:44):

Ah I see, you guys have fun with that

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:44):

everytime until 2018, my elder sister tried to stay up but she couldnt

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:45):

but she would be awake all the night on the other days except 24th December

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:46):

as i would get gifts(yea i am a child and was a child

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:46):

so this time i want to see if i get sleepy too because i dont get sleepy easily

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:46):

i have many children in the neighborhood

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:52):

oh hi @Srasti Sethi

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:53):

IIT Roorkee?

view this post on Zulip Thusal Ranawaka (Dec 25 2019 at 01:54):

@all Merry Christmas to all of you hope you'll all have fun and open up your presents.

view this post on Zulip Jeffrey Liu (Dec 25 2019 at 02:01):

Merry Christmas!

view this post on Zulip Thusal Ranawaka (Dec 25 2019 at 02:03):

I am not celebrating Christmas l am a Buddhist.

view this post on Zulip Thusal Ranawaka (Dec 25 2019 at 02:05):

Is Sumagna Christian?

view this post on Zulip Sumagna Das (Dec 25 2019 at 14:40):

@Thusal Ranawaka i am not a christian. i am a hindu and we celebrate as
1) Its a holiday
2) We just celebrate it for fun

view this post on Zulip Thusal Ranawaka (Dec 25 2019 at 14:42):

@Sumagna Das I'm a Buddhist. So I do not celebrate it either.

view this post on Zulip Karan S Bisht (Dec 25 2019 at 14:43):

Untitled.png in my mged is not working :frown:

view this post on Zulip Sumagna Das (Dec 25 2019 at 14:50):

btw it should popup on the start menu as "Recently Installed"

view this post on Zulip Sumagna Das (Dec 25 2019 at 14:51):

@Karan S Bisht ^

view this post on Zulip Karan S Bisht (Dec 25 2019 at 14:53):

@Sumagna Das you have downloaded it from Sourceforge ?

view this post on Zulip Thusal Ranawaka (Dec 25 2019 at 15:14):

@Karan S Bisht Yes. You have to download it from Sourceforge you go to BRL-CAD 7.26.0 folder and select bin then you will find the app called mged then click on it.

view this post on Zulip Thusal Ranawaka (Dec 25 2019 at 15:16):

Ball-and-Jacks-3.png

view this post on Zulip Thusal Ranawaka (Dec 25 2019 at 15:16):

@Karan S Bisht This is my model.

view this post on Zulip Karan S Bisht (Dec 25 2019 at 15:39):

wow

view this post on Zulip Karan S Bisht (Dec 25 2019 at 15:39):

very nice

view this post on Zulip Karan S Bisht (Dec 25 2019 at 15:40):

till now i was making everything by writing commands

view this post on Zulip Himanshu (Dec 26 2019 at 05:38):

Hey @Jeffrey Liu how's going ?

view this post on Zulip Jeffrey Liu (Dec 26 2019 at 05:38):

Hey! I'm good, how about you?

view this post on Zulip Himanshu (Dec 26 2019 at 05:39):

yeah me too :-)

view this post on Zulip Himanshu (Dec 26 2019 at 05:41):

what's the time there now ?

view this post on Zulip Jeffrey Liu (Dec 26 2019 at 05:41):

It's getting pretty late for me, I'll probably be going to sleep in an hour or two

view this post on Zulip Himanshu (Dec 26 2019 at 05:42):

here 11.12 am

view this post on Zulip Jeffrey Liu (Dec 26 2019 at 05:43):

Wow, we're almost on opposite ends

view this post on Zulip Himanshu (Dec 26 2019 at 05:44):

yeah correct

view this post on Zulip Himanshu (Dec 26 2019 at 05:44):

you in California or ?

view this post on Zulip Jeffrey Liu (Dec 26 2019 at 05:46):

I'm east coast

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 08:46):

@Sean I just claimed a new task.

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 08:56):

@Sean Can you name me some priority tasks with less coding?

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 11:09):

@Sahibpreet Kaur Hello Sahib, I just send the pictures and the database file for review.

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 11:09):

@Sahibpreet Kaur Model a baseball bat task.

view this post on Zulip Sahibpreet Kaur (Dec 26 2019 at 11:15):

Please share the link

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 11:17):

@Sahibpreet Kaur https://codein.withgoogle.com/dashboard/task-instances/5230935474176000/

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 12:51):

@Sahibpreet Kaur Dear Sahib, I cannot understand what you are saying I made a comment and submit for review. I use create option in the graphics window to create this model.

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 15:16):

@Jeffrey Liu Hello Jeff, Is CHESAPEAKE BAY BRIDGE is near you?

view this post on Zulip Jeffrey Liu (Dec 26 2019 at 15:21):

Kind of, why?

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 15:22):

@Jeffrey Liu It says that bridge is the world's most scariest bridge.

view this post on Zulip Jeffrey Liu (Dec 26 2019 at 15:24):

Oh wow, I didn't know that, I've never been there myself

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 15:26):

@Jeffrey Liu Seriously, even there are programs that cast about your bridge even in Sri Lanka.

view this post on Zulip Jeffrey Liu (Dec 26 2019 at 15:29):

That's pretty cool

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 15:31):

@Jeffrey Liu You know Jeff, some people are even scared to cross that bridge on their own so there are people who make money by crossing the bridge for the scared people and they earn 25 bucks for one ride to cross the bridge.

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 15:31):

@Daniel Rossberg I claimed a task and submit for review.

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 15:32):

@Daniel Rossberg https://codein.withgoogle.com/dashboard/task-instances/5230935474176000/

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 15:40):

@Daniel Rossberg You are not seems to be in US then where are you living?

view this post on Zulip Daniel Rossberg (Dec 26 2019 at 15:48):

Germany

view this post on Zulip Daniel Rossberg (Dec 26 2019 at 15:50):

At the moment, I'm traveling around, visiting my family. That's why I haven't much time to lurk around here ;)

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 15:55):

@Jeffrey Liu How many tasks have you done currently?

view this post on Zulip Thusal Ranawaka (Dec 26 2019 at 16:34):

@Daniel Rossberg I made the comments and the changes that you said and resubmit the task for review.

view this post on Zulip Thusal Ranawaka (Dec 27 2019 at 07:02):

@Sean Hey Sean, thank you for your comment and while I'm working on the baseball bat I will abandon that task and claim a new task and submit for review which I was created previously is that okay with you?

view this post on Zulip Thusal Ranawaka (Dec 28 2019 at 02:24):

Hello

view this post on Zulip Thusal Ranawaka (Dec 28 2019 at 03:05):

@Jeffrey Liu How much tasks have you done currently?

view this post on Zulip Erik (Dec 28 2019 at 12:54):

@Thusal Ranawaka : different people have different priorities and different approaches could result in different "amounts" of coding. Please review the tasks to see which you are interested in and feel comfortable in executing.

view this post on Zulip Thusal Ranawaka (Dec 28 2019 at 13:56):

Thusal Ranawaka : different people have different priorities and different approaches could result in different "amounts" of coding. Please review the tasks to see which you are interested in and feel comfortable in executing.

@Erik thanks Erik for your advice.

view this post on Zulip Thusal Ranawaka (Dec 29 2019 at 08:24):

@Sean Hey Sean

view this post on Zulip Thusal Ranawaka (Dec 29 2019 at 12:44):

@Sean Are you there?

view this post on Zulip Himanshu (Dec 29 2019 at 21:03):

Hey @Daniel Rossberg sorry for not submitting in time due to my exams so again I have to reclaim it

view this post on Zulip Himanshu (Dec 30 2019 at 08:13):

hey @Jeffrey Liu how's going ?

view this post on Zulip Jeffrey Liu (Dec 30 2019 at 08:19):

Hey I'm good, how about you?

view this post on Zulip Himanshu (Dec 30 2019 at 08:20):

yeah me too and how's work on task going :-) ?

view this post on Zulip Jeffrey Liu (Dec 30 2019 at 08:20):

Good I think, I just submitted it for review, and you?

view this post on Zulip Himanshu (Dec 30 2019 at 08:21):

nice. I am working in binding C++ functions into Lua currently

view this post on Zulip Himanshu (Dec 30 2019 at 08:21):

did you see Daniel recently ?

view this post on Zulip Jeffrey Liu (Dec 30 2019 at 08:22):

No I haven't sorry, I think he mentioned that he was travelling which is why he hasn't been online very much.

view this post on Zulip Himanshu (Dec 30 2019 at 08:23):

oh... okay

view this post on Zulip Thusal Ranawaka (Dec 30 2019 at 13:40):

Hello guys Sumagna is not much online these days.

view this post on Zulip Chiranjiv Singh Malhi (Dec 30 2019 at 15:59):

@Sean I have sent a message at the gci website , please provide some help.

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 03:14):

@all Celebrations! :tada: Happy New year' eve for all!

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 03:16):

(deleted)

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 03:17):

(deleted)

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 05:14):

@Chiranjiv Singh Malhi Hey Chiran, How many tasks have you done currently?

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 06:34):

@Chiranjiv Singh Malhi Hello Chiran

view this post on Zulip Jeffrey Liu (Dec 31 2019 at 07:17):

Happy New Year's Eve!

view this post on Zulip Himanshu (Dec 31 2019 at 07:59):

Happy New Year's Eve :-)

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:01):

Himanshu, How many tasks have you done currently?

view this post on Zulip Himanshu (Dec 31 2019 at 08:02):

i am on 8

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:03):

8 tasks?

view this post on Zulip Himanshu (Dec 31 2019 at 08:03):

nah 7 tasks and currently on 8

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:03):

Okay.

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:03):

Are you 'H1MANSHU'?

view this post on Zulip Himanshu (Dec 31 2019 at 08:04):

yeah

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:04):

How old are you?

view this post on Zulip Himanshu (Dec 31 2019 at 08:04):

17

view this post on Zulip Himanshu (Dec 31 2019 at 08:04):

is that matter a lot ?

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:04):

So, this is your last time?

view this post on Zulip Himanshu (Dec 31 2019 at 08:04):

yeah

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:05):

Is this your first time in GCI?

view this post on Zulip Himanshu (Dec 31 2019 at 08:05):

nah

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:05):

Then

view this post on Zulip Himanshu (Dec 31 2019 at 08:05):

I am finalist previous year

view this post on Zulip Himanshu (Dec 31 2019 at 08:05):

*a

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:05):

In which organisation?

view this post on Zulip Himanshu (Dec 31 2019 at 08:06):

RTEMS Project

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:07):

Did you receive a jacket?

view this post on Zulip Himanshu (Dec 31 2019 at 08:11):

yup

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:11):

Is it good?

view this post on Zulip Himanshu (Dec 31 2019 at 08:11):

yes

view this post on Zulip Himanshu (Dec 31 2019 at 08:11):

btw why are you asking these questions ?

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:13):

Because this is my first time in GCI and I am only 13 years old so I don't know much information about this contest?

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:13):

And also I'm really excited.

view this post on Zulip Himanshu (Dec 31 2019 at 08:13):

oh.... nice welcome to Open source :)

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:13):

Yeah.

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:14):

And I'm living on your fellow country.

view this post on Zulip Himanshu (Dec 31 2019 at 08:15):

Sri Lanka ?

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:15):

Yes.

view this post on Zulip Himanshu (Dec 31 2019 at 08:15):

wow great

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:15):

I guess I am the only Sri Lankan participate under this organisation?

view this post on Zulip Himanshu (Dec 31 2019 at 08:18):

yeah may be

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:19):

Is Chiran living near you Himanshu?

view this post on Zulip Himanshu (Dec 31 2019 at 08:21):

nope but he is from India I guess

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:26):

Sumagna is not available for 5 days.

view this post on Zulip Himanshu (Dec 31 2019 at 08:31):

holidays :)

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:31):

What holidays?

view this post on Zulip Himanshu (Dec 31 2019 at 08:32):

winter holidays and some celebrations for new year and christmas

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:33):

Sumagna is in India there is no winter in India

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 08:33):

And he is a hindu.

view this post on Zulip Himanshu (Dec 31 2019 at 08:54):

winter is here in India

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 14:41):

@Erik Hello Erik

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 14:46):

Hello @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Dec 31 2019 at 16:22):

Hello Himanshu Sekhar Nayak

hey !!

view this post on Zulip Thusal Ranawaka (Dec 31 2019 at 16:22):

hello

view this post on Zulip Himanshu (Dec 31 2019 at 18:49):

Happy New Year to everyone :tada: @all

view this post on Zulip phot0n (Dec 31 2019 at 18:50):

hny :tada:

view this post on Zulip Chiranjiv Singh Malhi (Dec 31 2019 at 18:50):

Happy new year!!

view this post on Zulip Jeffrey Liu (Dec 31 2019 at 18:53):

Happy new year!! :tada: :tada:

view this post on Zulip UniTECH YASH (Dec 31 2019 at 19:05):

same to you bro

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 01:10):

@all Happy New Year 2020 !!! :tada: :tada:

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 07:25):

Hello @Sean

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 07:27):

Happy New Year 2020 @Sean

view this post on Zulip Sean (Jan 01 2020 at 07:39):

Sean Can you name me some priority tasks with less coding?

If you do really good polished work and put a lot of time and effort it doing the task well, any task becomes a priority.

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 07:41):

Sean Can you name me some priority tasks with less coding?

If you do really good polished work and put a lot of time and effort it doing the task well, any task becomes a priority.

Thanks @Sean for your advice.

view this post on Zulip Sean (Jan 01 2020 at 07:43):

Sean Hey Sean, thank you for your comment and while I'm working on the baseball bat I will abandon that task and claim a new task and submit for review which I was created previously is that okay with you?

You're welcome to abandon any task at any time. This can be specially important if you realize you don't have the background or time to do the task well and need to work on another task first to help you become more familiar.

view this post on Zulip Sean (Jan 01 2020 at 07:45):

Happy new year to all our amazing open source folks!

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 07:49):

Hey @Sean currently model a baseball bat was submitted for review and I found your profile at LinkedIn and I found out that you are a very busy proffesional in your company so I apologise you to behaving impatiently on tasks past few days.I participated in this contest for the first time so I don't know much.

view this post on Zulip Sean (Jan 01 2020 at 07:53):

It's quite alright @Thusal Ranawaka It's natural to feel excited and impatient, waiting seemingly forever I'm sure for tasks to get reviewed. We want you to learn as much as we want useful contributions from you too. Really, what we want and need is for people like you to become dedicated contributors to the project. Take ownership and responsibility for something that interests you.

view this post on Zulip Sean (Jan 01 2020 at 07:59):

Because this is my first time in GCI and I am only 13 years old so I don't know much information about this contest?

@Thusal Ranawaka which is pretty awesome, btw. That means next year will likely likely be a super strong contender for winning GCI if you keep learning, keep contributing, keep improving.

view this post on Zulip Sean (Jan 01 2020 at 07:59):

it's happened before

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 08:27):

Hey @Sean I attached the geometry file and resubmit for review.

view this post on Zulip Sean (Jan 01 2020 at 08:28):

thanks

view this post on Zulip Erik (Jan 01 2020 at 10:17):

Welcome to 2020 of the Gregorian calendar, will you use your superpowers for good or for awesome?

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 12:34):

Welcome to 2020 of the Gregorian calendar, will you use your superpowers for good or for awesome?

@Erik For Awesome.

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 13:55):

Hey, @Sean @Erik there is a task called 'Install and run BRL-CAD's Online Geometry Viewer (OGV)' but the GitHub build instructions shows only to build it in Linux distributions is that compatible with Windows 10?

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 13:56):

Hey @Alex Liu

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 15:54):

Hi @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 01 2020 at 15:58):

Hey @Thusal Ranawaka , happy new year again!

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 15:59):

Same to you

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 15:59):

How many tasks have you done? @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 01 2020 at 16:01):

Sorry I can't remember off the top of my head, maybe like 13 or so?

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 16:01):

ok

view this post on Zulip Thusal Ranawaka (Jan 01 2020 at 16:01):

I'm also 13 tasks

view this post on Zulip Jeffrey Liu (Jan 01 2020 at 16:02):

Nice

view this post on Zulip Sean (Jan 02 2020 at 02:43):

Hey, Sean Erik there is a task called 'Install and run BRL-CAD's Online Geometry Viewer (OGV)' but the GitHub build instructions shows only to build it in Linux distributions is that compatible with Windows 10?

I have no idea myself, but certainly worth a try. @pooh (inder) or @Panda (Gauravjeet Singh) or @Shubham Rathore would know better how well it runs on Windows. The bigger issue would probably be getting a web server set up on Windows so you can test it.

view this post on Zulip Sean (Jan 02 2020 at 02:46):

Remember @Thusal Ranawaka, the number of tasks isn't as important as the quality and usefulness of your work. Hopefully everyone is putting their best into every task, ideally going above and beyond so that the end result can be use by others with the least amount of work.

view this post on Zulip Sean (Jan 02 2020 at 02:52):

@Thusal Ranawaka you can always run linux in a virtual machine (e.g., VirtualBox) and install OGV there too.

view this post on Zulip Thusal Ranawaka (Jan 02 2020 at 11:57):

Hey @Sean I sent the source path and submit for review.

view this post on Zulip Sean (Jan 02 2020 at 15:44):

great @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jan 02 2020 at 15:47):

@Sean It's happy to see you when I am online.

view this post on Zulip Thusal Ranawaka (Jan 02 2020 at 15:50):

@Sean You said that if I can download virtual box on to my pc you mean the 'Oracle VM VirtualBox'?

view this post on Zulip Thusal Ranawaka (Jan 02 2020 at 16:14):

Hey @Sean I'm still working with @Feragon to build LibreCAD V3 from source.

view this post on Zulip Thusal Ranawaka (Jan 02 2020 at 16:18):

Hi @Erik

view this post on Zulip Misbah urahman (Jan 02 2020 at 17:17):

Happy new year 2020

view this post on Zulip Sean (Jan 02 2020 at 17:49):

Happy new year 2020

happy new year @Misbah urahman !

view this post on Zulip Thusal Ranawaka (Jan 03 2020 at 13:40):

@Sean I claimed a task called 'Fix at least 5 spelling mistakes in at least 5 different BRL-CAD files' so what I have to do is find 5 spelling errors in 5 files on BRL-CAD Wiki and submit the errors and correct it in there by using the edit option?

view this post on Zulip Thusal Ranawaka (Jan 03 2020 at 15:09):

Hey @Erik Can you review my work?

view this post on Zulip Thusal Ranawaka (Jan 03 2020 at 15:10):

@Erik The task Fix at least 5 spelling mistakes in at least 5 different BRL-CAD files (if you have time)

view this post on Zulip Thusal Ranawaka (Jan 03 2020 at 15:12):

Hey @Daniel Rossberg still travelling?

view this post on Zulip Thusal Ranawaka (Jan 03 2020 at 15:25):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 03 2020 at 15:25):

Hey

view this post on Zulip Thusal Ranawaka (Jan 03 2020 at 15:26):

Working on a task?

view this post on Zulip Thusal Ranawaka (Jan 03 2020 at 15:36):

Hey @Jeffrey Liu still working on the EBM task?

view this post on Zulip Jeffrey Liu (Jan 03 2020 at 16:05):

Yeah, what about you?

view this post on Zulip Thusal Ranawaka (Jan 03 2020 at 16:17):

I just send the task for review.

view this post on Zulip Thusal Ranawaka (Jan 03 2020 at 16:18):

@Jeffrey Liu Good luck with your work!

view this post on Zulip Jeffrey Liu (Jan 03 2020 at 16:26):

Thanks you too!

view this post on Zulip Himanshu (Jan 03 2020 at 16:31):

(deleted)

view this post on Zulip Himanshu (Jan 03 2020 at 16:31):

Yeah @Thusal Ranawaka

view this post on Zulip Daniel Rossberg (Jan 03 2020 at 18:00):

Hey Daniel Rossberg still travelling?

No, I'm back home. Which does not mean that I have nothing to do ;)

view this post on Zulip Chiranjiv Singh Malhi (Jan 04 2020 at 06:24):

While creating submodels in mged , it asks for space partitioning method can someone help me to understand what it means and what should I write for it .

view this post on Zulip scorp08 (Jan 04 2020 at 07:30):

@Sean could not check all the messages but guess GSOC helped brlcad to mature :). I was looking to "shootrays_in_parallel " but why there is a "while (rays->ap[i].a_magic != RT_AP_MAGIC)" @585 , rays have already RT_AP_MAGIC . So this loop not working ? does "bu_parallell" changes the magic number of rays->ap ?

view this post on Zulip Himanshu (Jan 04 2020 at 15:08):

Hey @Daniel Rossberg Do I have to svn add or have to send you sphere.cpp and sphere.h in GCI website ?

view this post on Zulip Daniel Rossberg (Jan 04 2020 at 15:23):

I prever svn add followed by svn diff.

view this post on Zulip Himanshu (Jan 04 2020 at 15:24):

yeah done

view this post on Zulip Thusal Ranawaka (Jan 04 2020 at 15:41):

Hey @Daniel Rossberg Are you a professor?

view this post on Zulip Daniel Rossberg (Jan 04 2020 at 15:43):

No, I've a PhD only ;(

view this post on Zulip Himanshu (Jan 04 2020 at 15:48):

btw you have done PhD in which field @Daniel Rossberg ?

view this post on Zulip Daniel Rossberg (Jan 04 2020 at 15:49):

Mathematics

view this post on Zulip Himanshu (Jan 04 2020 at 15:49):

wow

view this post on Zulip Himanshu (Jan 04 2020 at 15:50):

btw what's the criteria then for becoming a professor ?

view this post on Zulip Himanshu (Jan 04 2020 at 15:51):

Is PhD not enough ?

view this post on Zulip Thusal Ranawaka (Jan 04 2020 at 15:55):

@Daniel Rossberg Is English is the main language in Germany?

view this post on Zulip Daniel Rossberg (Jan 04 2020 at 15:58):

In Germany, you need to habilitate (qualify as a university lecturer) and, of course, get a chair at a university to become a professor.

view this post on Zulip Daniel Rossberg (Jan 04 2020 at 15:59):

Daniel Rossberg Is English is the main language in Germany?

No, but German.

view this post on Zulip scorp08 (Jan 04 2020 at 17:01):

Mathematics

@Daniel Rossberg Are there good Msc. programs about Math of CAD in germany ? Ready to break UG -NX storm :))

view this post on Zulip Daniel Rossberg (Jan 04 2020 at 17:50):

Can't say. I haven't done a master but a diploma. This was not in Germany but in Hungary. There was no CAD during this study. And, it was a time ago.

view this post on Zulip Wendelin Wemhöner (Jan 04 2020 at 19:06):

Hi, I'm participating in GCI. Just wanted to check this place out. Seems legit!

view this post on Zulip Himanshu (Jan 04 2020 at 19:17):

welcome @Wendelin Wemhöner :)

view this post on Zulip Jeffrey Liu (Jan 04 2020 at 19:18):

Welcome @Wendelin Wemhöner !

view this post on Zulip Chiranjiv Singh Malhi (Jan 04 2020 at 19:29):

Hey @Wendelin Wemhöner

view this post on Zulip Jeffrey Liu (Jan 04 2020 at 21:50):

Hey @Wendelin Wemhöner , welcome again (I'm messaging you on this channel because we try to use different channels for the sake of organization)! I agree, the BRLCAD community has been awesome and taught me a lot when I was working on some difficult tasks. Aside from that task, have you taken a look at/are interested in any others?

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 01:32):

Hey @Erik I completed a task and submitted.

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 02:18):

Hey @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 02:21):

Hello!

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 02:23):

Looks like EBM task seems to be an very hard task.

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 02:26):

Yeah, just when I thought I finished the task set, there was another part of MGED that needed adjusting lol

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 02:26):

It's fun though, I was so excited when both the object and source based creation started working.

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 02:27):

So do you know any computer language?

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 02:27):

I know a bit of Python, Java, and C++

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 02:28):

Although it looks like I'm going to be learning a little bit of Tcl/Tk for task 6 of EBM

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 02:29):

Is C++ easy to learn?

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 02:31):

I think it's harder than Python and Java, for reasons such as memory management, etc (personally, dependencies are also very difficult to deal with). That being said, I'm also really new to C++ so I'm still learning.

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 02:34):

Are you working on a MacBook?

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 02:35):

If you want to learn a programming language, it might be easier to start with either Python or Java. But since BRLCAD mainly uses C/C++ and GCi is only so long, you could try learning from https://www.learncpp.com/ which is a very useful introductory guide to C++

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 02:37):

Are you working on a MacBook?

No, I'm on Windows but I occasionally dualboot to Debian.

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 03:05):

@Jeffrey Liu Do you have an Asus laptop?

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 03:06):

If you want to learn a programming language, it might be easier to start with either Python or Java. But since BRLCAD mainly uses C/C++ and GCi is only so long, you could try learning from https://www.learncpp.com/ which is a very useful introductory guide to C++

Thanks for the information @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 03:12):

I have a Lenovo laptop

view this post on Zulip Jeffrey Liu (Jan 05 2020 at 03:15):

Thanks for the information Jeffrey Liu

No problem, if you have any questions, feel free to ask here and I'm sure someone will be able to help you

view this post on Zulip Sean (Jan 05 2020 at 07:27):

While creating submodels in mged , it asks for space partitioning method can someone help me to understand what it means and what should I write for it .

@Chiranjiv Singh Malhi just put 0 for the method

view this post on Zulip Chiranjiv Singh Malhi (Jan 05 2020 at 07:37):

Ok , thanks @Sean

view this post on Zulip Sean (Jan 05 2020 at 07:51):

Sean could not check all the messages but guess GSOC helped brlcad to mature :). I was looking to "shootrays_in_parallel " but why there is a "while (rays->ap[i].a_magic != RT_AP_MAGIC)" @585 , rays have already RT_AP_MAGIC . So this loop not working ? does "bu_parallell" changes the magic number of rays->ap ?

hi @scorp08 no that is not what's going on.

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 07:55):

Hey @Sean

view this post on Zulip Sean (Jan 05 2020 at 07:56):

that function should be marked static as an implementation detail. it's a helper function to rt_shootrays() which zero-initializes a copy of the application pointers (@665) before calling shootrays_in_parallel (only in certain debug compilations). it's using the magic number just as a simple way to do book-keeping in parallel for which rays still need shooting.

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 08:06):

Hey @Sean I can't understand how to extrude a 2D CAD model to a 3D model when I create a extrude as you said. Then a sketch drawer opens. But I can't understand how to extrude the 2D model to 3D model using that sketch.

view this post on Zulip Sean (Jan 05 2020 at 08:49):

@Thusal Ranawaka did you follow the example on the wiki for creating a sketch?

view this post on Zulip Sean (Jan 05 2020 at 08:51):

you'll need to create a 2d sketch either using the scripting method that the wiki describes, or using the GUI sketch editor panel. you'll need to make a sketch that encloses an area (e.g., a rectangle). once you have that, creating the extrude is trivial.

view this post on Zulip scorp08 (Jan 05 2020 at 10:22):

Sean could not check all the messages but guess GSOC helped brlcad to mature :). I was looking to "shootrays_in_parallel " but why there is a "while (rays->ap[i].a_magic != RT_AP_MAGIC)" @585 , rays have already RT_AP_MAGIC . So this loop not working ? does "bu_parallell" changes the magic number of rays->ap ?

hi scorp08 no that is not what's going on.

@Sean So I wonder why shootrays_in_parallel not working in my codes

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 15:05):

Hey @starseeker Are you a mentor?

view this post on Zulip starseeker (Jan 05 2020 at 15:07):

No, I'm not

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 15:07):

Then you are GCI participant.

view this post on Zulip starseeker (Jan 05 2020 at 15:07):

No - just a BRL-CAD developer

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 15:08):

So you know about BRL-CAD well.

view this post on Zulip starseeker (Jan 05 2020 at 15:09):

Some parts of it

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 15:09):

Do you know how to extrude a 2D object to a 3D object?

view this post on Zulip starseeker (Jan 05 2020 at 15:10):

https://brlcad.org/wiki/Extrude

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 15:17):

Thanks a lot, @starseeker because of your information I was successful in my problem.

view this post on Zulip Thusal Ranawaka (Jan 05 2020 at 16:09):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 05 2020 at 16:09):

Hey !!

view this post on Zulip Devan Bhardwaj (Jan 05 2020 at 18:28):

Happy New Year Everyone, I am Devan Bhardwaj. I joined the conversation just a few days before. I feel interested in the type of work BRL CAD is doing. I worked previously in Interpreting and Parsing the IFC files with Implementing an algorithm that transfers IFC scheme information into the 3D triangular meshes to Unity3D as my internship project. This leads me to contribute and work more in this field.

view this post on Zulip scorp08 (Jan 06 2020 at 08:03):

Sean could not check all the messages but guess GSOC helped brlcad to mature :). I was looking to "shootrays_in_parallel " but why there is a "while (rays->ap[i].a_magic != RT_AP_MAGIC)" @585 , rays have already RT_AP_MAGIC . So this loop not working ? does "bu_parallell" changes the magic number of rays->ap ?

hi scorp08 no that is not what's going on.

Sean So I wonder why shootrays_in_parallel not working in my codes

@Sean if initialize struct resource with cpu_num "0", does code return for all available cpus or first cpu (id) ?

view this post on Zulip Daniel Rossberg (Jan 06 2020 at 11:37):

Hello @Devan Bhardwaj, this sounds interesting. Do you have already some experience with BRL-CAD? For example as user (e.g., you did the tutorial) or as developer (e.g., you compiled it from source).

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 13:41):

Hello guys.

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 13:51):

Hey @Sean

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 13:51):

@Sean I submit Run a code quality assessment on OGV using CodeClimate task for review.

view this post on Zulip Sean (Jan 06 2020 at 13:53):

Sean So I wonder why shootrays_in_parallel not working in my codes

@scorp08 because as I said, you should not be calling shootrays_in_parallel() ... that's not published public API. The public API is rt_shootrays().

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:03):

@Sean How to create a bug report.

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:08):

@Sean I'm just asking because you might remember that I claimed a task called 'Import FreeCAD model to BRL-CAD' and you asked me to export the sphere as a .step file to reduce the tesellation triangles but the step-g application does not work then you said to try a box instead of a sphere but that time also the application does not work. SO IS THAT A BUG?

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:09):

Hey @Jeffrey Liu Is school vacation is over?

view this post on Zulip Jeffrey Liu (Jan 06 2020 at 14:10):

Hey @Thusal Ranawaka, yeah, it just ended for me. What about you?

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:10):

Me too

view this post on Zulip Jeffrey Liu (Jan 06 2020 at 14:10):

How was your break?

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:11):

So from tomorrow you are going to school?

view this post on Zulip Jeffrey Liu (Jan 06 2020 at 14:12):

I already started school on 1/2. How long was your break?

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:12):

Great. I got enough time to spend my time leisurely and got time to work on Google Code-in on my first visit.

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:13):

Almost a month.

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:14):

Do you get a vacation about 3months which you call summer holidays.

view this post on Zulip Jeffrey Liu (Jan 06 2020 at 14:14):

Yeah I do

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:15):

We only get one month.

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:15):

I already started school on 1/2. How long was your break?

That means you are on the school now?

view this post on Zulip Jeffrey Liu (Jan 06 2020 at 14:18):

Yep

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:18):

Hey @Chiranjiv Singh Malhi

view this post on Zulip Chiranjiv Singh Malhi (Jan 06 2020 at 14:18):

Hi

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:18):

So Jeff you are allowed bring your laptops to your school?

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:19):

How many tasks have you done? @Chiranjiv Singh Malhi

view this post on Zulip Jeffrey Liu (Jan 06 2020 at 14:20):

Yes, I get to spend some free time working. Sometimes I also check Zulip on my phone too though, just to keep up with the conversation.

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:21):

So in which times teachers are coming to teach you?

view this post on Zulip Chiranjiv Singh Malhi (Jan 06 2020 at 14:22):

The number of tasks don't matter , it's about helping the organization @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:22):

In Sri Lanka, you are not allowed bring any electronics to your school or you will end up in a big punishment.

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:23):

@Chiranjiv Singh Malhi Sorry.

view this post on Zulip Chiranjiv Singh Malhi (Jan 06 2020 at 14:24):

@Thusal Ranawaka there's no need to apologise at all , you haven't done anything wrong

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:24):

How old are you? @Chiranjiv Singh Malhi

view this post on Zulip Chiranjiv Singh Malhi (Jan 06 2020 at 14:25):

16

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:26):

Sumagna Is not available for 11 days. Why? He is a good contributor.

view this post on Zulip Devan Bhardwaj (Jan 06 2020 at 14:28):

Hi Daniel, currently I am learning to use BRL-CAD and MGED. I am also trying to get some familiarity from the developer's point of view, that what I initially started for.

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 14:35):

@Jeffrey Liu How many subjects teach the students at your school?

view this post on Zulip Thusal Ranawaka (Jan 06 2020 at 15:25):

Hey @Sean

view this post on Zulip Daniel Rossberg (Jan 06 2020 at 16:25):

Devan, do you have a special interest in geometry conversion, because you worked with IFC and Unity3D?

view this post on Zulip scorp08 (Jan 07 2020 at 05:45):

Sean So I wonder why shootrays_in_parallel not working in my codes

scorp08 because as I said, you should not be calling shootrays_in_parallel() ... that's not published public API. The public API is rt_shootrays().

@Sean Yes but I called shootrays and define parallel macros.So bu_parallel took as a function (shootrays_in_parallel). But the loop is returning false in shootrays_in_parallel. Tried with a for loop for nrays but got a memory stack error.Maybe got wrong with setup resource structure .

view this post on Zulip Sean (Jan 07 2020 at 06:56):

Sean I'm just asking because you might remember that I claimed a task called 'Import FreeCAD model to BRL-CAD' and you asked me to export the sphere as a .step file to reduce the tesellation triangles but the step-g application does not work then you said to try a box instead of a sphere but that time also the application does not work. SO IS THAT A BUG?

@Thusal Ranawaka It's unlikely a bug. Bad behavior, yes, but not necessarily a bug. It's more likely the format of the STEP file being exported is simply not the right version of STEP file that the step-g importer requires. Only if you could confirm it's an AP203v1 STEP file and that it has an Advanced Shape Representation object inside it would it be a bug, but figuring that out is going to be beyond your abilities (and not time-effective to explain it at this time either).

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:17):

Hi @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:20):

Hi @Chiranjiv Singh Malhi

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:27):

Hi @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 07 2020 at 12:28):

hey @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:28):

Are you working on a task?

view this post on Zulip Himanshu (Jan 07 2020 at 12:29):

yeah

view this post on Zulip Himanshu (Jan 07 2020 at 12:29):

how's yours going on :)

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:31):

Me too.

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:31):

:)

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:33):

Are you participating O/L examination? @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 07 2020 at 12:40):

what's that ?

view this post on Zulip Himanshu (Jan 07 2020 at 12:40):

idk about that

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:43):

IN our country students who in grade 11 do a exam called Ordinary Level.

view this post on Zulip Himanshu (Jan 07 2020 at 12:44):

btw I am in grade 12 or here I say class 12

view this post on Zulip Himanshu (Jan 07 2020 at 12:44):

I will be passing this year from college

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:45):

Then where are you going?

view this post on Zulip Himanshu (Jan 07 2020 at 12:48):

into a University

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:50):

So you can go into a university without facing to an exam.

view this post on Zulip Himanshu (Jan 07 2020 at 12:51):

nope I have to give exam for that

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:51):

What is the name of that exam?

view this post on Zulip Himanshu (Jan 07 2020 at 12:52):

something like JEE Main and JEE Advanced

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 12:53):

JEE means? Is that a government exam?

view this post on Zulip Himanshu (Jan 07 2020 at 13:11):

yeah

view this post on Zulip Himanshu (Jan 07 2020 at 13:13):

Hey @Jeffrey Liu what's up

view this post on Zulip Jeffrey Liu (Jan 07 2020 at 13:15):

Hey @Himanshu Sekhar Nayak, I'm good, how about you?

view this post on Zulip Himanshu (Jan 07 2020 at 13:15):

yeah good :)

view this post on Zulip Jeffrey Liu (Jan 07 2020 at 13:16):

Cool :)

view this post on Zulip Thusal Ranawaka (Jan 07 2020 at 16:33):

Bye @Jeffrey Liu Time to goto bed.

view this post on Zulip Thusal Ranawaka (Jan 08 2020 at 12:56):

Hey @Jeffrey Liu What's up?

view this post on Zulip Thusal Ranawaka (Jan 08 2020 at 14:18):

Hellooo!!!

view this post on Zulip Sean (Jan 08 2020 at 16:48):

Good morning @Thusal Ranawaka

view this post on Zulip Jeffrey Liu (Jan 09 2020 at 03:22):

Hey @Thusal Ranawaka !

view this post on Zulip Thusal Ranawaka (Jan 09 2020 at 13:02):

Hey Thusal Ranawaka !

Good morning Thusal Ranawaka

Hey @Sean , @Jeffrey Liu Thank you for greeting me. Sorry, I miss Zulip and tasks sometimes because my school vacation is over now. Unlikely, I have to go to school now. The education system in our country is very different from others. You're not allowed to bring any electronic devices to school or you will end up in a big punishment. So I goto school at 5.30 am(local time) and I came home at 3.00 pm. And I have to wait until my father comes at 5.30 pm to log onto Zulip via the internet. But I do my best in the competition.

view this post on Zulip Thusal Ranawaka (Jan 09 2020 at 13:28):

Hey, @Daniel Rossberg @Sean I claimed the task 'Implement a geometry conversion test for BRL-CAD ' after completing the "Design any shape in LibreCAD, import it to BRL-CAD and extrude it to make it 3D" task. But It seems to quite not understand what does the task description says. There is a phrase ... turn them into a BRL-CAD conversion test in thee db/ directory (e.g., db/dxf). You'll need to define CMake logic similar to the "add_custom_command" sections in db/CMakeLists.txt to your db/dxf/CMakeLists.txt file to run dxf-g and mged to create revolve and extrusions of your LibreCAD design. And I cannot understand what it saying. Can you explain it further?

view this post on Zulip Thusal Ranawaka (Jan 09 2020 at 13:52):

Hey, Daniel Rossberg Sean I claimed the task 'Implement a geometry conversion test for BRL-CAD ' after completing the "Design any shape in LibreCAD, import it to BRL-CAD and extrude it to make it 3D" task. But It seems to quite not understand what does the task description says. There is a phrase ... turn them into a BRL-CAD conversion test in thee db/ directory (e.g., db/dxf). You'll need to define CMake logic similar to the "add_custom_command" sections in db/CMakeLists.txt to your db/dxf/CMakeLists.txt file to run dxf-g and mged to create revolve and extrusions of your LibreCAD design. And I cannot understand what it saying. Can you explain it further?

@Erik Can you help me?

view this post on Zulip Erik (Jan 09 2020 at 13:57):

I believe what is being asked is to take your new geometry, export is as 'asc', and include it as a "sample" or "example" file? let me review the task description...

view this post on Zulip Erik (Jan 09 2020 at 14:02):

yeah, I'd say add it as a sample geometry for now. There are both benchmark models and sample models generated in db/CMakeLists.txt. he MAY be asking you to create a new third set just for conversion testing, but adding it to the sample set would be a subset of subtasks of a new set, if that doesn't quite not make sense

view this post on Zulip Erik (Jan 09 2020 at 14:06):

(hopefully someone who knows more about this than I do will set us right soon :slight_smile:)

view this post on Zulip Thusal Ranawaka (Jan 09 2020 at 14:09):

Okay @Erik . I export the geometry file as a .asc file. Then?

view this post on Zulip Thusal Ranawaka (Jan 09 2020 at 14:10):

And @Erik What do you mean by 'and include it as a "sample" or "example" file'

view this post on Zulip Thusal Ranawaka (Jan 09 2020 at 14:20):

Also @Sean Just asking, there is a message called 'Want a sticker after GCI? Have guardian e-mail a name and mailing address to devs@brlcad.org' what does it mean?

view this post on Zulip Thusal Ranawaka (Jan 09 2020 at 14:37):

Hello, @Sean

view this post on Zulip Sean (Jan 09 2020 at 14:44):

Also Sean Just asking, there is a message called 'Want a sticker after GCI? Have guardian e-mail a name and mailing address to devs@brlcad.org' what does it mean?

It means exactly what it says. If you'd like a BRL-CAD sticker, they'll get sent out after GCI ends to those that request one.

view this post on Zulip Thusal Ranawaka (Jan 09 2020 at 16:01):

@Sean I can't find any task that I can work on (with less coding) and when go to modelling tasks. They should be in correct dimensions and I don't know how to change and check the sizes in BRL-CAD. Can you name me some tasks that'll help me?

view this post on Zulip Sean (Jan 09 2020 at 21:52):

Sean I can't find any task that I can work on (with less coding) and when go to modelling tasks. They should be in correct dimensions and I don't know how to change and check the sizes in BRL-CAD. Can you name me some tasks that'll help me?

This sounds like something you can fix, no? Revisit the modeling tutorials and learn about dimensions, how to scale and translate objects, how to check sizes, etc. The Object Edit (OED) guide listed on the website may help too.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 02:18):

Hello guys.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 02:19):

Hello :)

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 02:21):

I got a holiday today because it is full moon tonight. (Buddhist Culture)

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 02:23):

Cool, what do you plan on doing?

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 02:25):

Today usually we have to go to temple and engage in religious activities like meditation.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 02:27):

Oh that's really cool - thanks for sharing! Do you enjoy it?

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 02:48):

@Jeffrey Liu Yeah.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 02:52):

Are you working on a task?

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 02:52):

Yes, I'm resuming the appleseed tasks as I am finishing up the EBM tasks. They seem quite challenging, as I don't have much experience with CMake. How about you?

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 02:54):

I am not working on a task. I'm stuck I cannot find a task which I can handle.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 02:54):

Was EBM tasks easy?

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 02:56):

Not exactly, there were quite a few new things that I had to learn in order to complete it. It also took me a lot of time looking through the codebase to understand part of what was going on and to find reference examples. That said, it was a very rewarding experience :)

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 02:57):

If you are still looking for some non-technical tasks, how about trying some of the "write a brief 1-page tutorial on creating ___"?

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 02:58):

I referenced some primitive tutorials (DSP and EBM) quite often, so I can see how useful the tutorials can be.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 02:59):

@Jeffrey Liu I tried to work on that task but I don't know to inspect the model.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 03:02):

Hm, sorry I don't know exactly how to help you with that, but perhaps they just mean to list the attributes and view it from multiple angles? Unless there is a specific routine that I'm unaware of.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 03:08):

Hm, sorry I don't know exactly how to help you with that, but perhaps they just mean to list the attributes and view it from multiple angles? Unless there is a specific routine that I'm unaware of.

Hey @Sean Is that how you inspect a model? as Jeff said.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 04:27):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 10 2020 at 04:54):

Hi @Thusal Ranawaka

view this post on Zulip Himanshu (Jan 10 2020 at 04:54):

What's up

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 04:55):

Working on 'Model a chess scene using matrices (task #1 of 2)' task and cannot understand some?

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:05):

Hey @starseeker

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:26):

Hello @Erik I claimed the task Model a chess scene using matrices (task #1 of 2) But I have some questions.

view this post on Zulip Erik (Jan 10 2020 at 13:27):

Obviously. We're still waiting for you to ask those questions. :slight_smile:

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:28):

First, I downloaded the chess directory from the BRL-CAD repo.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:28):

And they were in the .asc file type.

view this post on Zulip Erik (Jan 10 2020 at 13:29):

ok? so you'll need to convert them to .g

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:29):

From which application.

view this post on Zulip Erik (Jan 10 2020 at 13:29):

asc-g

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:30):

I searched asc-g file on my PC but there wasn't such file.

view this post on Zulip Erik (Jan 10 2020 at 13:31):

huh, seems to be named asc2g, my bad

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:32):

So I have to convert them one by one.

view this post on Zulip Erik (Jan 10 2020 at 13:33):

I'd recommend using the bash 'for' loop and a little "sed" to change the extension

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:33):

Can't understand.

view this post on Zulip Erik (Jan 10 2020 at 13:35):

this kinda seems outta purview for this task

for file in *.asc ; do asc2g $file $(echo $file | sed 's/.asc$/.g/') ; done

view this post on Zulip Erik (Jan 10 2020 at 13:36):

this will need to be run in a bsh, bash, zsh, or ksh. it cannot run in csh or powershell. Does it make sense? (never run commands/scripts on the internet you don't understand, correct?)

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:37):

bash means git bash?

view this post on Zulip Erik (Jan 10 2020 at 13:38):

no, the program you are using as your command shell. echo $0 on a *nix system, such as Linux

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:41):

I cannot understand it. So I will try on command prompt.

view this post on Zulip Erik (Jan 10 2020 at 13:42):

if you are using linux, it may be worth googling "linux shell scripting tutorial" and learning a bit about the command line you are using. We are programmers, we make the machine conform to us. :D

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:43):

But I have Windows.

view this post on Zulip Erik (Jan 10 2020 at 13:43):

ahhhh, ok, um, well, then I guess it'd be powershell scripting tutorial (you're running asc2g from powershell, right? or are you doing it in mged, in which case, use a tcl loop to iterate the files)

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:45):

No. I am doing it in command prompt and it working.

view this post on Zulip Erik (Jan 10 2020 at 13:45):

the approach is the same, the tools you use depends on you. You can program a loop to do it for you, or you can do it by hand. shrug

view this post on Zulip Erik (Jan 10 2020 at 13:46):

the fun part will be positioning all the pieces

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:48):

I don't know x y z theory as much (means to use the 'tra' command). So I will use shift key to place the pieces. Is it okay?

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 13:52):

I don't know x y z theory as much (means to use the 'tra' command). So I will use shift key to place the pieces. Is it okay?

You can do something like tra x y z to shift it around along the x, y, z axes as shown here: 3d coordinate system It may be more accurate than just using the shift key.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 13:52):

So for example, if I did something like tra 0 0 1, this would shift the selected object up by 1 unit.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:53):

Yeah. I know but I don't know how to enter the exact same position.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 13:54):

Sorry, I'm not sure if I understand. What do you mean by "enter the exact same position?"

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 13:56):

We have to position the chess piece in the correct square so I don't know the units which will take that piece to that place.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 13:57):

I mean, if you're off, you could just use the tra command to keep adjusting it - if I do tra 0 0 1 twice, it will end up moving the piece up by 2 units.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 13:58):

So, if you wanted to move a chess piece onto the board, you could keep adjusting tra x 0 0 , then tra 0 y 0, and then tra 0 0 z until you have placed it in the desired position.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:01):

I will try.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 14:02):

If you need help, I will be online for a little longer so feel free to ask any questions about x y z

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:02):

Thanks.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:02):

You are at school now?

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 14:03):

Yep, but I have an hour of free time so I think I will try to learn a little more about CMake

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:04):

Have you done this task?

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 14:05):

No I haven't, but I've used tra a couple times in MGED before.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:06):

Then you should do this.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 14:07):

Well, I'm currently working on the appleseed tasks now but I would definitely like to do a couple of the modelling tasks if I get the time to.

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:08):

Thanks the tra command worked.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 14:09):

Nice!

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:13):

@Erik After positioning the pieces Do I have to make the copies of pawn, rook, and bishop on both white and black pieces to fill the chessboard. :thinking:

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:18):

@Jeffrey Liu How do you get an hour of freetime in school?

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 14:20):

Our school has something called study hall, so every 3/4 days there is an hour where I have no course. I usually use it to do homework or any other work (GCi)

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:22):

Which subjects do you learn at school?

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 14:24):

You get to choose, but I'm taking french, language arts, math, chemistry, and computer science. What about you?

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:26):

I learn 14 subjects in my school.

view this post on Zulip Mikki Jhuria (Jan 10 2020 at 14:33):

Hey I am Mikki ,heard about google code in for the first time in my life yesterday and am participating in it since yesterday! I would like to complete tasks for the BRL- CAD org and my favourite task is modeling different things on the platform without even touching a pen or paper!

view this post on Zulip Mikki Jhuria (Jan 10 2020 at 14:35):

Hey Can anybody tell me all the commands and ways to model something as I am just getting started...?

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 14:40):

Hi @Mikki Jhuria Welcome to BRL-CAD. You should one of us mentors such as @Sean

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 15:33):

Hey @Erik @Sean I submit Model a chess scene using matrices (task #1 of 2) task for review. And thanks to Erik for your help. :+1:

view this post on Zulip Thusal Ranawaka (Jan 10 2020 at 16:07):

And of course you too Jeff.

view this post on Zulip Sean (Jan 10 2020 at 17:13):

Today usually we have to go to temple and engage in religious activities like meditation.

That's neat. Do you ever think about coding tasks during meditation? (no disrespect intended, genuinely curious if non-religious thoughts are part of the process)

view this post on Zulip Sean (Jan 10 2020 at 17:16):

@Thusal Ranawaka try this one: https://codein.withgoogle.com/dashboard/tasks/5494798476115968/

view this post on Zulip Sean (Jan 10 2020 at 17:17):

Jeffrey Liu I tried to work on that task but I don't know to inspect the model.

Did you not complete the tutorial series? the "l" command is all you need to inspect an object. you can use "tops" and "tree" to inspect hierarchies. you can use "bb" and "nirt" to inspect other aspects of objects...

view this post on Zulip Sean (Jan 10 2020 at 17:20):

Hm, sorry I don't know exactly how to help you with that, but perhaps they just mean to list the attributes and view it from multiple angles? Unless there is a specific routine that I'm unaware of.

Hey Sean Is that how you inspect a model? as Jeff said.

Yes, there's nothing fancy to inspecting objects. It's just checking them so you understand what their values are and aren't just relying on what you see in the graphics window. For example, you might see a sphere, but how big is the sphere? where is the sphere? is it big because someone edited the sphere directly to be big or is it big because there's a matrix that scales it up bigger in some other combination. things like that. all about understanding the values of things.

view this post on Zulip Jeffrey Liu (Jan 10 2020 at 18:06):

Hey @Mikki Jhuria , to get started with MGED, BRLCAD has quite a lot of documentation (brlcad.org/wiki). One of the easiest ways to get started would be this guide: https://brlcad.org/w/images/c/cf/Introduction_to_MGED.pdf

view this post on Zulip Sean (Jan 10 2020 at 19:08):

Working on 'Model a chess scene using matrices (task #1 of 2)' task and cannot understand some?

@Thusal Ranawaka I have to ask, did you not do the modeling tutorials tasks?

view this post on Zulip Sean (Jan 10 2020 at 19:10):

And they were in the .asc file type.

They're in .g format in the build directory or after install, in the db/ subdir in your build or install dir

view this post on Zulip Sean (Jan 10 2020 at 19:13):

I don't know x y z theory as much (means to use the 'tra' command). So I will use shift key to place the pieces. Is it okay?

shift key eyeballing the position is no good for that task. you're going to have a bad time because we'll just keep kicking it back because something is wrong. by mouse is incredibly imprecise. you need to learn how to position things precisely if you're going to keep doing modeling tasks. it was covered in the tutorials.

view this post on Zulip Sean (Jan 10 2020 at 19:16):

You get to choose, but I'm taking french, language arts, math, chemistry, and computer science. What about you?

@Jeffrey Liu you have computer science in high school? that's great.

view this post on Zulip Sean (Jan 10 2020 at 19:17):

Hey Can anybody tell me all the commands and ways to model something as I am just getting started...?

welcome @Mikki Jhuria ! glad to have you here.

view this post on Zulip Sean (Jan 10 2020 at 19:18):

@Mikki Jhuria you'll want to do the tasks marked EVERYONE first which includes at least two tasks that teach you the basics of modeling. so long as you pay attention and don't rush, that will prepare you for nearly all the other 3d modeling tasks.

view this post on Zulip Himanshu (Jan 10 2020 at 19:19):

Hello @Sean what's up :slight_smile:

view this post on Zulip Chiranjiv Singh Malhi (Jan 10 2020 at 19:20):

Hi @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 10 2020 at 19:20):

Hey

view this post on Zulip Sean (Jan 10 2020 at 19:20):

Hello Sean what's up :slight_smile:

coding is always what's up ;)

view this post on Zulip Chiranjiv Singh Malhi (Jan 10 2020 at 19:20):

Hi @Sean

view this post on Zulip Himanshu (Jan 10 2020 at 19:21):

Yeah that's true :sunglasses:

view this post on Zulip Sean (Jan 10 2020 at 19:21):

what are you guys working on?

view this post on Zulip Sean (Jan 10 2020 at 19:22):

@Himanshu Sekhar Nayak you've been working the lua tasks, right? how are those going?

view this post on Zulip Himanshu (Jan 10 2020 at 19:23):

Yeah that's going great :blush: @Daniel Rossberg helps me a lot

view this post on Zulip Sean (Jan 10 2020 at 19:23):

yeah, he's a good mentor

view this post on Zulip Himanshu (Jan 10 2020 at 19:23):

I started from installing from source and my interest goes towards rt^3

view this post on Zulip Sean (Jan 10 2020 at 19:24):

that's great

view this post on Zulip Himanshu (Jan 10 2020 at 19:24):

Then fixed some bugs

view this post on Zulip Himanshu (Jan 10 2020 at 19:24):

Then currently working in lua binding tasks

view this post on Zulip Himanshu (Jan 10 2020 at 19:25):

Btw I will be passing this year from college and I will join University this year

view this post on Zulip Sean (Jan 10 2020 at 19:26):

that's intended to be the foundation of our new 3d modeling engine, so if you have ideas for a name that would be great to hear :)

view this post on Zulip Himanshu (Jan 10 2020 at 19:26):

So I am thinking for gsoc and contribution, learning and working in brlcad

view this post on Zulip Sean (Jan 10 2020 at 19:26):

neither "rt^3" or "coreInterface" really have broad appeal

view this post on Zulip Himanshu (Jan 10 2020 at 19:27):

Yeah

view this post on Zulip Sean (Jan 10 2020 at 19:27):

that's good to hear. you'll definitely have a huge leg up on the application. an opportunity to work much more in-depth on a topic.

view this post on Zulip Sean (Jan 10 2020 at 19:27):

curious what other coding tasks have you worked on?

view this post on Zulip Himanshu (Jan 10 2020 at 19:29):

Almost all my coding tasks went on fixing a hellobrlcad program , remove throw statements and embedding Lua is currently going on

view this post on Zulip Himanshu (Jan 10 2020 at 19:29):

Almost all my task is now on Lua binding

view this post on Zulip Himanshu (Jan 10 2020 at 19:31):

(deleted)

view this post on Zulip Himanshu (Jan 10 2020 at 19:32):

I will think about it for sure

view this post on Zulip Daniel Rossberg (Jan 10 2020 at 19:37):

that's intended to be the foundation of our new 3d modeling engine, so if you have ideas for a name that would be great to hear :)

I thought we agreed on MOOSE (Modular Object Oriented Software Extension) :thinking:
We have even logos for it.

view this post on Zulip Daniel Rossberg (Jan 10 2020 at 19:38):

cb9.png

view this post on Zulip Himanshu (Jan 10 2020 at 19:39):

Wow

view this post on Zulip Himanshu (Jan 10 2020 at 19:39):

Looks awesome

view this post on Zulip Daniel Rossberg (Jan 10 2020 at 19:40):

If I remember correctly, this one was made by Rohit Agarwal in GCi 2014.

view this post on Zulip Himanshu (Jan 10 2020 at 19:44):

That's name looks like he is from India

view this post on Zulip Himanshu (Jan 10 2020 at 19:45):

Gci 2014 ? :open_mouth:

view this post on Zulip Sean (Jan 11 2020 at 00:01):

that's intended to be the foundation of our new 3d modeling engine, so if you have ideas for a name that would be great to hear :)

I thought we agreed on MOOSE (Modular Object Oriented Software Extension) :thinking:
We have even logos for it.

You know ... I'd forgotten about that but you're right! Heh. Yowsa.

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 05:06):

Hello guys.

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 05:07):

I just got home from the tuition class.

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 05:17):

Hello @Sean

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 05:36):

Hey @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 11 2020 at 05:36):

Hey @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 05:38):

Are you at bed?

view this post on Zulip Jeffrey Liu (Jan 11 2020 at 05:39):

Yes, I'm preparing to sleep now

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 05:40):

It's still 11.09 am here.

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 05:42):

Hey @Sean

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 11:22):

Hey @Sean thank you for reviewing work. I tried to make copies of the chess pieces using primitive editor but it shows errors. Something like attribute not valid plastic 255 255 214. I can't remember it much.

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 13:16):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 11 2020 at 13:16):

hey !! What's up

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 13:17):

Working on a task. :)

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 13:19):

We lost 2 matches against India.

view this post on Zulip Himanshu (Jan 11 2020 at 13:30):

We lost 2 matches against India.

yeah I saw that

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 13:31):

What a shame.

view this post on Zulip Himanshu (Jan 11 2020 at 13:41):

winning and losing is a part of the game. So no need to worry for that :)

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 13:43):

I love cricket a lot.

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 14:23):

Hey @Erik

view this post on Zulip starseeker (Jan 11 2020 at 14:38):

@Mikki Jhuria Remember to watch your topic - that's a general question, you were in the Appleseed stream.

"tops" is a command, used on the MGED command line.

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 14:39):

ok, but how to make it display the objects ?

view this post on Zulip starseeker (Jan 11 2020 at 14:39):

if you run the command, it gives you a list. If you mean graphical display, that's the "draw" command

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 14:40):

Hi @Erik @Sean I made the corrections and submit the Model a chess scene using matrices (task #1 of 2) task for review. :brlcad_logo:

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 14:42):

This is what I want to do "In the MGED command window, type "tops" to get a list of object names you can "draw". After drawing, type "rt" and you'll see another window containing a render of the geometry you opened. Type your name in the command window and take a full-screen screenshot to show you did things right ".

view this post on Zulip Himanshu (Jan 11 2020 at 14:51):

Hey @Mikki Jhuria Have you build it from source ?

view this post on Zulip Himanshu (Jan 11 2020 at 14:52):

I love cricket a lot.

yeah me too

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 14:58):

I actually am new to all this what is " build from source" do you mean sourceforge. Please help me out this is one of the beginner install BRL-CAD tasks on the site

view this post on Zulip Himanshu (Jan 11 2020 at 14:58):

can you send your task link ?

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 15:00):

sure...https://codein.withgoogle.com/tasks/5091968191823872/?sp-organization=4884012200361984

view this post on Zulip Himanshu (Jan 11 2020 at 15:02):

btw all the information is already in the task

view this post on Zulip Himanshu (Jan 11 2020 at 15:02):

What are you facing ?

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 15:03):

Hello @Sean Can you review my task.(If you can)

view this post on Zulip Sean (Jan 11 2020 at 15:04):

Hey Sean thank you for reviewing work. I tried to make copies of the chess pieces using primitive editor but it shows errors. Something like attribute not valid plastic 255 255 214. I can't remember it much.

@Thusal Ranawaka the primitive editor is not the way to make copies. do you recall from the tutorials how to make a copy of an object?

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 15:05):

Hey Sean thank you for reviewing work. I tried to make copies of the chess pieces using primitive editor but it shows errors. Something like attribute not valid plastic 255 255 214. I can't remember it much.

Thusal Ranawaka the primitive editor is not the way to make copies. do you recall from the tutorials how to make a copy of an object?

Okay. @Sean I found the solution and submit my work for review.

view this post on Zulip Himanshu (Jan 11 2020 at 15:05):

Hey @Sean btw BRL-CAD means like joining dots ?

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 15:06):

What 'btw' means?

view this post on Zulip Himanshu (Jan 11 2020 at 15:06):

btw - by the way

view this post on Zulip Himanshu (Jan 11 2020 at 15:07):

when I hover my mouse I see dots joining between each other

view this post on Zulip Sean (Jan 11 2020 at 15:07):

Hello Sean Can you review my task.(If you can)

as I've said before .... tasks are reviewed IN ORDER :)

view this post on Zulip Sean (Jan 11 2020 at 15:08):

Hey Sean btw BRL-CAD means like joining dots ?

@Himanshu Sekhar Nayak What?

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 15:08):

Okay then. :-) ;-)

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 15:12):

Hi @Sean I just have a look at Model a chess scene using "submodel" entities (task #2 of 2) task. But I can't understand what it says.

view this post on Zulip Sean (Jan 11 2020 at 15:13):

@Thusal Ranawaka submodels are a way to have geometry spread out across multiple files.

view this post on Zulip Sean (Jan 11 2020 at 15:13):

I would suggest doing the "write a 1-page tutorial on submodel" before doing the chess set as a submodel

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 15:55):

Has anyone download OGV (Online Geometry Veiwer) can somebody please guide me through the process.
Thank You

view this post on Zulip Thusal Ranawaka (Jan 11 2020 at 15:58):

Do you have Linux?

view this post on Zulip Sean (Jan 11 2020 at 17:01):

@Mikki Jhuria yeah, what's your operating system? if you're on windows, you'll need to install a web server or have access to one where you can install OGV. one easy way is to run linux in a virtual machine like VirtualBox.

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 17:01):

@Sean it is Windows

view this post on Zulip Sean (Jan 11 2020 at 17:01):

do you have a web server?

view this post on Zulip Sean (Jan 11 2020 at 17:01):

do you know what a web server is? :)

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 17:02):

No I dont

view this post on Zulip Sean (Jan 11 2020 at 17:02):

try to follow these steps: https://www.wikihow.com/Install-the-Apache-Web-Server-on-a-Windows-PC

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 17:03):

Thanks and I also had another doubt in the task "LibreCAD - [ NON-TECHNICAL ] Find spelling errors" what to do if I cant ifnd and errors !

view this post on Zulip Sean (Jan 11 2020 at 17:03):

web servers are what web browsers like firefox and edge and internet explorer talk to

view this post on Zulip Sean (Jan 11 2020 at 17:03):

if you can't find errors, then you can't do the task :)

view this post on Zulip Sean (Jan 11 2020 at 17:03):

just because it's easy to understand doesn't mean it's an easy task :)

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 17:05):

But that means the task isnt valid because according to me there is no spelling mistake and I used word to check that out and

view this post on Zulip Sean (Jan 11 2020 at 17:06):

There are always spelling mistakes. Finding them is just very hard.

view this post on Zulip Sean (Jan 11 2020 at 17:07):

It's not a trick task. It really can be very hard to find mistakes just by browsing the code.

view this post on Zulip Sean (Jan 11 2020 at 17:08):

note that the task is to find any spelling mistake on any of those sites

view this post on Zulip Sean (Jan 11 2020 at 17:08):

if you are just checking the first page, it's not at all surprising you don't find anything.

view this post on Zulip Sean (Jan 11 2020 at 17:09):

you'd have to check every link, every sub-page, hundreds of possible pages.

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 18:21):

Can somebody please tell me if there are 2 ways to install BRL - CAD one is obvious i.e. from Sourceforge and other is related to compiling via Cmake, subversion, Microsoft visual studio , so can anybody elaborate on the latter if there is one . I read about it a GCI task

view this post on Zulip Mikki Jhuria (Jan 11 2020 at 18:29):

The task is "Compile and Install BRL-CAD from source code".

view this post on Zulip Daniel Rossberg (Jan 11 2020 at 18:45):

@Mikki Jhuria Both methods are "from Sourceforge".

To run a program, you usually need a binary which can be executed on your Computer. Now you can either use a binary which somebody else created for you or build the binary by yourself from the sources. Both, the prebuild binaries as well as the source code, can be found on Sourceforge for BRL-CAD.

For you, I recommend to use the prebuild binaries. There is a beginner task for installing BRL-CAD from them.

view this post on Zulip Mikki Jhuria (Jan 12 2020 at 08:37):

How do you make your name appear in the command window? this is from the beginner task

view this post on Zulip Mikki Jhuria (Jan 12 2020 at 09:12):

How to download libreCAD 3 I download 2.1.3 and SourceForge says its the latest version

view this post on Zulip Daniel Rossberg (Jan 12 2020 at 11:02):

How do you make your name appear in the command window? this is from the beginner task

Type it into the command window as you did with the commands (e.g. "tops"), but don't hit enter. Instead, do the full-screen screen-shot after you did, including all requested subwindows.

view this post on Zulip Daniel Rossberg (Jan 12 2020 at 11:07):

How to download libreCAD 3 I download 2.1.3 and SourceForge says its the latest version

There is no downloadable binary for LibreCAD version 3. You would have to build it from source (the "Build LibreCAD V3 from source [ CODERS ]" task).

view this post on Zulip Mikki Jhuria (Jan 12 2020 at 11:56):

What workload should I choose while installing Visual studio?

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 11:58):

You should select C++ platform with visual studio. (I can't remember it much) @Mikki Jhuria

view this post on Zulip Mikki Jhuria (Jan 12 2020 at 12:15):

Would it be annoying if I post a message everytime I submit a task?

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 12:16):

No. But have to be patient.

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 12:17):

Do you have Linux? @Mikki Jhuria

view this post on Zulip Mikki Jhuria (Jan 12 2020 at 12:21):

In the BRL-CAD installation directory (on Windows probably something with C:\Program Files\...) at share/db is supposed to be blank on opening??
There were multiple files like truck,cube,etc
Thanks

view this post on Zulip Mikki Jhuria (Jan 12 2020 at 12:22):

Do you have Linux? Mikki Jhuria

No Windows

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 12:22):

Okay. If it is Linux it will be easier to build.

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 12:23):

But I also have Windows.

view this post on Zulip Himanshu (Jan 12 2020 at 12:23):

In the BRL-CAD installation directory (on Windows probably something with C:\Program Files\...) at share/db is supposed to be blank on opening??
There were multiple files like truck,cube,etc
Thanks

brlcad-code/build/share/db should contain all the .g files that you needed for the task

view this post on Zulip Mikki Jhuria (Jan 12 2020 at 12:25):

@Himanshu Sekhar Nayak yes all the G files are there but are they supposed to be blank on openin with MGED

view this post on Zulip Himanshu (Jan 12 2020 at 12:27):

I didn't understand by blank

view this post on Zulip Himanshu (Jan 12 2020 at 12:27):

but you have to use rt

view this post on Zulip Himanshu (Jan 12 2020 at 12:29):

after mged you can use rt for ray trace

view this post on Zulip Mikki Jhuria (Jan 12 2020 at 12:36):

ok say for example there is a G file named truck so when I click on it the MGED command and graphics window open but they are both blank what should I do next? Am I doing something wrong

view this post on Zulip Himanshu (Jan 12 2020 at 12:38):

ok say for example there is a G file named truck so when I click on it the MGED command and graphics window open but they are both blank what should I do next? Am I doing something wrong

then use rt in the mged window or terminal

view this post on Zulip Mikki Jhuria (Jan 12 2020 at 12:40):

Yes but without anything written in the mged command it is showing rt failed after a bunch of words.

view this post on Zulip Daniel Rossberg (Jan 12 2020 at 12:44):

From the task description:

In the MGED command window, type "tops" to get a list of object names you can "draw".

tops is the command you are looking for.

view this post on Zulip Daniel Rossberg (Jan 12 2020 at 12:45):

BTW, mged has a File->Open... menu too.

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 13:24):

Yay. After a long time finally, you came back. @Sumagna Das :tada: :sweat_smile:

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 13:38):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 12 2020 at 13:39):

hey wassup :)

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 13:40):

Good. @Sumagna Das Came back.

view this post on Zulip Himanshu (Jan 12 2020 at 13:41):

nice :)

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 13:58):

Keep on this channel @Mikki Jhuria

view this post on Zulip Thusal Ranawaka (Jan 12 2020 at 15:02):

Hey @starseeker

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 02:03):

@Daniel Rossberg the images that I send were they alright?

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 02:03):

Then I will merge them if those are the photos required
Thanks

view this post on Zulip Chiranjiv Singh Malhi (Jan 13 2020 at 04:37):

What is meant by the equal partitioning method while creating the submodels?

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 11:40):

Hello guys.

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 11:40):

Hey @Sean I submit the task for review.

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 12:31):

Hey @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 12:31):

Hey @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 12:32):

What's up? @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 12:36):

@Jeffrey Liu How many tasks have you done in EBM?

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 12:38):

Hey I'm good, I finished the 6 EBM tasks but there's still quite a bit of work needed to actually get it all working. That'll probably be something that I try to figure out after GCi because I'd like to spend some more time working on appleseed. How are you?

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 12:39):

Still working on chess tasks.

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 12:40):

So you have done 15 tasks? @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 12:40):

Around there. Good luck!

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 12:41):

Around there. Good luck!

You too.

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 13:15):

Hey @Sean @Erik There is a task called 'WEB: Graphical primitive cheat sheet' So what we have to do in that task.

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 13:26):

Is that you @Sean ? 1_tyolGDCtxGyLlbFgWqoGCw.jpg

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 14:23):

Do you know the bin folder in the BRLCAD 7.26.0 folder. @Mikki Jhuria

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 14:25):

yes

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 14:26):

You will see an application called g-obj. @Mikki Jhuria

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 14:27):

yeah

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 14:28):

Step 1- Open the command prompt.
Step 2- Change your directory to the path where your bin folder is located. by typing cd <the path>

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 14:32):

Step 3- Type. g-obj <the name of your .g file>.g -o<the name that you give for the output>.obj <the name of the object that created in BRLCAD> @Mikki Jhuria

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 14:33):

I opened the MGED command window but I cant change the directory it says wrong # args: should be "cd ?dirName?

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 14:34):

I said command prompt not the mged command window.

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 14:35):

ok

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 14:40):

The path means something like this C:\Users\Asus\Documents\BRLCAD 7.26.0\bin so you should enter your path. @Mikki Jhuria

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 14:42):

okay yeah just read that on the net my bad !

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 14:44):

If you succeed the command prompt will show something like this @Mikki Jhuria pasted image

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 14:44):

Hey @Chiranjiv Singh Malhi Working on a task?

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 14:59):

@Thusal Ranawaka I got the .g file into the obj folder via this directory what next??

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 15:00):

So you converted .g to .obj? @Mikki Jhuria

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 15:04):

yup

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 15:11):

When I make for example a pawn with mged and save to the database as a .g file after doing rt I close it but when I click the .g file to open it its completely blank .
Can somebody tell me why this isi happening?

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 15:44):

Hey @Mikki Jhuria, this is again due to the fact that you must use the draw command to draw whatever shapes you need from the database. You can use tops to view said shapes, if you don't remember what you named them.

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 15:56):

thanks @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (Jan 13 2020 at 16:00):

Hey @Sean :grinning: :brlcad_logo:

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 17:51):

Can a mentor please review my task that I resubmitted with corrections
Thank you

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 18:15):

@Daniel Rossberg Ive resubmitted the task with the corrections. Please review if you are free:)

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 18:28):

@LordOfBikes Ive submitted a task for which you are a mentor please review if you are free :)

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 18:48):

let me know if it is satisfactory :)

view this post on Zulip Armin (LordOfBikes) (Jan 13 2020 at 19:39):

@Mikki Jhuria , yes, of course. I will have a look when GCi is scheduled after my other important tasks. Then I'll have a look at my dashboard and process tasks in incoming order. Then, when it's your task's turn, I will evaluate it.

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 20:34):

Does anyone know how to compile BRL CAD I have downloaded Cmake GUI , Turtle subversion and microsoft visual studio but Idk how to proceed further.

view this post on Zulip Daniel Rossberg (Jan 13 2020 at 20:38):

Did you downloaded the sources? You need Tortoisesvn to do this.

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 21:30):

@Mikki Jhuria have you looked at this resource https://brlcad.org/wiki/Building_from_SVN ?

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 21:33):

@Daniel Rossberg yeah I downloaded TurtleSVN and then opened this on it ...
svn checkout svn://svn.code.sf.net/p/brlcad/code/brlcad/trunk brlcad-svn-trunk
but what next?

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 21:34):

@Jeffrey Liu yes but I could not Configure the build system with CMake GUI

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 21:35):

Can you send a screenshot of what you have so far?

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 21:43):

yeah,
pasted image
in this I have microsoft visual ready to be installed and the turtleSVN open with the link

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 21:44):

and this is of cmake
pasted image

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 21:46):

You need to actually checkout the source (clone it into your own file system), not just browse the repository. You can do this by using the file explorer, right clicking in the directory where you want to clone it, and then choosing SVN Checkout, like this: pasted image

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 21:47):

Then that's where you specify the repository URL (https://svn.code.sf.net/p/brlcad/code/brlcad/trunk) to clone.

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 21:49):

is this supposed to appear
pasted image

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 21:49):

Yeah, that means it's adding the files from the repository.

view this post on Zulip Mikki Jhuria (Jan 13 2020 at 21:51):

and after its done?

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 21:53):

That's when you want to create a new directory within the newly cloned directory, something like "build", which will hold all of the visual studio projects. I really recommend using this https://brlcad.org/wiki/Building_from_SVN, it's pretty detailed regarding what to do.

view this post on Zulip Jeffrey Liu (Jan 13 2020 at 21:54):

By the way, I'm not completely sure about this, but I think you'll need to have Visual Studio installed before using CMake because CMake checks for a C++ compiler (MSVC)

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 13:40):

HEY GUYS!!!!:sunglasses::sunglasses:

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 14:11):

Hey @Himanshu Sekhar Nayak What's up?

view this post on Zulip Himanshu (Jan 14 2020 at 14:12):

Hi @Thusal Ranawaka I am fine. What's up?

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 14:12):

Feeling lucky. :rock_on:

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 14:14):

Working on task?

view this post on Zulip Himanshu (Jan 14 2020 at 14:15):

yeah just creating a program which will compare Lua Title() with C++ Title()

view this post on Zulip Himanshu (Jan 14 2020 at 14:15):

what about you and how's going ?

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 14:15):

Working on the Model a Chess scene task.

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 14:16):

Is Lua tasks are hard?

view this post on Zulip Himanshu (Jan 14 2020 at 14:16):

Do you know C++ ?

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 14:17):

Yeah

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 14:33):

Then

view this post on Zulip Himanshu (Jan 14 2020 at 14:34):

then you have to do Lua binding in C++

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 14:34):

Is it hard?

view this post on Zulip Erik (Jan 14 2020 at 15:31):

I believe it's a pretty simple glue layer, there are a set of functions to implement and most should only be a couple lines to translate appropriately

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 15:31):

Okay.

view this post on Zulip Erik (Jan 14 2020 at 15:32):

read and review it a bit, if it looks interesting and fun, claim one :)

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 15:34):

I submit Model a Chess Scene task for review. @Erik

view this post on Zulip Erik (Jan 14 2020 at 15:37):

yes, and you're #3 of 4 in the review queue. We get emails and have a dashboard, there is no need to tell us :) Thanks for being thorough, though. That kind of follow-up will help you immensely in the future when you deal with mere humans

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 15:38):

I love to see what a mentor's dashboard looks like apart from our dashboard.

view this post on Zulip Erik (Jan 14 2020 at 15:59):

@Thusal Ranawaka : http://brlcad.org/~erik/Mentor_Dashboard.png

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 16:02):

Thanks, @Erik for sawing it. :grinning: :joy:

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 16:07):

Hey @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 16:11):

Hey @Erik There is a task called 'WEB: Graphical primitive cheat sheet' So what we have to do in that task?

view this post on Zulip Erik (Jan 14 2020 at 16:13):

for each primitive, make a couple representative ray-tracings and make a webpage so people can look for the shape they want and see the name

view this post on Zulip Erik (Jan 14 2020 at 16:14):

Some of the shapes might need more than 2 screenshots to get the point across

view this post on Zulip Erik (Jan 14 2020 at 16:14):

does that make sense?

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 16:16):

Yes. Thank you!

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 16:24):

Boys I am going to bed see ya tomorrow.

view this post on Zulip Thusal Ranawaka (Jan 14 2020 at 16:25):

Hey @Jeffrey Liu Do you have an Instagram account?

view this post on Zulip Sean (Jan 14 2020 at 17:01):

Hey Sean Erik There is a task called 'WEB: Graphical primitive cheat sheet' So what we have to do in that task.

That's all spelled out in the task, is it not @Thusal Ranawaka ? You're creating a concise guide to a given primitive.

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 00:14):

Hey I just wanted to mention that a couple of my recent build attempts have been failing because of this:

230>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libged\facetize.cpp(389,16): error C3861:  'open': identifier not found
230>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libged\facetize.cpp(392,13): error C3861:  'open': identifier not found
230>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libged\facetize.cpp(396,22): error C3861:  'dup': identifier not found
230>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libged\facetize.cpp(397,2): error C3861:  'dup2': identifier not found
230>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libged\facetize.cpp(398,2): error C3861:  'close': identifier not found
230>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libged\facetize.cpp(421,2): error C3861:  'dup2': identifier not found
230>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\src\libged\facetize.cpp(422,2): error C3861:  'close': identifier not found

It looks like all of these macros are defined in config_win.h which is supposed to be conditionally included in common.h. I'm not exactly sure what the cause of this is yet, but I'll try to look around to see if I can find anything.

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 02:51):

Hey @Jeffrey Liu Still working on appleseed tasks?

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 02:52):

Hey @Thusal Ranawaka ! Yeah I am, I think I finally got appleseed to work inside of BRL-CAD :) How've you been?

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 02:53):

I submitted Model a Chess scene for review.:) @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 02:53):

Nice!

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 02:54):

So you have done about 15 tasks know? @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 02:55):

Around there I guess, but just keep in mind that quality is more important than quantity

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 02:56):

Yes.

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 02:56):

I am also 15.

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 02:58):

Do you an Instagram account? @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 02:59):

I've made one before, but I don't use it anymore. Why?

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 03:00):

Just asking. So you are not on social media?

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 03:01):

Uh, not really I guess. Are you?

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 03:02):

I have an Instagram account but I do not much time to see it.

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 04:20):

Hey @Sean

view this post on Zulip Sean (Jan 15 2020 at 04:23):

Hey Thusal Ranawaka ! Yeah I am, I think I finally got appleseed to work inside of BRL-CAD :) How've you been?

Really? @Jeffrey Liu that's great!

view this post on Zulip Sean (Jan 15 2020 at 04:35):

Hey I just wanted to mention that a couple of my recent build attempts have been failing because of this:
...
It looks like all of these macros are defined in config_win.h which is supposed to be conditionally included in common.h. I'm not exactly sure what the cause of this is yet, but I'll try to look around to see if I can find anything.

This looks like it's because of a recent change where @starseeker converted the file from C to C++ (in r74618), and the Windows build subsequently broke.

view this post on Zulip Sean (Jan 15 2020 at 04:42):

@Jeffrey Liu the fix is likely either going to be separating the c++ bits into their own file or figuring out why the defines for open/dup/etc are disabled for c++ and/or what it'll take to enable them.

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 05:12):

Hey, @Sean I saw a task called 'Write a summary of BRL-CAD's geometry converters for our wiki' and I check the repo files. So I saw different formats. So what I have to do is check that files and make a table which can be converted to .g files using MS Word and submit it or should I have to do more or less?

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 05:15):

And @Sean When I click on this link http://brlcad.org/tmp/converters_page23.jpg . It shows an error called '404 not found'.

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 05:40):

Hey @Himanshu Sekhar Nayak Are you having Thaipongal as well?

view this post on Zulip Himanshu (Jan 15 2020 at 05:41):

Thaipongal ? But I only know Pongal here

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 05:42):

Here we say it as Thaipongal.

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 05:45):

It's coming from the past The tamil word 'Thai' means January. So it's Thaipongal here.

view this post on Zulip Himanshu (Jan 15 2020 at 05:51):

now I understand. Nice

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 05:54):

Jeffrey Liu the fix is likely either going to be separating the c++ bits into their own file or figuring out why the defines for open/dup/etc are disabled for c++ and/or what it'll take to enable them.

That makes sense, I completely looked over this:

/* it we're compiling c++ sources, there's a possibility that we'll be
 * including libc++ headers (e.g., iostream) where these underscore IO
 * function hacks become counterproductive.
 */
#ifndef __cplusplus

where all of those missing macros are defined through this conditional. It looks like there's a reason that it's there though, so maybe separating the C++ bits might be better?

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 05:56):

Oh wait, would it be easier to just use the underscore versions? I'm not really sure what the difference is though.

view this post on Zulip Sean (Jan 15 2020 at 06:09):

@Thusal Ranawaka yes, you have to check the repo files, ideally also check installed binaries and/or documentation for mentions of conversion. If I run a quick search of our docs, I get this for example:

view this post on Zulip Sean (Jan 15 2020 at 06:11):

agua:man1 morrison$ grep -r -i convert . | cut -f1 -d: | sort | uniq
./alias-pix.xml
./ap-pix.xml
./asc-nmg.xml
./asc-plot3.xml
./asc2dsp.xml
./asc2g.xml
./bot_dump.xml
./brep_simple.xml
./brlcad.xml
./bw-pix.xml
./bw-png.xml
./bw-ps.xml
./bwmod.xml
./comgeom-g.xml
./conv-vg2g.xml
./cv.xml
./dbclean.xml
./dbupgrade.xml
./dpix-pix.xml
./dxf-g.xml
./enf-g.xml
./fast4-g.xml
./fblabel.xml
./g-acad.xml
./g-dot.xml
./g-dxf.xml
./g-egg.xml
./g-iges.xml
./g-nff.xml
./g-obj.xml
./g-ply.xml
./g-raw.xml
./g-shell-rect.xml
./g-step.xml
./g-stl.xml
./g-voxel.xml
./g-vrml.xml
./g-x3d.xml
./g2asc.xml
./gif-fb.xml
./icv.xml
./iges-g.xml
./mac-pix.xml
./nastran-g.xml
./nirt.xml
./obj-g.xml
./patch-g.xml
./pix-alias.xml
./pix-png.xml
./pix-ppm.xml
./pix-ps.xml
./pix-sun.xml
./pix2asc.xml
./pixbgstrip.xml
./pixclump.xml
./pixdiff.xml
./pixsubst.xml
./plot3-asc.xml
./plot3-plot3.xml
./plot3-ps.xml
./plot3rot.xml
./ply-g.xml
./png-bw.xml
./png-pix.xml
./proe-g.xml
./remrt.xml
./rpatch.xml
./rt.xml
./rtedge.xml
./rtxray.xml
./stl-g.xml
./sun-pix.xml
./tankill-g.xml
./ug-g.xml
./vdeck.xml
./wavelet.xml
./wdb_example.xml

That's basically a listing of all commands that mention the word convert somewhere. Most of them (but not all) are converters. You'd need to check each one to figure out which are geometry converters.

view this post on Zulip Sean (Jan 15 2020 at 06:24):

And Sean When I click on this link http://brlcad.org/tmp/converters_page23.jpg . It shows an error called '404 not found'.

@Thusal Ranawaka fixed.

view this post on Zulip Sean (Jan 15 2020 at 06:26):

where all of those missing macros are defined through this conditional. It looks like there's a reason that it's there though, so maybe separating the C++ bits might be better?

@Jeffrey Liu The thing about comments is that they can be informative, they can be wrong, they can be someone being lazy, they can be misleading, ...

view this post on Zulip Sean (Jan 15 2020 at 06:27):

which basically means they can't typically be trusted to assert an impossibility. it can just shed light on possibilities and/or explanations to affirm (not deny).

view this post on Zulip Sean (Jan 15 2020 at 06:30):

Oh wait, would it be easier to just use the underscore versions? I'm not really sure what the difference is though.

So the issue is that it needs to call the underscore versions on windows, only on windows, and without underscore everywhere else. The comment does make me believe that there may be a problem if we just blindly define them. That's not to say there are not options that weren't considered though or that it's still a problem. Easy to find out, though. Take out the #ifndef __cplusplus and see what happens.

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 06:35):

Ah I see, thanks for the explanation! Could I ask why the underscore/nonunderscored versions work differently on Windows though?

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 06:36):

@Sean Thanks for solving the issue.

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 06:49):

So the issue is that it needs to call the underscore versions on windows, only on windows, and without underscore everywhere else. The comment does make me believe that there may be a problem if we just blindly define them. That's not to say there are not options that weren't considered though or that it's still a problem. Easy to find out, though. Take out the #ifndef __cplusplus and see what happens.

So doing that solved those errors, but now there's another error:

1>facetize.obj : error LNK2019: unresolved external symbol ON_Brep_CDT_ObjName referenced in function "int __cdecl _nonovlp_brep_facetize(struct ged *,int,char const * *,struct _ged_facetize_opts *)" (?_nonovlp_brep_facetize@@YAHPEAUged@@HPEAPEBDPEAU_ged_facetize_opts@@@Z)
1>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\build\Debug\bin\libged.dll : fatal error LNK1120: 1 unresolved externals

I'm not completely sure, but I think it's because ON_Brep_CDT_ObjName is getting defined in libbrep/cdt/util.cpp, which isn't included in the project?

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 06:52):

Or actually, could it be because I'm building libged individually?

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 07:04):

@Jeffrey Liu Still awake?

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 07:04):

Wait never mind, I don't think my second point makes sense. But I did try manually add libbrep/cdt/util.cpp to the project which introduced some other issues instead.

view this post on Zulip Sean (Jan 15 2020 at 07:08):

Or actually, could it be because I'm building libged individually?

possibly @Jeffrey Liu or libged simply isn't properly importing libbrep, which is quite possible

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 07:09):

Oh ok, I guess I'll try to rebuild everything again and then see how that works out.

view this post on Zulip Sean (Jan 15 2020 at 07:10):

yeah, that looks like the problem. it's not even linking against libbrep

view this post on Zulip Sean (Jan 15 2020 at 07:10):

a new dependency was introduced and again, it just hadn't been compilation-tested on windows yet

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 07:11):

Well seeing as not many people here use Windows, I would be happy to be the Windows compilation tester :)

view this post on Zulip Sean (Jan 15 2020 at 07:15):

:)

view this post on Zulip Sean (Jan 15 2020 at 07:15):

we go through phases

view this post on Zulip Sean (Jan 15 2020 at 07:16):

particularly as we get closer to a release, we test more and more frequently, but you are right that it's not tested nearly as much as other platforms.

view this post on Zulip Sean (Jan 15 2020 at 07:17):

I do believe we are currently lacking a Windows build maintainer (someone responsible for making the release binaries when it's time to release).

view this post on Zulip Sean (Jan 15 2020 at 07:17):

there is a CI system that tests windows continuously, but it's also not well integrated yet with our workflow

view this post on Zulip Sean (Jan 15 2020 at 07:18):

@Jeffrey Liu I just committed a change -- see if that does the trick

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 07:19):

Ok, thanks so much! I'll try rebuilding and I'll let you know how that goes.

view this post on Zulip Sean (Jan 15 2020 at 07:19):

you'll need to rerun cmake

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 07:22):

Does anyone know how to enable debug mode of FindBoost in MSVS 2019?

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 07:22):

By the way, what kind of specific responsibilities does a Windows build maintainer have? I feel like I've read it in one of the READMEs before but I can't recall exactly.

view this post on Zulip Sean (Jan 15 2020 at 07:23):

it's covered in HACKING

view this post on Zulip Sean (Jan 15 2020 at 07:24):

Does anyone know how to enable debug mode of FindBoost in MSVS 2019?

... dare I ask why you need to know that @Thusal Ranawaka ?

view this post on Zulip Sean (Jan 15 2020 at 07:24):

setting VERBOSE=1 is how cmake enables additional debug printing

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 07:26):

@Sean I have been working on Build LibreCAD 3 from source with @Feragon for almost 2 or 3 weeks but it still shows errors. In the chat https://librecad.zulipchat.com/

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 07:29):

it's covered in HACKING

Wow, making a release sounds like quite the process (and quite the responsibility as well)...

view this post on Zulip Sean (Jan 15 2020 at 07:30):

it's really not that bad. HACKING is very specific in order to try and maintain consistency no matter who does the steps and to hopefully catch mistakes before they get released. We've had mistakes (bugs) slip out into releases because steps weren't completely followed.

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 07:32):

Would it be something that I could try sometime in the near future?

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 07:33):

@Sean Will my problem will be solved by typing find_package(Boost) set (Boost_DEBUG ON)on the CMakeLists.txt??

view this post on Zulip Thusal Ranawaka (Jan 15 2020 at 08:42):

Hey @Chiranjiv Singh Malhi

view this post on Zulip Chiranjiv Singh Malhi (Jan 15 2020 at 10:50):

Hey

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 11:45):

Hm it looks like the same build error happened :/

view this post on Zulip starseeker (Jan 15 2020 at 12:36):

I'll see if I can take a look later today.

view this post on Zulip starseeker (Jan 15 2020 at 12:37):

Can you build art.cpp without pulling in libged?

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 15:15):

Yeah I think art still built.

view this post on Zulip Jeffrey Liu (Jan 15 2020 at 15:34):

Actually, something that I didn't understand was that this time, literally everything else built aside from libged, even though usually a lot of projects would fail to build after libged failed.

view this post on Zulip starseeker (Jan 16 2020 at 03:10):

They may have built but not linked? Anyway, I think the Windows build should be fixed now.

view this post on Zulip Jeffrey Liu (Jan 16 2020 at 03:12):

Hm maybe, I didn't really get the chance to test anything. I just thought it was weird because in the past, there would be like >100 projects that failed to build if libged failed.

view this post on Zulip Jeffrey Liu (Jan 16 2020 at 03:12):

They may have built but not linked? Anyway, I think the Windows build should be fixed now.

I'll build now to test it. Thanks for your help!

view this post on Zulip starseeker (Jan 16 2020 at 03:13):

I tried it with VS2017, so if you're on a newer one you may see other issues, but I reproduced both the ones you hit.

view this post on Zulip Jeffrey Liu (Jan 16 2020 at 05:46):

It worked fine for me on VS2019 as well :)

view this post on Zulip Sean (Jan 16 2020 at 06:20):

Cool, thanks @starseeker

view this post on Zulip Thusal Ranawaka (Jan 16 2020 at 12:31):

HEY GUYYYSSS

view this post on Zulip Thusal Ranawaka (Jan 16 2020 at 13:38):

Hey, @inuka batawala

view this post on Zulip Thusal Ranawaka (Jan 16 2020 at 13:40):

Inuka???

view this post on Zulip Thusal Ranawaka (Jan 16 2020 at 13:46):

Hello @inuka batawala

view this post on Zulip inuka batawala (Jan 16 2020 at 13:47):

Hello

view this post on Zulip Thusal Ranawaka (Jan 16 2020 at 13:48):

Welcome to BRL-CAD and what is your country?

view this post on Zulip Thusal Ranawaka (Jan 16 2020 at 13:48):

Hey @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (Jan 16 2020 at 14:17):

Hey @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (Jan 16 2020 at 14:21):

Are you working on a task @Jeffrey Liu?

view this post on Zulip Jeffrey Liu (Jan 16 2020 at 17:53):

Hey @Thusal Ranawaka, still working on the appleseed tasks. How about you?

view this post on Zulip Chiranjiv Singh Malhi (Jan 17 2020 at 10:58):

@Sean , I am starting with the chess task 2 so what should I do with the error. Also can I send the bug in 'find a bug' task ?

view this post on Zulip Thusal Ranawaka (Jan 17 2020 at 14:00):

Hey Thusal Ranawaka, still working on the appleseed tasks. How about you?

Hey @Jeffrey Liu I working on 'Build LibreCAD v3 from source' :) And good luck with your work!

view this post on Zulip Jeffrey Liu (Jan 17 2020 at 14:03):

Cool, good luck to you as well!

view this post on Zulip Thusal Ranawaka (Jan 17 2020 at 14:04):

Hey @Sean

view this post on Zulip Sean (Jan 17 2020 at 14:32):

@Chiranjiv Singh Malhi you're welcome to claim and submit a bug task. however, know that the focus will be on creating very precise and minimal steps that demonstrates the error. even better if you can get a stack trace to submit.

view this post on Zulip Sean (Jan 17 2020 at 14:32):

howdy @Thusal Ranawaka. what task are you on today?

view this post on Zulip Sean (Jan 17 2020 at 14:32):

ah, librecad. cool.

view this post on Zulip Thusal Ranawaka (Jan 17 2020 at 14:33):

It's been 3 weeks that I have been working on it. @Sean

view this post on Zulip Sean (Jan 17 2020 at 14:35):

yiks

view this post on Zulip Sean (Jan 17 2020 at 14:35):

stop that :)

view this post on Zulip Thusal Ranawaka (Jan 17 2020 at 14:35):

Me??? @Sean

view this post on Zulip Thusal Ranawaka (Jan 17 2020 at 14:36):

What do you mean? @Sean

view this post on Zulip Sean (Jan 17 2020 at 14:36):

yeah! you shouldn't be struggling on a task for weeks. find another task :)

view this post on Zulip Sean (Jan 17 2020 at 14:36):

here's a task you could do: create a BRL-CAD .g with all possible object types embedded.

view this post on Zulip Sean (Jan 17 2020 at 14:37):

in fact, going to add that now :)

view this post on Zulip Thusal Ranawaka (Jan 17 2020 at 14:48):

Hey @Sean The task that you said is still not available. Let me you when you add it because I am working on the current task.

view this post on Zulip Sean (Jan 17 2020 at 15:42):

@Thusal Ranawaka well yes, I'm still writing it. You think this just magically happens instantly? :)

view this post on Zulip Thusal Ranawaka (Jan 17 2020 at 15:43):

Sorry, I thought you were about to add it. :) @Sean

view this post on Zulip Sean (Jan 17 2020 at 15:44):

I am about to add it.

view this post on Zulip Sean (Jan 17 2020 at 15:44):

still takes time

view this post on Zulip Thusal Ranawaka (Jan 17 2020 at 15:45):

It 's okay I am working on the current task.

view this post on Zulip Thusal Ranawaka (Jan 17 2020 at 16:26):

Hey @Sean My dad is going to sleep so he has to take his phone and I have to go.

view this post on Zulip Sean (Jan 17 2020 at 16:27):

heh, no worries!

view this post on Zulip Sean (Jan 17 2020 at 16:27):

@Thusal Ranawaka the task was published, check it out when you can

view this post on Zulip Sean (Jan 17 2020 at 16:27):

it's a bit advanced, but should be doable in a few hours.

view this post on Zulip Himanshu (Jan 17 2020 at 21:42):

Hey @Sean how to specify path name for files present in home directory so that CMake can find those files ?

view this post on Zulip ProCodec (Jan 18 2020 at 09:52):

I have completed 2 tasks for BRL-CAD but i hav;nt claimed them because my one task is under review what can i do?

view this post on Zulip Thusal Ranawaka (Jan 18 2020 at 13:56):

@ProCodec Did you build LibreCAD V3 from source?

view this post on Zulip ProCodec (Jan 18 2020 at 14:03):

No , as it was not asked to do so

view this post on Zulip Thusal Ranawaka (Jan 18 2020 at 14:08):

Then it's useless submitting the above task for review. Because it should be done in LibreCAD V3, not V2! @ProCodec

view this post on Zulip ProCodec (Jan 18 2020 at 14:08):

ok i thought v3 has a installer

view this post on Zulip Thusal Ranawaka (Jan 18 2020 at 14:09):

No. You have to build it from source.

view this post on Zulip ProCodec (Jan 18 2020 at 14:09):

have you build it

view this post on Zulip Thusal Ranawaka (Jan 18 2020 at 14:10):

Do you have Linux?

view this post on Zulip ProCodec (Jan 18 2020 at 14:10):

kali linux

view this post on Zulip Thusal Ranawaka (Jan 18 2020 at 14:10):

So you have

view this post on Zulip Thusal Ranawaka (Jan 18 2020 at 14:13):

Then you are the right guy. Because I have Windows only. It will be easy for you to build it. Refer to this chat -> https://librecad.zulipchat.com/ @ProCodec

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 07:01):

Hey @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 14:54):

Hey @inuka batawala

view this post on Zulip Jeffrey Liu (Jan 19 2020 at 16:46):

Hey @Thusal Ranawaka, for future reference, if you have the output log selected in Visual Studio, you should be able to press "CTRL+S" which will give you the option to save the whole log as a .txt file. Doing that just makes it a lot easier to share, instead of copy-pasting the whole thing into your own file.

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 16:47):

Thanks for the tip @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 16:59):

hey @Daniel Rossberg GLEW_DIR is not setting up why?

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 17:00):

pasted image

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 17:01):

Look when I enter the path and configure. Following error comes and the GLEW_DIR set to NOT FOUND. I set it to C:\\Users\\Asus\\Documents\\glew-2.1.0-win32\\glew-2.1.0 @Daniel Rossberg

view this post on Zulip Daniel Rossberg (Jan 19 2020 at 17:03):

Change the \\ to \ and // to / (or all to /).

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 17:07):

I did it but the error is present. @Daniel Rossberg

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 17:10):

What should I do? @Daniel Rossberg

view this post on Zulip Daniel Rossberg (Jan 19 2020 at 17:18):

The directory not-found error shouldn't be there, because you set it already to the correct value, or?

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 17:20):

I set it to correct C:\\Users\\Asus\\Documents\\glew-2.1.0-win32\\glew-2.1.0\\include and change the strokes as you said and click on configure and it shows up an error and the GLEW_DIR is set to NOT FOUND.

view this post on Zulip Daniel Rossberg (Jan 19 2020 at 17:23):

And with all strokes as /?

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 17:24):

Yes.

view this post on Zulip Daniel Rossberg (Jan 19 2020 at 17:26):

Do you have a screen shot? Best, with the CMake GUI made full-screen before.

view this post on Zulip Thusal Ranawaka (Jan 19 2020 at 17:27):

Here, pasted image

view this post on Zulip Daniel Rossberg (Jan 19 2020 at 17:30):

And, if you set GLEW_DIR and hit Configure, it will reset to NOTFOUND?

view this post on Zulip Himanshu (Jan 19 2020 at 17:34):

btw @Daniel Rossberg you are from Germany ?

view this post on Zulip Himanshu (Jan 19 2020 at 17:35):

just checking the time zone

view this post on Zulip Hoàng Linh Lê (Jan 20 2020 at 07:08):

Hi, I'm Linh who is participant in Google Code-in 2019. The Appleseed tasks sound really interesting to me! Let me talk about myself. I'm 17 and have studied at Ly Tu Trong High School For The Gifted and I love IT so much!!!!

view this post on Zulip Jeffrey Liu (Jan 20 2020 at 07:09):

Welcome @Hoàng Linh Lê! Glad to see that there are other people interested in the appleseed tasks :)

view this post on Zulip Sean (Jan 20 2020 at 07:12):

welcome @Hoàng Linh Lê ! Is this your first GCI?

view this post on Zulip Hoàng Linh Lê (Jan 20 2020 at 08:34):

@Sean Noooooooo. This is the second time I have been GCI. Last year I won the T-Shirt from GCI. It's so nice ^^

view this post on Zulip Hoàng Linh Lê (Jan 20 2020 at 08:34):

Welcome Hoàng Linh Lê! Glad to see that there are other people interested in the appleseed tasks :)

Nice to meet you!! I'm from VietNam

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 13:26):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 20 2020 at 13:28):

Hey @Thusal Ranawaka how's going ?

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 13:29):

Working on the 15th task. How about you? @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 20 2020 at 13:31):

working on Lua binding task

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 13:32):

How much tasks have you done relating lua?

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 13:32):

Is that tasks are easy?

view this post on Zulip Himanshu (Jan 20 2020 at 13:36):

May be around 20 I think

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 13:45):

I'm stuck on the 15th task for weeks. I send different tasks for review but I got wrong and send me out More Work Needed. So, I'm currently working on Build LibreCAD V3 from the source which is my last hope before GCI ends. Tomorrow is the final day to claim a new task and if I won't able build LibreCAD successfully today (Because I go to school tomorrow) I am done with GCI. @Himanshu Sekhar Nayak :disappointed:

view this post on Zulip Himanshu (Jan 20 2020 at 13:47):

you are building in windows platform ?

view this post on Zulip Himanshu (Jan 20 2020 at 13:48):

how much is your school hour ?

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 13:49):

Weekdays 7.00 am to 3.00 pm and I have no internet until my father came home at 6.00 pm.

view this post on Zulip Himanshu (Jan 20 2020 at 14:07):

you are working from your father's laptop ?

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 14:08):

No. I have my own laptop but I get internet from my father's phone we haven't got Wi-Fi in my home.

view this post on Zulip Himanshu (Jan 20 2020 at 14:10):

oh....

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 14:13):

So every day I have got time until 10.00 pm after my father comes home to work on GCI.

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 14:38):

Helllooo

view this post on Zulip Thusal Ranawaka (Jan 20 2020 at 16:10):

So, the time is 9.40 am and my father took the phone and I have to go.

view this post on Zulip Devan Bhardwaj (Jan 20 2020 at 16:27):

Sorry, to get back to you so late. Well, it all started with my summer project for the conversion of geometric forms. And now I feel interested in it.

view this post on Zulip Himanshu (Jan 20 2020 at 21:53):

Hey @Erik what's up ?

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 13:30):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 21 2020 at 13:39):

Hey @Thusal Ranawaka how's going ?

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 13:39):

Still working on the same task.

view this post on Zulip Himanshu (Jan 21 2020 at 13:40):

Any message from mentors to you ?

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 13:41):

No. Daniel answered me for my question.

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 13:42):

Hey @Chiranjiv Singh Malhi What's up?

view this post on Zulip Chiranjiv Singh Malhi (Jan 21 2020 at 13:42):

Hi

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 13:43):

The final day.

view this post on Zulip Himanshu (Jan 21 2020 at 13:47):

The final day.

yeah 1 1/2 passed with fun and experience and how to work in an open source organisation

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 13:48):

yeah

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 13:49):

@everyone We should stay in touch with BRL-CAD after GCI ends also. :handshake: :brlcad_logo:

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 15:55):

Hey @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Jan 21 2020 at 15:56):

Hey @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 15:57):

Are youworking on tasks?

view this post on Zulip Jeffrey Liu (Jan 21 2020 at 15:57):

Yep, final Appleseed task. Hopefully I can get it done in time, it seems pretty challenging. How about you?

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 15:58):

Still working with librecad task.

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 16:00):

@Jeffrey Liu I love to see your photo in your real life.

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 16:02):

Hey @Sahibpreet Kaur

view this post on Zulip Sahibpreet Kaur (Jan 21 2020 at 16:03):

Hello @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 16:04):

The final day.

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 16:06):

I will not able to claim a new task before the claim a new task deadline. @Sahibpreet Kaur

view this post on Zulip Thusal Ranawaka (Jan 21 2020 at 16:18):

Hey @inuka batawala

view this post on Zulip Sean (Jan 22 2020 at 04:32):

We should stay in touch with BRL-CAD after GCI ends also. :handshake: :brlcad_logo:

That is the general idea actually, to not treat GCI as this thing that ends, but as the beginning of your work with Open Source.

view this post on Zulip Sean (Jan 22 2020 at 04:34):

We've had students that have progressed into working much harder and/or long-term development projects. We've had GCI winners that have become core developers working on the code as well as developers for the website infrastructure (gaining excellent experience).

view this post on Zulip Sean (Jan 22 2020 at 04:35):

Others still just keep working on things that help them learn, fix bugs, make small enhancements, etc, and they tend to come back next year and win GCI the next time (or join GSoC if they're eligible).

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 12:39):

Congratulations! Inuka then.

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:05):

Hey, @Sean @Daniel Rossberg I finally build LibreCAD V3 from the source. Thanks a lot for you too for the support which helped me a lot. :joy: :tada:

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:13):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 22 2020 at 13:14):

hey @Thusal Ranawaka congratulations for your task :slight_smile:

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:14):

Thanks just submitted the 16th task. How about you? @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jan 22 2020 at 13:16):

about to complete the lua binding task for object attributes

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:17):

So you have done around 21?

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:17):

And Hey @Chiranjiv Singh Malhi What's up?

view this post on Zulip Himanshu (Jan 22 2020 at 13:17):

yeah

view this post on Zulip Chiranjiv Singh Malhi (Jan 22 2020 at 13:17):

Hi guys

view this post on Zulip Himanshu (Jan 22 2020 at 13:17):

hey @Chiranjiv Singh Malhi

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:18):

@Chiranjiv Singh Malhi You are not a much chatting person.

view this post on Zulip Chiranjiv Singh Malhi (Jan 22 2020 at 13:18):

Hi @Himanshu Sekhar Nayak

view this post on Zulip Chiranjiv Singh Malhi (Jan 22 2020 at 13:19):

@Thusal Ranawaka I have been busy with exams in my school so that's why

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:20):

Oh... So you haven't got any much time to work on tasks or you have managed it? @Chiranjiv Singh Malhi

view this post on Zulip Chiranjiv Singh Malhi (Jan 22 2020 at 13:22):

Well my speed was slower than before

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:23):

What

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:27):

@Himanshu Sekhar Nayak Are you participating in GsoC this year?

view this post on Zulip Himanshu (Jan 22 2020 at 13:27):

nope but hopefully next year

view this post on Zulip Thusal Ranawaka (Jan 22 2020 at 13:39):

Hey @everyone I create a discord chat -> -> https://discord.gg/Dama3n7 So we can stay connected even after GCI ends either on Zulip or Discord I invite everyone to join

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 13:54):

Hey guys!!! Anyone there???

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 14:04):

Hey, Sean Daniel Rossberg I finally build LibreCAD V3 from the source. Thanks a lot for you too for the support which helped me a lot. :joy: :tada:

Thanks, @Daniel Rossberg for your support when I am stuck. :+1:

view this post on Zulip Daniel Rossberg (Jan 23 2020 at 14:08):

You are welcome :grinning_face_with_smiling_eyes:

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 14:09):

Is that your son in the profile picture? @Daniel Rossberg

view this post on Zulip Daniel Rossberg (Jan 23 2020 at 14:12):

No. It's not a current one, but it's me.

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 14:12):

So how old are you now?

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 14:21):

4 hours until GCI 2019 ends and just the beginning of the journey of open source.
1 1/2 Months,
49 days,
Just flown by the 10th year of the GCI ends by giving lots of things to our lives.
@Sean @Erik @Daniel Rossberg @LordOfBikes @Kartik kumar @Sahibpreet Kaur
As the mentors thank you very much for your support and I can't do this without you. And sorry for acting impatiently sometimes during the past month. THANK YOU!!! :grinning_face_with_smiling_eyes: :+1: :brlcad_logo: :100:

@Himanshu Sekhar Nayak @Jeffrey Liu @Sumagna Das @Chiranjiv Singh Malhi And of course thanks for you'll as participants, wasting your time to give support to me in GCI tasks and other stuff. THANK YOU!!! :hug: :brlcad_logo: :grinning_face_with_smiling_eyes:

view this post on Zulip Daniel Rossberg (Jan 23 2020 at 14:43):

So how old are you now?

I think it's still called middle-aged ;)

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 14:43):

Okay.

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 14:44):

That means around 40-50

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 16:22):

@Himanshu Sekhar Nayak Did you submit your last GCI task?

view this post on Zulip Himanshu (Jan 23 2020 at 16:23):

nope not yet

view this post on Zulip Himanshu (Jan 23 2020 at 16:23):

okay brb

view this post on Zulip Himanshu (Jan 23 2020 at 16:23):

dinner time

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 16:24):

brb means?

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 16:24):

And only 2 hours left to do your work! GOOD LUCK!!! @Himanshu Sekhar Nayak

view this post on Zulip Thusal Ranawaka (Jan 23 2020 at 16:28):

And by the way @Sean Can I know what happens on 30th of January? Did winners or finalists receive e-mails? And what exactly 10th of February announce?

view this post on Zulip Himanshu (Jan 23 2020 at 17:52):

brb means?

be right back

view this post on Zulip Himanshu (Jan 23 2020 at 17:53):

Hey @Jeffrey Liu What's up?

view this post on Zulip Jeffrey Liu (Jan 23 2020 at 18:08):

Hey @Himanshu Sekhar Nayak, not much, how about you?

view this post on Zulip Jeffrey Liu (Jan 23 2020 at 18:08):

Can't believe GCi is already over, it really flew by

view this post on Zulip Himanshu (Jan 23 2020 at 18:10):

yeah

view this post on Zulip Himanshu (Jan 23 2020 at 18:10):

yeah just my task got approved

view this post on Zulip Sumagna Das (Jan 23 2020 at 18:25):

Thanks @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jan 25 2020 at 06:25):

Hey guys. Is anyone online after GCi?

view this post on Zulip Chiranjiv Singh Malhi (Jan 25 2020 at 06:38):

Hey @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jan 25 2020 at 13:55):

Hello guys.

view this post on Zulip Thusal Ranawaka (Jan 25 2020 at 14:26):

Hey @Erik GCi is over and feel alone and sad.

view this post on Zulip Jeffrey Liu (Jan 25 2020 at 16:55):

Hey @Thusal Ranawaka what's up, sorry I've just been a little inactive because I want to take some time to focus on school. Hopefully we can both continue contributing together :)

view this post on Zulip Daniel Rossberg (Jan 25 2020 at 17:52):

Well, yes, outside the event's like GCi and GSoC it's quieter her. Then, there isn't so much to discuss about BRL-CAD.

view this post on Zulip Jeffrey Liu (Jan 25 2020 at 18:52):

So this is probably my fault (regarding the facetize changes, I reported that compilation on VS2019 worked for me, but I forgot to account for the fact that I had made some changes to facetize.cpp myself): I recently got my friend to try and build BRLCAD (VS2019), and he had another error with facetize.cpp. This was his log message.txt, and I looked through it to find this as the first error:

648>C:\Users\hello\Desktop\brlcad\src\libged\facetize.cpp(395,42): error C2668: '_open': ambiguous call to overloaded function
648>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_io.h(516,30): message : could be 'int _open(const char *,int,...)'
648>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_io.h(390,30): message : or       'int _open(const char *const ,const int,const int)'
648>C:\Users\hello\Desktop\brlcad\src\libged\facetize.cpp(395,42): message : while trying to match the argument list '(const char [10], int)'
648>C:\Users\hello\Desktop\brlcad\src\libged\facetize.cpp(398,33): error C2668: '_open': ambiguous call to overloaded function
648>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_io.h(516,30): message : could be 'int _open(const char *,int,...)'
648>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_io.h(390,30): message : or       'int _open(const char *const ,const int,const int)'

view this post on Zulip Jeffrey Liu (Jan 25 2020 at 18:53):

Really sorry about that - I just reverted my own changes to facetize.cpp (I had replaced all the underscored functions with the nonunderscored versions) and I'll try to work it out if I can.

view this post on Zulip Jeffrey Liu (Jan 25 2020 at 19:19):

Hm, that's odd... libged is still building fine for me?

view this post on Zulip Sean (Jan 25 2020 at 21:25):

Hey guys. Is anyone online after GCi?

@Thusal Ranawaka of course. we don't hang out here just for GCI. It's to get stuff done :)

view this post on Zulip Sean (Jan 25 2020 at 21:29):

Really sorry about that - I just reverted my own changes to facetize.cpp (I had replaced all the underscored functions with the nonunderscored versions) and I'll try to work it out if I can.

@Jeffrey Liu not sure I understand -- did you submit an edited facetize.cpp somewhere? I don't have an _open() in the latest checkout.

view this post on Zulip Jeffrey Liu (Jan 25 2020 at 21:42):

Sorry, I should've clarified - I made some local changes to facetize.cpp, which were still there when I tried to recompile and reported that it worked on VS2019, even though it didn't for my friend. Interestingly though, even when I reverted facetize to match the source, compiling libged still worked for me.

view this post on Zulip Sean (Jan 25 2020 at 21:55):

did your friend compile with vs2019 or an earlier/different version?

view this post on Zulip Jeffrey Liu (Jan 25 2020 at 21:56):

He told me it was VS2019

view this post on Zulip Thusal Ranawaka (Jan 26 2020 at 04:22):

Hey guys.

view this post on Zulip Thusal Ranawaka (Jan 26 2020 at 04:24):

20200126_094630_mfnr.jpg Hey My parents bought me a cricket set which I always loved to.

view this post on Zulip Thusal Ranawaka (Jan 26 2020 at 13:46):

Hey guys!!!

view this post on Zulip Daniel Rossberg (Jan 27 2020 at 16:02):

@Jeffrey Liu @starseeker
I can confirm the build issue with MS Visual Studio 2019. It looks like it was introduced with revision 74695. The fix for VS2019 is to move the open define (and only this one) back in the #ifndef __cplusplus section. Can somebody test this with VS2017?

view this post on Zulip Daniel Rossberg (Jan 27 2020 at 16:03):

I talk about the include/config_win.h.in file.

view this post on Zulip Jeffrey Liu (Jan 27 2020 at 17:35):

Hm that's odd, I thought that open was moved in the first place because it wasn't being defined in facetize.cpp.

view this post on Zulip Jeffrey Liu (Jan 27 2020 at 17:35):

I believe I still do have VS2017 installed though, so I will test it out when I get the chance.

view this post on Zulip Thusal Ranawaka (Jan 29 2020 at 15:36):

After GCi I checked zulip everyday but the messages are very less.

view this post on Zulip Erik (Jan 30 2020 at 00:20):

tends to be how it goes

view this post on Zulip Jeffrey Liu (Jan 30 2020 at 01:22):

It is a lot quieter now, but everyone is busy of course. I'm just wondering though, do developers check patch tickets or Zulip more often? I feel like I post a lot of updates in Zulip because I'm not entirely sure whether a change will be accepted or not, but I'd be happy to post it as a patch ticket if that's preferred.

view this post on Zulip Thusal Ranawaka (Jan 30 2020 at 13:37):

Hey Guys!!!

view this post on Zulip Chiranjiv Singh Malhi (Jan 30 2020 at 14:47):

Hi @Thusal Ranawaka . How's it going?

view this post on Zulip Thusal Ranawaka (Jan 30 2020 at 14:48):

Hi @Chiranjiv Singh Malhi I'm well. Are your exams are over now?

view this post on Zulip Chiranjiv Singh Malhi (Jan 30 2020 at 14:48):

Yes but they will start again soon

view this post on Zulip Thusal Ranawaka (Jan 30 2020 at 14:49):

Did you receive your digital certificate?

view this post on Zulip Thusal Ranawaka (Feb 02 2020 at 12:53):

Hey @LordOfBikes

view this post on Zulip Thusal Ranawaka (Feb 02 2020 at 13:09):

Hey @Chiranjiv Singh Malhi

view this post on Zulip Thusal Ranawaka (Feb 02 2020 at 13:18):

Hello @LordOfBikes How's it going?

view this post on Zulip Armin (LordOfBikes) (Feb 02 2020 at 13:21):

I'm fine, thanks for asking! How about you?

view this post on Zulip Thusal Ranawaka (Feb 02 2020 at 13:22):

I'm well. Thanks @LordOfBikes

view this post on Zulip Sean (Feb 03 2020 at 17:43):

Hey @Thusal Ranawaka that's neat. You've been playing cricket long?

view this post on Zulip Sean (Feb 03 2020 at 17:53):

@Jeffrey Liu patch tickets and zulip are checked ad hoc --- that's part of the nature of open source. it's up to individuals to get engaged and stay engaged in work they find interesting. those that care about the vitality of the project more than others tend to pay more attention to the tickets, but exhaustion after GCI is a huge factor. that takes so much energy that lots of devs just hav to take a break.

view this post on Zulip Thusal Ranawaka (Feb 04 2020 at 01:37):

Hey Thusal Ranawaka that's neat. You've been playing cricket long?

Yeah I loves cricket a lot but I didn't have a full cricket set before. @Sean

view this post on Zulip Thusal Ranawaka (Feb 04 2020 at 14:49):

Hey guys.

view this post on Zulip Thusal Ranawaka (Feb 04 2020 at 15:23):

Jeffrey Liu patch tickets and zulip are checked ad hoc --- that's part of the nature of open source. it's up to individuals to get engaged and stay engaged in work they find interesting. those that care about the vitality of the project more than others tend to pay more attention to the tickets, but exhaustion after GCI is a huge factor. that takes so much energy that lots of devs just hav to take a break.

Hey @Sean What's the meaning of this?

view this post on Zulip Sean (Feb 04 2020 at 16:16):

@Thusal Ranawaka It means what it says... what do you mean? :)

view this post on Zulip Sean (Feb 04 2020 at 16:16):

Is there some aspect of it that you don't understand or did you have a question about it?

view this post on Zulip Sean (Feb 04 2020 at 16:17):

It's saying the project is as active as all the participants, and that GCI is a lot of work!

view this post on Zulip Thusal Ranawaka (Feb 04 2020 at 16:18):

Okay @Sean

view this post on Zulip Thusal Ranawaka (Feb 04 2020 at 16:22):

okay @Sean

view this post on Zulip Thusal Ranawaka (Feb 04 2020 at 16:31):

@Sean You sometimes sends me messages which I feel that you are saying them in a bad mood but you always send a :) at the end of the message to feel me well. :thinking:

view this post on Zulip Sean (Feb 04 2020 at 16:32):

hah, well that wasn't a message specifically directed at you actually, but I'm rarely ever in a bad mood! :)

view this post on Zulip Sean (Feb 04 2020 at 16:32):

it's not a great idea to assume anything about how people are feeling over the internet ;)

view this post on Zulip Sean (Feb 04 2020 at 16:33):

what matters more to most open source communities is active participation, getting useful things done

view this post on Zulip Sean (Feb 04 2020 at 16:34):

and of course discussion, communication, particularly about what code we're all working on

view this post on Zulip Sean (Feb 04 2020 at 16:34):

so @Thusal Ranawaka have you come up with a brl-cad project to focus on for the next year? :)

view this post on Zulip Thusal Ranawaka (Feb 05 2020 at 12:58):

so Thusal Ranawaka have you come up with a brl-cad project to focus on for the next year? :)

@Sean Uh....No

view this post on Zulip Thusal Ranawaka (Feb 05 2020 at 13:23):

so Thusal Ranawaka have you come up with a brl-cad project to focus on for the next year? :)

Sean Uh....No

Uh.. Sometimes probably Appleseed or Lua. But I will work on the non coding tasks like modelling, documentation, reports, tutorials most. @Sean

view this post on Zulip Sean (Feb 05 2020 at 17:07):

@Thusal Ranawaka why non-coding tasks? working on a small pet project is one of the best ways to learn coding. If you're interested, I'd be happy to mentor you on a small task (fyi, lua and appleseed are not small tasks).

view this post on Zulip Sean (Feb 05 2020 at 17:09):

I'm thinking of small tasks that help you get familiarized and experienced for future years, starting with little goals like "implement a new 'about' command"

view this post on Zulip Thusal Ranawaka (Feb 07 2020 at 16:29):

Hey guys.

view this post on Zulip Thusal Ranawaka (Feb 08 2020 at 14:55):

Hey @Jeffrey Liu What is that website that you had told me about where you learnt C++?

view this post on Zulip Jeffrey Liu (Feb 08 2020 at 15:02):

Here it is: https://www.learncpp.com

view this post on Zulip Jeffrey Liu (Feb 08 2020 at 15:03):

If you have any questions, feels free to ask and hopefully I will be able to answer :slight_smile:

view this post on Zulip Thusal Ranawaka (Feb 08 2020 at 15:03):

Thanks bro

view this post on Zulip Thusal Ranawaka (Feb 08 2020 at 15:04):

Did you send the forms to gci support? @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (Feb 10 2020 at 14:55):

Hey @Erik @Sean It's 10th of FEB.

view this post on Zulip Thusal Ranawaka (Feb 10 2020 at 15:07):

Hey @Daniel Rossberg

view this post on Zulip Thusal Ranawaka (Feb 10 2020 at 16:12):

Hey @Sean

view this post on Zulip Sean (Feb 10 2020 at 16:45):

hey @Thusal Ranawaka what're you working on?

view this post on Zulip Thusal Ranawaka (Feb 11 2020 at 13:35):

hey Thusal Ranawaka what're you working on?

@Sean Sorry, I'm still not working on a project these days. And I going through the website which @Jeffrey Liu gave to me to learn C and C++. And also I have school assignments to the top of my head so pretty much busy these days and my parents are telling me to pay more attention on educational studies. :) :slight_smile: :expressionless:

view this post on Zulip Thusal Ranawaka (Feb 11 2020 at 13:37):

Hey @Sahibpreet Kaur After a long time!!!

view this post on Zulip Sahibpreet Kaur (Feb 11 2020 at 13:40):

Hey @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Feb 11 2020 at 13:41):

Are you live in Kolkata? @Sahibpreet Kaur

view this post on Zulip Sahibpreet Kaur (Feb 11 2020 at 13:44):

Nope!

view this post on Zulip Thusal Ranawaka (Feb 11 2020 at 13:44):

Then,

view this post on Zulip Sahibpreet Kaur (Feb 11 2020 at 13:44):

I am from Punjab.

view this post on Zulip Thusal Ranawaka (Feb 11 2020 at 13:45):

Not very popular. @Sahibpreet Kaur

view this post on Zulip Thusal Ranawaka (Feb 11 2020 at 14:01):

Thanks . @Jeffrey Liu www.learncpp.com Is pretty awesome.

view this post on Zulip Thusal Ranawaka (Feb 11 2020 at 14:25):

Heyya @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Feb 11 2020 at 14:32):

Hey what's up

view this post on Zulip Thusal Ranawaka (Feb 11 2020 at 14:33):

Is Jeffrey Liu your full name?

view this post on Zulip Erik (Feb 11 2020 at 15:44):

@Thusal Ranawaka : pay more attention to your educational studies. :grinning_face_with_smiling_eyes:

view this post on Zulip scorp08 (Feb 12 2020 at 13:20):

I am feeling that speed will scream in rt_shootrays in the next release of brlcad :)))

view this post on Zulip Sean (Feb 12 2020 at 19:19):

Not very popular. Sahibpreet Kaur

Offtopic and irrelevant, but 28M people might disagree with you there.

view this post on Zulip scorp08 (Feb 14 2020 at 05:35):

@Sean are there a function to store as array of region_id , inflip, outflips while bundle_hit ? To do iteration over the array after bundle_hit returned.

view this post on Zulip Thusal Ranawaka (Feb 17 2020 at 13:32):

Hey @Jeffrey Liu

view this post on Zulip Jeffrey Liu (Feb 17 2020 at 17:51):

Hey @Thusal Ranawaka , how's it going?

view this post on Zulip Sumagna Das (Mar 02 2020 at 12:39):

hello

view this post on Zulip Sumagna Das (Mar 02 2020 at 12:42):

hey @Thusal Ranawaka i wasnt active becuse of my studies

view this post on Zulip Sumagna Das (Mar 02 2020 at 12:43):

and i am also learning python

view this post on Zulip Sumagna Das (Mar 02 2020 at 12:43):

anyways hows it going

view this post on Zulip Thusal Ranawaka (Mar 02 2020 at 12:44):

Hello @Sumagna Das I am good.

view this post on Zulip Sumagna Das (Mar 02 2020 at 12:46):

learnt anything new?

view this post on Zulip Thusal Ranawaka (Mar 02 2020 at 12:48):

Yes. I am learning C++ though I have got stuffed up with homework assignments. So I am pretty much busy these days.

view this post on Zulip Sumagna Das (Mar 02 2020 at 12:48):

me too

view this post on Zulip Sumagna Das (Mar 02 2020 at 12:48):

i am learning python

view this post on Zulip Thusal Ranawaka (Mar 02 2020 at 12:49):

And now I have a ban for internet too. Because I have used about 15GBs of data for GCi. So I am not allowed to do anything expect study works in my laptop using internet.

view this post on Zulip Sean (Mar 02 2020 at 14:49):

@Thusal Ranawaka that is hilarious, outstanding, and concerning ... :)

view this post on Zulip Sean (Mar 02 2020 at 14:50):

Were you working on a data capped line or something?

view this post on Zulip Sean (Mar 02 2020 at 14:50):

Did this cost you or your parents extra money or something?

view this post on Zulip Thusal Ranawaka (Mar 02 2020 at 15:17):

Sean said:

Did this cost you or your parents extra money or something?

Yes @Sean . As I said, I didn't have wifi in our home. So I have to use dad's phone to get data he got only 3GB for a month and I had used about 13GB in that time and internet service provider had charged him extra money for using extra data.

view this post on Zulip Thusal Ranawaka (Mar 06 2020 at 15:23):

Hey @Ngadou Yopa

view this post on Zulip Ngadou Yopa (Mar 06 2020 at 15:24):

Hi @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Mar 06 2020 at 15:25):

Are you a mentor?

view this post on Zulip Ngadou Yopa (Mar 06 2020 at 15:27):

for GCI yes

view this post on Zulip Ngadou Yopa (Mar 06 2020 at 15:28):

congrats :)

view this post on Zulip Thusal Ranawaka (Mar 06 2020 at 15:32):

Thanks. Are you from South Africa?

view this post on Zulip Thusal Ranawaka (Mar 06 2020 at 15:38):

@Jeffrey Liu @Himanshu Sekhar Nayak I'm really sad and sorry for you. I heard to know that GCi Grand Prize Winner's trip is going to cancel due to Corona virus spreading around the world. Let's hope that they will postpone it instead of cancelling it because it is once in a life time opportunity. :worried: :exhausted:

view this post on Zulip Thusal Ranawaka (Mar 06 2020 at 15:42):

@Jeffrey Liu @Himanshu Sekhar Nayak I heard that GCi Winners are sending out a email to Google what they feel about the Winner's trip look https://docs.google.com/document/d/1jAzQk5On0LtBlNueALKbssNkp4ybCP8659d9Z-NBpcM/edit?usp=sharing I think this might help you.

view this post on Zulip Jeffrey Liu (Mar 06 2020 at 16:01):

Yeah, it is a shame that they had to cancel it due to the threat of coronavirus, but it is the right thing to do. There would be a lot of people travelling from different countries so it would be very dangerous.

view this post on Zulip Ngadou Yopa (Mar 06 2020 at 16:04):

Thusal Ranawaka said:

Thanks. Are you from South Africa?

:) No Cameroon

view this post on Zulip Sumagna Das (Mar 09 2020 at 02:43):

hello

view this post on Zulip Sumagna Das (Mar 09 2020 at 02:50):

hey @Sean , is there any work related to python?

view this post on Zulip Sumagna Das (Mar 09 2020 at 02:57):

i can work with c++ but i want to try with python

view this post on Zulip Sumagna Das (Mar 09 2020 at 19:12):

hey daniel

view this post on Zulip Sumagna Das (Mar 09 2020 at 19:14):

is there any work related to python

view this post on Zulip Daniel Rossberg (Mar 09 2020 at 19:18):

Probably yes, but I'm not very familiar with the BRL-CAD python interface. Unfortunately.

view this post on Zulip scorp08 (Mar 14 2020 at 13:14):

Hello All
@Sean I was wondering if there are or will be any projects to collect all opensourced CAD packages under an umbrella (possibility to generate funds )?

view this post on Zulip Sean (Mar 19 2020 at 05:55):

@scorp08 Do you mean a software distribution like a linux distro or an organizational umbrella? The prior has been done before, though not specifically for just CAD. The latter is in the works (called OpenCAx) and is how we've effectively been operating for the Google Summer of Code program the past few years. Needs a website and to publish the founding documentation., though.

view this post on Zulip scorp08 (Mar 19 2020 at 08:49):

Sean said:

scorp08 Do you mean a software distribution like a linux distro or an organizational umbrella? The prior has been done before, though not specifically for just CAD. The latter is in the works (called OpenCAx) and is how we've effectively been operating for the Google Summer of Code program the past few years. Needs a website and to publish the founding documentation., though.

@Sean Seems great ! I had also read about some stuff of funding options in freecad forums for developers. Is money support possible in OpenCax ? or volunteering will continue ?

view this post on Zulip Sumagna Das (Mar 26 2020 at 14:28):

hello

view this post on Zulip Sumagna Das (Mar 26 2020 at 14:29):

can i add a bot to a new stream which will bridge the IRC channel with the stream?

view this post on Zulip Sumagna Das (Mar 26 2020 at 14:32):

if i can add one, please let me know.

view this post on Zulip Erik (Mar 26 2020 at 17:53):

we already have one, check freenode #brlcad

view this post on Zulip Thusal Ranawaka (Apr 01 2020 at 01:51):

Hey @Jeffrey Liu

view this post on Zulip Erik (Apr 14 2020 at 12:06):

image.png

view this post on Zulip Erik (Apr 14 2020 at 12:52):

that's right, starseeker. I can foist my images upon you without you needing to click a link. Mwahahhaha.

view this post on Zulip starseeker (Apr 15 2020 at 01:51):

@Erik Harrumph. The PROPER habitat of Real Programmers is terminals, with arcane editors and actively hostile compilers! And beware of these newfangled ANSI standards... (for the truly hardcore this guy has you covered, although even there one can't truly escape graphics: Using a 1930 Teletype as a Linux Terminal https://www.youtube.com/watch?v=2XLZ4Z8LpEE)

view this post on Zulip scorp08 (Apr 15 2020 at 07:25):

How long does it take to develop brl-cad kernel ? I was wondering what kind of challenges you've faced :) ?

view this post on Zulip Erik (Apr 17 2020 at 18:25):

I've used a daisywheel teletype before. and now I run a tiny hpc datacenter with an hpc queue and it all seems very arcane and old unix

view this post on Zulip Sean (Apr 18 2020 at 04:29):

Erik said:

we already have one, check freenode #brlcad

Actually we had one. Something in ports updated and broke the bot. Haven't dug in to figure out what got shot.

view this post on Zulip Sean (Apr 18 2020 at 04:29):

scorp08 said:

How long does it take to develop brl-cad kernel ? I was wondering what kind of challenges you've faced :) ?

A lifetime.

view this post on Zulip Sadeep Darshana (May 05 2020 at 19:54):

  1. Visual Studio 2019 builds the whole project everytime. This was not the case when I build on Ubuntu CMake + GCC command line tools. It only built the changed parts. How can we get the same for VS2019?
    Currently I run cmake to build the VS solution. Open that solution in Visual Studio and run the 'Build Solution'.

  2. I'm going to try using Mingw instead of VS. Is this bad?

view this post on Zulip starseeker (May 05 2020 at 20:05):

VS2019 - you want to use the "ALL_BUILD" target under the CMake predefined targets grouping

mingw - it's not know to work currently, there are most likely a lot of issues that would have to be fixed

view this post on Zulip Sean (May 05 2020 at 20:06):

it'd be great if someone fixed all the mingw build issues :)

view this post on Zulip Himanshu (May 06 2020 at 14:52):

Hey @Daniel Rossberg and @Sean :slight_smile: How's going? I haven't been here for so long

view this post on Zulip Himanshu (May 06 2020 at 14:53):

Hey @Jeffrey Liu o_O

view this post on Zulip Jeffrey Liu (May 06 2020 at 14:53):

Hey @Himanshu Sekhar Nayak! How are you?

view this post on Zulip Himanshu (May 06 2020 at 14:54):

Yeah I am fine but our area is a red zone of covid-19

view this post on Zulip Himanshu (May 06 2020 at 14:55):

covid-19 ruined all :frown:

view this post on Zulip Jeffrey Liu (May 06 2020 at 15:21):

Yeah, same here. I also have a lot of online exams coming up... So I haven't been able to contribute recently

view this post on Zulip Daniel Rossberg (May 06 2020 at 15:26):

Hi @Himanshu Sekhar Nayak, I'm fine. I'm doing home-office, but not mandatory.

view this post on Zulip Himanshu (May 06 2020 at 17:48):

Daniel Rossberg said:

Hi Himanshu Sekhar Nayak, I'm fine. I'm doing home-office, but not mandatory.

any task that I can go through? Just lost the path where I had been...

view this post on Zulip Sean (May 06 2020 at 18:22):

Himanshu Sekhar Nayak said:

Hey Daniel Rossberg and Sean :) How's going? I haven't been here for so long

Hi @Himanshu Sekhar Nayak ! Sorry to hear everything is ruined. Definitely stressful times all around. What have you been up to codingwise? Looking for a project?

view this post on Zulip Sean (May 06 2020 at 18:24):

and good to hear from you too @Jeffrey Liu ! Which exams are you working on?

view this post on Zulip Himanshu (May 06 2020 at 22:57):

@Sean I hope you are fine in this global pandemic. Btw I am looking for some projects that can be handy for me in C++ and recently I just practising and playing with git and command line. And yes I love bash too.

view this post on Zulip Himanshu (May 06 2020 at 23:01):

@Daniel Rossberg btw I can start working on MOOSE. Just forgot the path where to start on. I will look forward into it.

view this post on Zulip Jeffrey Liu (May 07 2020 at 13:30):

@Sean I've been studying for AP exams for the past few weeks. I'm hoping to be able to work more on the Appleseed project after those, which take place in about a week.

view this post on Zulip starseeker (May 09 2020 at 03:14):

@Jeffrey Liu sounds good!

view this post on Zulip Erik (May 09 2020 at 13:26):

mdns+mqtt makes my esp8266/esp32 mesh happy O.o

view this post on Zulip Thusal Ranawaka (May 13 2020 at 14:48):

Hey guys!!! It's been a while to come back after GCi. COVID'19 may seem to have a drop here, but we are still home.

view this post on Zulip Sumagna Das (May 13 2020 at 16:06):

Hello @Jeffrey Liu

view this post on Zulip Sumagna Das (May 13 2020 at 16:06):

Came online after so many days

view this post on Zulip Sean (May 13 2020 at 17:18):

Hi @Thusal Ranawaka welcome back! What would you like to work on? :)

view this post on Zulip Thusal Ranawaka (May 15 2020 at 15:43):

Hey @Jeffrey Liu

view this post on Zulip Sean (May 15 2020 at 15:52):

Hi @Thusal Ranawaka ... ready for a project? :)

view this post on Zulip Sean (May 15 2020 at 15:54):

could use someone to make "nirt -?" work inside mged. right now it just says a 1-liner, but it really should display output similar to "nirt -?" outside mged

view this post on Zulip Thusal Ranawaka (May 15 2020 at 16:09):

@Sean Uh...Not yet. Still familiraising with C/C++. Yesterday, we got Wi-Fi to our home for the very first time. So, Now I can contribute more towards BRLCAD and to open source, but I am still on basics of C++. AND........ Do you know any projects in BRL-CAD?

view this post on Zulip Thusal Ranawaka (May 15 2020 at 17:13):

@Sean Do you know any projects? I mean where to Start? :)

view this post on Zulip Sumagna Das (May 17 2020 at 07:30):

hello @Jeffrey Liu

view this post on Zulip Jeffrey Liu (May 17 2020 at 07:30):

Hey @Sumagna Das , what's up?

view this post on Zulip Sam Robbins (May 17 2020 at 11:13):

Hi all, I'm interested in the Google Season of Docs, particularly converting over to a service such as Docusaurus

view this post on Zulip Thusal Ranawaka (May 17 2020 at 18:04):

Hello @Jeffrey Liu

view this post on Zulip Jeffrey Liu (May 18 2020 at 03:41):

Hey @Thusal Ranawaka

view this post on Zulip Sumagna Das (May 18 2020 at 12:15):

hello @starseeker

view this post on Zulip Sean (May 18 2020 at 18:43):

Hi @Sam Robbins welcome! can you tell us more about yourself on a #Google Season of Docs thread?

view this post on Zulip Sumagna Das (May 19 2020 at 03:41):

btw Sean, how is covid-19 affecting your country/ place?

view this post on Zulip Sean (May 19 2020 at 04:42):

@Sumagna Das everything is pretty well locked down, physical distancing, highly limited movement, all online learning, and telework as much as possible. dozens of zoom chats, google classroom videos, facetime calls, and more every week.

view this post on Zulip Sean (May 19 2020 at 04:44):

some restrictions are being lifted just in the past few weeks, but it's a bit premature from a statistical perspective.
it's turning into political issue from people that don't understand how exponential growth works in large populations. it just means this is likely going to last a lot longer, at least until there is a viable vaccine.

view this post on Zulip Sumagna Das (May 19 2020 at 14:29):

hello @Jeffrey Liu and @Sean :disappointed:

view this post on Zulip Sean (May 19 2020 at 15:29):

Sorry don't mean to be a downer @Sumagna Das. I'm personally fine with most of the restrictions staying away from others, so long as it's possible to still go out and get air, exercise, visit parks, etc. It's manageable. It's also nice to get to so many other things, like getting my inbox back down to a sane level, organizing files, reading papers, reading books, taking online courses, getting through so much backlogged work that I might not have otherwise. I won't run out of things to do anytime soon...

view this post on Zulip Sumagna Das (May 19 2020 at 15:31):

i was sad because of my test

view this post on Zulip Thusal Ranawaka (May 19 2020 at 16:02):

Hey @Sean I am currently working on C++ and already learned some basics, will work on code pretty soon.

view this post on Zulip Sean (May 19 2020 at 16:15):

excellent @Thusal Ranawaka

if you'd like help with a relatively simple introductory task, glad to make some suggestions or help you get started with one of them.

view this post on Zulip Thusal Ranawaka (May 19 2020 at 16:19):

@Sean I'd love to.

view this post on Zulip Thusal Ranawaka (May 19 2020 at 16:55):

@Sean I'd love to do that introductory task. Thanks for your help. :)

view this post on Zulip Sean (May 19 2020 at 16:59):

@Thusal Ranawaka here's a nice starter task. write an mged script that creates all possible object types and puts them into a scene.

view this post on Zulip Thusal Ranawaka (May 19 2020 at 17:01):

@Sean Using???

view this post on Zulip Thusal Ranawaka (May 19 2020 at 17:56):

@Sean Yay! I finished the basics of C++. But have to do some more lessons. ;)

view this post on Zulip Sean (May 19 2020 at 18:37):

Congrats @Thusal Ranawaka ! Can you share anything you wrote in C++?

view this post on Zulip Sumagna Das (May 20 2020 at 03:46):

good morning to everyone

view this post on Zulip Thusal Ranawaka (May 20 2020 at 07:24):

Sean said:

Congrats Thusal Ranawaka ! Can you share anything you wrote in C++?

@Sean The Basic is called "Hello World", but there are more variables, basic arithmetic, printing concepts also.
#include <iostream>
using namespace std

int main () { cout << "Hello World!"; return 0; }

view this post on Zulip Thusal Ranawaka (May 20 2020 at 07:29):

@Sean Most of them I tried on MSVC 2019. I learned C++ from Sololearn App in my phone.

view this post on Zulip Thusal Ranawaka (May 20 2020 at 07:32):

Look this is one of my C++ programs I tried on MSVC. Getting-Started-with-C.cpp

view this post on Zulip Thusal Ranawaka (May 20 2020 at 07:34):

Now I have to learn CONDITIONALS AND LOOPS.

view this post on Zulip Thusal Ranawaka (May 20 2020 at 07:37):

Sean said:

Thusal Ranawaka here's a nice starter task. write an mged script that creates all possible object types and puts them into a scene.

Btw, I thinking about this too. But my question is where do I write the MGED script in the MGED command window? or in the Command Prompt?

view this post on Zulip Thusal Ranawaka (May 20 2020 at 15:15):

Hey @Sean

view this post on Zulip Thusal Ranawaka (May 20 2020 at 15:19):

How's the storm going? Terrible? Even we are having heavy rains due to Amphan storm. @Sumagna Das

view this post on Zulip Sean (May 20 2020 at 15:20):

@Thusal Ranawaka you can start by writing them in mged, but then as you figure out the right command, you put that command into a text file. you can name that file "myscript.mged" for example.

view this post on Zulip Sean (May 20 2020 at 15:21):

then to test it, you can close mged, open it fresh, and run the script by sourcing it: source myscript.mged

if your commands in the myscript.mged are correct, it will reproduce the geometry you've created so far and you can continue to figure out more entity types.

view this post on Zulip Sean (May 20 2020 at 15:21):

no storms here, just a cloudy windy day

view this post on Zulip Thusal Ranawaka (May 20 2020 at 15:26):

Okay. Thanks. @Sean I'll try my best. :)

view this post on Zulip Thusal Ranawaka (May 20 2020 at 15:59):

Hello @Jeffrey Liu

view this post on Zulip Sean (May 20 2020 at 16:18):

@Thusal Ranawaka feel free to share your progress as you go! glad to help you. I suggest starting with a simple modeling task first to remind you how objects are created, something like this: https://codein.withgoogle.com/archive/2017/organization/6254981527109632/task/5445913036193792/

view this post on Zulip Sean (May 20 2020 at 16:18):

here's a nice tutorial if you get stuck (but try without it first maybe) https://brlcad.org/wiki/Google_Season_of_Docs/2019

view this post on Zulip Thusal Ranawaka (May 20 2020 at 16:19):

@Sean Okay. Thanks

view this post on Zulip Thusal Ranawaka (May 20 2020 at 16:47):

@Sean I went through the tutorial and remind the commands.

view this post on Zulip Thusal Ranawaka (May 20 2020 at 16:54):

Sean said:

Thusal Ranawaka here's a nice starter task. write an mged script that creates all possible object types and puts them into a scene.

@Sean You mean create all the object types using mged command window and copy those commands paste them in a text file.

view this post on Zulip Thusal Ranawaka (May 20 2020 at 17:01):

@Sean But the part that I can't understand is to how to put all possible object types to a scene and to source myscript.mged.

view this post on Zulip Thusal Ranawaka (May 20 2020 at 17:06):

Hey @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (May 21 2020 at 13:43):

Hey @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (May 21 2020 at 13:47):

Sean said:

then to test it, you can close mged, open it fresh, and run the script by sourcing it: source myscript.mged

if your commands in the myscript.mged are correct, it will reproduce the geometry you've created so far and you can continue to figure out more entity types.

Sean said:

Thusal Ranawaka you can start by writing them in mged, but then as you figure out the right command, you put that command into a text file. you can name that file "myscript.mged" for example.

@Sean Sorry, I can't figure it out.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 13:55):

@Jeffrey Liu Do you know how to make MGED script that makes all possible objects puts into a scene. I have problem bit understanding what it says.

view this post on Zulip Daniel Rossberg (May 21 2020 at 14:23):

Do you know, how to make a mged script which creates a shpere?

view this post on Zulip Thusal Ranawaka (May 21 2020 at 14:38):

Daniel Rossberg said:

Do you know, how to make a mged script which creates a shpere?

@Daniel Rossberg Yes. using in sph sph or using make sph sph.

view this post on Zulip Daniel Rossberg (May 21 2020 at 14:39):

That's good. Post your script here. (The one, which creates the sphere.)

view this post on Zulip Thusal Ranawaka (May 21 2020 at 14:41):

@Daniel Rossberg You mean, Write the script in MGED and copy it to a text file.

view this post on Zulip Daniel Rossberg (May 21 2020 at 14:43):

Yes. To test it, you can close and re-open mged, and type source myscript.mged (or however you've called your script) there.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 14:50):

@Daniel Rossberg Yeah. I did it. But it shows this error.
mged> source myScript.mged
Error: couldn't read file "myScript.mged": no such file or directory

view this post on Zulip Daniel Rossberg (May 21 2020 at 14:51):

Can you post your myScript.mged file here?

view this post on Zulip Thusal Ranawaka (May 21 2020 at 14:54):

@Daniel Rossberg myScript.mged.txt

view this post on Zulip Daniel Rossberg (May 21 2020 at 14:55):

Ah, it is not called myScript.mged but myScript.mged.txt. It has a .txt at the end.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 14:55):

Oh

view this post on Zulip Thusal Ranawaka (May 21 2020 at 14:57):

@Daniel Rossberg Error: invalid command name "mged>"

view this post on Zulip Thusal Ranawaka (May 21 2020 at 14:59):

@Daniel Rossberg MGED-7.26.0-Command-Window-id_0-Upper-Right-5_21_2020-8_29_15-PM.png

view this post on Zulip Daniel Rossberg (May 21 2020 at 15:00):

That's right. There is no mged> command. This is the command prompt. You script should look

opendb myScript
make sph sph

instead. The commands are opendb and make here.

view this post on Zulip Daniel Rossberg (May 21 2020 at 15:02):

BTW, In personally wouldn't include opendb in the script, but assume that there is already a database open in mged.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:04):

MGED-7.26.0-Command-Window-id_0-myscript-Upper-Right-5_21_2020-8_34_03-PM.png Upto this point is it correct? @Daniel Rossberg

view this post on Zulip Daniel Rossberg (May 21 2020 at 15:09):

Did you run your script? I don't think so.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:10):

No.

view this post on Zulip Daniel Rossberg (May 21 2020 at 15:11):

Take your fixed script (I would recommend without the opendb command) and run it through the source command.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:32):

@Daniel Rossberg It worked.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:33):

MGED-7.26.0-Command-Window-id_0-Upper-Right-5_21_2020-9_02_27-PM.png

view this post on Zulip Daniel Rossberg (May 21 2020 at 15:33):

Nice :)
And now, add an arb8 to your script and post your script here.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:34):

To the same script which contains the sphere. @Daniel Rossberg

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:37):

@Daniel Rossberg I did.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:37):

(deleted)

view this post on Zulip Daniel Rossberg (May 21 2020 at 15:38):

No, you did not :wink: You haven't posts you script here.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:41):

myscript @Daniel Rossberg

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:42):

@Daniel Rossberg Now?

view this post on Zulip Daniel Rossberg (May 21 2020 at 15:44):

I can't see the sphere. It's hidden in the cube. You need to fix this.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:44):

It means to move the sphere away from the cube @Daniel Rossberg

view this post on Zulip Daniel Rossberg (May 21 2020 at 15:45):

Or to move the cube away from the sphere, or to create the sphere or the cube at a different place.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:53):

@Daniel Rossberg Yes. I did. Now look at it. myscript

view this post on Zulip Daniel Rossberg (May 21 2020 at 15:54):

This is the same script as before...

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:55):

Yeah

view this post on Zulip Thusal Ranawaka (May 21 2020 at 15:59):

@Daniel Rossberg It means to change place of the cube or the sphere using commands and copy it to .txt file.

view this post on Zulip Thusal Ranawaka (May 21 2020 at 16:11):

Look at this script. myscript @Daniel Rossberg

view this post on Zulip Thusal Ranawaka (May 21 2020 at 16:17):

Although I figured out how to change the place of the sphere using the tra command, but I don't know how to select the sphere using commands. I know how to select from primitive selection only. @Daniel Rossberg

view this post on Zulip Daniel Rossberg (May 21 2020 at 16:20):

I personally would use the in command to create the primitives. This gives me more control of them.

view this post on Zulip Sean (May 22 2020 at 02:36):

Yeah, I would echo that sentiment @Thusal Ranawaka , the in command is better suited to this task as you can create each object specifically where you want it to go.

view this post on Zulip Thusal Ranawaka (May 22 2020 at 03:09):

@Sean The problem is when use the in command I can figure out how to change x y z but it asks some more like the height of the vector, radius. Can you explain me the concept height of the vector.

view this post on Zulip Thusal Ranawaka (May 22 2020 at 05:40):

Hey @Sean Good Morning!

view this post on Zulip Daniel Rossberg (May 22 2020 at 06:32):

Did you had a look at https://brlcad.org/wiki/BRL-CAD_Primitives ? A sphere has a vertex and the radius as parameter.

view this post on Zulip Thusal Ranawaka (May 22 2020 at 06:47):

I will look at it. Thanks btw

view this post on Zulip Daniel Rossberg (May 22 2020 at 06:56):

You may want to look at https://brlcad.org/w/images/9/90/Intro_to_BRL-CAD.pdf too. The second command it explains is the in command.

view this post on Zulip Sean (May 23 2020 at 06:45):

@Thusal Ranawaka height of a vector is simply in which direction is the object pointing. For example, a simple cylinder pointing "up" the +Z axis might have a height vector of 0,0,1.

Still when in doubt, just try putting in some simple values and see what happens. You can create an object, inspect it with the "l" list command, and then delete them with "kill" command, and try different values (press up-arrow to repeat previous and so you can just edit the previous values).

view this post on Zulip Thusal Ranawaka (May 23 2020 at 07:21):

@Sean That what I am trying right now. I have figured out sph, cylinder and some other. But arbs are drives me crazy. It asks 8 points. So I am trying different measures and if I went wrong I kill it and work on it again. Thanks.

view this post on Zulip Thusal Ranawaka (May 23 2020 at 07:24):

@Sean Also I have trouble communicating with Zulip our Wi-Fi quota exceeded about a week ago because I updated my PC. And my dad got some extra GBs for our online lessons. So, it's only for lessons and I have to chat on cellular which is very slow.

view this post on Zulip Sean (May 23 2020 at 07:39):

@Thusal Ranawaka you can also look at existing objects or use the make command to create one and then look at it's parameters after running "sed object" to better understand the thing the in command is asking for. some are also documented on the wiki with diagrams, others at the end of the mged tutorial wherer there is a visual catalog of primitives.

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:07):

Hey @Sean This is the present status of myscript.mged. myscript

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:07):

And it's working.

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:08):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (May 23 2020 at 16:09):

hi @Thusal Ranawaka what's up?

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:09):

Fine. How about you?

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:10):

Are you facing the AMPHAN storm too? @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (May 23 2020 at 16:10):

not much learning data structures and I am currently in tree data structures and side by side I am learning bash too

view this post on Zulip Himanshu (May 23 2020 at 16:11):

Thusal Ranawaka said:

Are you facing the AMPHAN storm too? Himanshu Sekhar Nayak

already faced that cyclone

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:11):

And it's over.

view this post on Zulip Himanshu (May 23 2020 at 16:11):

my area is worst hit of corona virus and cyclone

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:11):

Where do you live?

view this post on Zulip Himanshu (May 23 2020 at 16:11):

my area is in red zone and I can't go outside too

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:11):

City?

view this post on Zulip Himanshu (May 23 2020 at 16:12):

Balasore, Odisha

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:12):

I didn't heard of it.

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:12):

What is the state?

view this post on Zulip Himanshu (May 23 2020 at 16:13):

Odisha

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:14):

Odisha? I don't know. Is it somewhere near Kolkata?

view this post on Zulip Himanshu (May 23 2020 at 16:14):

yes near West Bengal

view this post on Zulip Himanshu (May 23 2020 at 16:14):

hey @Sean

view this post on Zulip Himanshu (May 23 2020 at 16:14):

what's up

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:19):

Oh

view this post on Zulip Thusal Ranawaka (May 23 2020 at 16:27):

Hey @Daniel Rossberg

view this post on Zulip Sean (May 23 2020 at 16:52):

Thusal Ranawaka said:

Hey Sean This is the present status of myscript.mged. myscript

Only 22 more to go plus scene layout and rendering effects :)

view this post on Zulip Jeffrey Liu (May 23 2020 at 22:24):

hey @Thusal Ranawaka ! Sorry I couldn't get back to you sooner. How are you?

view this post on Zulip Thusal Ranawaka (May 24 2020 at 02:03):

Jeffrey Liu said:

hey Thusal Ranawaka ! Sorry I couldn't get back to you sooner. How are you?

@Jeffrey Liu Good. How about you?

view this post on Zulip Thusal Ranawaka (May 24 2020 at 15:49):

Hey @Jeffrey Liu

view this post on Zulip Thusal Ranawaka (May 26 2020 at 13:16):

Hey @Sahibpreet Kaur

view this post on Zulip Sahibpreet Kaur (May 26 2020 at 13:19):

Hello @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (May 26 2020 at 13:20):

What's up?

view this post on Zulip Sumagna Das (May 26 2020 at 13:29):

Himanshu Sekhar Nayak said:

my area is worst hit of corona virus and cyclone

how is your place now?
my area is getting better and better everyday

view this post on Zulip Sumagna Das (May 26 2020 at 13:29):

they fixed the internet today

view this post on Zulip Thusal Ranawaka (May 26 2020 at 13:30):

@Sumagna Das Glad to hear!

view this post on Zulip Sumagna Das (May 26 2020 at 13:30):

but right now i have to complete a phyiscs test :grinning_face_with_smiling_eyes:

view this post on Zulip Thusal Ranawaka (May 26 2020 at 13:31):

Physics?

view this post on Zulip Sumagna Das (May 26 2020 at 13:31):

yea

view this post on Zulip Sumagna Das (May 26 2020 at 13:31):

bye for now

view this post on Zulip Thusal Ranawaka (May 26 2020 at 13:31):

At your age?

view this post on Zulip Sumagna Das (May 26 2020 at 13:31):

??

view this post on Zulip Thusal Ranawaka (May 26 2020 at 13:32):

You mean in school?

view this post on Zulip Sumagna Das (May 26 2020 at 13:32):

its physical science as a whole but right now

view this post on Zulip Sumagna Das (May 26 2020 at 13:32):

no tuition

view this post on Zulip Sumagna Das (May 26 2020 at 13:32):

sorry

view this post on Zulip Sumagna Das (May 26 2020 at 13:33):

gotta go

view this post on Zulip Thusal Ranawaka (May 26 2020 at 13:33):

Okay

view this post on Zulip Thusal Ranawaka (May 26 2020 at 13:33):

Bye

view this post on Zulip Thusal Ranawaka (May 26 2020 at 16:52):

Hey @Sean

view this post on Zulip Sumagna Das (May 26 2020 at 17:52):

hello

view this post on Zulip Sumagna Das (May 26 2020 at 17:53):

my wifi is back so i might be working on the interface tomorrow onwards, i think

view this post on Zulip Sean (May 27 2020 at 04:59):

hi @Thusal Ranawaka how's the progress?

view this post on Zulip Thusal Ranawaka (May 27 2020 at 16:57):

Hey @Daniel Rossberg

view this post on Zulip Thusal Ranawaka (May 28 2020 at 14:53):

Hi @Jeffrey Liu

view this post on Zulip Sumagna Das (May 28 2020 at 19:10):

hi Jeffrey

view this post on Zulip Erik (May 30 2020 at 19:22):

Space x launch, yall

view this post on Zulip Sumagna Das (May 30 2020 at 21:09):

Saw that

view this post on Zulip Thusal Ranawaka (Jun 01 2020 at 15:38):

Hey @Sean

view this post on Zulip Sean (Jun 02 2020 at 05:09):

hey @Thusal Ranawaka!

view this post on Zulip Thusal Ranawaka (Jun 02 2020 at 07:39):

Btw, @Sean What's happening there? I CAN'T BREATHE Protests along with COVID'19???

view this post on Zulip Thusal Ranawaka (Jun 02 2020 at 07:40):

:anguished: :fear:

view this post on Zulip Sean (Jun 02 2020 at 07:51):

You probably know as much about it as I do. Symptoms of decades of massive socioeconomic disparity reaching a tipping point, abuse of power / lack of leadership / failures in leadership, heightened societal stress, and coupled with hyper visibility into societal events (everyone has become an expert at recording and sharing video fast).

view this post on Zulip Sumagna Das (Jun 02 2020 at 07:58):

Thusal Ranawaka said:

Btw, Sean What's happening there? I CAN'T BREATHE Protests along with COVID'19???

some cops killed a man called George Floyd ruthlessly and "I CAN'T BREATHE" were his last words. these protests are going on for his death and also against racism.

that's all i know. :smile:

view this post on Zulip Sean (Jun 02 2020 at 08:01):

That was a flashpoint. The protests and rioting, however, are not solely due to that instance but, rather, systemic stress that has been around and been growing for a long time.

view this post on Zulip Sumagna Das (Jun 02 2020 at 08:02):

for this lockdown and quarantine and stay home?

view this post on Zulip Sean (Jun 02 2020 at 08:02):

The same happened in the city where I lived a few years ago, the resulting riots made international headlines then too. This is definitely more widespread but is nearly identical conditions.

view this post on Zulip Sean (Jun 02 2020 at 08:03):

Not all areas are locked down, many are opening up and relaxing restrictions.

view this post on Zulip Sumagna Das (Jun 02 2020 at 08:03):

yea

view this post on Zulip Sean (Jun 02 2020 at 08:05):

decent status coverage: https://www.nytimes.com/interactive/2020/us/states-reopen-map-coronavirus.html

view this post on Zulip Sumagna Das (Jun 02 2020 at 08:06):

some areas in our country are also opening up including some places in our state

view this post on Zulip Sean (Jun 02 2020 at 08:07):

short summary: most of the US has at least partially reopened in the last two weeks.

view this post on Zulip Thusal Ranawaka (Jun 02 2020 at 08:08):

@Sean Which state do you live?

view this post on Zulip Sean (Jun 02 2020 at 08:08):

probably will result in another spike in about 3-4 weeks, but there is a lot more hospital capacity, testing, and contact tracing available now compared with 3 months ago.

view this post on Zulip Sean (Jun 02 2020 at 08:08):

MD

view this post on Zulip Thusal Ranawaka (Jun 02 2020 at 08:10):

What is MD?

view this post on Zulip Sean (Jun 02 2020 at 08:11):

Maryland

view this post on Zulip Erik (Jun 03 2020 at 10:37):

Oldness sucks, i find myself using my phones camera as a magnifying glass to read soc ic labels.

view this post on Zulip Sumagna Das (Jun 03 2020 at 10:38):

hello

view this post on Zulip Sumagna Das (Jun 03 2020 at 10:42):

hello @scorp08

view this post on Zulip Sean (Jun 04 2020 at 02:31):

@Erik what are soc ic labels? and why must one read them?

view this post on Zulip Sumagna Das (Jun 04 2020 at 05:50):

(deleted)

view this post on Zulip Thusal Ranawaka (Jun 04 2020 at 13:53):

Hey @starseeker

view this post on Zulip Thusal Ranawaka (Jun 04 2020 at 14:22):

Hello @Sean

view this post on Zulip Sean (Jun 04 2020 at 14:36):

Hey @Thusal Ranawaka get more of your script entities done or get a list of what's remaining?

view this post on Zulip Thusal Ranawaka (Jun 04 2020 at 14:36):

Sean said:

Hey Thusal Ranawaka get more of your script entities done or get a list of what's remaining?

On it.

view this post on Zulip Thusal Ranawaka (Jun 04 2020 at 15:19):

Hi @Jeffrey Liu

view this post on Zulip Sumagna Das (Jun 04 2020 at 16:08):

hey @Sean i was going to use the draw command in mged

view this post on Zulip Sumagna Das (Jun 04 2020 at 16:09):

how to draw all objects in a geometry file?

view this post on Zulip Sumagna Das (Jun 04 2020 at 16:24):

hey @Sean , made this using the somewhat working incomplete interface

view this post on Zulip Sumagna Das (Jun 04 2020 at 16:24):

random.g

view this post on Zulip Sean (Jun 04 2020 at 17:12):

@Sumagna Das there's not a userland way to draw all objects because .g files are considered multi-hierarchy databases. Users run "tops" to get a list of the top-level geometries available, and then draw one of them.

view this post on Zulip Sean (Jun 04 2020 at 17:12):

there are programmatic ways (you simply iterate over the tops list)

view this post on Zulip Sean (Jun 04 2020 at 17:14):

Sumagna Das said:

hey Sean , made this using the somewhat working incomplete interface

That's nifty. Looks like the spheres were programmatically generated?

view this post on Zulip Sumagna Das (Jun 04 2020 at 17:46):

Sean said:

Sumagna Das said:

hey Sean , made this using the somewhat working incomplete interface

That's nifty. Looks like the spheres were programmatically generated?

actually it was.

view this post on Zulip Sadeep Darshana (Jun 04 2020 at 19:18):

@Thusal Ranawaka what's your school?

view this post on Zulip Himanshu (Jun 05 2020 at 00:04):

hey @Sean any info on shipment of stickers of BRLCAD?

view this post on Zulip Thusal Ranawaka (Jun 05 2020 at 00:20):

@Sadeep Darshana Uh.. Why? Ananda College.

view this post on Zulip Sean (Jun 05 2020 at 03:20):

@Himanshu Sekhar Nayak honestly things kind of got delayed with the global shutdown. Didn't feel right shipping things all over the place. I'll need to print another batch of stickers to get to those remaining too.

view this post on Zulip Sumagna Das (Jun 05 2020 at 03:28):

(deleted)

view this post on Zulip Sadeep Darshana (Jun 05 2020 at 06:23):

@Thusal Ranawaka Are you in ACICTS?? there are these contests like NSSC and noi (noi.lk). You might be able to participate through school.

view this post on Zulip Thusal Ranawaka (Jun 05 2020 at 07:18):

@Sadeep Darshana Yes. I got to know about GCi from ACICTS. Are you an Anandian?

view this post on Zulip Sadeep Darshana (Jun 05 2020 at 07:19):

No, I went to Royal . @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jun 05 2020 at 07:20):

I will look on to that contest. Thanks

view this post on Zulip Thusal Ranawaka (Jun 05 2020 at 07:21):

Is NOI something like GCi?

view this post on Zulip Thusal Ranawaka (Jun 05 2020 at 11:40):

Hey @Sadeep Darshana

view this post on Zulip Sadeep Darshana (Jun 05 2020 at 11:40):

No. It is totally different. NOI is about problem solving. You have to come up with an algorithm to solve a given problem. Contests are usually ~3hrs. 5 problems. If you perform well in noi. You can go to the international contests.

view this post on Zulip Thusal Ranawaka (Jun 05 2020 at 11:41):

Sadeep Darshana said:

No. It is totally different. NOI is about problem solving. You have to come up with an algorithm to solve a given problem. Contests are usually ~3hrs. 5 problems. If you perform well in noi. You can go to the international contests.

Okay.

view this post on Zulip Sadeep Darshana (Jun 05 2020 at 11:42):

Also check out the NSSC. It is also algorithm. Hackerrank like questions. They used to give laptops as prizes. Have to register through school.

view this post on Zulip Thusal Ranawaka (Jun 05 2020 at 12:57):

Hi @LordOfBikes @Jeffrey Liu ! :high_five:

view this post on Zulip Thusal Ranawaka (Jun 05 2020 at 15:03):

Hey @Daniel Rossberg

view this post on Zulip Thusal Ranawaka (Jun 05 2020 at 18:21):

Hi @Sean

view this post on Zulip Sean (Jun 05 2020 at 18:42):

hey @Thusal Ranawaka nice progress on the script! just a few more it seems. note there are examples of several of the more advanced ones on the wiki

view this post on Zulip Erik (Jun 05 2020 at 19:03):

@Sean sorry, soic and sot

view this post on Zulip Erik (Jun 05 2020 at 19:03):

IMG_5200.jpeg

view this post on Zulip Erik (Jun 05 2020 at 19:03):

(deleted)

view this post on Zulip Thusal Ranawaka (Jun 06 2020 at 18:50):

Hi @Sadeep Darshana

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 07:57):

Hi @Sean

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 07:58):

Making a pipe

view this post on Zulip Erik (Jun 07 2020 at 10:35):

any cool renderings to share? we love eye candy :D

view this post on Zulip Erik (Jun 07 2020 at 10:38):

so supposedly on friday I'm getting a box o' bits, enough to build a dual epyc rome (32 core cpus, so only 64) with 256g ram, a 1tb m.2 ssd, and a pair of rtx2080ti's. wonder what the benchmark results will look like :)

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:46):

Hello @Sadeep Darshana

view this post on Zulip Sadeep Darshana (Jun 07 2020 at 16:47):

hey Thusal

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:48):

I signed up for noi.

view this post on Zulip Sadeep Darshana (Jun 07 2020 at 16:48):

ah, great

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:48):

But no one was there

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:48):

but there were some practice courses

view this post on Zulip Sadeep Darshana (Jun 07 2020 at 16:48):

Not sure if the stuff is over for this year

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:49):

I think the 3rd round of practice sessions are starting around 20th of June or something. @Sadeep Darshana

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:50):

What do you have to do there?

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:50):

Complete different courses?

view this post on Zulip Sadeep Darshana (Jun 07 2020 at 16:56):

The general procedure is first they take school students and do algorithm training. At the end they conduct the national olympiad. From that they select the national team. Selections might be over for this year. But the plan was to have it more like a continuous on going program from this year onwards. So if you can get in touch with the program it is good. Last year there were several contestants from your school. @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:57):

Sadeep Darshana said:

The general procedure is first they take school students and do algorithm training. At the end they conduct the national olympiad. From that they select the national team. Selections might be over for this year. But the plan was to have it more like a continuous on going program from this year onwards. So if you can get in touch with the program it is good. Last year there were several contestants from your school. Thusal Ranawaka

Thank you for the information.

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:57):

:+1: :grinning:

view this post on Zulip Sadeep Darshana (Jun 07 2020 at 16:57):

You having online classes from school?

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:58):

Yeah.

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:58):

lots of them

view this post on Zulip Sadeep Darshana (Jun 07 2020 at 16:58):

Which grade are you in?

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 16:59):

Grade 9

view this post on Zulip Sadeep Darshana (Jun 07 2020 at 16:59):

my brothers also in 9.

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 17:00):

Oh

view this post on Zulip Thusal Ranawaka (Jun 07 2020 at 17:02):

Are you at university? @Sadeep Darshana

view this post on Zulip Sadeep Darshana (Jun 07 2020 at 17:44):

@Thusal Ranawaka yp, moratuwa

view this post on Zulip Thusal Ranawaka (Jun 08 2020 at 13:52):

Hey @Sean

view this post on Zulip Thusal Ranawaka (Jun 08 2020 at 16:56):

Hi @Sean

view this post on Zulip Thusal Ranawaka (Jun 08 2020 at 17:04):

(deleted)

view this post on Zulip Thusal Ranawaka (Jun 09 2020 at 12:21):

Hello @Sadeep Darshana

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 18:44):

Hi @Sadeep Darshana

view this post on Zulip Sadeep Darshana (Jun 10 2020 at 18:45):

hey @Thusal Ranawaka how are you doing?

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 18:46):

Good. Just heard a bad news. GCi was retired. @Sadeep Darshana

view this post on Zulip Sadeep Darshana (Jun 10 2020 at 18:48):

What do you mean? GCI is not going to be in the next year?

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 18:49):

Yes. It was officially retired for the development of Google Summer of Code. @Sadeep Darshana

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 18:49):

:sob:

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 18:49):

Hi @Daniel Rossberg

view this post on Zulip Sadeep Darshana (Jun 10 2020 at 18:50):

Well. you can do gsoc next year. @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 18:50):

How

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 18:51):

The Age

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 18:55):

Hey @Sean Did you heard that GCi was retired?

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 18:55):

Look. https://groups.google.com/d/msgid/gci-discuss/e62bbb6f-39ce-4394-931b-6dc2bc86fdeeo%40googlegroups.com?utm_medium=email&utm_source=footer

view this post on Zulip Sadeep Darshana (Jun 10 2020 at 18:57):

they might lower the age for gsoc if the decision was taken " for the development of Google Summer of Code"

view this post on Zulip Sean (Jun 10 2020 at 18:57):

@Thusal Ranawaka Yes, I've known for some time now. It's not unexpected, but it is sad for me as it is my favorite open source outreach program. You guys are awesome.

view this post on Zulip Thusal Ranawaka (Jun 10 2020 at 19:00):

Why would they do that? @Sean

view this post on Zulip Sumagna Das (Jun 11 2020 at 05:39):

Sean said:

Thusal Ranawaka Yes, I've known for some time now. It's not unexpected, but it is sad for me as it is my favorite open source outreach program. You guys are awesome.

the retiring of GCI was not unexpected?

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 05:45):

Hi Sadeep

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 05:49):

Hey Thusal. What was your project you did for GCi?

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 05:49):

There were tasks, not projects. @Sadeep Darshana

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 05:50):

At least, I become a Finalist in the last year of GCi on my first try.

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 05:51):

That's great.
Heard schools start around 29th?

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 05:51):

July 27th

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 05:51):

for us (Grade 9)

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 05:58):

So we have about one and a half month

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 06:04):

(deleted)

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 06:04):

Yes

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 06:05):

I thought it is around 29th this month.

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 06:05):

Yeah. It's only for Principals, Teachers and Academic staff.

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 06:05):

Where do you live?

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 06:06):

Hanwella. You around Colombo?

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 06:06):

Yes. Malabe

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 06:07):

Hanwella? That's quite a distance.

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 06:08):

around 25km I guess

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 06:08):

Yeah

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 06:41):

@Sadeep Darshana Do you know a small software that I can clone from GitHub repo that I can build and install?

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 06:41):

For this https://drive.google.com/file/d/1WyfOdzMvOJ-28TVSqt5xkqB7QUq_ibKw/view

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 06:59):

Building brl-cad was fairly straight forward since it has all the dependencies within it.

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 06:59):

Is Brlcad is available in Github @Sadeep Darshana

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 07:00):

I thought it only can download from sourceforge

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 07:01):

Thanks @Sadeep Darshana I saw it. :grinning:

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 07:02):

I'm not sure if it is the one.

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 07:03):

Sorry I didn't notice it had to be from GitHub

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 07:03):

Maybe you should build something like VLC

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 07:09):

@Sadeep Darshana VLC is even bigger than BRL CAD

view this post on Zulip Sadeep Darshana (Jun 11 2020 at 07:17):

How about notepad++?

view this post on Zulip Thusal Ranawaka (Jun 11 2020 at 08:03):

I build Zulip

view this post on Zulip Thusal Ranawaka (Jun 12 2020 at 17:17):

Hi, @Sean @Daniel Rossberg Sorry, I was unable to update the myscript.txt for a couple of days because I'm participating in my school's intra school software competition. I will send the latest updates of myscript.txt (primitives.tcl) as soon as I'm free. :)

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:28):

Hi @Sadeep Darshana

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:28):

hey how is it going

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:28):

did you get zulip built?

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:28):

good

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:28):

Sadeep Darshana said:

did you get zulip built?

Yes

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:28):

great

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:29):

Are you doing a BSc on engineering?

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:29):

yes

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:29):

In which field?

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:29):

CSE

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:30):

Chemical Science?

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:30):

Computer Science and Engineering

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:31):

My father is a engineer too

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:31):

Which uni?

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:31):

Mora

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:31):

He is a civil engineer

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:32):

that's great

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:32):

Also a fellow member in IESL

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:33):

My father might know him. Where does he work?

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:33):

Coast Conservation Department @Sadeep Darshana

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:34):

Not likely he knows him then

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:35):

Is your father a fellow member

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:35):

No, he is only a member

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:36):

What is his name

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:37):

Weerasinghe, It's unlikely your father knows mine. He works in construction.

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:38):

How is stuff going on at ACICTS?

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:38):

I used to know a lot from 16 AL batch

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:41):

Sadeep Darshana said:

How is stuff going on at ACICTS?

great we are working on bits 2020

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:42):

does your father has his own construction company or working on a private company @Sadeep Darshana

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:43):

because my father know a weerasinghe @Sadeep Darshana

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:46):

he works at Tudawe Brothers

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:48):

Oh. So he doesn't know him

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:48):

He knows another Weerasinghe.

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:49):

:grinning_face_with_smiling_eyes:

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:49):

That's a very common name

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:49):

Yeah

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:50):

(deleted)

view this post on Zulip Thusal Ranawaka (Jun 13 2020 at 16:51):

bye

view this post on Zulip Sadeep Darshana (Jun 13 2020 at 16:51):

bye

view this post on Zulip Himanshu (Jun 14 2020 at 00:52):

Hey @Sean Just found a typo while installing brlcad. can you apply it? fix_typo.diff

view this post on Zulip Sean (Jun 14 2020 at 00:57):

Yep, sure thing. The ‘e’ key sticks on my keyboard sometimes... prone to typos.

view this post on Zulip Himanshu (Jun 14 2020 at 00:58):

yeah some of my keys also sticks and my laptop is outdated a bit. So I bought a new laptop :-)

view this post on Zulip Erik (Jun 14 2020 at 10:44):

ick, I've gone through like 4 different brands of keyboards after my last good one crapped out, hope you find a viable replacement O.o

view this post on Zulip starseeker (Jun 14 2020 at 13:36):

https://www.pckeyboard.com/ used to sell Model M versions - I don't know how they are these days, but I liked the original Model Ms...

view this post on Zulip starseeker (Jun 14 2020 at 13:44):

Don't know if their build quality is up to the old standards though - 1980s had a lot more profit margin on computers to play with so the incentive to save every penny wasn't there so much...

view this post on Zulip starseeker (Jun 14 2020 at 14:12):

Yeah, comments online are a little worrisome...

view this post on Zulip starseeker (Jun 14 2020 at 14:14):

/me idly wonders if anyone has ever tried to 3D print their own keyboard...

view this post on Zulip Erik (Jun 15 2020 at 00:19):

@starseeker : check out razer gaming keyboards or anything with cherry mx's or something in them, there are a lot modern keyboards that are reminiscent of the old m's, with multicolored led crap stuck in

view this post on Zulip Erik (Jun 15 2020 at 00:19):

some of 'em even weigh as much

view this post on Zulip Himanshu (Jun 15 2020 at 01:39):

btw I bought one Logitech G203 Prodigy :-)

view this post on Zulip Himanshu (Jun 15 2020 at 01:39):

keyboard is nice but not fully mechanical

view this post on Zulip Sean (Jun 15 2020 at 15:28):

Erik said:

ick, I've gone through like 4 different brands of keyboards after my last good one crapped out, hope you find a viable replacement O.o

It's my laptop, so unlikely until I get a new one.

view this post on Zulip Sean (Jun 15 2020 at 15:31):

I have just apparently coded the life out of it.

view this post on Zulip starseeker (Jun 15 2020 at 17:16):

Heh. One of Bob's old Alienware laptops had one of the Emacs-related keys cracked from heavy use.

view this post on Zulip Erik (Jun 15 2020 at 22:35):

I hear you can plug external keyboards into laptops these days

view this post on Zulip Erik (Jun 15 2020 at 22:37):

usb-c brought back the box o' adapters :D

view this post on Zulip Erik (Jun 15 2020 at 22:42):

my latest stunt is actually bluetooth kbd + ipad + vnc (rdp for windows). Then I have 2 machines in my 'lab', one is an rpi running a webcam httpd plus some basic gpio control stuff and a linux laptop with decent cpu and the programmers plugged into it to build and install :D

view this post on Zulip Sumagna Das (Jun 16 2020 at 03:33):

my instagram account got hacked probably yesterday night

view this post on Zulip Sumagna Das (Jun 16 2020 at 03:33):

at like 1 am, i got emails saying that i was trying to login whereas i was actually watching youtube at that time

view this post on Zulip Sumagna Das (Jun 16 2020 at 03:55):

(deleted)

view this post on Zulip Sadeep Darshana (Jun 16 2020 at 07:46):

Up axis is Z in brlcad? This is consistent across all brl-cad applications, isn't it? Also does each axis and its positive direction corresponds to the same in opengl?

view this post on Zulip Erik (Jun 16 2020 at 21:35):

Yes, sorta. We are both right hand (vs dx left hand). Z is up. We need a 90 degree rotation to match ogl

view this post on Zulip Sadeep Darshana (Jun 17 2020 at 17:23):

thanks Erik

view this post on Zulip Sadeep Darshana (Jun 18 2020 at 07:27):

I just realized that Archer is not calling _drawVList every time it draws a frame. How is this possible? Does it store the drawn objects somewhere (GPU?/FB?) ?

view this post on Zulip Daniel Rossberg (Jun 18 2020 at 17:49):

Sadeep Darshana said:

I just realized that Archer is not calling _drawVList every time it draws a frame. How is this possible? Does it store the drawn objects somewhere (GPU?/FB?) ?

That's the point: You shouldn't iterate VectorList for every draw but only if this list has changed. Write the elements into a display list and use this for redraws. See glNewList() and glEndList().

view this post on Zulip Sadeep Darshana (Jun 18 2020 at 18:53):

yeah, im checking that out. btw MGED is drawing every frame.

view this post on Zulip Thusal Ranawaka (Jun 20 2020 at 17:26):

Hi @Sean @Daniel Rossberg Could you tell me a suitable object type in BRLCAD to model 'a petal of a lotus flower'? :)

view this post on Zulip Thusal Ranawaka (Jun 20 2020 at 17:26):

Trying to model this,

view this post on Zulip Thusal Ranawaka (Jun 20 2020 at 17:33):

image.png

view this post on Zulip Thusal Ranawaka (Jun 20 2020 at 17:33):

Our Beautiful Iconic Tower in our Country!

view this post on Zulip Thusal Ranawaka (Jun 20 2020 at 17:34):

THE LOTUS TOWER

view this post on Zulip Thusal Ranawaka (Jun 20 2020 at 17:34):

Opened it last year, but still on some construction.

view this post on Zulip Thusal Ranawaka (Jun 20 2020 at 17:34):

350m in height.

view this post on Zulip Thusal Ranawaka (Jun 20 2020 at 17:35):

Taller than Eiffel Tower.

view this post on Zulip Daniel Rossberg (Jun 21 2020 at 18:54):

It looks like the petals of this tower are in fact build from triangular and quadrilateral elements. It should be sufficient to construct a half petal from each row. The rest can be done by creating copies with mirroring and rotation.

view this post on Zulip Thusal Ranawaka (Jun 22 2020 at 03:29):

:+1:

view this post on Zulip Sadeep Darshana (Jun 22 2020 at 19:53):

@starseeker I was trying to build the qged. I'm getting some compile errors in Qt headers. Could you tell me about your setup? I'm using Qt5.14.2\msvc2017_64.

view this post on Zulip starseeker (Jun 22 2020 at 21:14):

What are the errors? I haven't tried the qtged branch with MSVC in a very long time (if ever) - I'm building with gcc on Linux

view this post on Zulip starseeker (Jun 22 2020 at 21:15):

Qt version 5.12.8, but if the newer ones don't work we should fix that

view this post on Zulip starseeker (Jun 22 2020 at 21:21):

I'll see if I can set up a Windows test later tonight

view this post on Zulip Sadeep Darshana (Jun 23 2020 at 15:41):

@starseeker

  main.cxx
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qthread.h(141,17): error C2059: syntax error: 'constant' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]

cadapp.cxx
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qprocess.h(249,10): error C3668: 'QProcess::_close': method with override specifier 'override' did not override any base class methods [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qbuffer.h(78,10): error C3668: 'QBuffer::_close': method with override specifier 'override' did not override any base class methods [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qsavefile.h(90,10): error C3668: 'QSaveFile::_close': method with override specifier 'override' did not override any base class methods [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qthread.h(141,17): error C2059: syntax error: 'constant' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]


cadattributes.cxx
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore/qfiledevice.h(103,10): error C3668: 'QFileDevice::_close': method with override specifier 'override' did not override any base class methods [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]

Also I've been getting these warnings, clash between windows sdk and qt?

C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(17,1): warning C4005: 'M_E': macro redefinition [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qmath.h(155): message : see previous definition of 'M_E' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(18,1): warning C4005: 'M_LOG2E': macro redefinition [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qmath.h(159): message : see previous definition of 'M_LOG2E' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(19,1): warning C4005: 'M_LOG10E': macro redefinition [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qmath.h(163): message : see previous definition of 'M_LOG10E' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(20,1): warning C4005: 'M_LN2': macro redefinition [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qmath.h(167): message : see previous definition of 'M_LN2' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(21,1): warning C4005: 'M_LN10': macro redefinition [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qmath.h(171): message : see previous definition of 'M_LN10' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(22,1): warning C4005: 'M_PI': macro redefinition [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qmath.h(175): message : see previous definition of 'M_PI' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(23,1): warning C4005: 'M_PI_2': macro redefinition [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qmath.h(179): message : see previous definition of 'M_PI_2' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(24,1): warning C4005: 'M_PI_4': macro redefinition [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]
C:\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qmath.h(183): message : see previous definition of 'M_PI_4' [C:\summer\qtt\cmake-build-debug-visual-studio\src\qged\qged.vcxproj]

view this post on Zulip Sadeep Darshana (Jun 23 2020 at 15:41):

Shall I downgrade Qt and see?

view this post on Zulip starseeker (Jun 23 2020 at 16:41):

Um. I think the _close thing may be coming from one of our headers redefining close to _close.

view this post on Zulip starseeker (Jun 23 2020 at 16:44):

Does r76185 help?

view this post on Zulip starseeker (Jun 23 2020 at 16:51):

r76186 tries something for the qmath. vs corecrt_math_defines.h argument.

view this post on Zulip starseeker (Jun 23 2020 at 17:00):

r76187 removes vmath.h as well, which would also have pulled in the close redefine.

view this post on Zulip starseeker (Jun 23 2020 at 17:01):

@Sadeep Darshana Unfortunately I'm not set up to test the Windows build yet, so I'm not 100% that'll do it, but it's probably worth a try.

view this post on Zulip Rishabh Suthar (Jun 23 2020 at 18:21):

ok, sure.

view this post on Zulip Sadeep Darshana (Jun 23 2020 at 18:34):

starseeker said:

r76187 removes vmath.h as well, which would also have pulled in the close redefine.

It didn't fix the errors, I look into the errors and let you know

view this post on Zulip Sean (Jun 25 2020 at 21:45):

Sadeep Darshana said:

yeah, im checking that out. btw MGED is drawing every frame.

MGED has both an immediate mode (which is default) and a display list mode, if OpenGL was compiled

view this post on Zulip Inder Singh (Jun 26 2020 at 12:51):

Does anyone know of a good open-source static code analyzer for C/C++?

view this post on Zulip starseeker (Jun 26 2020 at 13:30):

This is the one I'm most familiar with: https://clang-analyzer.llvm.org/

view this post on Zulip Sean (Jun 26 2020 at 16:59):

if you're analyzing and open source project, it may be eligible to for the Coverity Scan project. That's the best commercial tool, but it's free for open source projects.

view this post on Zulip Sadeep Darshana (Jun 26 2020 at 18:23):

Is there a way to skip the CMake tests. It takes a long time whenever I do a small change to a cmake file in the main repo

view this post on Zulip Sean (Jun 26 2020 at 18:24):

Unfortunately, no

view this post on Zulip Sadeep Darshana (Jun 26 2020 at 18:24):

Can I only reload a single project in the repo (qged)? I'm only changing it's cmake file.

view this post on Zulip Sadeep Darshana (Jun 26 2020 at 18:25):

It is a really long time since everytime it reloads cmake. All libs are rebuild too.

view this post on Zulip Sean (Jun 26 2020 at 18:27):

it's something that could be set up, but isn't how it's currently set up. You could create your own CMakeLists.txt file for qged that just builds it manually as simply as possible.

view this post on Zulip Sean (Jun 26 2020 at 18:27):

hard-coded paths if needed

view this post on Zulip Sadeep Darshana (Jun 26 2020 at 23:02):

Any reason this might give an error? Do I need to do some kind of initializing (besides BU_LIST_INIT) before using the feature of lists? any magic, jump bombs?
struct bu_list vhead;
BU_LIST_INIT(&vhead);
ip->idb_meth->ft_plot(&vhead, ip, tsp->ts_ttol, tsp->ts_tol, 0)
Error is raised in rt_arb_plot, likely because of some list init error. (BU_ASSERT((void *)(&((_vp)->l)) != (void *)NULL), failed)

view this post on Zulip Thusal Ranawaka (Jun 27 2020 at 12:59):

Hi @Sadeep Darshana !

view this post on Zulip Sadeep Darshana (Jun 27 2020 at 13:04):

hey @Thusal Ranawaka how is everything?

view this post on Zulip Thusal Ranawaka (Jun 27 2020 at 13:04):

Fine

view this post on Zulip Sadeep Darshana (Jun 27 2020 at 13:05):

you have another month till schools start dont you?

view this post on Zulip Thusal Ranawaka (Jun 27 2020 at 13:05):

Yeah. :grinning:

view this post on Zulip Thusal Ranawaka (Jun 30 2020 at 06:16):

Hi @Sean

view this post on Zulip Sadeep Darshana (Jul 01 2020 at 05:58):

https://opensource.googleblog.com/search/label/statistics+gsoc

"Another fun fact about our 2018 mentors: they range in age from 15-80 years old!
Average mentor age: 34
Median mentor age: 33
Mentors under 18 years old: 26*"

view this post on Zulip Sadeep Darshana (Jul 01 2020 at 05:59):

Mentors can be under 18, but students have to be 18+ @Thusal Ranawaka ?

view this post on Zulip Thusal Ranawaka (Jul 01 2020 at 05:59):

Sadeep Darshana said:

Mentors can be under 18, but students have to be 18+ Thusal Ranawaka ?

:big_smile: :laughing:

view this post on Zulip Thusal Ranawaka (Jul 01 2020 at 06:01):

Then I can be your mentor. :laughing: :sweat_smile: Very funny!

view this post on Zulip Sean (Jul 01 2020 at 07:17):

@Thusal Ranawaka how's the table of primitives coming along? any update? how many did you have left?

view this post on Zulip Thusal Ranawaka (Jul 01 2020 at 07:22):

Sean said:

Thusal Ranawaka how's the table of primitives coming along? any update? how many did you have left?

Sorry. @Sean I didn't get time to work on Primitives.tcl as I was participating in my school's ICT competition until the 5th of July. I will get back to primitives as soon as I got time. :worried:

view this post on Zulip Thusal Ranawaka (Jul 01 2020 at 07:23):

Btw, Look at the model of Lotus Tower that I created using BRL-CAD, MGED-7.26.0-Graphics-Window-id_0-Upper-Right-6_23_2020-11_17_07-AM.png MGED-7.26.0-Graphics-Window-id_0-Upper-Right-6_23_2020-11_17_23-AM.png

view this post on Zulip Sean (Jul 01 2020 at 14:19):

That's great @Thusal Ranawaka ! Did you do that purely from the picture or did you find specifications or a diagram somewhere?

view this post on Zulip Thusal Ranawaka (Jul 01 2020 at 17:08):

@Sean I just referred to this, image.png

view this post on Zulip Thusal Ranawaka (Jul 01 2020 at 17:09):

I don't know the exact dimensions of it. But I design it using MGED Graphics Window.

view this post on Zulip Thusal Ranawaka (Jul 01 2020 at 17:10):

But I have trouble exporting it to .obj.

view this post on Zulip Thusal Ranawaka (Jul 01 2020 at 17:11):

Also, you can have a look, Lotus.g

view this post on Zulip Thusal Ranawaka (Jul 04 2020 at 16:30):

Happy 4th of July, @everyone !!! :tada:

view this post on Zulip Sumagna Das (Jul 04 2020 at 16:30):

Happy 4th of July

view this post on Zulip Sadeep Darshana (Jul 06 2020 at 19:42):

image.png
Skgrill1.s is listed multiple times in the tree. This is a bug isn't it?

view this post on Zulip Sadeep Darshana (Jul 06 2020 at 20:12):

image.png Name doesn't have to be unique?

"Note also that each name must be unique in the database, and for BRL-CAD
releases prior to 6.0, names are limited to 16 characters in length."

view this post on Zulip Sadeep Darshana (Jul 06 2020 at 20:13):

is it the same object placed in two different places?

view this post on Zulip Sadeep Darshana (Jul 06 2020 at 20:14):

like multiple instances

view this post on Zulip Sadeep Darshana (Jul 06 2020 at 20:23):

if it is multiple instances of the same object how does drawing all leaves work since position/ orientation (MODELVIEW) calculation doesn't happen.

view this post on Zulip starseeker (Jul 06 2020 at 22:38):

It's multiple instances of the same object. I don't know for certain how the drawing is handled.

view this post on Zulip Daniel Rossberg (Jul 07 2020 at 08:24):

SKgrill.c is a Boolean combination where a primitive shape appears multiple times.

A combination (can be region or group) is a tree with Boolean operations and transformations in the nodes. See Combination.h in the C++ interface.

view this post on Zulip Thusal Ranawaka (Jul 07 2020 at 11:14):

Hi @Sean @Daniel Rossberg My Competition ended yesterday and I can work on Primitives.tcl again. :)

view this post on Zulip Thusal Ranawaka (Jul 07 2020 at 15:10):

Hi @Sean

view this post on Zulip Sumagna Das (Jul 08 2020 at 04:15):

Hey @Jeffrey Liu

view this post on Zulip Sumagna Das (Jul 08 2020 at 04:15):

How's everything going?

view this post on Zulip Sean (Jul 08 2020 at 18:26):

Thusal Ranawaka said:

Hi Sean Daniel Rossberg My Competition ended yesterday and I can work on Primitives.tcl again. :)

Woo hoo! glad to hear it and congratulations.

view this post on Zulip Sean (Jul 08 2020 at 18:29):

Sadeep Darshana said:

image.png Name doesn't have to be unique?

"Note also that each name must be unique in the database, and for BRL-CAD
releases prior to 6.0, names are limited to 16 characters in length."

@Sadeep Darshana there is only one Skgrill1.s in the database, so that's fine. Objects can be used in boolean expressions repeatedly, though, even in the same combination. For example, 'objA' is "u objB - objC u objD - objC u objE - objC". Or you could have instances that are in different positions like a 'wheels' object that has 'u wheel.c u wheel.c u wheel.c u wheel.c' for the four wheels, each wheel having a different matrix.

view this post on Zulip Sadeep Darshana (Jul 08 2020 at 18:31):

yeah, I got it. The trick is to use the full path as Daniel said. The you get the one with transformations applied.

view this post on Zulip Sean (Jul 08 2020 at 18:35):

The full path is still not necessarily unique, as in my wheels object example.

view this post on Zulip Sean (Jul 08 2020 at 18:36):

/wheels/wheel.c
/wheels/wheel.c
/wheels/wheel.c
/wheels/wheel.c
(:

view this post on Zulip Sumagna Das (Jul 08 2020 at 19:27):

anyone here uses vim for regular use?

view this post on Zulip Sean (Jul 08 2020 at 19:27):

only when I have to myself, but I know several people do on the daily

view this post on Zulip Sumagna Das (Jul 08 2020 at 19:28):

my elder cousin does but i cannot contact him right now so i was asking

view this post on Zulip Sean (Jul 08 2020 at 19:29):

asking for any particular reason?

view this post on Zulip Sumagna Das (Jul 08 2020 at 19:29):

thinking about starting to use it for regular use

view this post on Zulip Sean (Jul 08 2020 at 19:29):

what do you use now?

view this post on Zulip Sumagna Das (Jul 08 2020 at 19:29):

alongside Atom

view this post on Zulip Sean (Jul 08 2020 at 19:31):

Well I learned from many wiser and older than I that your editing environment of choice shouldn't matter as much as your proficiency with it. That is to day, learn your tool and learn it well, whatever you choose.

view this post on Zulip Sean (Jul 08 2020 at 19:32):

I've seen people incredibly proficient with emacs, vim, msvc, atom, ... so long as you take the time to learn it properly, become proficient.

view this post on Zulip Sumagna Das (Jul 08 2020 at 19:33):

Sean said:

Well I learned from many wiser and older than I that your editing environment of choice shouldn't matter as much as your proficiency with it. That is to day, learn your tool and learn it well, whatever you choose.

That's true but Atom is very slow on this old laptop

view this post on Zulip starseeker (Jul 08 2020 at 19:47):

I'm a vim user, but I can't claim true proficiency

view this post on Zulip Sumagna Das (Jul 08 2020 at 19:48):

i was thinking about using it for speed on this slow laptop

view this post on Zulip starseeker (Jul 08 2020 at 19:49):

It should do well in that respect, but it definitely has a learning curve

view this post on Zulip Sumagna Das (Jul 08 2020 at 19:52):

i have much time due to this pandemic for learning new things

view this post on Zulip starseeker (Jul 08 2020 at 19:54):

http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html is one I used early on - may be a bit dated now.

view this post on Zulip Sumagna Das (Jul 08 2020 at 21:22):

umm is there any way for exporting objects from blender to BRL-CAD? i have a .blend file which i want to see how it looks in BRL-CAD

view this post on Zulip Sean (Jul 08 2020 at 21:25):

@Sumagna Das yes, you can go through any one of our importers. you may need to rotate it as I believe they use +Y for up, but the model is probably a polygonal mesh and should import as a BoT primitive

view this post on Zulip Sean (Jul 08 2020 at 21:26):

simple tutorial here: https://brlcad.org/wiki/Tutorial/Blender_to_CAD

view this post on Zulip Sumagna Das (Jul 08 2020 at 22:23):

Screenshot_20200708-151702.png

view this post on Zulip Sumagna Das (Jul 08 2020 at 22:24):

Can this tutorial help in importing something like this?

view this post on Zulip Sumagna Das (Jul 08 2020 at 22:24):

I mean the model in here

view this post on Zulip Thusal Ranawaka (Jul 09 2020 at 01:38):

Sean said:

simple tutorial here: https://brlcad.org/wiki/Tutorial/Blender_to_CAD

You have to export .blend file as a .obj file know?

view this post on Zulip Sean (Jul 09 2020 at 01:39):

What?

view this post on Zulip Thusal Ranawaka (Jul 09 2020 at 01:40):

Sean said:

What?

You can't import directly the .blend file to BRL-CAD or convert blend-g, know?

view this post on Zulip Thusal Ranawaka (Jul 09 2020 at 01:52):

Speaking of .obj files, @Sean you might remember, that I made the Lotus Tower of our country using BRL-CAD and I tried to convert geometry to object file using g-obj. I set the commands properly and it started to work, but it took a long time to export and after the process, I went to open the .obj file and it didn't open and it shows the file was '0 bytes'. What can be the problem? MGED-7.26.0-Graphics-Window-id_0-Upper-Right-6_23_2020-11_17_07-AM.png MGED-7.26.0-Graphics-Window-id_0-Upper-Right-6_23_2020-11_17_23-AM.png

view this post on Zulip Daniel Rossberg (Jul 09 2020 at 09:38):

Sumagna Das said:

anyone here uses vim for regular use?

Maybe not regular (any more), but often. It is my preferred editor at the command line. And, I wrote most of my thesis with it.

I have a server with an annoying slow graphic (but the speed of the web services is okay). I.e., I can understand your issue, and an editor for the command line could be a solution. To use the vi(m), you only need to know a few commands. However, there are a lot people who like Emacs. (I was never one of them.)

view this post on Zulip Thusal Ranawaka (Jul 09 2020 at 11:45):

Good Morning @Sean! :mountain_sunrise:

view this post on Zulip Sumagna Das (Jul 09 2020 at 16:16):

Daniel Rossberg said:

Sumagna Das said:

anyone here uses vim for regular use?

Maybe not regular (any more), but often. It is my preferred editor at the command line. And, I wrote most of my thesis with it.

I have a server with an annoying slow graphic (but the speed of the web services is okay). I.e., I can understand your issue, and an editor for the command line could be a solution. To use the vi(m), you only need to know a few commands. However, there are a lot people who like Emacs. (I was never one of them.)

many of the blogs i read about transforming vim by installing packages used neovim

view this post on Zulip Sean (Jul 09 2020 at 21:56):

Thusal Ranawaka said:

Speaking of .obj files, ...it took a long time to export and after the process, I went to open the .obj file and it didn't open and it shows the file was '0 bytes'. What can be the problem? ```
There's not enough information to say what went wrong, but the fact that the output file is zero bytes means it failed or stopped. That can happen for any number of reasons, but one of the more common ones is not having proper region definitions and/or having objects that are near tangent. There's no universal solution. It's a really complex problem that has to be examined bit by bit.

One thing you can try is to just output the tower one piece at a time, for example just the base, then just the needle without the petals, then just the petals, etc.

view this post on Zulip Thusal Ranawaka (Jul 12 2020 at 14:32):

Hi @Daniel Rossberg

view this post on Zulip Sumagna Das (Jul 13 2020 at 18:57):

hey @Sean, is there a problem with BRL-CAD's website right now?

view this post on Zulip Sumagna Das (Jul 13 2020 at 18:57):

its down

view this post on Zulip Sean (Jul 13 2020 at 18:58):

looking

view this post on Zulip Sean (Jul 13 2020 at 18:59):

fixed! thanks @Sumagna Das

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:00):

what happened?

view this post on Zulip Sean (Jul 13 2020 at 19:00):

looks like maybe one of the other admins was testing something and inadvertently shut down the web server, still looking

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:00):

oh ok

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:01):

Hi @Sean, Our School announced winner of BITS 2020 Intra School ICT Competition. https://acicts.github.io/BITS20/leaderboard.html

view this post on Zulip Sean (Jul 13 2020 at 19:01):

actually, no .. looks like apache crashed

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:01):

:joy:

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:01):

Sean said:

actually, no .. looks like apache crashed

ohh

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:02):

Thusal Ranawaka said:

Hi Sean, Our School announced winner of BITS 2020 Intra School ICT Competition. https://acicts.github.io/BITS20/leaderboard.html

nice

view this post on Zulip Sean (Jul 13 2020 at 19:02):

That's awesome, congratulations @Thusal Ranawaka !

view this post on Zulip Sean (Jul 13 2020 at 19:02):

how long was the competition?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:03):

Thanks. @Sean

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:03):

About a month.

view this post on Zulip Sean (Jul 13 2020 at 19:03):

do you know who set up the competition?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:03):

Yeah. The IT Society of our school. ;)

view this post on Zulip Sean (Jul 13 2020 at 19:04):

I've thought about trying to run something similar for the OpenCAx community, a modeling contest or bug fixing contest or similar.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:04):

oh. Really?

view this post on Zulip Sean (Jul 13 2020 at 19:05):

can I see your tasks? are there examples of them?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:06):

Yeah.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:06):

Like the lotus tower.

view this post on Zulip Sean (Jul 13 2020 at 19:06):

ah, cool!

view this post on Zulip Sean (Jul 13 2020 at 19:06):

I found the task listing

view this post on Zulip Sean (Jul 13 2020 at 19:07):

looks sort of like a version of GCI

view this post on Zulip Sean (Jul 13 2020 at 19:07):

except that they're really "big" tasks, some of them

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:07):

And a phone advert I created using Blender, https://youtu.be/01JFl4nfqas

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:08):

Sean said:

except that they're really "big" tasks, some of them

The ADVANCED Tasks.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:09):

All the videos on my YouTube Channel are related to contest.

view this post on Zulip Sean (Jul 13 2020 at 19:09):

Were there any prizes?

view this post on Zulip Sean (Jul 13 2020 at 19:09):

oh this is cool: https://drive.google.com/file/d/14Zk6zI5PoQvd5OTPYBzw1Jf15AcDDdzl/view

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:10):

I think they offer us a certificate and a medal at the prize giving.

view this post on Zulip Sean (Jul 13 2020 at 19:10):

I thought about doing that when things started

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:10):

Sean said:

oh this is cool: https://drive.google.com/file/d/14Zk6zI5PoQvd5OTPYBzw1Jf15AcDDdzl/view

I did it.

view this post on Zulip Sean (Jul 13 2020 at 19:10):

Lets see it

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:11):

Blender-6_24_2020-8_31_40-PM.png Blender-6_24_2020-8_31_49-PM.png

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:12):

It doesn't look like exactly the SARS CoV 2

view this post on Zulip Sean (Jul 13 2020 at 19:13):

Where's the model from?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:13):

Blender.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:13):

I created it.

view this post on Zulip Sean (Jul 13 2020 at 19:14):

you modeled it by hand??

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:14):

What do you mean?

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:14):

manual modeling or particles?

view this post on Zulip Sean (Jul 13 2020 at 19:15):

how did you create it?

view this post on Zulip Sean (Jul 13 2020 at 19:15):

is that a deformed sphere where you pulled up on the surface for molecules? or did you import something from another source? or ... ?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:15):

Manual.

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:15):

nice

view this post on Zulip Sean (Jul 13 2020 at 19:15):

how? what does that mean? :)

view this post on Zulip Sean (Jul 13 2020 at 19:15):

describe how you manually modeled it

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:16):

First you have to create a sphere.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:19):

Then there you can select the sphere and go to modeling tab and you can select one square or a triangle in that sphere and there is a setting that you implement called select random so you can select a number of triangles in the sphere.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:19):

Then you can extrude it

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:19):

Bevel it

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:19):

Shade Smooth

view this post on Zulip Sean (Jul 13 2020 at 19:20):

aha, excellent. that is helpful :)

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:20):

Apply materials

view this post on Zulip Sean (Jul 13 2020 at 19:20):

you did an excellent job, especially if this was one of your first attempts at Blender modeling. better than I would have probably done manually. :)

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:20):

nice

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:21):

And last my blog, https://www.blogger.com/profile/16971171491417692083

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:21):

All of the work done in a month.

view this post on Zulip Sean (Jul 13 2020 at 19:21):

Final rendering would have been nice -- did you try rendering it with cycles or luxrender or anything? some global illumination would have made that look awesome.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:21):

I didn't do any rendering of it

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:22):

At that time I was getting used to Blender

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:22):

i dont know much but you could've used the particle(hair) system for the randomized protein spikes(not an expert advice)

view this post on Zulip Sean (Jul 13 2020 at 19:22):

awww, I was hoping to hear you speak your name at the end of https://mybitsexp.blogspot.com/2020/07/intro-to-my-name.html .. haha that's great work.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:23):

I might try it later add some duplicates, lights, nice angle of the camera.

view this post on Zulip Sean (Jul 13 2020 at 19:23):

if you export that to obj or something, you can render in brl-cad pretty quickly with some simple global illumination

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:24):

Sean said:

awww, I was hoping to hear you speak your name at the end of https://mybitsexp.blogspot.com/2020/07/intro-to-my-name.html .. haha that's great work.

What the hell? How's that gone over there. :nerd:

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:24):

Ha Ha Ha

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:24):

Sean said:

if you export that to obj or something, you can render in brl-cad pretty quickly with some simple global illumination

hey Sean, is it possible to do rendering like this in brlcad?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:24):

Sean said:

if you export that to obj or something, you can render in brl-cad pretty quickly with some simple global illumination

Yes.

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:25):

render_realistic.png

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:25):

But I exported it earlier, it's obj file is 44.2MB.

view this post on Zulip Sean (Jul 13 2020 at 19:26):

if you export it as obj and import it with obj-g, draw it in mged, turn on Misc->Perspective, position it how you like, then you should be able to run something like this: rt -c"set ambSamples=128" -c"set ambSlow=1" -A1.5 -C123/234/255 -s1024

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:26):

me or thusal?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:26):

oh

view this post on Zulip Sean (Jul 13 2020 at 19:27):

that command should be interesting for both of you actually

view this post on Zulip Sean (Jul 13 2020 at 19:28):

but @Sumagna Das that donut you have has extra effects like texturing, maybe bump mapping -- brl-cad supports texturing and bump mapping but it requires some advanced rendering knowledge. I've been working on a tutorial, but it's not complete.

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:29):

oooh that will be nice to try out

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:29):

after blender i will try out brl cad's tutorial

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:32):

@Sean I have trouble using obj-g.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:32):

Can you tell me the command?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:32):

Mine is wrong

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:32):

it gives errors?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:33):

No. I think my command is wrong

view this post on Zulip Sean (Jul 13 2020 at 19:33):

you don't run obj-g inside mged

view this post on Zulip Sean (Jul 13 2020 at 19:33):

you run it outside on the command line

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:34):

Yeah

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:34):

I am on Command Prompt\

view this post on Zulip Sean (Jul 13 2020 at 19:34):

can you show a screenshot?

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:35):

image.png

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:36):

Sorry, I have to go to sleep. My parents are calling me.

view this post on Zulip Thusal Ranawaka (Jul 13 2020 at 19:36):

See you later.

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:36):

the command takes each space seperated word as arguments

view this post on Zulip Sean (Jul 13 2020 at 19:37):

Ah, I see. You've specified a couple arguments that don't make any sense

view this post on Zulip Sean (Jul 13 2020 at 19:37):

what are "SARS" and "cov" supposed to be as arguments?

view this post on Zulip Sean (Jul 13 2020 at 19:37):

er, "CoV"

view this post on Zulip Sean (Jul 13 2020 at 19:37):

the usage is typically just obj-g file.obj file.g

view this post on Zulip Sumagna Das (Jul 13 2020 at 19:37):

it might be the filename

view this post on Zulip Sean (Jul 13 2020 at 19:38):

aha! yes, I see now

view this post on Zulip Sean (Jul 13 2020 at 19:39):

so yeah, that's the problem. you can put the filename in quotes or use tab-completion and it'll escape it properly

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 01:38):

I'm back.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 01:39):

Good Morning All!

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 01:50):

Hey @Sean I turned obj-g, the first few seconds it went perfect, then suddenly it started to show nmg_class_pt_lu_except() ERROR errors, very fastly, about 10,000s of them.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 01:51):

It started to show so many errors I can't even see the command and the beginning part. :grinning:

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 01:52):

@Sean image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 01:55):

But it created the geometry, I can't send it to you because of the size 26.2MB.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 01:55):

I can't send more than 25MB files via Zulip.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 01:59):

The Wireframe, image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 02:22):

@Sean I tried to ray trace the geometry using commands, rt -c"set ambSamples=128" -c"set ambSlow=1" -A1.5 -C123/234/255 -s1024, but it got not responding.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 02:23):

I think due to the slow performance of my laptop. :thinking:

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 02:29):

image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 02:29):

@Sean It just stops like this.

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:02):

you also got the errors, didnt you?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:08):

Yes, But it created

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:10):

same for me
those errors were shown to me but the file was created

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:11):

Yep

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:11):

But it didn't render.

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:11):

right

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:12):

Thusal Ranawaka said:

image.png

It shows this,

view this post on Zulip Sean (Jul 14 2020 at 03:13):

hm, yeah, that's all quite interesting. The output from obj-g indicated the object you created has topological errors, but that won't stop it from bringing in the triangles

view this post on Zulip Sean (Jul 14 2020 at 03:13):

not entirely surprising given Blender is not a CAD modeler. it doesn't try to keep geometry in a valid state.

view this post on Zulip Sean (Jul 14 2020 at 03:14):

Thusal Ranawaka said:

Thusal Ranawaka said:

image.png

It shows this,

what is your screen resolution?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:16):

@Sean 1920 x 1080

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:16):

image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:17):

Sean said:

not entirely surprising given Blender is not a CAD modeler. it doesn't try to keep geometry in a valid state.

Hmm

view this post on Zulip Sean (Jul 14 2020 at 03:17):

Yeah, I had you render 1024x1024 to a window which probably should have been sent to a file instead.

view this post on Zulip Sean (Jul 14 2020 at 03:18):

try adding -o file.png to your rt command and maybe change ambSamples=32 instead of 128 so it'll finish faster.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:19):

Hmm

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:19):

Will try it a second.

view this post on Zulip Sean (Jul 14 2020 at 03:19):

Windows does not like it when applications use all of the CPU sometimes. It's usually still rendering just fine, but it might not display until you minimize/unminimize or might even lock up everything until it's done.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:19):

On an online class.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:20):

Sean said:

Windows does not like it when applications use all of the CPU sometimes. It's usually still rendering just fine, but it might not display until you minimize/unminimize or might even lock up everything until it's done.

Correct.

view this post on Zulip Sean (Jul 14 2020 at 03:27):

You can control this if it's too much for your system -- if your computer has 8 cores, you might want to specify -P7 so that it leaves a core for Windows to use.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:28):

Sean said:

You can control this if it's too much for your system -- if your computer has 8 cores, you might want to specify -P7 so that it leaves a core for Windows to use.

My PC have only 4 cores.

view this post on Zulip Sean (Jul 14 2020 at 03:28):

so maybe try -P3

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:28):

Hmm

view this post on Zulip Sean (Jul 14 2020 at 03:28):

it'll be 25% slower, but it shouldn't overwhelm your computer

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:29):

Okay.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:29):

Does the GPU applies when rendering in BRL-CAD?

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:30):

the processor being used at 100% cap doesnt make the ubuntu freeze until at the end of the render just when it froze tomorrow

view this post on Zulip Sean (Jul 14 2020 at 03:31):

it shouldn't be any problem for linux or mac. @Sumagna Das you saw something freeze??

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:31):

i am talking about blender BTW, not BRL-CAD

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:31):

it totally froze tomorrow

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:32):

BTW, BRL-CAD somewhat freezes my computer while rendering

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:33):

i have firefox, spotify and atom open always when i start the computer

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:33):

Sumagna Das said:

it totally froze tomorrow

What? Tomorrow? Did you went to future?

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:33):

sorry my bad

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:33):

Sumagna Das said:

i have firefox, spotify and atom open always when i start the computer

Spotify is a big killer.

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:33):

it should be yesterday

view this post on Zulip Sean (Jul 14 2020 at 03:33):

Thusal Ranawaka said:

Does the GPU applies when rendering in BRL-CAD?

That is what @Rishabh Suthar is working on now. Have you seen his work? It's pretty great. We're using the GPU via OpenCL, which he's working on expanding to more object types. Once we get them all, we can work on validation and merging into our main releases.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:34):

Great.

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:34):

that means it currently uses cpu only?

view this post on Zulip Sean (Jul 14 2020 at 03:34):

Sumagna Das said:

it totally froze tomorrow

I think you maybe mean "yesterday" ... tomorrow is the next day, not the previous

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:35):

i was talking to someone in front of me about tomorrow

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:35):

Thusal Ranawaka said:

Sumagna Das said:

it totally froze tomorrow

What? Tomorrow? Did you went to future?

That's why I asked. ;)

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:35):

so i accidentally wrote "tomorrow"

view this post on Zulip Sean (Jul 14 2020 at 03:35):

heh

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:37):

it uses only cpu or some other resource with it?

view this post on Zulip Sean (Jul 14 2020 at 03:38):

what do you mean?

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:38):

like ram or something like that?

view this post on Zulip Sean (Jul 14 2020 at 03:39):

are you asking about rt?

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:39):

yea

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:39):

Started the rendering, image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:43):

But I cannot find the png.

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:46):

what should be up? Y axis or something else when importing from blender?

view this post on Zulip Sean (Jul 14 2020 at 03:47):

rt is one of the oldest multithreaded renderers (1984) so it is highly optimized to utilize all available cores. it's so efficient that this can stall out other applications and the operating system itself. rt can be compiled to use the simd unit, but usually isn't (the benefit is presently small). it can also be compiled to use the gpu, but not by default -- that's active development.

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:47):

Screenshot-from-2020-07-14-09-17-31.png
these are the settings

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:48):

Sean said:

rt is one of the oldest multithreaded renderers (1984) so it is highly optimized to utilize all available cores. it's so efficient that this can stall out other applications and the operating system itself. rt can be compiled to use the simd unit, but usually isn't (the benefit is presently small). it can also be compiled to use the gpu, but not by default -- that's active development.

ooh

view this post on Zulip Sean (Jul 14 2020 at 03:48):

Sumagna Das said:

what should be up? Y axis or something else when importing from blender?

BRL-CAD (and nearly all CAD) use +Z for up. Blender (and most film modelers) use +Y for up.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:48):

Sean said:

Sumagna Das said:

what should be up? Y axis or something else when importing from blender?

BRL-CAD (and nearly all CAD) use +Z for up. Blender (and most film modelers) use +Y for up.

No. In Blender 'Z' is up.

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:48):

and the other settings which are shown in the screenshot?

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:49):

Thusal Ranawaka said:

Sean said:

Sumagna Das said:

what should be up? Y axis or something else when importing from blender?

BRL-CAD (and nearly all CAD) use +Z for up. Blender (and most film modelers) use +Y for up.

No. In Blender 'Z' is up.

it shows like that

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:49):

see the above screenshot as to which axis is denoted as up

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:49):

I see

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:50):

in the transform menu

view this post on Zulip Sean (Jul 14 2020 at 03:50):

that's because film focus is on the screen / view with the XY plane being the screen and Z being depth into the scene. with CAD focus is on the model / world with the XY plane being the ground and Z being elevation or height in the world.

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:50):

hmmm

view this post on Zulip Sean (Jul 14 2020 at 03:50):

@Thusal Ranawaka run "pwd" -- that's where it put it

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:51):

should i check the box saying triangulate all faces?

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:51):

and curves as nurbs?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:51):

Yeah. But there isn't

view this post on Zulip Sean (Jul 14 2020 at 03:53):

Thusal Ranawaka said:

No. In Blender 'Z' is up.

Huh, I guess I assumed they had Y up because that's -- I think -- what at least some of their exporters write out. They must rotate or have an option.

view this post on Zulip Sean (Jul 14 2020 at 03:54):

Sumagna Das said:

see the above screenshot as to which axis is denoted as up

Did you set Y up or was that default or ??

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:54):

See the ray traced .png, COVID.png

view this post on Zulip Sumagna Das (Jul 14 2020 at 03:54):

default

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:55):

It took more than 10 minutes to ray trace.

view this post on Zulip Sean (Jul 14 2020 at 03:57):

@Thusal Ranawaka that's some really slow performance for a model that small... :smile:

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:59):

Hmm

view this post on Zulip Sean (Jul 14 2020 at 03:59):

it's gritty because of the low ambSamples. Increasing it will improve the quality, but will take a lot more time. linearly more.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 03:59):

No, I was on a online class at that time.

view this post on Zulip Sean (Jul 14 2020 at 04:01):

ambSamples=128 is nice, ambSamples=255 would be even better, but at the rate it's going that'd probably take about 2 hours I think. it's also a little washed out, so you'd probably want to reduce the -A value a little bit.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:01):

can anyone give me the command used to render?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:03):

i checked the box that said triangulate faces

view this post on Zulip Sean (Jul 14 2020 at 04:03):

it depends on the model, but something like rt -o file.png -A1.4 -c"set ambSamples=200 ambSlow=1" -s1024

helps to turn on perspective and set up a proper camera position, but that's a bit advanced.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:03):

and it didnt give any error

view this post on Zulip Sean (Jul 14 2020 at 04:04):

what is "it"?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:04):

the obj-g converter

view this post on Zulip Sean (Jul 14 2020 at 04:05):

then what box are you referring to? obj-g is a command-line application. no boxes to check.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:05):

in the blender exporter

view this post on Zulip Sean (Jul 14 2020 at 04:05):

ahh, helps to have all the information :)

view this post on Zulip Sean (Jul 14 2020 at 04:06):

so what's the problem, did you open the model in mged? did you draw the object?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:06):

triangulate faces option removed all the errors which thusal and i had

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:06):

yea

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:06):

it has all the objects i need

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:06):

Sean said:

ambSamples=128 is nice, ambSamples=255 would be even better, but at the rate it's going that'd probably take about 2 hours I think. it's also a little washed out, so you'd probably want to reduce the -A value a little bit.

Yes. If I have a super computer.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:07):

and all the objects i made

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:07):

image.png

view this post on Zulip Sean (Jul 14 2020 at 04:07):

Thusal Ranawaka said:

Yes. If I have a super computer.

I've created some images using hundreds of cores across multiple days. just to get one image.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:07):

no errors

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:08):

I saw Trump wearing a mask for the first time. What a person. :rolling_on_the_floor_laughing:

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:08):

Sean said:

Thusal Ranawaka said:

Yes. If I have a super computer.
````
I've created some images using hundreds of cores across multiple days.  just to get one image.
`````
Will try it.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:09):

the raytrace was aborted

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:09):

When I set ambSamples=128, it freezes my laptop.

view this post on Zulip Sean (Jul 14 2020 at 04:09):

Thusal Ranawaka said:

When I set ambSamples=128, it freezes my laptop.

Did you set -P3 again?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:09):

No

view this post on Zulip Sean (Jul 14 2020 at 04:10):

Sumagna Das said:

the raytrace was aborted

Need more info/output. There's nothing to help or diagnose.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:10):

using the rt command u provided

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:10):

(deleted)

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:10):

this is what it says

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:11):

image.png

view this post on Zulip Sean (Jul 14 2020 at 04:11):

@Sumagna Das try putting a space after -c

view this post on Zulip Sean (Jul 14 2020 at 04:12):

windows and linux annoyingly parse differently (feel free to fix this!)

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:12):

doing its job, i think, now

view this post on Zulip Sean (Jul 14 2020 at 04:14):

when you do ambient occlusion rendering, you should usually start with a small ambSamples value to make sure the -A value is okay. if it's too dark, you increase -A; if it's too light, you decrease -A. THEN you increase ambSamples to a higher number like 200 to smooth out the noise.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:16):

Trying ambSapmles=128

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:16):

Will take a long time

view this post on Zulip Sean (Jul 14 2020 at 04:16):

if it's linear, it should be about 40 minutes

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:17):

image.png

view this post on Zulip Sean (Jul 14 2020 at 04:17):

10 min for 32, 20 for 64, 40 for 128. roughly.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:17):

Look at my task manager.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:17):

how much time will it take for 128 on 4 processors?

view this post on Zulip Sean (Jul 14 2020 at 04:17):

that's with or without -P3 thusal?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:18):

Sean said:

it depends on the model, but something like rt -o file.png -A1.4 -c"set ambSamples=200 ambSlow=1" -s1024

helps to turn on perspective and set up a proper camera position, but that's a bit advanced.

how much time will it take for this command?

view this post on Zulip Sean (Jul 14 2020 at 04:18):

Sumagna Das said:

how much time will it take for 128 on 4 processors?

rendering is specific to model, resolution, and all the options specified... so whatever it is for thusal won't apply to your donut, even with the same options, because the model is different.

view this post on Zulip Sean (Jul 14 2020 at 04:19):

no idea, that's why I said you should start small. You can baseline performance by just running "rt" without any options. that will tell you how many rays/sec.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:19):

render.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:20):

Sean said:

that's with or without -P3 thusal?

@Sean With P3

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:20):

this is the render from blender

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:20):

i am trying to render these models in brl cad

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:23):

Screenshot-from-2020-07-14-09-51-49.png
these are the models in brl cad

view this post on Zulip Sean (Jul 14 2020 at 04:23):

doing the glass cup and saucer are easy -- you just have to make them glass. the donut is not going to look like that without a lot of material/texture setup, which doesn't come in obj import.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:24):

mtl?

view this post on Zulip Sean (Jul 14 2020 at 04:25):

code is in src/libgcv/plugins/obj if you want to implement mtl import support

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:26):

it exported an mtl file along with it

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:26):

ooh

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:29):

Look at my task manager now, image.png

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:30):

yours is 91?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:30):

Yes. 92%

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:30):

Yours?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:31):

image.png

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:31):

highest i think

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:31):

only 52

view this post on Zulip Sean (Jul 14 2020 at 04:31):

what was your entire rt command?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:32):

me?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:32):

yea

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:32):

rt -o file.png -c"set ambSamples=128" -c"set ambSlow=1" -A1.5 -C123/234/255 -s1024 -P3

view this post on Zulip Sean (Jul 14 2020 at 04:32):

actually, I meant both of you

view this post on Zulip Sean (Jul 14 2020 at 04:33):

@Thusal Ranawaka so you didn't lower the ambient?

view this post on Zulip Sean (Jul 14 2020 at 04:33):

the -A value

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:33):

i used the one u provided

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:33):

image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:33):

Sean said:

the -A value

Nah.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:33):

Sean said:

it depends on the model, but something like rt -o file.png -A1.4 -c"set ambSamples=200 ambSlow=1" -s1024

helps to turn on perspective and set up a proper camera position, but that's a bit advanced.

this one

view this post on Zulip Sean (Jul 14 2020 at 04:34):

so... then you didn't turn on perspective and set up the camera?

view this post on Zulip Sean (Jul 14 2020 at 04:34):

it makes a big difference :)

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:34):

i did it

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:34):

why is my render giving overlaps?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:35):

i set up the camera

view this post on Zulip Sean (Jul 14 2020 at 04:35):

because the model has errors, rt reports them

view this post on Zulip Sean (Jul 14 2020 at 04:35):

@Sumagna Das that's probably why you're at 50%... all the error printing

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:35):

ohh

view this post on Zulip Sean (Jul 14 2020 at 04:35):

you can suppress it with the -R option

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:35):

the other 40 % is taken by zoom

view this post on Zulip Sean (Jul 14 2020 at 04:36):

are the messages streaming by fast?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:36):

and other apps

view this post on Zulip Sean (Jul 14 2020 at 04:36):

Sumagna Das said:

the other 40 % is taken by zoom

ehhh... no way

view this post on Zulip Sean (Jul 14 2020 at 04:36):

check 'top' instead of that monitor app

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:37):

zoom hogs up resources very much

view this post on Zulip Sean (Jul 14 2020 at 04:37):

hogging resources != sustained cpu utilization

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:38):

Sean said:

so... then you didn't turn on perspective and set up the camera?

i just wanted to see if it renders or not

view this post on Zulip Sean (Jul 14 2020 at 04:38):

that's not what you asked it to do

view this post on Zulip Sean (Jul 14 2020 at 04:38):

you asked for a very expensive ambient occlusion rendering

view this post on Zulip Sean (Jul 14 2020 at 04:38):

that's not checking to see if it renders.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:39):

:speechless:

view this post on Zulip Sean (Jul 14 2020 at 04:39):

are messages streaming fast in mged?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:39):

ohh shift, here we go again

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:40):

somewhat

view this post on Zulip Sean (Jul 14 2020 at 04:40):

if it's not too fast, you can send a kill -HUP to the rt process and it will report its progress

view this post on Zulip Sean (Jul 14 2020 at 04:41):

er, not HUP, USR1

view this post on Zulip Sean (Jul 14 2020 at 04:41):

killall -USR1 rt

view this post on Zulip Sean (Jul 14 2020 at 04:41):

should print something like "Pixel (123,32)"

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:42):

Does BRL-CAD still used by the US Army Research Labrotary?

view this post on Zulip Sean (Jul 14 2020 at 04:42):

yes

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:42):

Hmm

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:43):

my net was gone for a minute

view this post on Zulip Sean (Jul 14 2020 at 04:43):

@Sumagna Das did you see my questions?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:43):

Sean said:

killall -USR1 rt

in brl cad or terminal?

view this post on Zulip Sean (Jul 14 2020 at 04:44):

terminal

view this post on Zulip Sean (Jul 14 2020 at 04:44):

signals are a posix/unix thing...

view this post on Zulip Sean (Jul 14 2020 at 04:44):

the output should be in the mged window though

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:45):

Is Maya a CAD modeller?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:45):

frame 0, xy=621, 441 on cpu 3, samp=0

view this post on Zulip Sean (Jul 14 2020 at 04:46):

@Thusal Ranawaka most definitely NOT.. it's the quintessential example of a content modeler

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:46):

it went up to 95% cpu usage

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:47):

oh

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:47):

Changed the profile pic. ;)

view this post on Zulip Sean (Jul 14 2020 at 04:48):

maya, softimage, blender, 3dsmax, ... all content modelers
examples of CAD would be Creo, NX, SpaceClaim, CATIA, Solidworks, AutoCAD

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:48):

it was noticeable as it went from white to black

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:48):

none of them are free

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:49):

Sean said:

maya, softimage, blender, 3dsmax, ... all content modelers
examples of CAD would be Creo, NX, SpaceClaim, CATIA, Solidworks, AutoCAD

my sister uses autocad and solidworks and told me to learn them so that i can help her in her assignments

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:49):

What is your sister's field?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:49):

architecture or more specifically B. Arch

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:50):

Really? My mom is an architect.

view this post on Zulip Sean (Jul 14 2020 at 04:50):

@Sumagna Das if it's not near 100% cpu, then it's not right. but don't believe system monitor. it's a terrible estimator that looks at timeslices. look at something like 'top' instead...

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:50):

nice

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:51):

cpu is 100% but rt is using 95%

view this post on Zulip Sean (Jul 14 2020 at 04:51):

how many cores do you have sumagna?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:51):

4

view this post on Zulip Sean (Jul 14 2020 at 04:51):

then check top...
what does it show?

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:52):

rt uses 380% of cpu

view this post on Zulip Sean (Jul 14 2020 at 04:54):

now that's better, more informative. it should be nearly four hundred% on a 4-core cpu. That percentage missing is likely from not using -R. every time it has to print a message, the kernel is interrupted.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:54):

ohh

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:55):

Sean said:

now that's better, more informative. it should be nearly four hundred% on a 4-core cpu. That percentage missing is likely from not using -R. every time it has to print a message, the kernel is interrupted.

Can I check that too?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:55):

I am on Windows.

view this post on Zulip Sean (Jul 14 2020 at 04:55):

not on windows

view this post on Zulip Sean (Jul 14 2020 at 04:55):

windows processes are handled completely differently from linux

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:55):

:frown:

view this post on Zulip Sean (Jul 14 2020 at 04:55):

the kernel is completely different

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:56):

btw how to check if its nearly complete or not?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:56):

Why there are more rendering issues in Windows than Mac and Linux?

view this post on Zulip Sean (Jul 14 2020 at 04:56):

windows is TERRIBLE at efficient multithreading. that's why it's choking if we try to use all your cores.

view this post on Zulip Sean (Jul 14 2020 at 04:56):

it's always been terrible.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:56):

The world's most using OS.

view this post on Zulip Sean (Jul 14 2020 at 04:56):

amazing isn't it.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:56):

thats why i switched from windows to ubuntu

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:57):

not entirely because i play all the games on windows

view this post on Zulip Sean (Jul 14 2020 at 04:58):

technically, I think Android now owns the title of most-used OS if you count all device types and versions

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:58):

I am still working on the dual boot.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:58):

Sean said:

technically, I think Android now owns the title of most-used OS if you count all device types and versions

yeah. Phones?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:59):

I tried dual boot on my little bro's PC, ended up washing his entire Local Disk D.

view this post on Zulip Sumagna Das (Jul 14 2020 at 04:59):

sorry gotta go

view this post on Zulip Sean (Jul 14 2020 at 04:59):

phones, tablets yes.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:59):

Luckily, There was no harm to Windows

view this post on Zulip Sean (Jul 14 2020 at 04:59):

@Sumagna Das if you had more time, I would show you how to cancel the build, turn on an optimization, and re-run in a way so you know how long it'll take

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 04:59):

I think it's a very late night for you, Sean.

view this post on Zulip Sean (Jul 14 2020 at 05:00):

not yet

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:00):

It's now 1.00 AM????

view this post on Zulip Sean (Jul 14 2020 at 05:00):

@Thusal Ranawaka since you have a polygonal model, there is an option you can enable that should make it render faster, if you want to test it.

view this post on Zulip Sean (Jul 14 2020 at 05:00):

yeah?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:01):

Yes. Sure

view this post on Zulip Sean (Jul 14 2020 at 05:01):

is your render done?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:01):

Nah

view this post on Zulip Sean (Jul 14 2020 at 05:01):

how long ago was it started?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:01):

About 20-30 minutes ago. I think.

view this post on Zulip Sean (Jul 14 2020 at 05:02):

so probably close to done. we can test while it's still rendering.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:02):

Okay.

view this post on Zulip Sean (Jul 14 2020 at 05:03):

try just this: rt -R -P1 -s128

view this post on Zulip Sean (Jul 14 2020 at 05:03):

and tell me the RTFM line at the end

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:03):

On MGED?

view this post on Zulip Sean (Jul 14 2020 at 05:04):

yes

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:05):

Frame 0: 16384 rays in 1.18 sec = 13920.14 rays/sec (RTFM)

view this post on Zulip Sean (Jul 14 2020 at 05:05):

yikes... that's slow

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:05):

image.png

view this post on Zulip Sean (Jul 14 2020 at 05:06):

you can close that window

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:06):

Sean said:

yikes... that's slow

:worried:

view this post on Zulip Sean (Jul 14 2020 at 05:06):

oh right, I forgot it's just 1 core

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:06):

Sean said:

you can close that window

It's automatically closing.

view this post on Zulip Sean (Jul 14 2020 at 05:06):

it's not automatic. you clicked in it.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:06):

Yes

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:07):

I click it. Then it closed.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:07):

So, the conclusion?

view this post on Zulip Sean (Jul 14 2020 at 05:07):

you clicked IN it ... that behavior is set to close on right click in the window. if you click the title bar, you can move the window.

view this post on Zulip Sean (Jul 14 2020 at 05:08):

and it won't close.

view this post on Zulip Sean (Jul 14 2020 at 05:08):

if you right click, it'll tell you the pixel value

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:08):

I clicked on the title bar.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:08):

So, the test shows my PC is slow?

view this post on Zulip Sean (Jul 14 2020 at 05:08):

so, conclusion is 14k rays per second per core

view this post on Zulip Sean (Jul 14 2020 at 05:09):

you're going to have to show me that window closing in a video, because that's not expected behavior if you didn't accidentally click somewhere else.

view this post on Zulip Sean (Jul 14 2020 at 05:09):

anyways, back to the performance point

view this post on Zulip Sean (Jul 14 2020 at 05:10):

14k times 4 is 56k rays/sec ... and yes, that's rather incredibly slow for a model that simple.
let's see if we can speed it up.

view this post on Zulip Sean (Jul 14 2020 at 05:12):

next run:
set env(LIBRT_BOT_MINTIE) 1
and then re-run: rt -R -P1 -s128

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:13):

Sean said:

you're going to have to show me that window closing in a video, because that's not expected behavior if you didn't accidentally click somewhere else.

I tried. You are correct.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:13):

oh, The render is complete.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:14):

file.png

view this post on Zulip Sean (Jul 14 2020 at 05:15):

nice!

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:15):

I did the second test.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:16):

Frame 0: 16384 rays in 0.12 sec = 137680.67 rays/sec (RTFM)

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:16):

image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:17):

image.png

view this post on Zulip Sean (Jul 14 2020 at 05:17):

well that's a lot better

view this post on Zulip Sean (Jul 14 2020 at 05:18):

you see the difference?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:18):

Hmm

view this post on Zulip Sean (Jul 14 2020 at 05:18):

it went up from 14 k rays/sec to 138 k rays/sec

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:18):

Soooo

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:18):

It reduced.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:19):

Means?

view this post on Zulip Sean (Jul 14 2020 at 05:20):

so we can do the math. a 1024x1024 image is 1048576 pixels. you requested 128 ambient occlusion rays with is a multiplier. that means it's approximately going to shoot 134M rays.

at 14k rays/sec, times 3 cores, that's approx 53min.
at 138k rays/sec, times 3 cores, that same image should take about 5min

view this post on Zulip Sean (Jul 14 2020 at 05:20):

er scratch that there, fixed the numbers

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:21):

WoW

view this post on Zulip Sean (Jul 14 2020 at 05:22):

can test that theory, now that it's done .. the env setting that made it faster will stay on until you quit mged or set it to 0

view this post on Zulip Sean (Jul 14 2020 at 05:23):

I suggest rotating it to a more interesting view, and zooming it in a bit

view this post on Zulip Sean (Jul 14 2020 at 05:23):

is there a rotation that's not got the proteins touching so much?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:23):

Umm.......

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:27):

I can't rotate it. My system is not responding.

view this post on Zulip Sean (Jul 14 2020 at 05:28):

perspective may be confusing you. the controls are quite different when it's turned on. try turning perspective off, then rotate (assuming it responds)

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:29):

To rotate it you have to select the object know?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:29):

Using primitive selection?

view this post on Zulip Sean (Jul 14 2020 at 05:32):

no....

view this post on Zulip Sean (Jul 14 2020 at 05:32):

you just rotate the view with the mouse. primitive selection will rotate the object. You don't want to do that!

view this post on Zulip Sean (Jul 14 2020 at 05:33):

usually ctrl+rightmousedrag

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:33):

I figured it out.

view this post on Zulip Sean (Jul 14 2020 at 05:34):

shift is translate, ctrl is rotate, shift+ctrl is zoom

view this post on Zulip Sean (Jul 14 2020 at 05:34):

right/left clicking is zoom in/out

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:35):

image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:35):

Is this good or have to scale it more?

view this post on Zulip Sean (Jul 14 2020 at 05:35):

do a quick "rt"

view this post on Zulip Sean (Jul 14 2020 at 05:35):

scale looks okay, that's hard to set until you turn perspective back on

view this post on Zulip Sean (Jul 14 2020 at 05:35):

get the rotation first

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:36):

image.png

view this post on Zulip Sean (Jul 14 2020 at 05:36):

yeah, that's no good

view this post on Zulip Sean (Jul 14 2020 at 05:36):

did you try shaded mode?

view this post on Zulip Sean (Jul 14 2020 at 05:36):

do you know how?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:36):

No

view this post on Zulip Sean (Jul 14 2020 at 05:37):

turn on Misc->Lighting

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:37):

I turn it on

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:38):

But now I can't do the rt.

view this post on Zulip Sean (Jul 14 2020 at 05:38):

okay, then run Z to clear the view

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:38):

Okay

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:38):

I did

view this post on Zulip Sean (Jul 14 2020 at 05:38):

then re-draw with "draw -m2 yourobj"

view this post on Zulip Sean (Jul 14 2020 at 05:39):

is it shaded?

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:39):

back

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:39):

WooooooooooooooooooooooooWW, image.png

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:39):

you were saying something about faster rendering to me

view this post on Zulip Sean (Jul 14 2020 at 05:40):

@Thusal Ranawaka great, now you can spin it to a view that looks more interesting and even, less touching, and no big empty gaps

view this post on Zulip Sean (Jul 14 2020 at 05:41):

@Sumagna Das yeah, so you have something up?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:42):

How about this, image.png

view this post on Zulip Sean (Jul 14 2020 at 05:42):

definitely better

view this post on Zulip Sean (Jul 14 2020 at 05:42):

what do you think?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:43):

Sean said:

turn on Misc->Lighting

WOW, I didn't know those options. Back in GCi days, these would be really helpful.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:43):

Sean said:

what do you think?

Cool.

view this post on Zulip Sean (Jul 14 2020 at 05:43):

@Thusal Ranawaka you could work on making lighting-on be the default in the code....

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:43):

Oh.

view this post on Zulip Sean (Jul 14 2020 at 05:43):

:smile:

view this post on Zulip Sean (Jul 14 2020 at 05:44):

it's only going to do that for polygonal and nurbs models

view this post on Zulip Sean (Jul 14 2020 at 05:44):

it still won't for the basic shapes like a sphere and torus unless you use different commands

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:45):

Hmm

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:45):

rt view, image.png

view this post on Zulip Sean (Jul 14 2020 at 05:46):

zoom 1.8

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:47):

Now, image.png

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:48):

my rendering is still freaking going on

view this post on Zulip Sean (Jul 14 2020 at 05:48):

what' it look like with perspective on?

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:48):

so any way i can cancel it

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:48):

?

view this post on Zulip Sean (Jul 14 2020 at 05:48):

@Sumagna Das run killall again to see where it's at?

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:49):

frame 0, xy=525, 472 on cpu 2, samp=0

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:49):

@Sean It turned into a weird shape, image.png

view this post on Zulip Sean (Jul 14 2020 at 05:49):

what was the first time?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:50):

And rt isn't working again.

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:50):

Sumagna Das said:

frame 0, xy=621, 441 on cpu 3, samp=0

first time

view this post on Zulip Sean (Jul 14 2020 at 05:50):

Thusal Ranawaka said:

Sean It turned into a weird shape, image.png

it didnt' change shape. you changed to a different type of camera.

view this post on Zulip Sean (Jul 14 2020 at 05:51):

what rt did you run?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:51):

Just rt

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:51):

so what should i do to cancel?

view this post on Zulip Sean (Jul 14 2020 at 05:52):

@Sumagna Das hah, okay, so it's gone from line 441 to line 472 (of 1024)

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:52):

:speechless:

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:52):

thats still a long way to go

view this post on Zulip Sean (Jul 14 2020 at 05:52):

you can run "rtabort" to cancel

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:53):

:relieved:

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:53):

Started rendering

view this post on Zulip Sean (Jul 14 2020 at 05:54):

so now lets see how long it was going to take, run this @Sumagna Das : rt -R -P1 -s128
and let me know what the RTFM line says

view this post on Zulip Sumagna Das (Jul 14 2020 at 05:54):

now what?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:54):

Using command, rt -o file1.png -c"set ambSamples=128" -c"set ambSlow=1" -A1.5 -C123/234/255 -s1024 -P3

view this post on Zulip Sean (Jul 14 2020 at 05:54):

@Thusal Ranawaka wait... you should preview it first...

view this post on Zulip Sean (Jul 14 2020 at 05:54):

and lower to -A1.3

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:55):

Ok

view this post on Zulip Sean (Jul 14 2020 at 05:55):

make sure the png file isn't the same

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:55):

That's why I enter '1' after 'file'

view this post on Zulip Sean (Jul 14 2020 at 05:55):

have to use a new name each time (or delete -o file beforehand

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:55):

I aborted it

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:56):

So, Should I set -A1.5 to -A1.3 and start the rendering?

view this post on Zulip Sean (Jul 14 2020 at 05:56):

@Thusal Ranawaka try with ambSamples=2 first without -o file1.png, and maybe -s256 just to get a quick idea

view this post on Zulip Sean (Jul 14 2020 at 05:58):

and for the background, maybe try -C150/200/255 instead

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 05:59):

Sean said:

Thusal Ranawaka try with ambSamples=2 first without -o file1.png, and maybe -s256 just to get a quick idea

You mean set -c ambSamples=128 to ambSamples=2 and -s 1024 to -s 256?

view this post on Zulip Sean (Jul 14 2020 at 06:00):

yeah

view this post on Zulip Sean (Jul 14 2020 at 06:01):

you just want to get a quick idea what the final render will look like, before you do the expensive ones

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:02):

image.png

view this post on Zulip Sean (Jul 14 2020 at 06:03):

would be interesting to see -C5/37/23 to compare with that blue

view this post on Zulip Sean (Jul 14 2020 at 06:03):

what do you think about that?

view this post on Zulip Sean (Jul 14 2020 at 06:03):

it's rather close tot he camera, so there is some lens distortion

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:04):

image.png

view this post on Zulip Sean (Jul 14 2020 at 06:04):

yeah, I think the blue is better

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:04):

But what happened to virus

view this post on Zulip Sean (Jul 14 2020 at 06:05):

green could work, but you'd probably want to set a color on the virus too

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:05):

The weird shape

view this post on Zulip Sean (Jul 14 2020 at 06:05):

that's the camera lens, it's like a fisheye

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:05):

Oh. :grinning:

view this post on Zulip Sean (Jul 14 2020 at 06:05):

try: set perspective 60

view this post on Zulip Sean (Jul 14 2020 at 06:05):

you may need to zoom out some

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:06):

did it

view this post on Zulip Sean (Jul 14 2020 at 06:06):

how's it look?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:06):

image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:06):

A little better.

view this post on Zulip Sean (Jul 14 2020 at 06:09):

you like the green more?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:09):

What do you think about teal, image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:10):

image.png

view this post on Zulip Sean (Jul 14 2020 at 06:10):

it's not easy to explain how to move the camera, so the best bet will be to zoom it out more (so it only fills half the window or less, and then render 2x

view this post on Zulip Sean (Jul 14 2020 at 06:11):

you pick whatever color you like best

view this post on Zulip Sean (Jul 14 2020 at 06:12):

zoom it out some (smaller)

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:14):

image.png

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:17):

What do you think?

view this post on Zulip Sean (Jul 14 2020 at 06:18):

Looks pretty nice to me

view this post on Zulip Sean (Jul 14 2020 at 06:19):

so now you can crank up the settings, try 250 ambSamples

view this post on Zulip Sean (Jul 14 2020 at 06:19):

include -R

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:21):

image.png

view this post on Zulip Sean (Jul 14 2020 at 06:21):

rt -o file1.png -c.... -c.... -C... -R -A1.3 -s1500 -P3

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:21):

Okay

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:22):

On it.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:22):

Started Rendering.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:30):

@Sean The ray-traced image, COVID2.png

view this post on Zulip Sean (Jul 14 2020 at 06:34):

hah, now that was a bit faster wasn't it? :smile:

view this post on Zulip Sean (Jul 14 2020 at 06:35):

can really see the tessellation though
try this:

view this post on Zulip Sean (Jul 14 2020 at 06:36):

what's the name of your object?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:36):

Yes

view this post on Zulip Sean (Jul 14 2020 at 06:36):

what does "who" report?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:36):

default.1.4.b.c.s

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:37):

Sean said:

what does "who" report?

What?

view this post on Zulip Sean (Jul 14 2020 at 06:38):

okay, so this:
bot_smooth covid.bot default.1.4.b.c.s
draw covid.bot
erase default.1.4.b.c.s
rt ....same rt as before ....

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:41):

Sorry, the system got stucked and mged closed

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:41):

I will reopen it

view this post on Zulip Sean (Jul 14 2020 at 06:42):

oof
we should have saved the view

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:42):

Hmm

view this post on Zulip Sean (Jul 14 2020 at 06:42):

next time, once you get the view orientation, zoom, etc how you like it, you can run the "saveview" command to save it to a file. you can later reload that view with the "loadview" command.

view this post on Zulip Sumagna Das (Jul 14 2020 at 06:45):

hey

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:52):

@Sean As soon as I type, bot_smooth covid.bot default.1.4.b.c.s on MGED. The Command Window freeze image.png

view this post on Zulip Sean (Jul 14 2020 at 06:52):

it might take a little while

view this post on Zulip Sean (Jul 14 2020 at 06:53):

you remember to set LIBRT_BOT_MINTIE again?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 06:54):

No

view this post on Zulip Sean (Jul 14 2020 at 06:55):

set env(LIBRT_BOT_MINTIE) 1

view this post on Zulip Sean (Jul 14 2020 at 06:55):

whenever it responds

view this post on Zulip Sean (Jul 14 2020 at 07:05):

alright, catch up with you later!

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 07:05):

Are you going to sleep?

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 07:06):

Good Night! :goodnight:

view this post on Zulip Sean (Jul 14 2020 at 07:06):

maybe, I have some other stuff to take care of first

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 07:06):

Thanks for help.

view this post on Zulip Thusal Ranawaka (Jul 14 2020 at 12:59):

Hey @Sean

view this post on Zulip Sumagna Das (Jul 14 2020 at 13:38):

(deleted)

view this post on Zulip Sumagna Das (Jul 14 2020 at 13:38):

(deleted)

view this post on Zulip Sean (Jul 14 2020 at 18:34):

hey @Thusal Ranawaka

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:20):

Hi, @Sean Today, I checked my laptop's system information and there are only 2 cores in my laptop, but I thought it was 4. :sad:

view this post on Zulip Sean (Jul 15 2020 at 16:21):

@Thusal Ranawaka they're probably hyperthreaded cores, which means the operating system pretends those 2 are 4

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:22):

oh. I see.

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:22):

image.png

view this post on Zulip Sean (Jul 15 2020 at 16:22):

right, that's what you have -- that's the difference between cores and "logical processors"

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:23):

Dunno.

view this post on Zulip Sean (Jul 15 2020 at 16:23):

so for software purposes, you can just think of it as 4 cores, but it also means that something using 2 cores is not going to be half as fast as an app using 4 cores

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:24):

Hmm.

view this post on Zulip Sean (Jul 15 2020 at 16:25):

hyperthreading lets the cpu "sometimes" schedule 4 things in parallel. In practice, it all depends heavily on the memory access patterns and CPU instructions.

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:25):

oh

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:26):

Another question, Will adding another RAM for my laptop make my PC run more fast and efficiently?

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:27):

I already got 4GB

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:27):

And with less number of not responding

view this post on Zulip Sean (Jul 15 2020 at 16:28):

typically, applications that are CPU intensive (like ray tracing), you'll see some benefit (maybe 20%-50%) from hyperthreading for applications that use traditional code, pointers, etc. If an application is highly tuned to using the SIMD unit or is otherwise already keeping that core super busy, that hyperthreading benefit drops to near 0%.

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:29):

Like Adobe?

view this post on Zulip Sean (Jul 15 2020 at 16:30):

Thusal Ranawaka said:

Another question, Will adding another RAM for my laptop make my PC run more fast and efficiently?

if you see your task manager, it's saying you were immediately up into the 80% utilization range. So yeah, adding more memory will definitely help. Any time you're over 75%, the operating system will start making accommodations or you can end up hitting swap.

view this post on Zulip Sean (Jul 15 2020 at 16:30):

Adobe the company has nothing to do with hyperthreading ;)

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:30):

Yes

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:31):

It's already at 80% even when I was starting the computer.

view this post on Zulip Sean (Jul 15 2020 at 16:31):

that's what I said :)

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:32):

Hmm.

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:32):

I will add a new RAM.

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:32):

But it's hard to find the right model. ;)

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 16:34):

Just finished an online lesson.

view this post on Zulip Thusal Ranawaka (Jul 15 2020 at 17:39):

Bye, got to sleep.

view this post on Zulip Thusal Ranawaka (Jul 16 2020 at 13:24):

Hi @Sean , Rendering an animation in Blender, never seen my GPU has risen up like this, image.png

view this post on Zulip Thusal Ranawaka (Jul 16 2020 at 13:24):

(deleted)

view this post on Zulip Thusal Ranawaka (Jul 16 2020 at 16:58):

Hey @Sean, Check out my website, https://thusal06.github.io/

view this post on Zulip Thusal Ranawaka (Jul 16 2020 at 16:58):

:grinning:

view this post on Zulip Thusal Ranawaka (Jul 16 2020 at 17:35):

Hi @Sean , Did you see my website?

view this post on Zulip Sean (Jul 16 2020 at 18:58):

@Thusal Ranawaka Yes, I did -- nicely done! Is this your first website?

view this post on Zulip Sean (Jul 16 2020 at 18:58):

Are you ready to become BRL-CAD's website manager? :

view this post on Zulip Sean (Jul 16 2020 at 18:59):

:smiling_devil:

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 01:28):

Sean said:

Thusal Ranawaka Yes, I did -- nicely done! Is this your first website?

@Sean Yes. I referred to a tutorial actually.

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 01:28):

Sean said:

Are you ready to become BRL-CAD's website manager? :

:open_mouth:

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 01:32):

This is my second website.

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 01:32):

I did my first using only HTML and Jekyll.

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 01:32):

But the second one with CSS and JS.

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 13:12):

Hi @Sean , When ever you open BRL-CAD, command prompt opens up and it's kind of disturbing.

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 13:13):

Is there are any code that you can close the command prompt after BRLCAD opens up/

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 13:13):

Just like Blender.

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 13:14):

In blender, command prompt opens up and dissapears in seconds.

view this post on Zulip Sumagna Das (Jul 17 2020 at 17:45):

Thusal Ranawaka said:

In blender, command prompt opens up and dissapears in seconds.

command prompt opens up in windows when opening blender?

view this post on Zulip Sumagna Das (Jul 17 2020 at 17:45):

Thusal Ranawaka said:

Hi Sean , When ever you open BRL-CAD, command prompt opens up and it's kind of disturbing.

there was a way you could stop command prompts from opening in gui apps

view this post on Zulip Sumagna Das (Jul 17 2020 at 17:46):

i just dont remember where i saw that

view this post on Zulip Thusal Ranawaka (Jul 17 2020 at 17:47):

Yes. When I open blender it shows up for about 5 seconds and it dissapears.

view this post on Zulip Sumagna Das (Jul 17 2020 at 17:49):

Sumagna Das said:

Thusal Ranawaka said:

Hi Sean , When ever you open BRL-CAD, command prompt opens up and it's kind of disturbing.

there was a way you could stop command prompts from opening in gui apps

and it is possible through code

view this post on Zulip Thusal Ranawaka (Jul 18 2020 at 16:44):

Hi @Sean , How's COVID going around there?

view this post on Zulip Thusal Ranawaka (Jul 18 2020 at 16:44):

I heard Trump is trying to reopen schools there.

view this post on Zulip Thusal Ranawaka (Jul 18 2020 at 16:44):

:hushed:

view this post on Zulip Sumagna Das (Jul 18 2020 at 16:47):

hmmm

view this post on Zulip Sumagna Das (Jul 18 2020 at 16:47):

now thats not good

view this post on Zulip Thusal Ranawaka (Jul 18 2020 at 16:48):

Yeah. He said he will cut off the school funds for the schools that are not opening.

view this post on Zulip Thusal Ranawaka (Jul 18 2020 at 16:48):

Very Cruel.

view this post on Zulip Sumagna Das (Jul 20 2020 at 15:36):

I was thinking about resuming to learn C++. What do you think?

view this post on Zulip Sumagna Das (Jul 20 2020 at 15:36):

I was thinking about resuming to learn C++. What do you think?

view this post on Zulip Sean (Jul 20 2020 at 23:36):

@Sumagna Das learning c++ sounds like a great idea

view this post on Zulip Himanshu (Jul 21 2020 at 03:30):

Hey @Sean What's up

view this post on Zulip Sean (Jul 21 2020 at 03:30):

hi @Himanshu Sekhar Nayak

view this post on Zulip Sean (Jul 21 2020 at 03:30):

how're you doing?

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:31):

hello @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jul 21 2020 at 03:31):

ahhh... online classes going on and I hating that

view this post on Zulip Himanshu (Jul 21 2020 at 03:31):

hey @Sumagna Das

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:31):

Himanshu Sekhar Nayak said:

ahhh... online classes going on and I hating that

:grinning_face_with_smiling_eyes:

view this post on Zulip Sean (Jul 21 2020 at 03:31):

fun!

view this post on Zulip Himanshu (Jul 21 2020 at 03:32):

ahh... no fun btw @Sean Is there any android application of BRL CAD?

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:34):

we are supposed to turn our cameras on in the class with uniforms but most of us(including me) dont wanna turn on our camera

view this post on Zulip Himanshu (Jul 21 2020 at 03:35):

hahahhaha I just mute mic and turn the camera off.

view this post on Zulip Himanshu (Jul 21 2020 at 03:35):

@Sean what about BRLCAD stickers :thinking:

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:36):

our mics are muted by the teacher or else someone will start blowing air into the mic

view this post on Zulip Sean (Jul 21 2020 at 03:36):

there is no android of other tablet app of brl-cad yet

view this post on Zulip Sean (Jul 21 2020 at 03:36):

would be a fun project, but nobody has even tried

view this post on Zulip Himanshu (Jul 21 2020 at 03:36):

I am currently learning building android applications

view this post on Zulip Himanshu (Jul 21 2020 at 03:36):

would love to give a start for BRLCAD app

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:37):

official language for android applications is Kotlin if i remember correctly

view this post on Zulip Himanshu (Jul 21 2020 at 03:37):

yeah

view this post on Zulip Himanshu (Jul 21 2020 at 03:38):

btw have you saw that now you can add README.md for your own profile in github

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:39):

seriously?

view this post on Zulip Himanshu (Jul 21 2020 at 03:39):

yeah

view this post on Zulip Sean (Jul 21 2020 at 03:39):

Himanshu Sekhar Nayak said:

Sean what about BRLCAD stickers :thinking:

Stickers were put on hold with quarantining everywhere. I might start them back up soon, but hadn't considered it yet.

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:40):

when should i give you the address to you if i can get one?

view this post on Zulip Sean (Jul 21 2020 at 03:40):

any time, just e-mail it and it gets added to the outgoing queue

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:41):

where to email?i forgot the email address

view this post on Zulip Himanshu (Jul 21 2020 at 03:41):

btw you can have a look, I just made it yesterday. Just a simple page

view this post on Zulip Himanshu (Jul 21 2020 at 03:42):

https://github.com/Himanshu40

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:42):

Hi @Sean @Himanshu Sekhar Nayak and @Sumagna Das ;)

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:42):

hey

view this post on Zulip Himanshu (Jul 21 2020 at 03:42):

hi

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:43):

Sumagna Das said:

we are supposed to turn our cameras on in the class with uniforms but most of us(including me) dont wanna turn on our camera

Really?

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:43):

yea

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:43):

Your school is crazy, then.

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:43):

Himanshu Sekhar Nayak said:

btw you can have a look, I just made it yesterday. Just a simple page

where did you get the option?

view this post on Zulip Himanshu (Jul 21 2020 at 03:45):

just create a repo of your github username

view this post on Zulip Himanshu (Jul 21 2020 at 03:45):

and you are ready to go

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:45):

ok

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:46):

Himanshu Sekhar Nayak said:

https://github.com/Himanshu40

What is this?

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:46):

I can't open your repos

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:46):

My Wi-Fi was over. :(

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:49):

Wow. That repo looks great. @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Jul 21 2020 at 03:49):

online classes will start from 11 am :oh_no:

view this post on Zulip Himanshu (Jul 21 2020 at 03:49):

3hrs online class :unamused:

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:50):

oh

view this post on Zulip Sumagna Das (Jul 21 2020 at 03:50):

mine is 40 mins period with 20 mins break

view this post on Zulip Himanshu (Jul 21 2020 at 03:50):

wow

view this post on Zulip Himanshu (Jul 21 2020 at 03:50):

nice

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:50):

@Himanshu Sekhar Nayak What happens when you create a repo with your username?

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:51):

My online classes don't have a specific time. Random times.

view this post on Zulip Himanshu (Jul 21 2020 at 03:53):

Here you can have a read @Thusal Ranawaka https://www.aboutmonica.com/blog/how-to-create-a-github-profile-readme

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 03:53):

I will be in a second, have to take my breakfast. :yum:

view this post on Zulip Himanshu (Jul 21 2020 at 03:54):

gtg ttyl

view this post on Zulip Thusal Ranawaka (Jul 21 2020 at 16:55):

Hey @Sean , I updated my website. Check it out https://thusal06.github.io/

view this post on Zulip Sadeep Darshana (Jul 21 2020 at 17:07):

It looks good. Works section is great.

view this post on Zulip Sean (Jul 21 2020 at 20:45):

yeah, @Thusal Ranawaka the site looks great. no showcase of the primitives showcase you were working on? how's it coming?

view this post on Zulip Sean (Jul 21 2020 at 20:47):

btw, your link to brl-cad on wikipedia is wrong

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 01:11):

Sean said:

yeah, Thusal Ranawaka the site looks great. no showcase of the primitives showcase you were working on? how's it coming?

@Sean I was working on it, but the last few are very hard and couldn't figure it out.

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 01:11):

Examples will help. :happy:

view this post on Zulip Sean (Jul 22 2020 at 03:22):

which ones? There are some examples on the wiki for most of the complex primitives.

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 03:24):

@Sean Like the bnuf, sketch, bot if I remember correctly.

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 03:29):

ars, dsp, half, part, bot, nmg, binunif, sketch. @Sean

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 03:31):

I did ars

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 03:38):

Sean said:

btw, your link to brl-cad on wikipedia is wrong

I will correct it.

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 03:46):

Corrected it.

view this post on Zulip Sean (Jul 22 2020 at 04:01):

@Thusal Ranawaka DSP tutorial at https://brlcad.org/wiki/DSP .. you can create your own pretty easily.

view this post on Zulip Sean (Jul 22 2020 at 04:01):

half can be made with the in command easily

view this post on Zulip Sean (Jul 22 2020 at 04:02):

another example for sketch: https://brlcad.org/wiki/Sketch

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 04:03):

Thanks. @Sean

view this post on Zulip Sean (Jul 22 2020 at 04:03):

binunif you can combine with any of the objects that take data like dsp

view this post on Zulip Sean (Jul 22 2020 at 04:03):

https://brlcad.org/wiki/NMG example ... could use that to make a bot too using facetize command

view this post on Zulip Sean (Jul 22 2020 at 04:04):

bot could also be from an import,
e.g., classic teapot mesh

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 04:06):

Oh

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 15:13):

@Sean I tried to dual boot Ubuntu alongside with Windows, but I cannot do it. My BIOS changed to UEFI from Legacy, somehow.

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 15:14):

I can't figure it out how to change it.

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 15:17):

@Sean It was Legacy when I check my System Information last time about a month ago. But it changed to UEFI somehow.

view this post on Zulip Thusal Ranawaka (Jul 22 2020 at 15:49):

(deleted)

view this post on Zulip Sean (Jul 22 2020 at 17:23):

I've not done dual-booting in a long time -- I have been using VirtualBox instead as it's easier to set up new systems and throw away old ones with it.

view this post on Zulip Sumagna Das (Jul 22 2020 at 20:12):

Thusal Ranawaka said:

Sean It was Legacy when I check my System Information last time about a month ago. But it changed to UEFI somehow.

in windows it changed from bios to uefi?

view this post on Zulip Sumagna Das (Jul 22 2020 at 22:40):

hey guys, i made this website. what do you think? -> https://sumagnadas.herokuapp.com

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 00:21):

Sumagna Das said:

Thusal Ranawaka said:

Sean It was Legacy when I check my System Information last time about a month ago. But it changed to UEFI somehow.

in windows it changed from bios to uefi?

@Sumagna Das Yes.

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 01:37):

@Sean Virtual Box is too much for my computer.

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 01:37):

I tried it during GCI, ended up restarting my laptop.

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 02:12):

@Sean Did you see, Run Linux in Windows.

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 02:12):

Is that a new feature?

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 02:13):

https://docs.microsoft.com/en-us/windows/wsl/install-win10

view this post on Zulip Sean (Jul 23 2020 at 02:38):

Yes I have seen -- they've been working on that a couple years now.

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 02:59):

So, it works.

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 03:00):

@Sean Might try it.

view this post on Zulip Sean (Jul 23 2020 at 03:51):

It actually works incredibly well. MS has been embracing Linux and open source fairly hard the past few years.

view this post on Zulip Sean (Jul 23 2020 at 03:53):

You actually can run Linux executables (i.e., without recompiling) directly on WSL. Of course, there's plenty of things an app can do and assumptions it might make that won't work on Windows (like assuming /proc exists), but even lots of graphical apps work without change.

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:22):

Is BRL-CAD mostly C? or does it also contain a big part of C++?(i know there is C++ API of BRL-CAD)

view this post on Zulip Sean (Jul 23 2020 at 06:23):

not counting the c++ api, the codebase in the main repo is about half C and half c++

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:23):

oh ok

view this post on Zulip Sean (Jul 23 2020 at 06:23):

why?

view this post on Zulip Sean (Jul 23 2020 at 06:23):

the APIs are mostly C

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:24):

i thought it was mostly C and C++ is present in some parts

view this post on Zulip Sean (Jul 23 2020 at 06:24):

most new features end up in c++ or leveraging some dependency written in c++

view this post on Zulip Sean (Jul 23 2020 at 06:26):

that was the case a few years ago, but c++'s presence has been spreading. there's also a lot of predominantly C code but that was converted to C++ just so it can use STL containers or C++11 features or similar

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:27):

So most of the C api is getting converted to C++

view this post on Zulip Sean (Jul 23 2020 at 06:27):

No

view this post on Zulip Sean (Jul 23 2020 at 06:28):

The APIs are mostly C and have remained C

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:28):

i meant codebbase

view this post on Zulip Sean (Jul 23 2020 at 06:28):

note difference between interface and implementation

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:28):

sorry for the confusion but i meant codebase

view this post on Zulip Sean (Jul 23 2020 at 06:28):

I mean it really depends what and how you count

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:29):

ooh

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:29):

the repo is being migrated to Github, right?

view this post on Zulip Sean (Jul 23 2020 at 06:30):

yeah, you can see the latest test upload at https://github.com/starseeker/brlcad_nonotes

view this post on Zulip Sean (Jul 23 2020 at 06:30):

note the languages on the bottom right

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:30):

how much of it has been migrated?

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:30):

yea i saw it just now

view this post on Zulip Sean (Jul 23 2020 at 06:31):

what do you mean how much??

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:32):

meaning how much of the commits/revisions have been migrated?

view this post on Zulip Sean (Jul 23 2020 at 06:32):

all commits

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:32):

then what is left of the migration? or is it complete?

view this post on Zulip Sean (Jul 23 2020 at 06:32):

plus a bunch of fake ones to support features of git

view this post on Zulip Sean (Jul 23 2020 at 06:32):

what's left is testing and validation, and ensuring a majority of authors are properly mapped

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:33):

the CI part?

view this post on Zulip Sean (Jul 23 2020 at 06:33):

github only displays Contributors if they have a valid email and created a GitHub account, for exampl

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:33):

yea

view this post on Zulip Sean (Jul 23 2020 at 06:33):

no, not the CI part -- we're only talking about the repository

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:33):

ohh

view this post on Zulip Sean (Jul 23 2020 at 06:33):

on that page, you'll see it says we have 55 contributors

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:34):

60?

view this post on Zulip Sean (Jul 23 2020 at 06:35):

we've had 86 unique users commit to svn, 99 unique account names, so we're trying to make sure at least 95% of commits are represented.

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:36):

oh

view this post on Zulip Sean (Jul 23 2020 at 06:36):

that's the fourth test upload, we're up to 92% there, up from 89% in the third upload

view this post on Zulip Sean (Jul 23 2020 at 06:36):

the fifth upload should get us to 96%

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:36):

cant it get to 100%

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:36):

?

view this post on Zulip Sean (Jul 23 2020 at 06:37):

not realistically -- that would require us creating 22 or so github accounts

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:37):

hmm

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:38):

https://github.com/new/import

view this post on Zulip Sean (Jul 23 2020 at 06:38):

that's to import a repository

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:39):

isnt this usable for the repo migration or does the same github account problem crops up

view this post on Zulip Sean (Jul 23 2020 at 06:39):

it's being used for the repo migration

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:39):

ohh

view this post on Zulip Sean (Jul 23 2020 at 06:40):

the information is in the repository, but GitHub pretends they don't exist unless there is a GitHub account associated with the git committer e-mail

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:40):

thats why there are multiple repos?

view this post on Zulip Sean (Jul 23 2020 at 06:41):

there are multiple repos because a repo is imported, and then we see what it looks like

view this post on Zulip Sean (Jul 23 2020 at 06:41):

we find issues or get more github accounts created, and then import again to see how it looks like with the updates

view this post on Zulip Sean (Jul 23 2020 at 06:41):

each is a testing iteration

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:42):

and if the commits are correctly reprensented/mapped

view this post on Zulip Sean (Jul 23 2020 at 06:42):

that's additional validation that we're doing, yes

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:42):

that was a major delay for this message

view this post on Zulip Sean (Jul 23 2020 at 06:42):

it's not a 1-1

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:42):

hmm

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:42):

so its going to take some more weeks or months?

view this post on Zulip Sean (Jul 23 2020 at 06:44):

I hope not months or weeks! maybe another week. it depends on the validation though. We just got through a major milestone with the contributors today.

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:45):

ohh nice and congrats then

view this post on Zulip Sean (Jul 23 2020 at 06:45):

I have three issues to investigate, and if they all make sense, then we should be good to do one more upload and we'll be done with the repo itself and can start working on the other project data (trackers->issues, mailing lists, etc

view this post on Zulip Sean (Jul 23 2020 at 06:46):

we have 64 of 86 commiters, which is close to 75% which was my goal

view this post on Zulip Sean (Jul 23 2020 at 06:47):

and more importantly, those 64 committers represent 96% of commits, and my goal was to get over 95% representation

view this post on Zulip Sean (Jul 23 2020 at 06:48):

there are three issues I need to investigate, and then I can do more high-level sanity testing, then we can consider it done once all tests pass

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:48):

ohh

view this post on Zulip Sean (Jul 23 2020 at 06:49):

i think those three issues should just take a day or two, same with the other testing. if you want to help, you can check out that nonotes repo and compare it with the svn repo

view this post on Zulip Sean (Jul 23 2020 at 06:49):

see if you can find any commits or other data missing

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:50):

will try if i have time because i have two big exams coming

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:51):

how to compare svn and git?

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:53):

sorry if i am asking a silly question

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:53):

are you manually comparing?

view this post on Zulip Sean (Jul 23 2020 at 06:54):

I'm doing a mixture of automated and manual. As with any testing, it's good to do a bit of both.

view this post on Zulip Sean (Jul 23 2020 at 06:54):

there's unlimited ways one can compare

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:55):

diff?

view this post on Zulip Sean (Jul 23 2020 at 06:56):

diff is a tool for comparing files, so that's certainly one way

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:56):

so that is one way i can do

view this post on Zulip Sean (Jul 23 2020 at 06:56):

at a minimum, it's possible to pull every svn revision and compare it with the corresponding one in the git conversion

view this post on Zulip Sean (Jul 23 2020 at 06:57):

using diff in a script, for example

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:57):

hmmm

view this post on Zulip Sumagna Das (Jul 23 2020 at 06:57):

thats a good way

view this post on Zulip Sean (Jul 23 2020 at 06:58):

another could be to iterate over all or random svn revision log messages, and make sure they can all be found in the git history

view this post on Zulip Sean (Jul 23 2020 at 07:00):

the goal is to simply look for anything that can't be explained, might be wrong

view this post on Zulip Sumagna Das (Jul 23 2020 at 07:00):

ok

view this post on Zulip Sumagna Das (Jul 23 2020 at 07:01):

i can write the script, run it and let it run in the background while i study

view this post on Zulip Sean (Jul 23 2020 at 07:01):

that would be awesome

view this post on Zulip Sean (Jul 23 2020 at 07:02):

that nonotes repo has the svn revision number in the commit log message, so it's easy to find (but it also means you have to trim those lines if you compare log messages

view this post on Zulip Sumagna Das (Jul 23 2020 at 07:03):

does the revision number have r i front of it?

view this post on Zulip Sumagna Das (Jul 23 2020 at 07:04):

sorry my B and Nkeys do not work sometimes

view this post on Zulip Sean (Jul 23 2020 at 07:04):

you'll need to see the format

view this post on Zulip Sean (Jul 23 2020 at 07:04):

just look at any commit

view this post on Zulip Sumagna Das (Jul 23 2020 at 07:04):

ok

view this post on Zulip Sean (Jul 23 2020 at 07:04):

and look at the log message

view this post on Zulip Sumagna Das (Jul 23 2020 at 07:06):

let me clone them

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:16):

@Sean Working on DSP.

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:17):

Got something like this, image.png

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:17):

It says something called, Duplicate...

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:17):

Is that an error?

view this post on Zulip Sean (Jul 23 2020 at 15:20):

what created that png file?

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:21):

A .pix file.

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:21):

Sean said:

what created that png file?

What do you mean?

view this post on Zulip Sean (Jul 23 2020 at 15:22):

it doesn't look like an error -- it looks like it's warning you that the PNG file has a duplicate IDAT section, which could be an encoding mistake by whatever made that png

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:22):

Hmm

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:22):

Solutions?

view this post on Zulip Sean (Jul 23 2020 at 15:22):

I mean where did that PNG come from?

view this post on Zulip Sean (Jul 23 2020 at 15:22):

what made that file?

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:23):

Actually, it was a .jpg before, but I exported it as a .png. :yum:

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:23):

Using Paint 3D.

view this post on Zulip Sean (Jul 23 2020 at 15:23):

how did you export it to png?

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:24):

You can do it in Paint 3D, Save as > PNG

view this post on Zulip Sean (Jul 23 2020 at 15:24):

so sounds like Paint3D might have simply written out a png file with some bad data

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:24):

Hmm

view this post on Zulip Sean (Jul 23 2020 at 15:24):

it's only a problem if the image data isn't there

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:24):

Will try another one

view this post on Zulip Sean (Jul 23 2020 at 15:24):

i.e., it's a warning you can probably ignore

view this post on Zulip Sean (Jul 23 2020 at 15:25):

run pix-fb -wWIDTH -nHEIGHT thusal.pix to see the image

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:30):

It worked, image.png

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:30):

:grinning_face_with_smiling_eyes:

view this post on Zulip Thusal Ranawaka (Jul 23 2020 at 15:30):

Silly picture for a choose. :nerd:

view this post on Zulip Sean (Jul 23 2020 at 21:58):

Not silly at all @Thusal Ranawaka

view this post on Zulip Sean (Jul 23 2020 at 21:59):

Using personal pictures is a great way to start. Turn that into an EBM would be really cool.

view this post on Zulip Thusal Ranawaka (Jul 24 2020 at 01:27):

@Sean Could you help me with this, btw. image.png

view this post on Zulip Thusal Ranawaka (Jul 24 2020 at 01:28):

It shows some errors.

view this post on Zulip Sean (Jul 24 2020 at 01:28):

er, not sure -- maybe don't put an uppercase letter?

view this post on Zulip Sean (Jul 24 2020 at 01:28):

that's very odd for a username

view this post on Zulip Thusal Ranawaka (Jul 24 2020 at 01:29):

What the hell,

view this post on Zulip Thusal Ranawaka (Jul 24 2020 at 01:29):

Still the same, I used a lowercase letter.

view this post on Zulip Thusal Ranawaka (Jul 24 2020 at 01:30):

It says adduser: Only one or two names allowed.

view this post on Zulip Sean (Jul 24 2020 at 01:30):

so yeah, could be anything... the initial termination message would be concerning to me. that usually means something went wrong before you even started.

view this post on Zulip Sean (Jul 24 2020 at 01:30):

maybe try searching that error message along with WSL

view this post on Zulip Thusal Ranawaka (Jul 24 2020 at 01:34):

@Sean , It worked, I think, image.png

view this post on Zulip Sean (Jul 24 2020 at 04:19):

looks like it .. download brl-cad sources and try to compile ;)

view this post on Zulip Sumagna Das (Jul 24 2020 at 10:49):

Anyone here who has seen neowise comet?

view this post on Zulip Thusal Ranawaka (Jul 24 2020 at 16:06):

(deleted)

view this post on Zulip Sumagna Das (Jul 24 2020 at 20:19):

hey

view this post on Zulip Sumagna Das (Jul 25 2020 at 16:36):

Thusal Ranawaka said:

Sean Today's update of Primitives.tcl, did DSP, EBM, part and extrude.

nice.

view this post on Zulip Sumagna Das (Jul 25 2020 at 16:38):

Thusal Ranawaka said:

image.png

i once made an ebm from one of my graphs

view this post on Zulip Thusal Ranawaka (Jul 25 2020 at 16:38):

oh, really.

view this post on Zulip Sumagna Das (Jul 25 2020 at 16:39):

changing the background color to black and foreground to white

view this post on Zulip Thusal Ranawaka (Jul 25 2020 at 16:39):

oh

view this post on Zulip Sumagna Das (Jul 25 2020 at 16:39):

then plotted the shape like i want

view this post on Zulip Thusal Ranawaka (Jul 25 2020 at 16:39):

Yes.

view this post on Zulip Sumagna Das (Jul 25 2020 at 16:40):

but the pentagon didnt really work out

view this post on Zulip Thusal Ranawaka (Jul 25 2020 at 16:40):

oh

view this post on Zulip Thusal Ranawaka (Jul 25 2020 at 17:09):

@Sean Just asking, Do you know Brian Brushwood? Since you are in US. :wink:

view this post on Zulip Sumagna Das (Jul 25 2020 at 18:27):

how to go to shaded view in brl cad?

view this post on Zulip starseeker (Jul 25 2020 at 18:37):

e -m1 obj.s

view this post on Zulip Sumagna Das (Jul 25 2020 at 18:38):

thanks

view this post on Zulip Sumagna Das (Jul 25 2020 at 22:27):

good bye

view this post on Zulip Sumagna Das (Jul 25 2020 at 22:27):

good night

view this post on Zulip Thusal Ranawaka (Jul 26 2020 at 02:28):

Hey @Erik What's up? :happy:

view this post on Zulip Thusal Ranawaka (Jul 28 2020 at 03:04):

@Sean @starseeker Is there a major difference between mged 7.26.0 and 7.30.8???

view this post on Zulip starseeker (Jul 28 2020 at 03:11):

Define major difference

view this post on Zulip Thusal Ranawaka (Jul 28 2020 at 03:12):

Like in the GUI, bug fixes so on...

view this post on Zulip starseeker (Jul 28 2020 at 03:16):

fair number of bug fixes, no major GUI changes

view this post on Zulip Thusal Ranawaka (Jul 28 2020 at 03:17):

oh

view this post on Zulip Thusal Ranawaka (Jul 28 2020 at 03:17):

Then I will download that.

view this post on Zulip Thusal Ranawaka (Jul 28 2020 at 03:17):

7.30.8

view this post on Zulip Thusal Ranawaka (Jul 28 2020 at 03:17):

I had 7.26.0

view this post on Zulip Sumagna Das (Jul 29 2020 at 07:57):

anyone tried this out? -> https://github.com/cli/cli

view this post on Zulip Sumagna Das (Jul 29 2020 at 07:58):

it integrates Github and git together and its official

view this post on Zulip Sean (Jul 29 2020 at 14:09):

Thusal Ranawaka said:

Sean starseeker Is there a major difference between mged 7.26.0 and 7.30.8???

@Thusal Ranawaka In general, if the second number changes, it means there are a lot of significant changes and bug fixes. if the third number changes, then it's typically just a handful of bug fixes.

view this post on Zulip Thusal Ranawaka (Jul 29 2020 at 14:10):

:hushed:

view this post on Zulip Sean (Jul 29 2020 at 14:10):

Sumagna Das said:

anyone tried this out? -> https://github.com/cli/cli

I haven't yet, but I did know about it. It was almost certainly going to become part of our release steps in HACKING

view this post on Zulip Sean (Jul 29 2020 at 14:11):

it may let us fully automate deployment

view this post on Zulip Thusal Ranawaka (Jul 29 2020 at 14:15):

Sean said:

Thusal Ranawaka said:

Sean starseeker Is there a major difference between mged 7.26.0 and 7.30.8???

Thusal Ranawaka In general, if the second number changes, it means there are a lot of significant changes and bug fixes. if the third number changes, then it's typically just a handful of bug fixes.

Yeah, I saw it. Like when you open a database the screen turns in to blue color. ;)

view this post on Zulip Thusal Ranawaka (Jul 30 2020 at 13:24):

Hi @Sean Doing my homework, school starts at the 10th of August. :unamused:

view this post on Zulip Sumagna Das (Jul 30 2020 at 19:42):

hey

view this post on Zulip Sumagna Das (Jul 31 2020 at 18:58):

@Sean does the background have to be black for png-bw or can it be transparent?

view this post on Zulip Sean (Jul 31 2020 at 19:01):

@Sumagna Das I believe transparent will convert to 0,0,0 values (or if there's some other encoded background color, I think libpng will use it)

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:01):

oh ok

view this post on Zulip Sean (Jul 31 2020 at 19:02):

er, rather, value 0 (bw files are single-channel, not 3-channel)

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:02):

that might be

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:22):

@Sean Can i make a vol with the following layers?
Screenshot-from-2020-08-01-00-50-31.png
first layer
Screenshot-from-2020-08-01-00-52-02.png
second layer
Screenshot-from-2020-08-01-00-52-10.png
third layer
Screenshot-from-2020-08-01-00-52-13.png
all of the layers altogether

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:33):

Screenshot-from-2020-08-01-00-50-31.png
first layer

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:33):

Screenshot-from-2020-08-01-00-52-02.png
second layer

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:34):

Screenshot-from-2020-08-01-00-52-10.png
third layer

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:34):

Screenshot-from-2020-08-01-00-52-13.png
all of the layers altogether

view this post on Zulip Sean (Jul 31 2020 at 19:34):

yeah, certainly could. it'll be like the bird example with different layers at different depths

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:34):

sorry for spamming but the layers and photo display got misaligned

view this post on Zulip Sean (Jul 31 2020 at 19:35):

note there is no color support -- you're defining the volume without any visual attributes

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:35):

what?

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:35):

oh ok

view this post on Zulip Sean (Jul 31 2020 at 19:35):

when you create a vol, you say "consider values between A and B as solid" and anything else becomes not solid

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:36):

hmm

view this post on Zulip Sean (Jul 31 2020 at 19:36):

it's binary on/off

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:36):

yea.. i saw the conversation in the primitives.tcl channel/topic

view this post on Zulip Sean (Jul 31 2020 at 19:36):

color and opacity would be nice, but right now it's all about solidity

view this post on Zulip Sean (Jul 31 2020 at 19:37):

that said, you can have a bw file with those layers, and you could create one vol with the interior white values, and another vol with the exterior black values using the same input file

view this post on Zulip Sean (Jul 31 2020 at 19:37):

then you could apply color and opacity to each vol independently

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:38):

that will be a thing which i will do if this works properly

view this post on Zulip Sean (Jul 31 2020 at 19:39):

you'll what to specify a background color in the png file other than white or black for that to work (e.g., red)

view this post on Zulip Sean (Jul 31 2020 at 19:40):

it can still be transparent, but it will default to one or the other. usually there's an option when the png file is created, to pick the default color

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:55):

so the vol was not created

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:55):

it gave some errors

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:55):

rt_vol_import4(skel.bw): Unable to read whole VOL, y=0, z=1
WARNING: unexpected VOL bytes (read 0, expected 480000) in skel.bw
rt_vol_import4(skel.bw): Unable to read whole VOL, y=0, z=1
WARNING: unexpected VOL bytes (read 0, expected 480000) in skel.bw
rt_vol_import4(skel.bw): Unable to read whole VOL, y=0, z=1
WARNING: unexpected VOL bytes (read 0, expected 480000) in skel.bw

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:59):

now it somewhat worked but its more like a plane then a 3d grid

view this post on Zulip Sumagna Das (Jul 31 2020 at 19:59):

:sad:

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:00):

Screenshot-from-2020-08-01-01-30-07.png

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:00):

does png-bw handle multilayer png?

view this post on Zulip Sean (Jul 31 2020 at 20:04):

I don't think so.

view this post on Zulip Sean (Jul 31 2020 at 20:05):

Sumagna Das said:

now it somewhat worked but its more like a plane then a 3d grid

you only have like 4 layers. you could make the layers taller

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:05):

taller?

view this post on Zulip Sean (Jul 31 2020 at 20:05):

non-uniform cell dimensions

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:06):

3 layers in total

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:06):

all of them have 400x400 dimensions, thats all i knwo

view this post on Zulip Sean (Jul 31 2020 at 20:06):

instead of 1 1 1, try something with a different z value like 1 1 3 ... that will make it 9 times thicker (3 x 3)

view this post on Zulip Sean (Jul 31 2020 at 20:07):

can just kill the object and up-arrow to the 'in' command, change the last number

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:08):

now it looks more like and ebm

view this post on Zulip Sean (Jul 31 2020 at 20:09):

you'd need more layers to smooth it out. there's just not enough data in 3 layers

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:09):

hmmm

view this post on Zulip Sean (Jul 31 2020 at 20:10):

what's the render look like?

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:11):

i dont try rendering because it freezes my computer every time

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:12):

any extra argument or option which makes it occupy lesser ram?

view this post on Zulip Sean (Jul 31 2020 at 20:13):

try "rt -P1"

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:14):

with 1 processor?

view this post on Zulip Sean (Jul 31 2020 at 20:14):

yes

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:14):

thats why it freezes?

view this post on Zulip Sean (Jul 31 2020 at 20:14):

are you on Windows?

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:14):

no

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:14):

linux

view this post on Zulip Sean (Jul 31 2020 at 20:14):

which one??

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:15):

specifically ubuntu

view this post on Zulip Sean (Jul 31 2020 at 20:15):

that's shocking then... is it really slow or do you have little memory or something?

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:15):

4 gb ram

view this post on Zulip Sean (Jul 31 2020 at 20:15):

chromebook?

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:15):

nope

view this post on Zulip Sean (Jul 31 2020 at 20:16):

yeah, there's absolutely no reason it should hang up

view this post on Zulip Sean (Jul 31 2020 at 20:16):

is it an old linux?

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:16):

this is an old laptop which my father bought for work

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:16):

20.04

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:16):

ubuntu 20.04

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:17):

Screenshot-from-2020-08-01-01-47-12.png
this is my current ram usage

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:18):

so?

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:30):

i will do this tomorrow

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:30):

i have to go to sleep

view this post on Zulip Sean (Jul 31 2020 at 20:30):

maybe you can take a video with your phone so I can see what you mean, what the problem is if you just run 'rt'

view this post on Zulip Sean (Jul 31 2020 at 20:30):

okay, and thanks for all your work on the validation -- that's helping a lot

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:31):

i might do that but the video might be very shaky

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:31):

i restarted the script

view this post on Zulip Sean (Jul 31 2020 at 20:31):

maybe tomorrow you can talk more about exactly what it's doing

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:31):

yea

view this post on Zulip Sean (Jul 31 2020 at 20:32):

and see if we can tie it into https://brlcad.org/wiki/Github_Migration

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:34):

i have no online classes tomorrow so will sleep a bit more

view this post on Zulip Sean (Jul 31 2020 at 20:34):

me too!

view this post on Zulip Sean (Jul 31 2020 at 20:34):

maybe..

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:35):

anyways if u want, here is the script -> infochecker.py

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:35):

i have commented the parts for my own understanding as much as i can

view this post on Zulip Sean (Jul 31 2020 at 20:36):

thanks! would be even better to have your description of what it's doing in simpler terms, faster

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:36):

if some description i provided is confusing, just ask it

view this post on Zulip Sumagna Das (Jul 31 2020 at 20:37):

i will see that tomorrow and tell you the answer

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:08):

Good Morning. guys!!! 1st of August. New Month. and my Wi-Fi package was renewed. :happy:

view this post on Zulip Sean (Aug 01 2020 at 03:09):

Still July here.

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:09):

Heh

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:09):

We

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:09):

We're ahead.

view this post on Zulip Sean (Aug 01 2020 at 03:11):

You know, I was thinking. That work you went through to make the cup was pretty impressive.

view this post on Zulip Sean (Aug 01 2020 at 03:11):

It would be awesome to share it with others. :)

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:12):

:heart_eyes:

view this post on Zulip Sean (Aug 01 2020 at 03:12):

VOL cup would be a fantastic tutorial in addition to being included in your primitives.tcl script.

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:12):

As comments?

view this post on Zulip Sean (Aug 01 2020 at 03:12):

Do you think you could write up instructions in a google doc with the explanations and pictures you worked out? We could include it in the distribution as a guide, and it'd get published to the website.

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:13):

Sean said:

Do you think you could write up instructions in a google doc with the explanations and pictures you worked out? We could include it in the distribution as a guide, and it'd get published to the website.

Okay. :happy:

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:14):

(deleted)

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:16):

So, the tutorial should add the steps that we did in Piskel App?

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 03:33):

I will write in an MS Word Document and import it in Google Docs.

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 05:20):

@Sean Just finished my school projects, started working on the tutorial. :sunglasses:

view this post on Zulip Sean (Aug 01 2020 at 05:25):

Thusal Ranawaka said:

So, the tutorial should add the steps that we did in Piskel App?

Sure all the steps from start to finish including any explanation or discussion so people understand would be great.

view this post on Zulip Sean (Aug 01 2020 at 05:25):

Thusal Ranawaka said:

I will write in an MS Word Document and import it in Google Docs.

Er, why not just write it in Google Docs??

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 05:26):

oh, I forgot that they save the file data automatically. :face_palm:

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 05:30):

@Sean Need to come up with a suitable topic, Setting up a cup using VOL data?

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 05:31):

Or even more interesting topic names?

view this post on Zulip Sumagna Das (Aug 01 2020 at 17:49):

hey @Sean is there a way to put multiple png images to bw?

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 17:50):

You mean put several images into a single bw?

view this post on Zulip Sumagna Das (Aug 01 2020 at 17:51):

yea

view this post on Zulip Sumagna Das (Aug 01 2020 at 17:52):

because this is not working
bw-png background.png back.png middle.png front.png > all_layers.bw

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 17:52):

You can create a bw file for each image and combine all the bw files using copy /b command.

view this post on Zulip Sumagna Das (Aug 01 2020 at 17:52):

oh i got it the wrong way

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 17:52):

That is wrong

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 17:53):

Let me show you

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 17:53):

Wait a sec

view this post on Zulip Sumagna Das (Aug 01 2020 at 17:53):

i got it

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 17:53):

Worked?

view this post on Zulip Sumagna Das (Aug 01 2020 at 17:53):

i went back to the conversation between you and sean and found the command

view this post on Zulip Thusal Ranawaka (Aug 01 2020 at 17:54):

Great.

view this post on Zulip Sean (Aug 02 2020 at 02:40):

If you're on linux, it's just: cat *.bw > all_layers.bw

view this post on Zulip Sean (Aug 02 2020 at 02:40):

or mac

view this post on Zulip Thusal Ranawaka (Aug 07 2020 at 13:58):

Sumagna Das said:

but i will not be much online from 14th august-5th september due to exams

Noooooooooooooooooooooooooooooooooooooooo

view this post on Zulip Sumagna Das (Aug 08 2020 at 12:09):

anyone uses Atom for C++ development (or for any use)? i am trying to configure it so it might be helpful if someone uses it and can help me

view this post on Zulip Jeffrey Liu (Aug 09 2020 at 00:55):

I think it would be easier to use an actual IDE for C++ development, because it helps you manage a lot of things. I don't really use Atom as anything more than a text editor, but I'd imagine that you'll have to manage a lot of things manually (configuring dependencies, writing make files, etc).

view this post on Zulip Sumagna Das (Aug 09 2020 at 12:47):

i do everything in atom actually

view this post on Zulip Sumagna Das (Aug 09 2020 at 12:49):

from editing small files to writing things for small to mid sized projects

view this post on Zulip Sumagna Das (Aug 09 2020 at 13:32):

and i found some package como for c++ development(atom-ide-ui + ide-ccls)

view this post on Zulip Sumagna Das (Aug 09 2020 at 13:35):

Jeffrey Liu said:

I think it would be easier to use an actual IDE for C++ development, because it helps you manage a lot of things. I don't really use Atom as anything more than a text editor, but I'd imagine that you'll have to manage a lot of things manually (configuring dependencies, writing make files, etc).

anyways any IDE suggestions for C++? (which is also available for linux)

view this post on Zulip Jeffrey Liu (Aug 09 2020 at 18:15):

I usually use Visual Studio, which is only for Windows, but I heard CLion or Code Blocks is pretty good for Linux.

view this post on Zulip Sadeep Darshana (Aug 09 2020 at 18:32):

Clion is great. I use it all the time even on windows. I prefer it to VS. It's free with github student pack
.

view this post on Zulip Sumagna Das (Aug 09 2020 at 19:57):

Thanks for the suggestions. I will try one out

view this post on Zulip Sadeep Darshana (Aug 12 2020 at 13:15):

The parent to child node transformation matrix in BRLCAD is not having [0 0 0 1] as the last row. Why is this the case?
How can I convert it into a standard matrix?

view this post on Zulip Sumagna Das (Aug 13 2020 at 15:30):

@Jeffrey Liu @Sadeep Darshana i was going to try out the suggested IDEs(CLion looks cool) when i came across some packages for C/C++ development for atom like the ones i said and packages for build with cmake but still going to try CLion out after my exams

view this post on Zulip Sumagna Das (Aug 13 2020 at 15:33):

Screenshot-from-2020-08-13-21-02-14.png
the packages offer cmake builds(at the bottom of the editor) and outline and error reporting(at the right of the editor)

view this post on Zulip Jeffrey Liu (Aug 13 2020 at 22:03):

Sadeep Darshana said:

Clion is great. I use it all the time even on windows. I prefer it to VS. It's free with github student pack
.

Wow, I have to try out CLion then - I didn't realize it was free with the student pack, so I never got the chance to try it out. I wanted to shift to working on Linux but I was hesitant because I was only familiar with Visual Studio.

view this post on Zulip Jeffrey Liu (Aug 13 2020 at 22:04):

That Atom extension does seem decent though @Sumagna Das

view this post on Zulip Sumagna Das (Aug 14 2020 at 03:18):

Jeffrey Liu said:

That Atom extension does seem decent though Sumagna Das

but it broke the atom shortcut from the apps section or the dock :cry:

view this post on Zulip Sumagna Das (Aug 14 2020 at 03:19):

i can only open it from alt-f2 dialog by running the atom command

view this post on Zulip Daniel Rossberg (Aug 14 2020 at 12:33):

If you are looking for a Visual Studio like IDE on Linux, you may want to have a look at KDevelop. CMake has a generator for it, but is has a CMake plug-in as well. I.e., you can simply "open" any existing CMake project.

view this post on Zulip Sumagna Das (Aug 14 2020 at 13:13):

Will look into that

view this post on Zulip Thusal Ranawaka (Aug 14 2020 at 17:17):

@Sean Didn't get any time to work on the VOL tutorial or on the Primitives.tcl, I have a lot of school homework and assignments because our schools started after 5 months. Will work on them as soon as possible. :worried: :grinning:

view this post on Zulip Thusal Ranawaka (Aug 14 2020 at 17:18):

Maybe this week, I will have some time. :)

view this post on Zulip Sumagna Das (Aug 16 2020 at 18:13):

hey @Sean i got a render in .pix file and i dont know how to convert to a png file

view this post on Zulip Sean (Aug 16 2020 at 18:13):

@Sumagna Das run pix-png ;) or you can re-render with -o file.png

view this post on Zulip Sumagna Das (Aug 16 2020 at 18:14):

thanks

view this post on Zulip Sumagna Das (Aug 16 2020 at 18:20):

pix-png gives only streaks of color

view this post on Zulip Sean (Aug 18 2020 at 06:08):

Sadeep Darshana said:

The parent to child node transformation matrix in BRLCAD is not having [0 0 0 1] as the last row. Why is this the case?
How can I convert it into a standard matrix?

That is a standard 4x4 homogeneous matrix. Maybe you're thinking of a 3x3 matrix?

view this post on Zulip Sean (Aug 18 2020 at 06:11):

Thusal Ranawaka said:

Sean Didn't get any time to work on the VOL tutorial or on the Primitives.tcl, I have a lot of school homework and assignments because our schools started after 5 months. Will work on them as soon as possible. :worried: :grinning:

@Thusal Ranawaka Okay, good to know -- can you post the latest version of the script to a thread so we can commit it to the repository?

view this post on Zulip Sean (Aug 18 2020 at 06:11):

good luck with your studies, hope you can work on this more though ;)

view this post on Zulip Sean (Aug 18 2020 at 06:13):

Sumagna Das said:

pix-png gives only streaks of color

That's because you didn't specify the dimensions of the pix file. See the -w and -n option. Pix iles are raw data with no header -- you must specify what size the image is if it's not 512x512.

view this post on Zulip Sean (Aug 18 2020 at 06:13):

@Sadeep Darshana check out http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/ for some discussion about matrices

view this post on Zulip Thusal Ranawaka (Aug 18 2020 at 06:15):

@Sean Okay. I'll send you the latest Primitives.tcl. Actually, I made some progress in VOL Tutorial. :)

view this post on Zulip Thusal Ranawaka (Aug 18 2020 at 06:15):

Today

view this post on Zulip Sean (Aug 18 2020 at 06:18):

excellent! can't wait to see it get filled out

view this post on Zulip Thusal Ranawaka (Aug 18 2020 at 06:19):

Me too. ;)

view this post on Zulip Sumagna Das (Aug 31 2020 at 08:45):

Screenshot-from-2020-08-31-14-14-17.png
anyone else getting this error while trying to access brlcad.org ?

view this post on Zulip Sumagna Das (Aug 31 2020 at 08:47):

@Sean look if you can fix this :up:

view this post on Zulip Thusal Ranawaka (Aug 31 2020 at 13:19):

Hmm. Yes, image.png

view this post on Zulip Thusal Ranawaka (Aug 31 2020 at 13:19):

:thinking:

view this post on Zulip Sean (Aug 31 2020 at 13:49):

looks like apache was stuck at 100%

view this post on Zulip Sean (Aug 31 2020 at 13:49):

restarted and it's back to life..

view this post on Zulip Thusal Ranawaka (Aug 31 2020 at 13:56):

:+1:

view this post on Zulip Sean (Aug 31 2020 at 13:56):

looking at setting up monit or a script to detect unresponsiveness

view this post on Zulip Thusal Ranawaka (Aug 31 2020 at 13:56):

Ah....

view this post on Zulip Sean (Sep 01 2020 at 17:23):

@starseeker It's fine how it is, but thought you should know that I'm of the opinion that GUI specifics like menu items, layout, organization, labels, etc, are non-contractual interface elements that typically (not always) fall under clause A.3

view this post on Zulip Sean (Sep 01 2020 at 17:26):

that's to say, there's no harm in deprecating, but I don't see it as necessary at least to the extent that we're not taking away functionality without a constructive readily discoverable alternative. It also has to result in some actual constructive difference, some change in terms of an actualized product (so a change to geometry, to rendered image, or some analytic value).

view this post on Zulip Sean (Sep 01 2020 at 17:27):

looking at that list, Lighting and Z-buffer, for example, have no actual product effect, so they can change at will without even so much as a minimally impacting notice. they'd just be NEWS when they go.

view this post on Zulip starseeker (Sep 01 2020 at 17:28):

/me nods. Removing the sub-window rectangle rendering is probably the biggest candidate for a product removal

view this post on Zulip Sean (Sep 01 2020 at 17:28):

everything one can sweep can be selected in other manners, so one could argue that graphical sweep should be listed as minimally impacting change if it goes

view this post on Zulip Sean (Sep 01 2020 at 17:28):

I'm actually not sure what collaborate does...

view this post on Zulip Sean (Sep 01 2020 at 17:29):

display lists, depth cueing, key forwarding, and pane management are all in same camp as lighting -- no effect on product

view this post on Zulip Sean (Sep 01 2020 at 17:31):

even sub-window rendering, I'd argue that's covered (from a product perspective) by the raytrace control panel, so that's not even necessarily minimally impacting

view this post on Zulip Sean (Sep 01 2020 at 17:32):

the only thing in there I'm seeing is object picking

view this post on Zulip starseeker (Sep 01 2020 at 17:34):

Sounds good - probably the thing to do then is to yank them after we've tagged the release.

view this post on Zulip starseeker (Sep 01 2020 at 17:36):

Mostly trying to do it to start trimming down/cleaning up MGED's code wherever possible to make it easier to work with - just didn't want to miss the 7.32 release for deprecation listing if it was needed.

view this post on Zulip Sean (Sep 01 2020 at 17:42):

we should always enable lighting and z-buffer before yanking them.

view this post on Zulip Sean (Sep 01 2020 at 17:43):

I'm not a fan of depth cueing because our method is too basic, so that one's more problematic.

view this post on Zulip starseeker (Sep 01 2020 at 17:43):

/me nods - yeah, I wasn't going to yank any of those until I'm sure they can be set via command line if need be and we get the defaults to be sane.

view this post on Zulip Sean (Sep 01 2020 at 18:40):

I tried forcing lighting on a few months back and ran into some minor snag. doable, but it was going to require rewiring something.

view this post on Zulip Sean (Sep 04 2020 at 05:33):

@starseeker can you elaborate on c76719 .. the change itself is fine, but the comment doesn't make any sense to me. I don't see how any shell would do anything with "-F/dev/debug" as an argument. Was the expansion somewhere else?

view this post on Zulip Sean (Sep 04 2020 at 06:39):

@starseeker another one to check is c76727 ... the conversions of "cmd < input > output" to "run cmd < input > output" don't look right.. if that's working, I'm not sure how. input redirected to a function shouldn't be getting passed to the command. redirections aren't positional args that get passed along.

view this post on Zulip Sean (Sep 04 2020 at 06:41):

the ones that redirect output should be fine as all output in the function is getting sent to stdout, so it can get captured from 'run'

view this post on Zulip Sean (Sep 04 2020 at 06:43):

it's the ones that are redirecting input that should be checked specifically (and even then, probably still undone even if zsh or bash are doing something exotic like automatically rewiring commands.

view this post on Zulip Sean (Sep 04 2020 at 06:45):

ah, and I see you later reverted/modified your approach -- but might help knowing it was the input redirections that broke it. there were just a few of those.

view this post on Zulip Sean (Sep 04 2020 at 07:00):

also curious what the plan is for replicating all of bn's vlist logic in bg... should finish that migration if it's intended to be a replacement so we don't have the duplication. what was wrong with bn?

view this post on Zulip starseeker (Sep 04 2020 at 11:54):

So conceptually I don't think the vlists are a good fit for libbn, and I wanted to alter the API to hide some implementation details (among other things, getting bu_list out of the equation.)

Those changes are in a branch though - at least, they shouldn't have been merged. It's experimental at this point, mostly exploring what API makes sense.

view this post on Zulip starseeker (Sep 04 2020 at 12:02):

The "-F/dev/debug" thing, IIRC, was something in the Git bash environment interpreting that as a "Linux" style file path and trying to auto-convert it to a Windows path. I didn't dig deep enough to absolutely confirm it, but that was the most probable interpretation of what I was seeing.

view this post on Zulip starseeker (Sep 04 2020 at 12:06):

There may be a setting or something we can toggle to disable that behavior - it'll be more of a potential issue once we've migrated to Git and we've got more people using Git bash on Windows.

view this post on Zulip starseeker (Sep 04 2020 at 12:08):

Looks like we're not the first ones to encounter the issue:
https://support.cloudbees.com/hc/en-us/articles/360033184131-KBEC-00420-Stopping-Path-Conversion-for-Git-Bash

view this post on Zulip starseeker (Sep 04 2020 at 12:09):

http://www.mingw.org/wiki/Posix_path_conversion

view this post on Zulip starseeker (Sep 04 2020 at 12:10):

Looks like we're tripping on this rule:

Argument from MSYS program  Sent to native Windows program as
 -I/foo                     -IC:/MinGW/msys/1.0/foo

view this post on Zulip starseeker (Sep 04 2020 at 12:12):

Maybe set MSYS_NO_PATHCONV in our scripts somewhere?

view this post on Zulip Sean (Sep 09 2020 at 02:54):

starseeker said:

So conceptually I don't think the vlists are a good fit for libbn, and I wanted to alter the API to hide some implementation details (among other things, getting bu_list out of the equation.)

Those changes are in a branch though - at least, they shouldn't have been merged. It's experimental at this point, mostly exploring what API makes sense.

What's with the bu_list hate?

view this post on Zulip Sean (Sep 09 2020 at 02:55):

I don't care about ptbl or list going away, but curious why you're preferring one over the other. Familiarity?

view this post on Zulip Sean (Sep 09 2020 at 03:03):

Biggest concern I saw in the commits is that it seeming unlikely you'd want to or have time/energy/will to go through all the effort to remove all instances of bn_vlists and possibly ending up with two vlist APIs. That's admittedly unfair speculation -- primarily a concern because of the amount of work implied.

view this post on Zulip Sean (Sep 09 2020 at 03:16):

starseeker said:

http://www.mingw.org/wiki/Posix_path_conversion

Thanks, that is super informative (and absolutely asinine). Looks like there's an msys-specific solution; going to try that.

view this post on Zulip Sean (Sep 09 2020 at 04:09):

Okay, patch applied to benchmark! Please test if you still happen to have that config handy.

view this post on Zulip Sean (Sep 09 2020 at 04:17):

FWIW, really don't think adding sorting to search is a good idea as it violates pattern, scope, and opens up a can of worms. Might I suggest a different approach -- another command corollary similar to find/search, something like 'sort' that is object-aware (maybe gsort or gort or gorder, etc.)

view this post on Zulip Sean (Sep 09 2020 at 04:18):

Then you could do something like [gsort -size [search .]] and "mged -c file.g search . | mged -c file.g gsort -size" to get object sorting.

view this post on Zulip starseeker (Sep 09 2020 at 12:21):

Windows Ninja/sh.exe build test underway (may have to kick it a couple times - the Windows github runner sometimes chokes for other reasons).

view this post on Zulip starseeker (Sep 09 2020 at 12:26):

Regarding bu_list - I suppose familiarity is most of it. I find it very difficult to reason about those containers and macros. Since we're also looking at removing bu_list from other parts of the code for coherency reasons, it seems simpler to migrate towards bu_ptbl.

view this post on Zulip starseeker (Sep 09 2020 at 12:28):

You may be right I wouldn't be able to do the migration, but maybe that can be the merge criteria - the experiment stays in the branch until bn_vlist can be completely removed from the codebase without functionality loss.

view this post on Zulip starseeker (Sep 09 2020 at 12:29):

Like the idea of the gsort command - I agree it feels wrong as an option to search, but wasn't sure how else to achieve the effect (without Tcl scripting the output results or something similar.)

view this post on Zulip Sean (Sep 09 2020 at 12:59):

starseeker said:

Regarding bu_list - I suppose familiarity is most of it. I find it very difficult to reason about those containers and macros. Since we're also looking at removing bu_list from other parts of the code for coherency reasons, it seems simpler to migrate towards bu_ptbl.

Just a word of caution there, while most usages are O(n) for both, there are some calls into bu_list that are O(1). Not going to see the implication on most use cases because the lists are too small, but big lists and performance critical lists will likely be impacted switching to a hashed container from a linked list. ptbl behaves more like std::map whereas bu_list is more like std::list.

view this post on Zulip starseeker (Sep 09 2020 at 22:41):

Looks like the benchmark fix worked.

view this post on Zulip starseeker (Sep 09 2020 at 22:55):

@Sean regarding 77094, how recent is your build? I just fixed an issue with search -exec in trunk, and at least on Linux I get the following:

mged> search . -exec echo "OBJ: {}" ";"

OBJ: all.g
OBJ: light.r
OBJ: LIGHT
OBJ: tor.r
OBJ: tor
OBJ: ellipse.r
OBJ: ellipse.s
OBJ: cone.r
OBJ: cone.s
OBJ: box.r
OBJ: box.s
OBJ: platform.r
OBJ: platform.s

view this post on Zulip starseeker (Sep 09 2020 at 23:10):

I think 77076 was the search -exec fix, at least for me...

view this post on Zulip Sean (Sep 10 2020 at 00:40):

Oh okay, cool. My mged is from three days ago. I've been spot compiling so I can review faster, and I'd already checked off on all recent commits -- wasn't obvious that one pertained to search or fixed that issue.

view this post on Zulip starseeker (Sep 10 2020 at 02:02):

Heh - that's my bad with the message. The issue had potential generality for anything using that callback, but it was search -exec that actually triggered it - I should have noted it.

view this post on Zulip starseeker (Sep 10 2020 at 02:06):

That search -exec echo test would actually make a good regression test for that command.

view this post on Zulip Sean (Sep 10 2020 at 03:32):

it's been my goto, that and search . -exec ls -la "{}" ";"

view this post on Zulip Sumagna Das (Sep 15 2020 at 19:02):

(deleted)

view this post on Zulip Sean (Sep 16 2020 at 17:18):

@starseeker if you run mged -c moss.g and then opendb some file, do you get a message about 'nu' and local commands? Bug related to the refactoring?

view this post on Zulip starseeker (Sep 16 2020 at 17:50):

I do get the message - I'm not sure if it's related to the refactoring or has been there for a while. I'll have to try it on an older build.

view this post on Zulip starseeker (Sep 16 2020 at 20:42):

7.30.2 does that as well.

view this post on Zulip Sean (Sep 16 2020 at 20:43):

huh, okay. so it's been at least a few months then.

view this post on Zulip Sean (Sep 17 2020 at 12:48):

starseeker said:

7.30.2 does that as well.

Looks like it was introduced in r69840 while fixing the background color initialization. Looks like the command isn't set, despite it supposedly getting set during init? So init isn't getting called perhap.

view this post on Zulip Sean (Sep 17 2020 at 12:48):

Also ran into this:

view this post on Zulip Sean (Sep 17 2020 at 12:50):

agua:.build morrison$ bin/mged -c test.g
BRL-CAD Release 7.32.1  Geometry Editor (MGED)
    Tue, 15 Sep 2020 22:50:46 -0400, Compilation 19
    morrison@agua.local

attach (nu ogl X)[nu]? X
Starting an X display manager
ERROR: alloc size=0 (cnt=0, sz=8) bu_copy_argv

ERROR: bu_malloc(0)

ERROR: bu_malloc(0)

Saving stack trace to mged-44623-bomb.log

view this post on Zulip Sean (Sep 17 2020 at 13:45):

Bomb appears to be on all platforms when responding to the prompt. I debugged and fixed it, but warrants an integration test. I'm not sure how we can test it, though. Can't just redirect a response as that will kick mged into script processing mode.

view this post on Zulip Sean (Sep 17 2020 at 13:45):

Any ideas?

view this post on Zulip starseeker (Sep 17 2020 at 14:07):

Oof. Not offhand - nu doesn't trigger it, and the other options are graphical which we can't count on for testing environments.

view this post on Zulip Sean (Sep 17 2020 at 18:17):

can't count on them, but could still test them when they are available. e.g., an ogl test is enabled if glxinfo returns 0

view this post on Zulip Sean (Sep 17 2020 at 18:18):

I'm just not sure how we could even trigger it. It's annoying a separate code path from -a and 'attach'. maybe we could consolidate the code paths so testing -a would trigger the same

view this post on Zulip Sean (Sep 18 2020 at 03:25):

@starseeker serious code smell in r77171... the libged changes.. what's going on with openbsd??

view this post on Zulip starseeker (Sep 18 2020 at 11:10):

We can't do a relative path lookup to find any of our files on that platform until after bu_setprogname is called. Since that doesn't happen before library initialization, we can't populate the libged command table on library load. I'm doing the same check in ged_cmd_valid and ged_exec

view this post on Zulip starseeker (Sep 18 2020 at 11:11):

See r76746

view this post on Zulip starseeker (Sep 24 2020 at 18:27):

Particularly like #5 and #8
https://www.learncpp.com/cpp-programming/eight-c-programming-mistakes-the-compiler-wont-catch/

view this post on Zulip Sumagna Das (Sep 24 2020 at 20:59):

those who want to participate in something which is like GCI, you can participate in this one
https://hacktoberfest.digitalocean.com/

view this post on Zulip Sumagna Das (Sep 24 2020 at 21:04):

found out about this competition recently

view this post on Zulip starseeker (Sep 25 2020 at 14:20):

/me blinks - the opencl branch and trunk seem to be quite a ways apart - do we need to do something to trunk to make it easier to keep them close?

view this post on Zulip Sean (Sep 25 2020 at 18:37):

they aren't automatically mergeable, but there are worthwhile changes on the branch.

view this post on Zulip Sean (Sep 25 2020 at 18:38):

I'd need to review the commits myself -- a bunch of the changes were merged

view this post on Zulip Sean (Sep 25 2020 at 18:38):

@starseeker did you intend to wipe out brlcad/branches/thirdparty_rework/src/libdm/dm_obj.c ? just checking as it seemed unrelated to the rest.

view this post on Zulip starseeker (Sep 25 2020 at 18:39):

Yes (sorry, that should have been a separate commit.)

view this post on Zulip Sean (Sep 25 2020 at 18:39):

different branch even

view this post on Zulip starseeker (Sep 25 2020 at 18:40):

Started doing some maintenance and realized most of the branches were in a difficult merge state. Most of them I can deal with, but I'm not comfortable with opencl - don't have enough context

view this post on Zulip starseeker (Sep 25 2020 at 18:41):

different branch?

view this post on Zulip Sean (Sep 25 2020 at 18:41):

gutting dm_obj .. that seems rather unrelated to 3rd party rework (the scope of the branch)

view this post on Zulip starseeker (Sep 25 2020 at 18:42):

It's a missed merge from trunk

view this post on Zulip Sean (Sep 25 2020 at 18:42):

ahh, gotcha

view this post on Zulip Sean (Sep 25 2020 at 18:42):

that makes more sense

view this post on Zulip starseeker (Sep 25 2020 at 18:43):

That happens on occasion - with these big merges I usually end up doing a manual diff between trunk and the branch to see if anything escaped. I think git will be better at it, but I've only ever gotten so good at the SVN merges...

view this post on Zulip Sumagna Das (Oct 01 2020 at 07:33):

anybody knows any extension in vscode which watches if the file in the active editor has changed or not and then shows if there are unsaved changes by the default symbol

view this post on Zulip Sumagna Das (Oct 01 2020 at 07:35):

i want to say that atom checks if the file has changes which are not on the disk and if there is it shows the default "unsaved file" symbol on the editor. i want to have that feature in vscode

view this post on Zulip Sumagna Das (Oct 01 2020 at 08:16):

so it is a feature request till now and it has not been added

view this post on Zulip Sean (Oct 02 2020 at 20:47):

This one? https://marketplace.visualstudio.com/items?itemName=appulate.filewatcher

view this post on Zulip Sumagna Das (Oct 02 2020 at 20:48):

it runs tasks but it doesnt seem like it can change the editor title bar

view this post on Zulip Sean (Oct 02 2020 at 20:49):

Looks like it was implemented a couple years ago: https://github.com/microsoft/vscode/issues/1723

view this post on Zulip Sean (Oct 02 2020 at 20:49):

maybe the discussion has clues on how to use/enable that

view this post on Zulip Sumagna Das (Oct 02 2020 at 20:51):

i saw this setting but i was talking about the tab's title bar inside vscode

view this post on Zulip Sumagna Das (Oct 02 2020 at 20:51):

which i dont think is configurable

view this post on Zulip Sumagna Das (Oct 02 2020 at 20:59):

https://github.com/microsoft/vscode/issues/919

view this post on Zulip Sumagna Das (Oct 02 2020 at 20:59):

i am talking about this issue

view this post on Zulip Sumagna Das (Oct 02 2020 at 20:59):

it is still a feature request

view this post on Zulip Himanshu (Oct 22 2020 at 14:31):

Hey @Sean What's up

view this post on Zulip Sumagna Das (Oct 22 2020 at 15:44):

@Himanshu Sekhar Nayak how's it going? you came online after so many days.

view this post on Zulip Sean (Oct 23 2020 at 06:51):

@Himanshu Sekhar Nayak howdy! deep in debugging and too many balls in the air, but going well!

view this post on Zulip Himanshu (Oct 23 2020 at 07:05):

Hey guys :wave: I am off for so many days. I want to get back into the track. @Sean can you tell me something so that I will be right be in the track?

view this post on Zulip Sean (Oct 23 2020 at 17:24):

@Himanshu Sekhar Nayak what's something that interests you a lot?

view this post on Zulip Sumagna Das (Oct 25 2020 at 19:20):

what should the const char *str argument of bu_mallocget?

view this post on Zulip Sumagna Das (Oct 25 2020 at 20:08):

@starseeker you know of any way i can know how many bytes are there in the unsigned char * returned by icv_data2uchar()? i tried using strlen((char *)data) but it gives out 0 everytime though it is not zero.

view this post on Zulip starseeker (Oct 25 2020 at 22:56):

@Sumagna Das looking at the implementation, it's preparing an array of size bif->height X bif->width X bif->channels

view this post on Zulip Sumagna Das (Oct 26 2020 at 04:57):

starseeker said:

Sumagna Das looking at the implementation, it's preparing an array of size bif->height X bif->width X bif->channels

thanks for that...

view this post on Zulip Sean (Oct 26 2020 at 18:26):

@Sumagna Das the str argument is just a label for debugging, so just convention it'll be something like "alloc mything" in bu_malloc() and "free mything" in bu_free(). then if you turned on debug logging, you'd be able to search for your mything memory allocations.

view this post on Zulip Sean (Oct 26 2020 at 18:28):

Sumagna Das said:

starseeker you know of any way i can know how many bytes are there in the unsigned char * returned by icv_data2uchar()? i tried using strlen((char *)data) but it gives out 0 everytime though it is not zero.

just fyi, strlen only works on strings (i.e., stopping on any '\0' byte), so it won't work on image or other binary data (where zero is quite common).

view this post on Zulip Sumagna Das (Oct 26 2020 at 18:30):

thanks for the info

view this post on Zulip Himanshu (Oct 28 2020 at 17:26):

Sean said:

Himanshu Sekhar Nayak what's something that interests you a lot?

Starting from scratch now where I am building brlcad from svn

view this post on Zulip Himanshu (Oct 28 2020 at 17:27):

wow brlcad version changed. Nice

view this post on Zulip Himanshu (Oct 28 2020 at 17:27):

Last time I left during GCI

view this post on Zulip Himanshu (Oct 28 2020 at 17:27):

Hey @Daniel Rossberg How's going?

view this post on Zulip Sumagna Das (Oct 28 2020 at 17:35):

Hello there

view this post on Zulip Himanshu (Oct 28 2020 at 17:37):

hey

view this post on Zulip Himanshu (Oct 28 2020 at 17:37):

what's up

view this post on Zulip Sumagna Das (Oct 28 2020 at 18:03):

nothing much.

view this post on Zulip Sumagna Das (Oct 28 2020 at 18:08):

Are you back online or will go offline for a few more days?

view this post on Zulip Sean (Oct 28 2020 at 18:35):

greetings @Himanshu Sekhar Nayak ! yep, we had a pretty big release, and we're due to have another soon

view this post on Zulip Thusal Ranawaka (Oct 29 2020 at 01:26):

I am online now, but my wifi is over.

view this post on Zulip scorp08 (Nov 07 2020 at 19:13):

@Sean are there any stuff that I can contribute ? thnks

view this post on Zulip Sean (Nov 10 2020 at 15:15):

@scorp08 absolutely, we can use all the help we can get! the possibilities are literally endless though. knowing what interests you would help, but there are an endless supply of small things and big projects

view this post on Zulip scorp08 (Nov 10 2020 at 17:15):

Sean said:

scorp08 absolutely, we can use all the help we can get! the possibilities are literally endless though. knowing what interests you would help, but there are an endless supply of small things and big projects

@Sean I would start with easy & medium small staff. I do not know if there are issue track?

view this post on Zulip scorp08 (Nov 10 2020 at 20:49):

scorp08 said:

Sean said:

scorp08 absolutely, we can use all the help we can get! the possibilities are literally endless though. knowing what interests you would help, but there are an endless supply of small things and big projects

Sean I would start with easy & medium small staff. I do not know if there are issue track?

checked todo lists. I think ls-dyna keyword seems good, where should start ?

view this post on Zulip starseeker (Nov 10 2020 at 21:01):

I added a couple updated links for models: https://www.nhtsa.gov/crash-simulation-vehicle-models and https://www.ccsa.gmu.edu/models

view this post on Zulip starseeker (Nov 10 2020 at 21:02):

Existing ls-dyna converter code is at src/conv/k-g.cpp

view this post on Zulip starseeker (Nov 10 2020 at 21:03):

It's been a while - I think it can do triangles, but there are other element types it can't do

view this post on Zulip starseeker (Nov 10 2020 at 21:03):

First step is probably to get some idea of what's missing, and what would be easiest to add

view this post on Zulip Sean (Nov 11 2020 at 02:51):

@scorp08 yeah, implementing an ls-dyna importer and/or exporter would be a great place to start. There's the k-g.cpp that @starseeker started a few years ago, so you could start with that and pick his brain on what works and doesn't work -- that's probably the best place to start. Also could just grab an input file, see what doesn't import and work on importing it -- that's the bulldozer approach. Or you could start from scratch to get familiarized more incrementally.

view this post on Zulip Sean (Nov 11 2020 at 02:54):

Interesting resource I just came across: A-Short-Introduction-about-LS-DYNA-and-the-LS-PrePost.pdf and more comprehensively: https://ftp.lstc.com/anonymous/outgoing/jday/manuals/ls-dyna_database_Jan2016.pdf

view this post on Zulip Sumagna Das (Nov 11 2020 at 20:02):

I was checking out the features of the CMake extension in vscode and found this: image.png
Is this a work in progress? what is this supposed to do when its done or what does it do now if its not a WIP?

view this post on Zulip starseeker (Nov 11 2020 at 22:39):

IWidgets is a set of Tcl/Tk scripts - there's no compilation to do, the project just copies files around. That may be why it shows empty.

view this post on Zulip Sumagna Das (Nov 12 2020 at 03:15):

Oh. I thought it was a work in progress and thats why it showed empty.

view this post on Zulip scorp08 (Nov 12 2020 at 03:29):

starseeker said:

First step is probably to get some idea of what's missing, and what would be easiest to add

starseeker said:

I added a couple updated links for models: https://www.nhtsa.gov/crash-simulation-vehicle-models and https://www.ccsa.gmu.edu/models

@starseeker @Sean I checked theory manuals and some docs of ls-dyna. I would say , briefly understand k-g.cpp and have some questions.
I think discrete and mass elements of ls-dyna have no equilavent primitive of brlcad ? also beam elements are same ? I also could not find a good doc showing all elements_solid notation (eg, node number) for example 20-10 - 15 nodes brick or prism, if there are ? 4-6-8 nodes are already done. So, I could not catch which elements are missing

view this post on Zulip starseeker (Nov 12 2020 at 14:28):

I don't recall for certain, but I think the place to start is here: https://www.lstc.com/download/manuals

Specifically the *ELEMENT section of http://ftp.lstc.com/anonymous/outgoing/marleigh/manual/LS-DYNA_Manual_Volume_I_R12.pdf

Beams (IIRC) would need to be represented as a boolean combination of ARB solids. Some of them may have no direct equivalents, and some (like seatbelt) may be pretty tricky to create geometry for. I'd pick a simple case we don't support (maybe a type of beam?) that is also in one of the test models and start there.

view this post on Zulip Sean (Nov 17 2020 at 18:54):

scorp08 said:

I would say , briefly understand k-g.cpp and have some questions.

Excellent

I think discrete and mass elements of ls-dyna have no equilavent primitive of brlcad ? also beam elements are same ?

It depends whether there is geometric information implied. There are some non-geometric constructs that we support, but I don't think they are a priority.

For example, a DISCRETE_ELEMENT describes some sort of connection between two objects. That's a connection/association construct, but non-geometric. So you have options.. you could put the two objects (N1 and N2) into a combination together (unioned), or you could create a 'joint' object to represent the connection, or you could encode the parameters as an attribute, or you could ignore it for now since it's not geometric.

For MASS_ELEMENT, that one is also non-geometric, but it is a property that we support in a super-simplified form. So you could choose to ignore it or import it. BRL-CAD has a materiaID number -- it's a number that represents some material type and has an associated density (which can be used to calculate mass). So an object123 might have a materialID=3, which might be "Iron" with a density of "3.81239 g/cm^3". A MASS_ELEMENT is the inverse of that concept, so I'd probably just encode the mass as an attribute (e.g., dyna::mass_element.mass=123.321)

As for ELEMENT_BEAM ... I think that one may be geometric. It appears to implicitly describe an arb8 ... https://www.researchgate.net/figure/Coordinate-system-of-2-node-beam-element_fig4_283381413

I also could not find a good doc showing all elements_solid notation (eg, node number) for example 20-10 - 15 nodes brick or prism, if there are ? 4-6-8 nodes are already done. So, I could not catch which elements are missing

https://ftp.lstc.com/anonymous/outgoing/marleigh/manual/LS-DYNA_Manual_Volume_I_R12.pdf has ELEMENT_SOLID in detail.

view this post on Zulip Sean (Nov 17 2020 at 18:55):

this seems to have some nice examples: https://www.dynamore.de/de/download/papers/forum11/entwicklerforum-2011/erhart.pdf

view this post on Zulip Sean (Nov 17 2020 at 18:56):

oh cool -- https://www.dynaexamples.com/introduction/examples-manual/section/solid

view this post on Zulip starseeker (Apr 11 2021 at 16:55):

Huh, hadn't noticed - we got flagged on HN back in 2019 https://news.ycombinator.com/item?id=21148247

view this post on Zulip starseeker (Apr 11 2021 at 17:00):

Interesting - a comment toward the bottom cites older infrastructure as an issue for contributing...

view this post on Zulip Sean (Apr 12 2021 at 05:29):

I saw it when it was posted and followed, but there wasn't really anything worth chiming in on. I get alerts.

view this post on Zulip Himanshu (Apr 15 2021 at 19:21):

Hi @Sumagna Das what's up

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:22):

hey

view this post on Zulip Himanshu (Apr 15 2021 at 19:22):

how's going?

view this post on Zulip Himanshu (Apr 15 2021 at 19:23):

Hey @Jeffrey Liu

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:23):

you came online after so many months or a year :sweat: ?

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:23):

Himanshu Sekhar Nayak said:

how's going?

online exams going on right now

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:23):

getting ready for physical science :smile:

view this post on Zulip Himanshu (Apr 15 2021 at 19:23):

after some months I came here

view this post on Zulip Jeffrey Liu (Apr 15 2021 at 19:23):

Hey everyone! Hope you're all safe and doing well.

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:24):

Jeffrey Liu said:

Hey everyone! Hope you're all safe and doing well.

you also dont come online that much now :smile:

view this post on Zulip Himanshu (Apr 15 2021 at 19:24):

btw I am currently enrolled in University

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:24):

oh nice

view this post on Zulip Himanshu (Apr 15 2021 at 19:25):

so admission process and other areas took too much time due to COVID

view this post on Zulip Himanshu (Apr 15 2021 at 19:25):

so I was offline for many days

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:25):

yea
now everything either being postponed or getting delayed due to COVID

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:26):

hows Covid going on in your city tho?

view this post on Zulip Himanshu (Apr 15 2021 at 19:26):

Jeffrey Liu said:

Hey everyone! Hope you're all safe and doing well.

yeah I am fine. What's about you? Enrolled in university or not?

view this post on Zulip Himanshu (Apr 15 2021 at 19:27):

Sumagna Das said:

hows Covid going on in your city tho?

83 new cases today

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:27):

oh

view this post on Zulip Himanshu (Apr 15 2021 at 19:27):

day by day it's rising

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:27):

yea
now its spiking

view this post on Zulip Himanshu (Apr 15 2021 at 19:28):

yep

view this post on Zulip Himanshu (Apr 15 2021 at 19:28):

you are in class 10 right?

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:28):

yea

view this post on Zulip Himanshu (Apr 15 2021 at 19:28):

cbse?

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:28):

boards next year

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:28):

Himanshu Sekhar Nayak said:

cbse?

naah

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:28):

state board

view this post on Zulip Himanshu (Apr 15 2021 at 19:28):

oh...

view this post on Zulip Himanshu (Apr 15 2021 at 19:29):

how's classes are going on?

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:29):

online for now

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:29):

our school started offline classes

view this post on Zulip Himanshu (Apr 15 2021 at 19:29):

omg

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:29):

then suddenly closed them for mock test

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:29):

then online exams came

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:30):

so no idea if it will resume again

view this post on Zulip Himanshu (Apr 15 2021 at 19:30):

yeah everywhere online exams

view this post on Zulip Himanshu (Apr 15 2021 at 19:30):

mine also

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:30):

dont know what will happen for our boards next year tho

view this post on Zulip Himanshu (Apr 15 2021 at 19:31):

hmm.. it's strange what may come in future?

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:32):

yea

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:32):

like the boards got cancelled for cbse again this year

view this post on Zulip Himanshu (Apr 15 2021 at 19:32):

yeah

view this post on Zulip Himanshu (Apr 15 2021 at 19:32):

class 10 students are like :grinning: :grinning_face_with_smiling_eyes:

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:33):

yea

view this post on Zulip Himanshu (Apr 15 2021 at 19:34):

it's been months I come today in chat

view this post on Zulip Himanshu (Apr 15 2021 at 19:34):

I was so much busy on those admission process and semester exams

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:34):

yesterday saw a reel saying that its good that the boards got cancelled but if i (the creator) see anyone roaming around, then just see what will happen of you

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:34):

Himanshu Sekhar Nayak said:

it's been months I come today in chat

yea

view this post on Zulip Himanshu (Apr 15 2021 at 19:35):

Sumagna Das said:

yesterday saw a reel saying that its good that the boards got cancelled but if i (the creator) see anyone roaming around, then just see what will happen of you

:rolling_on_the_floor_laughing: :joy:

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:36):

seriously tho

view this post on Zulip Sumagna Das (Apr 15 2021 at 19:36):

they want the boards cancelled but they will go on trips at this moment

view this post on Zulip Himanshu (Apr 15 2021 at 19:39):

Sumagna Das said:

they want the boards cancelled but they will go on trips at this moment

lol

view this post on Zulip Himanshu (Apr 15 2021 at 19:51):

Hi @Sean @Daniel Rossberg I was offline due to admission process and semester exams in the university. Btw currently I am learning data structures and algorithms. Also I want to get back into the track for this org. It would be great if I get to know how BRLCAD is implemented or related to that so that if I got chance I can work on those. Also where I can start from the beginning to understand those. Thanks

view this post on Zulip Sean (Apr 16 2021 at 15:27):

Himanshu Sekhar Nayak said:

Hi Sean Daniel Rossberg I was offline due to admission process and semester exams in the university. Btw currently I am learning data structures and algorithms. Also I want to get back into the track for this org. It would be great if I get to know how BRLCAD is implemented or related to that so that if I got chance I can work on those. Also where I can start from the beginning to understand those. Thanks

@Himanshu Sekhar Nayak That sounds good. For what it's worth, there are literally hundreds of algorithms implemented in BRL-CAD, so it's not constructive to talk about a specific algorithm without also talking about a particular feature (and there are thousands of features).

view this post on Zulip Sean (Apr 16 2021 at 15:29):

Hope you and those important to you stay safe. I noticed the huge spike going on in .in right now. Hopefully the get it under control.

view this post on Zulip Himanshu (Apr 16 2021 at 15:34):

Sean said:

Hope you and those important to you stay safe. I noticed the huge spike going on in .in right now. Hopefully the get it under control.

yeah that's horrifying and I saw 2nd wave is coming.

view this post on Zulip Thusal Ranawaka (Apr 17 2021 at 04:53):

Hi Guys, you missed me?

view this post on Zulip Thusal Ranawaka (Apr 17 2021 at 04:54):

Hi @Himanshu Sekhar Nayak and @Jeffrey Liu! How's it going for everybody?

view this post on Zulip Thusal Ranawaka (Apr 17 2021 at 04:56):

And by the way, sorry Sean, I was busy these days. Got some homework and my uncle's here, so we are on vacation.

view this post on Zulip Thusal Ranawaka (Apr 17 2021 at 04:56):

And Congrats to @Himanshu Sekhar Nayak for University Entry! :tada:

view this post on Zulip scorp08 (Apr 17 2021 at 09:49):

Can brlcad convert .g to FE mesh importable by finite element programs?

view this post on Zulip Sean (Apr 19 2021 at 15:59):

Welcome back @Thusal Ranawaka !

view this post on Zulip Sean (Apr 19 2021 at 16:02):

scorp08 said:

Can brlcad convert .g to FE mesh importable by finite element programs?

@scorp08 Yes, but that is not a simple push button. FE programs require specially prepared meshes. So even if you have a CAD in Creo or NX or AutoCAD or whatever that exports as a mesh cleanly, those meshes typically still need more work before they can be used in a FEA.

view this post on Zulip Sean (Apr 19 2021 at 16:04):

As for BRL-CAD's support, our best FE exporter is probably our Cubit exporter (g-sat). It requires a custom compile and it requires a development license to Cubit (which used to cost $100) but that gave outstanding export results via ACIS.

view this post on Zulip Sean (Apr 19 2021 at 16:08):

Here's an example @scorp08 https://brlcad.org/gallery/picture.php?/33/category/3

view this post on Zulip Thusal Ranawaka (Apr 20 2021 at 13:19):

Sean said:

Welcome back Thusal Ranawaka !

Thanks, Sean! I'll get back to work soon, can you please have a look at #general > primitives.tcl?, I posted some issues there recently.

view this post on Zulip starseeker (May 09 2021 at 23:53):

Does anyone use the rtscale utility? It appears to be to the only user of the TIG plotting routines in libbn...

view this post on Zulip Sean (May 11 2021 at 03:13):

I've used it infrequently as a labeling mechanism. It's one of the few mechanisms available. Screen-Shot-2021-05-10-at-11.04.29-PM.png

view this post on Zulip starseeker (May 11 2021 at 11:44):

Ick. Will have to see if I can set up something better...

view this post on Zulip Sean (May 11 2021 at 16:46):

I didn't try to make it pretty, just the concept. The text is actually oriented in 3D, which is pretty unique.

view this post on Zulip Himanshu (Jun 04 2021 at 13:41):

Thusal Ranawaka said:

And Congrats to Himanshu Sekhar Nayak for University Entry! :tada:

Thanks buddy. How's going?

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:42):

Hi Himanshu!

view this post on Zulip Himanshu (Jun 04 2021 at 13:42):

Hello

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:43):

I am doing fine, thanks for asking. But these days I am so busy with homework and stuff, exams are coming and a lot of other stuff too.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:43):

And I am too lazy to complete those. :sweat_smile:

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:43):

welcome back himanshu

view this post on Zulip Himanshu (Jun 04 2021 at 13:44):

Hey @Sumagna Das How's going?

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:44):

just doing homework

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:45):

tuition teacher said that he will remove those who didnt submit their copy

view this post on Zulip Himanshu (Jun 04 2021 at 13:45):

Thusal Ranawaka said:

And I am too lazy to complete those. :sweat_smile:

:joy: it's okay sometimes

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:45):

so going to do this weeks hw and onwards

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:45):

:sweat:

view this post on Zulip Himanshu (Jun 04 2021 at 13:45):

lol

view this post on Zulip Himanshu (Jun 04 2021 at 13:46):

this pandemic in India getting worse day by day but also conditions are improving

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:46):

Conditions?

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:46):

yeah its improving and getting worse at the same time

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:46):

I heard Odisha is a red zone in COVID.

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:47):

on one side, the daily number of deaths is steady and on the other side, the active cases are decreasing

view this post on Zulip Himanshu (Jun 04 2021 at 13:47):

according to the covid graph I guess, Odisha is around 12 or 13 rank

view this post on Zulip Himanshu (Jun 04 2021 at 13:47):

@Thusal Ranawaka how's the situation there?

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:48):

Himanshu Sekhar Nayak said:

according to the covid graph I guess, Odisha is around 12 or 13 rank

yea

view this post on Zulip Himanshu (Jun 04 2021 at 13:48):

It's been more than 6-7 months I guess, I am trapped inside home

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:48):

btw, did you join the new matrix channel for brl-cad, himanshu?

view this post on Zulip Himanshu (Jun 04 2021 at 13:48):

matrix channel?

view this post on Zulip Himanshu (Jun 04 2021 at 13:49):

brlcad moved to new chat channel or something?

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:49):

Himanshu Sekhar Nayak said:

brlcad moved to new chat channel or something?

well, they are thinking about migrating

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:49):

Himanshu Sekhar Nayak said:

Thusal Ranawaka how's the situation there?

Well, we are bombarded with the 3rd Wave after New Year in April, 3000+ patients every day, 50+ deaths. Hospitals are almost 99.9%

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:49):

Thusal Ranawaka said:

Himanshu Sekhar Nayak said:

Thusal Ranawaka how's the situation there?

Well, we are bombarded with the 3rd Wave after New Year in April, 3000+ patients every day, 50+ deaths. Hospitals are almost 99.9%

hold up
3rd wave :blushing:

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:50):

Government is bringing CINOPHARM doses to immunize people, but that process is not very fast.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:50):

Sumagna Das said:

Thusal Ranawaka said:

Himanshu Sekhar Nayak said:

Thusal Ranawaka how's the situation there?

Well, we are bombarded with the 3rd Wave after New Year in April, 3000+ patients every day, 50+ deaths. Hospitals are almost 99.9%

hold up
3rd wave :blushing:

Yes

view this post on Zulip Himanshu (Jun 04 2021 at 13:50):

India gonna hit 3rd wave soon I guess

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:50):

Thusal Ranawaka said:

Sumagna Das said:

Thusal Ranawaka said:

Himanshu Sekhar Nayak said:

Thusal Ranawaka how's the situation there?

Well, we are bombarded with the 3rd Wave after New Year in April, 3000+ patients every day, 50+ deaths. Hospitals are almost 99.9%

hold up
3rd wave :blushing:

Yes

thats not good

view this post on Zulip Himanshu (Jun 04 2021 at 13:50):

btw anyone of you two are vaccinated or not?

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:51):

First 2 waves were controlled, but this one nearly impossible. We were in a kind of a lockdown for almost 2 weeks now.

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:51):

Himanshu Sekhar Nayak said:

India gonna hit 3rd wave soon I guess

the second wave is destroying everything right now....i pray that the 3rd wave isnt that deadly

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:51):

Himanshu Sekhar Nayak said:

btw anyone of you two are vaccinated or not?

Nope, I think our age is not enough.

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:51):

Himanshu Sekhar Nayak said:

btw anyone of you two are vaccinated or not?

we are under 18 so......

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:52):

My parents got the first dosage of Sinopharm vaccine

view this post on Zulip Himanshu (Jun 04 2021 at 13:52):

I am above 18 but still not vaccinated

view this post on Zulip Himanshu (Jun 04 2021 at 13:52):

some of my friends are vaccinated two times

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:52):

Himanshu Sekhar Nayak said:

I am above 18 but still not vaccinated

well they have started the vaccination process for 18+ olds

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:52):

We are on a shortage of COVISHIELD second dose for about 7 lakhs

view this post on Zulip Himanshu (Jun 04 2021 at 13:53):

Thusal Ranawaka said:

My parents got the first dosage of Sinopharm vaccine

Sinopharm vaccine? SriLanka created Sinopharm?

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:53):

India is not sending us vaccines, because India got 2nd Wave now.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:53):

Himanshu Sekhar Nayak said:

Thusal Ranawaka said:

My parents got the first dosage of Sinopharm vaccine

Sinopharm vaccine? SriLanka created Sinopharm?

It's the Chinese one.

view this post on Zulip Himanshu (Jun 04 2021 at 13:53):

India situation is worse. 18+ are not getting vaccine in major places due to shortage

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:53):

Most of our relations are with China, almost everything in our lands were invested by China

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:54):

I think our country will belong to China in near future.

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:54):

Himanshu Sekhar Nayak said:

India situation is worse. 18+ are not getting vaccine in major places due to shortage

yea......

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:54):

we are also having a shortage of vaccines

view this post on Zulip Himanshu (Jun 04 2021 at 13:54):

@Thusal Ranawaka btw you are talking about matrix channel? Brlcad moved to matrix channel or what?

view this post on Zulip Sumagna Das (Jun 04 2021 at 13:55):

somehow my family members who have a comorbidity got the 2 doses of covishield

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:55):

But the Chinese vaccine is good, and US research showed that after 14 days of taking the 2nd dose of Sinopharm vaccine, it immunes the human body from becoming serious if you get COVID by 100%

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:55):

Himanshu Sekhar Nayak said:

Thusal Ranawaka btw you are talking about matrix channel? Brlcad moved to matrix channel or what?

Yes

view this post on Zulip Himanshu (Jun 04 2021 at 13:56):

any link so that I can join too?

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 13:56):

Himanshu Sekhar Nayak said:

any link so that I can join too?

brlcad::matrix.org or something like that

view this post on Zulip Himanshu (Jun 04 2021 at 14:01):

btw is this channel not active anymore or what?

view this post on Zulip Himanshu (Jun 04 2021 at 14:01):

or brlcad planning to move there

view this post on Zulip Himanshu (Jun 04 2021 at 14:01):

?

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:02):

this channel is still active

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:02):

there are some more bridgings in matrix according to sean.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:02):

but they'll eventually move completely to matrix.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:03):

Himanshu did you participate in GSoC?

view this post on Zulip Himanshu (Jun 04 2021 at 14:04):

yeah I am planning to contribute here and participate in upcoming GSoC

view this post on Zulip Himanshu (Jun 04 2021 at 14:05):

I came here to talk something about GSoC with Sean

view this post on Zulip Himanshu (Jun 04 2021 at 14:05):

looks like he is offline

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:05):

He's idle.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:06):

He normally comes here at around 12AM - 10AM next day according to my analysis.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:06):

In local time

view this post on Zulip Himanshu (Jun 04 2021 at 14:07):

Thanks for info

view this post on Zulip Himanshu (Jun 04 2021 at 14:07):

I completely lost track after going to university

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:07):

Is University opened now?

view this post on Zulip Himanshu (Jun 04 2021 at 14:08):

btw I completed my 1st year

view this post on Zulip Himanshu (Jun 04 2021 at 14:08):

yeah it is opned but online :grinning_face_with_smiling_eyes:

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:08):

How do students get selected for University in India?

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:08):

Himanshu Sekhar Nayak said:

btw I completed my 1st year

time flies...

view this post on Zulip Himanshu (Jun 04 2021 at 14:10):

Thusal Ranawaka said:

How do students get selected for University in India?

Here in India to get into prestigious university like IIT, IIIT or NIT you have to go through JEE exams

view this post on Zulip Himanshu (Jun 04 2021 at 14:10):

it's tough

view this post on Zulip Sean (Jun 04 2021 at 14:10):

Himanshu Sekhar Nayak said:

brlcad moved to new chat channel or something?

We haven't "moved" just yet. But probably soon.

view this post on Zulip Himanshu (Jun 04 2021 at 14:11):

Hello @Sean :high_five:

view this post on Zulip Sean (Jun 04 2021 at 14:12):

Thusal Ranawaka said:

Himanshu Sekhar Nayak said:

any link so that I can join too?

brlcad::matrix.org or something like that

it's #brlcad:matrix.org Go to matrix.org for the client (Element) and enter the #brlcad room, or you can search for BRL-CAD.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:14):

Himanshu Sekhar Nayak said:

Thusal Ranawaka said:

How do students get selected for University in India?

Here in India to get into prestigious university like IIT, IIIT or NIT you have to go through JEE exams

oh

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:15):

Here, we have an exam called "A/Ls" Advanced Level Examinations where you face an exam EXTREMELY HARD EXAM for about 3 subjects and get selected for Universities.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:16):

Every year about 350,000+ students write the exam and less than 75,000 students get selected to Universities.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:16):

Some try the exam for the second time while others who got money go to Universities abroad.

view this post on Zulip Thusal Ranawaka (Jun 04 2021 at 14:18):

There is so much competition that almost 25% of the people who write A/Ls each year gets As for all subjects, still only about 10% get selected to Universities.

view this post on Zulip Himanshu (Jun 04 2021 at 14:23):

@Sean where is the active build hosted? Like in svn or github

view this post on Zulip Himanshu (Jun 04 2021 at 14:24):

?

view this post on Zulip Daniel Rossberg (Jun 04 2021 at 15:34):

https://github.com/BRL-CAD/brlcad

view this post on Zulip Himanshu (Jun 04 2021 at 16:14):

Hey @Daniel Rossberg @Sean I am currently now in 2nd year year of University and really wanted to take part in GSoC next year in this org. So how can I start? :happy:

view this post on Zulip Himanshu (Jun 04 2021 at 16:15):

Also not in terms of GSoC but also I will contribute to this organisation

view this post on Zulip Himanshu (Jun 04 2021 at 16:15):

just want to get start point

view this post on Zulip Daniel Rossberg (Jun 04 2021 at 16:42):

Hi @Himanshu Sekhar Nayak, did you already succeeded to compile the programs from our GitHub repository?

view this post on Zulip Daniel Rossberg (Jun 04 2021 at 16:46):

For a project, you can look at the list of the ideas for this year: https://github.com/opencax/GSoC/issues?q=is%3Aopen+sort%3Aupdated-desc+label%3A%22GSoC+2021%22+label%3A%22Project%3A+BRL-CAD%22
Many of them are still available.

view this post on Zulip Himanshu (Jun 04 2021 at 17:22):

Daniel Rossberg said:

Hi Himanshu Sekhar Nayak, did you already succeeded to compile the programs from our GitHub repository?

yeah build is in process as my pc is dual core so fans spinning like aeroplane turbine engine :neutral:

view this post on Zulip Himanshu (Jun 04 2021 at 17:44):

so build completed and took 27 minutes 42 secs in my dual core pc

view this post on Zulip Himanshu (Jun 04 2021 at 17:45):

anyone here having 8 core cpu?

view this post on Zulip Himanshu (Jun 04 2021 at 17:45):

how much time it will take there? Like less than 8 mins or what :thinking:

view this post on Zulip Vikram Atreya (Jun 04 2021 at 18:42):

I have 4 cores, when I compiled for the first time it took me 11 min iirc

view this post on Zulip Sean (Jun 04 2021 at 19:11):

My laptop is 8-core, but sometimes compile on the compile farm machines where some of them have 100+ cores. Compiles all of BRL-CAD in about 2 min.

view this post on Zulip Himanshu (Jun 05 2021 at 04:10):

I just want to confirm that anyone working on this issue? https://github.com/opencax/GSoC/issues/28

view this post on Zulip Himanshu (Jun 05 2021 at 04:11):

Because I want to work on it.

view this post on Zulip Daniel Rossberg (Jun 05 2021 at 12:36):

Himanshu Sekhar Nayak said:

Because I want to work on it.

Nice :big_smile:
This part of BRL-CAD is currently orphaned, which is also a bit my fault. Recommended readings are:

view this post on Zulip Himanshu (Jun 05 2021 at 16:50):

Daniel Rossberg said:

Himanshu Sekhar Nayak said:

Because I want to work on it.

Nice :big_smile:
This part of BRL-CAD is currently orphaned, which is also a bit my fault. Recommended readings are:

I will look into it.

view this post on Zulip Himanshu (Jun 07 2021 at 02:05):

Screenshot_2021-06-07_07-34-42.png

view this post on Zulip Himanshu (Jun 07 2021 at 02:06):

Am I doing anything wrong? When the ray trace is complete it is only showing a white box not the result that I expected from here https://brlcad.org/wiki/Tutorial/Newbie#Modeling

view this post on Zulip Himanshu (Jun 07 2021 at 02:07):

Also this page is 404 https://brlcad.org/gallery/diagrams/primitives

view this post on Zulip Sean (Jun 07 2021 at 15:02):

Himanshu Sekhar Nayak said:

Am I doing anything wrong? When the ray trace is complete it is only showing a white box not the result that I expected from here https://brlcad.org/wiki/Tutorial/Newbie#Modeling

Not anything wrong -- I believe that's a bug. It looks like the OpenGL context isn't drawing the background color (or perhaps the background color is the same as the transparency color) or something similar.

view this post on Zulip Sean (Jun 07 2021 at 15:03):

Himanshu Sekhar Nayak said:

Also this page is 404 https://brlcad.org/gallery/diagrams/primitives

That might have been our previous gallery. I think this is the link: https://brlcad.org/gallery/picture.php?/5/category/1

view this post on Zulip Sumagna Das (Jun 07 2021 at 15:05):

Sean said:

Himanshu Sekhar Nayak said:

Am I doing anything wrong? When the ray trace is complete it is only showing a white box not the result that I expected from here https://brlcad.org/wiki/Tutorial/Newbie#Modeling

Not anything wrong -- I believe that's a bug. It looks like the OpenGL context isn't drawing the background color (or perhaps the background color is the same as the transparency color) or something similar.

if thats a bug
then i think i also have that transparent background bug

view this post on Zulip Himanshu (Jun 07 2021 at 18:29):

Sean said:

Himanshu Sekhar Nayak said:

Am I doing anything wrong? When the ray trace is complete it is only showing a white box not the result that I expected from here https://brlcad.org/wiki/Tutorial/Newbie#Modeling

Not anything wrong -- I believe that's a bug. It looks like the OpenGL context isn't drawing the background color (or perhaps the background color is the same as the transparency color) or something similar.

Anything possible to fix it? Like something log or something?

view this post on Zulip Himanshu (Jun 08 2021 at 05:17):

Like if I can see log where it is failing.

view this post on Zulip Himanshu (Jun 08 2021 at 19:09):

@Daniel Rossberg So I went through all the links and here are my briefs. I went through the basic terms like annotations, wireframe view, and also about three features to be included like labels, notes, and dimensions. Also, I saw this project requirement is C/C++ and vector math. Since I have a little knowledge of vector math but I am eager to give a start on this so that I can contribute too. GSoC for next year is far away so I think in this mean time I will be available to learn and contribute to this project.

view this post on Zulip Sean (Jun 09 2021 at 05:21):

@Himanshu Sekhar Nayak You have a big hill to climb, but you are getting started the right way (early). Especially for GSoC...

view this post on Zulip Sean (Jun 09 2021 at 05:23):

As for the bug, that's not an easy one to debug if you don't know how to use a debugger... I suggest doing a tutorial on a debugger for your platform, and then stepping through rt's drawing code to see if you can figure out what's wrong.

view this post on Zulip Sean (Jun 09 2021 at 05:24):

gdb or lldb for linux or mac, visual studio's debugger for windows ... they all work well.

view this post on Zulip Sean (Jun 09 2021 at 05:24):

the code in question that does drwaing is in src/libfb/if_ogl.c

view this post on Zulip Sean (Jun 09 2021 at 05:25):

libfb is our framebuffer library, which is a fancy word for a library that draws into windows

view this post on Zulip Himanshu (Jun 09 2021 at 05:26):

Sean said:

As for the bug, that's not an easy one to debug if you don't know how to use a debugger... I suggest doing a tutorial on a debugger for your platform, and then stepping through rt's drawing code to see if you can figure out what's wrong.

Btw I know debugging and I think I used past 2 days during move constructor on vectors. So probably I think I will try to debug it.

view this post on Zulip Sean (Jun 09 2021 at 05:27):

if you run rt outside of mged, you'll probably see the same bug, but that's something to confirm. You can also confirm whether you see the bug when you run rt -F/dev/X (if you're on mac or linux) which makes it use the src/libfb/if_X24.c implementation instead of the if_ogl.c implementation.

view this post on Zulip Sean (Jun 09 2021 at 05:28):

I suspect /dev/X will work fine, which again reinforces / confirms the assumption that it's an issue in if_ogl.c

view this post on Zulip Sean (Jun 09 2021 at 05:29):

the ogl_open*() calls are likely candidates as they set things up

view this post on Zulip Himanshu (Jun 09 2021 at 10:34):

Sean said:

the code in question that does drwaing is in src/libfb/if_ogl.c

Btw when I list the directory of src/, there is no libfb/. So I located it using find but found it in a different directory src/libdm/glx/if_ogl.c. So are they same? I mean libfm is framebuffer library but what's the libdm?

view this post on Zulip Himanshu (Jun 09 2021 at 10:42):

and also if_X24.c found same in libdm/ dir.

view this post on Zulip starseeker (Jun 09 2021 at 12:05):

that's correct (libfb and libdm were merged)

view this post on Zulip Sean (Jun 09 2021 at 21:31):

right, sorry, I'm still too used to their old location

view this post on Zulip Himanshu (Jun 10 2021 at 00:00):

I ray trace on simple cube structure and got the correct result Screenshot_2021-06-10_05-29-02.png

view this post on Zulip Himanshu (Jun 10 2021 at 00:00):

but when I combine with cube and sphere, the result seems weird

view this post on Zulip Himanshu (Jun 10 2021 at 00:04):

also I saw the frame buffer window is using dev/ogl

view this post on Zulip Sean (Jun 10 2021 at 00:15):

Try /dev/X

view this post on Zulip Sean (Jun 10 2021 at 00:18):

Himanshu Sekhar Nayak said:

I ray trace on simple cube structure and got the correct result

I don't know where my comment went, but this didn't look like the correct result. The framebuffer window appears to have some transparency to it or alpha channel blending going on, and it shouldn't.

view this post on Zulip Sean (Jun 10 2021 at 00:19):

Sean said:

Try /dev/X

try "rt -F/dev/X" in mged

view this post on Zulip Sean (Jun 10 2021 at 00:19):

If that's also horked, then it's almost certainly in the windowing setup. If it's fine, then it's either in ogl's windowing setup or in opengl setup.

view this post on Zulip Himanshu (Jun 10 2021 at 01:08):

Sean said:

Sean said:

Try /dev/X

try "rt -F/dev/X" in mged

Screenshot_2021-06-10_06-18-35.png

view this post on Zulip Himanshu (Jun 10 2021 at 01:09):

Previous window displays without any background but dev/X displays with a background that looks correct

view this post on Zulip Himanshu (Jun 10 2021 at 01:12):

But the result I wanted is not this. Screenshot_2021-06-10_06-42-13.png

view this post on Zulip Himanshu (Jun 10 2021 at 01:40):

btw got the radio geometry result fine Screenshot_2021-06-10_07-09-33.png

view this post on Zulip starseeker (Jun 10 2021 at 01:41):

What result were you expecting? What is the CSG tree you are raytracing? (tree objname)

view this post on Zulip starseeker (Jun 10 2021 at 01:42):

The transparency issue is annoying but most likely not a raytracing issue - we've see that before, and it has to do with the details of how the OpenGL window is created. A useful test is whether the GLFW demo apps also exhibit the transparency issue.

view this post on Zulip Himanshu (Jun 10 2021 at 01:44):

@starseeker when I rt I didn't get the expected result shown here https://brlcad.org/wiki/Tutorial/Newbie#Modeling

view this post on Zulip starseeker (Jun 10 2021 at 01:45):

If you want the sphere to show outside the box, you have to make its radius bigger. Based on your wireframe the sphere is fully contained in the box.

view this post on Zulip Himanshu (Jun 10 2021 at 01:46):

starseeker said:

The transparency issue is annoying but most likely not a raytracing issue - we've see that before, and it has to do with the details of how the OpenGL window is created. A useful test is whether the GLFW demo apps also exhibit the transparency issue.

btw what's the difference between X and ogl? Just curious to know.

view this post on Zulip starseeker (Jun 10 2021 at 01:50):

ogl is using OpenGL graphics. The X backend is a raw X11 implementation of a subset of the display logic - it can't do shaded views, but it can draw successfully even when the OpenGL stack isn't working.

view this post on Zulip Himanshu (Jun 10 2021 at 01:55):

starseeker said:

ogl is using OpenGL graphics. The X backend is a raw X11 implementation of a subset of the display logic - it can't do shaded views, but it can draw successfully even when the OpenGL stack isn't working.

What's the default frame view of rt? ogl or X? I suspect ogl.

view this post on Zulip starseeker (Jun 10 2021 at 02:03):

ogl

view this post on Zulip Himanshu (Jun 10 2021 at 03:43):

Sean said:

Himanshu Sekhar Nayak You have a big hill to climb, but you are getting started the right way (early). Especially for GSoC...

SO where should I start the path? Like learning mged, vector maths which will give an edge on this project or any suggestions from your side will be grateful. :smiley:

view this post on Zulip Sean (Jun 10 2021 at 03:54):

yeah, @Himanshu Sekhar Nayak at a glance, I don't think the tutorial image is right. It clearly shows creating a sphere and a box using the make command without changing the view so the sphere will be inside the box. then it shows a sphere that is bigger than the box.

so I can see how you would expect to see that result. really there should be a zoom .5 or zoom 2 command in there before creating the second primitive so they're different sizes, and then unioned together properly. the state it left you with is overlapping primitives which isn't useful or correct. if anything, it misleads that having them overlapping is a proper union.

view this post on Zulip Sean (Jun 10 2021 at 03:54):

If you want, see if you can fix / improve the tutorial?

view this post on Zulip Himanshu (Jun 10 2021 at 03:55):

Sean said:

If you want, see if you can fix / improve the tutorial?

yeah I can improve the tutorial

view this post on Zulip Sean (Jun 10 2021 at 03:55):

Looks like it's out of date in several places in the screenshots

view this post on Zulip Himanshu (Jun 10 2021 at 10:35):

Hey @Sumagna Das what's up?

view this post on Zulip Himanshu (Jun 10 2021 at 10:35):

Online classes?

view this post on Zulip Sumagna Das (Jun 10 2021 at 10:57):

Himanshu Sekhar Nayak said:

Hey Sumagna Das what's up?

nothing much
just came online to check some chats on telegram

view this post on Zulip Sumagna Das (Jun 10 2021 at 10:58):

Himanshu Sekhar Nayak said:

Online classes?

nope
was chatting to my friends

view this post on Zulip Sumagna Das (Jun 10 2021 at 10:59):

whatcha doing right now....himanshu

view this post on Zulip Himanshu (Jun 11 2021 at 00:18):

Sumagna Das said:

whatcha doing right now....himanshu

some college stuffs

view this post on Zulip Himanshu (Jun 11 2021 at 00:26):

Himanshu Sekhar Nayak said:

Sean said:

If you want, see if you can fix / improve the tutorial?

yeah I can improve the tutorial

I am thinking giving an example of simple cube instead of that tutorial which was already posted. Is that fine?

view this post on Zulip Sean (Jun 11 2021 at 03:45):

I suppose, I guess it depends what the goal of the tutorial is. We have 2 or 3 other introductory tutorials, so the focus there may be adequate to just show a single primitive.

view this post on Zulip Himanshu (Jun 11 2021 at 15:57):

Sean said:

I suppose, I guess it depends what the goal of the tutorial is. We have 2 or 3 other introductory tutorials, so the focus there may be adequate to just show a single primitive.

It says for Newbies where it shows modeling of a simple primitive with instructions to install on windows. https://brlcad.org/wiki/Tutorial/Newbie

view this post on Zulip Himanshu (Jun 12 2021 at 16:03):

Screenshot_2021-06-12_21-32-14.png Am I missing something? After saving changes, it doesn't commit or restricting me to modify the pages?

view this post on Zulip Vikram Atreya (Jun 12 2021 at 16:04):

If I'm guessing correctly, your webpage is not displaying the captcha box and since you aren't filling it, you are not able to commit changes

view this post on Zulip Vikram Atreya (Jun 12 2021 at 16:05):

Maybe you could try from a different browser

view this post on Zulip Himanshu (Jun 13 2021 at 00:33):

@Vikram Atreya :thinking: btw I am using Firefox. May be chrome will fix it.

view this post on Zulip Himanshu (Jun 13 2021 at 01:10):

btw I used both chrome and firefox but still it doesn't allow me to do the modifications

view this post on Zulip Himanshu (Jun 13 2021 at 01:10):

Screenshot_2021-06-13_06-37-50.png

view this post on Zulip Vikram Atreya (Jun 13 2021 at 03:14):

Its asking you the "square root" of 50+50 which would be 10. I think you missed the square root

view this post on Zulip Himanshu (Jun 13 2021 at 04:04):

Vikram Atreya said:

Its asking you the "square root" of 50+50 which would be 10. I think you missed the square root

omg what a noob I am. My attention directly goes to + operator :expressionless: . Thanks for pointing out.

view this post on Zulip Himanshu (Jun 13 2021 at 04:08):

@Sean When I was reading about annot so I came across some grammatical errors and typos. So I removed them. Here take a look https://brlcad.org/w/index.php?title=Annot&type=revision&diff=11917&oldid=10406

view this post on Zulip Himanshu (Jun 13 2021 at 04:34):

btw how to edit the radius of a sphere which is already created?

view this post on Zulip Himanshu (Jun 13 2021 at 04:34):

in mged

view this post on Zulip Himanshu (Jun 13 2021 at 05:18):

btw @Sean I created a new sphere with a new radius but I almost got it but not exactly looking like tutorial. Here is a look. Screenshot_2021-06-13_10-45-10.png

view this post on Zulip Vikram Atreya (Jun 13 2021 at 07:22):

Take the diameter of the sphere to be ( side*root(2) ) for it to look like the given picture

view this post on Zulip Himanshu (Jun 14 2021 at 01:06):

Vikram Atreya said:

Take the diameter of the sphere to be ( side*root(2) ) for it to look like the given picture

Thanks and I got it :smiley: Screenshot_2021-06-14_06-35-23.png

view this post on Zulip Himanshu (Jun 14 2021 at 01:17):

btw slightly increased the radius and now looks perfect. Screenshot_2021-06-14_06-46-51.png

view this post on Zulip Sean (Jun 14 2021 at 05:31):

Himanshu Sekhar Nayak said:

btw Sean I created a new sphere with a new radius but I almost got it but not exactly looking like tutorial. Here is a look. Screenshot_2021-06-13_10-45-10.png

That looks good! So the question is... are you simplifying the tutorial to eliminate there being two primitives or are you adding the instruction (and updated image(s)) to explain how to make the bigger sphere?

view this post on Zulip Himanshu (Jun 14 2021 at 12:39):

Sean said:

Himanshu Sekhar Nayak said:

btw Sean I created a new sphere with a new radius but I almost got it but not exactly looking like tutorial. Here is a look. Screenshot_2021-06-13_10-45-10.png

That looks good! So the question is... are you simplifying the tutorial to eliminate there being two primitives or are you adding the instruction (and updated image(s)) to explain how to make the bigger sphere?

btw I think to add a Linux section on how to install because there is already an outdated part of the installation on windows and I want to keep windows documentation as like that before since I don't have any windows machine to take snapshots. Also, I want to change the tutorial only to single primitive(cube) and ray trace on it. Any suggestions?

view this post on Zulip Sean (Jun 14 2021 at 15:55):

@Himanshu Sekhar Nayak I think your suggestions there sound good. The screenshots are out of date, so anything you can do there would be an improvement.

view this post on Zulip Thusal Ranawaka (Jun 18 2021 at 03:35):

Hey @Sean , can BRL-CAD do animations?

view this post on Zulip Daniel Rossberg (Jun 18 2021 at 06:35):

https://brlcad.org/wiki/Animation ?

view this post on Zulip Thusal Ranawaka (Jun 18 2021 at 13:40):

Oh, yes.

view this post on Zulip Sean (Jun 19 2021 at 01:58):

We had a lot of direct animation features and tools in BRL-CAD too, but they were stripped out a few years ago as they were out of date. There were tools for flying a camera around a scene and creating keyframe interpolations and more, but it was all quite complex and not terribly well documented.

What Daniel linked is what we decided was best for now. Let animations occur via ouside scripting for now until there's enough interest and a developer willing to write and maintain new tools.

view this post on Zulip Himanshu (Jun 21 2021 at 18:02):

Just added a new section but still, it's a work in progress because I started today honestly. One doubt. I want to add a list for OpenGL: inside Other development packages needed to build on Debian-based platforms but it gives me a separate list. Anything I am missing?

view this post on Zulip Himanshu (Jun 21 2021 at 18:02):

Here is the link

view this post on Zulip Himanshu (Jun 21 2021 at 18:02):

https://brlcad.org/wiki/Tutorial/Newbie#Installing_on_Ubuntu.2FDebian

view this post on Zulip Vikram Atreya (Jun 21 2021 at 18:06):

So you want to add a sublist under for openGL?

view this post on Zulip Himanshu (Jun 21 2021 at 18:08):

I want to add for openGL under Other development packages needed to build on Debian-based platforms

view this post on Zulip Himanshu (Jun 21 2021 at 18:09):

but idk why for openGL has two bullets

view this post on Zulip Vikram Atreya (Jun 21 2021 at 18:09):

Check now

view this post on Zulip Vikram Atreya (Jun 21 2021 at 18:09):

You put 2 stars, you should put only 1

view this post on Zulip Himanshu (Jun 21 2021 at 18:10):

no, not like that.

view this post on Zulip Vikram Atreya (Jun 21 2021 at 18:10):

Check again

view this post on Zulip Himanshu (Jun 21 2021 at 18:11):

yeah seems fine and I already tested that but the problem is the line spacings between two code snippets are like merged.

view this post on Zulip Himanshu (Jun 21 2021 at 18:12):

I want some space around it

view this post on Zulip Himanshu (Jun 21 2021 at 18:12):

but unable to do it and everytime I add new line it gives two bulletins

view this post on Zulip Himanshu (Jun 21 2021 at 18:13):

See the sublist of Before following the build instructions. You need

view this post on Zulip Vikram Atreya (Jun 21 2021 at 18:13):

Yeah, got your point

view this post on Zulip Vikram Atreya (Jun 21 2021 at 18:20):

https://en.wikipedia.org/wiki/Help:List
Check spacing between items, they suggest adding a pair of break elements

view this post on Zulip Himanshu (Jun 21 2021 at 18:57):

Now looks great https://brlcad.org/wiki/Tutorial/Newbie#Installing_on_Ubuntu.2FDebian

view this post on Zulip Himanshu (Jun 21 2021 at 19:31):

@Sean Just completed section of Ubuntu/Debian. I have been thinking to add the rest of the sections like Arch, Redhat/CentOS/Fedora. Then I will add new snapshots by removing the old one and also improving the Modeling section. For now here is a look https://brlcad.org/wiki/Tutorial/Newbie#Installing_on_Ubuntu.2FDebian

view this post on Zulip Himanshu (Jun 22 2021 at 19:48):

@Sean Here are some of the progress https://brlcad.org/wiki/Tutorial/Newbie

view this post on Zulip Sean (Jun 26 2021 at 04:50):

Himanshu Sekhar Nayak said:

Sean Here are some of the progress https://brlcad.org/wiki/Tutorial/Newbie

@Himanshu Sekhar Nayak looks like a lot of good updates, but a couple questions. Looks like you added a prerequisite section, but then don't actually list prerequisites.. Instead, maybe just mention any details in each platform-specific section? Also, I see you completely wiped out the Windows installation section. That's literally the most frequent download, so it would be good to say something.

view this post on Zulip Sean (Jun 26 2021 at 04:51):

That intro paragraph feels very unhelpful... it's a lot of text that doesn't speak to a newbie.

I'm referring to this paragraph: "BRL-CAD is a powerful open-source cross-platform solid modeling system that includes interactive geometry editing, high-performance ray-tracing for rendering and geometric analysis, a system performance analysis benchmark suite, geometry libraries for application developers, and more than 30 years of active development. It allows you to design houses if you are an architect, design robotics part, or just draw and model things you find in the world."

view this post on Zulip Himanshu (Jun 26 2021 at 04:57):

Sean said:

Himanshu Sekhar Nayak said:

Sean Here are some of the progress https://brlcad.org/wiki/Tutorial/Newbie

Himanshu Sekhar Nayak looks like a lot of good updates, but a couple questions. Looks like you added a prerequisite section, but then don't actually list prerequisites.. Instead, maybe just mention any details in each platform-specific section? Also, I see you completely wiped out the Windows installation section. That's literally the most frequent download, so it would be good to say something.

Inside the prerequisites section, I added more sub-section for platform-specific options. I thought that prerequisites for all related distro before installing brlcad will be helpful. The windows installation is outdated on the page so I decided to add windows installation later. But I will surely add it back.

view this post on Zulip Himanshu (Jun 26 2021 at 04:59):

Sean said:

That intro paragraph feels very unhelpful... it's a lot of text that doesn't speak to a newbie.

I'm referring to this paragraph: "BRL-CAD is a powerful open-source cross-platform solid modeling system that includes interactive geometry editing, high-performance ray-tracing for rendering and geometric analysis, a system performance analysis benchmark suite, geometry libraries for application developers, and more than 30 years of active development. It allows you to design houses if you are an architect, design robotics part, or just draw and model things you find in the world."

Noted. I will remove it and make it simple to read.

view this post on Zulip Himanshu (Jun 26 2021 at 05:00):

I thought to add sections like Introduction, Prerequisite, Installation, and Modelling.

view this post on Zulip Himanshu (Jun 26 2021 at 05:02):

prerequisite will have sub-sections for specific distro on how to install prerequisite software before installing brlcad

view this post on Zulip Himanshu (Jun 26 2021 at 05:02):

and installation part will handle on how to install it after all the prerequisite for specific distro is installed.

view this post on Zulip Himanshu (Jun 26 2021 at 05:03):

Any suggestions @Sean ?

view this post on Zulip Himanshu (Jun 26 2021 at 05:08):

Currently, I don't have a windows machine but in July or August, I will probably buy and I will add the windows section also. For now, I will add Linux-specific prerequisites and installation.

view this post on Zulip Sean (Jun 26 2021 at 06:00):

Himanshu Sekhar Nayak said:

Inside the prerequisites section, I added more sub-section for platform-specific options. I thought that prerequisites for all related distro before installing brlcad will be helpful. The windows installation is outdated on the page so I decided to add windows installation later. But I will surely add it back.

Right, I got that but that's a bit confusing to read no? I mean if I'm reading this, i'm only concerned about one platform -- my platform. So having a prereq setion with N platforms listed followed immediately by another section with M platforms.. the reader has to jump over text in each section tediously. Instead of just reading their platform-specific section. I'm suggesting viewing prereq as simply an installation step that may or may not be necessary. There really aren't many actual prereqs for most platforms anyways...

view this post on Zulip Sean (Jun 26 2021 at 06:03):

Himanshu Sekhar Nayak said:

Currently, I don't have a windows machine but in July or August, I will probably buy and I will add the windows section also. For now, I will add Linux-specific prerequisites and installation.

I mean, that's the concern with removing the section. You removed potentially helpful text for the most popular download and aren't set up to provide a proper update. I would suggest reading through what was removed and put back what appear to be the most informative steps. Only some of the images were out of date. Some where entirely relevant.

view this post on Zulip Himanshu (Jun 26 2021 at 16:58):

Sean said:

Himanshu Sekhar Nayak said:

Inside the prerequisites section, I added more sub-section for platform-specific options. I thought that prerequisites for all related distro before installing brlcad will be helpful. The windows installation is outdated on the page so I decided to add windows installation later. But I will surely add it back.

Right, I got that but that's a bit confusing to read no? I mean if I'm reading this, i'm only concerned about one platform -- my platform. So having a prereq setion with N platforms listed followed immediately by another section with M platforms.. the reader has to jump over text in each section tediously. Instead of just reading their platform-specific section. I'm suggesting viewing prereq as simply an installation step that may or may not be necessary. There really aren't many actual prereqs for most platforms anyways...

Yeah, it will be too long to read and scroll down to reach the Installation section. Okay, I remove the prerequisite section and will add the Installation section with sub-sections of diffrent platforms. That's sound good?

view this post on Zulip Sean (Jun 29 2021 at 04:58):

Yeah, sounds good!

view this post on Zulip Sean (Jul 01 2021 at 17:47):

m35s_1024.png Made a pretty rendering of the 100k object (no instances) m35 borg cube.

view this post on Zulip Erik (Jul 01 2021 at 17:55):

valet of the year award? :D

view this post on Zulip Sean (Jul 01 2021 at 18:14):

Renders surprisingly nearly as fast as a single m35... slightly longer prep time (2s vs instantaneous).

view this post on Zulip Erik (Jul 01 2021 at 19:10):

I'd hope the shot time difference would be about as much as to raytrace a a 5x3x3 grid of axis aligned regular boxes that share faces and intersections... :D that's usually awfully quick

view this post on Zulip Himanshu (Jul 05 2021 at 20:58):

@starseeker can I know which app you use to make gif?

view this post on Zulip Himanshu (Jul 06 2021 at 14:39):

btw I used simple screen recorder. :grinning_face_with_smiling_eyes:

view this post on Zulip starseeker (Jul 11 2021 at 17:10):

https://github.com/phw/peek

view this post on Zulip Thusal Ranawaka (Aug 03 2021 at 15:17):

Hi Guys, how's everyone doing?

view this post on Zulip Himanshu (Sep 27 2021 at 20:36):

Hey @Sean how's going? Hope you are doing well. I am just hovering around GSoC projects and found an interesting one https://github.com/opencax/GSoC/issues/25

view this post on Zulip Himanshu (Sep 27 2021 at 20:38):

Looks like it is a higher priority project

view this post on Zulip Himanshu (Oct 09 2021 at 18:24):

I am just about to install BRL-CAD in windows 10. Should I install GnuWin32 for make or should I go through installing a Windows subsystem for Linux(WSL/WSL2)?

view this post on Zulip Himanshu (Oct 09 2021 at 18:24):

I am new to visual studio too since I code in vscode in linux so I switched to windows to check how to build in windows.

view this post on Zulip Himanshu (Oct 09 2021 at 22:00):

never mind. I am finally able to build and run it.

view this post on Zulip Daniel Rossberg (Oct 10 2021 at 17:12):

It should be easy to build BRL-CAD with Visual Studio 2019.

view this post on Zulip Himanshu (Oct 10 2021 at 20:52):

Daniel Rossberg said:

It should be easy to build BRL-CAD with Visual Studio 2019.

Yeah after build it's easy. I just bought a new laptop so testing how brlcad runs in windows too.

view this post on Zulip Himanshu (Oct 11 2021 at 20:58):

@Daniel Rossberg I went through https://github.com/opencax/GSoC/issues/28. Since I am currently studying BCA which is the bachelor of computer applications but still I will give a shot to this issue. I am exploring it and came to a conclusion after reading that only label support is there? Or may be I have to dig more or something to get started. Btw what I think the final solution might be looking like this? Screenshot-2021-10-12-022712.png

view this post on Zulip Himanshu (Oct 11 2021 at 20:59):

Here it has notes, labels, and dimensions too. Maybe something like this will be showing in mged window?

view this post on Zulip Daniel Rossberg (Oct 19 2021 at 17:14):

@Himanshu Sekhar Nayak, I don't like these labels, because they are all distorted. I admit that they look fancy, but if it is about reading, I prefer a straight print.

What do you think about https://sourceforge.net/p/brlcad/patches/535/? Is the last version of the patch okay?

view this post on Zulip Himanshu (Oct 19 2021 at 17:25):

Daniel Rossberg said:

Himanshu Sekhar Nayak, I don't like these labels, because they are all distorted. I admit that they look fancy, but if it is about reading, I prefer a straight print.

What do you think about https://sourceforge.net/p/brlcad/patches/535/? Is the last version of the patch okay?

Hi @Daniel Rossberg :grinning:, I am waiting for your reply. Looks like you are busy this whole week. Btw if I understood then the labels are those square boxes that make a rectangle box that contains some sort of dimensions right? and the notes are displayed in the left side of the image. Just want to make sure that I understood what these annotations means.

view this post on Zulip Himanshu (Oct 19 2021 at 17:28):

I haven't yet gone to the code part yet. Just trying to figure out these meanings first.

view this post on Zulip Daniel Rossberg (Oct 19 2021 at 17:30):

Yes, the labels are the sqare boxes with text, etc.. The notes in the upper left corner is the legend or key.

view this post on Zulip Daniel Rossberg (Oct 19 2021 at 17:33):

You can create simple annotations in BRL-CAD too: in <name> annot
Maybe, you should try this too.

view this post on Zulip Himanshu (Oct 20 2021 at 19:59):

I will take this week to get more familiar to primitive shapes and mged. I will then try on annot.

view this post on Zulip Himanshu (Oct 29 2021 at 19:15):

Learned how to assign material properties and ray tracing in MGED. I will be now jumping to issue from tomorrow onwards.

view this post on Zulip Himanshu (Nov 04 2021 at 10:41):

Hey @Daniel Rossberg Can you point me towards codebase to get familiar? I covered up to 5 units of mged tutorial to have an idea on the application.

view this post on Zulip Daniel Rossberg (Nov 04 2021 at 16:53):

The code base is big. Which feature are you interested in first?

view this post on Zulip Himanshu (Nov 05 2021 at 02:33):

Daniel Rossberg said:

The code base is big. Which feature are you interested in first?

like where the annotation primitive is implemented? So that I can know how the label feature is implemented.

view this post on Zulip Daniel Rossberg (Nov 05 2021 at 18:28):

You can find the implementation of the annotation primitive in the src/librt/primitives/annot/annot.c source file (the canonical place).

src/libged/typein/typein.c contains the logic of the in command in mged. Look for p_annot and annot_in there.

view this post on Zulip Himanshu (Nov 22 2021 at 18:12):

What's the meaning of project not selected to build for this solution configuration while building solution of BRL-CAD after I do Set Startup Projects?

view this post on Zulip Himanshu (Nov 22 2021 at 18:24):

Should I worry about it?

view this post on Zulip Daniel Rossberg (Nov 24 2021 at 15:43):

I haven't seen this yet, but it looks like you tried to build a target which isn't part of the current configuration (e.g. Debug/x64). Probable a mistake(?) This shouldn't happen with ALL_BUILD or mged.

view this post on Zulip Himanshu (Nov 24 2021 at 18:22):

Daniel Rossberg said:

I haven't seen this yet, but it looks like you tried to build a target which isn't part of the current configuration (e.g. Debug/x64). Probable a mistake(?) This shouldn't happen with ALL_BUILD or mged.

My config is Debug/x64 while building the solution. What I got is something like this

view this post on Zulip Himanshu (Nov 24 2021 at 18:22):

259>Project not selected to build for this solution configuration
260>------ Skipped Build: Project: regress-rtwiz_m35_B, Configuration: Debug x64 ------
260>Project not selected to build for this solution configuration
261>------ Skipped Build: Project: regress-rtwiz_m35_C, Configuration: Debug x64 ------
261>Project not selected to build for this solution configuration
262>------ Skipped Build: Project: regress-rtwiz_m35_D, Configuration: Debug x64 ------
262>Project not selected to build for this solution configuration```

view this post on Zulip Daniel Rossberg (Nov 26 2021 at 15:46):

These Projects are in fact tests, i.e. if you build them you start a test, which are excluded from normal builds which create the binaries only.

view this post on Zulip Himanshu (Nov 27 2021 at 13:38):

anyone getting this while configure?

view this post on Zulip Himanshu (Nov 27 2021 at 13:38):

To clear this, replace "C:/Users/Himanshu/Desktop/brlcad/INSTALL" with "C:/Users/Himanshu/Desktop/buildBRLCAD/INSTALL.new" or find the source of the difference.

CMake Error at misc/CMake/BRLCAD_Util.cmake:104 (_message):
  Configure haulted because INSTALL and/or configure script are out of date.
Call Stack (most recent call first):
  CMakeLists.txt:2398 (message)

view this post on Zulip Himanshu (Nov 27 2021 at 13:47):

delete cache solves

view this post on Zulip Himanshu (Nov 28 2021 at 14:51):

@Daniel Rossberg done some testing to check if the arguments that I passed are displaying in GUI are not. Screenshot-11.png Screenshot-12.png Screenshot-13.png

view this post on Zulip starseeker (Nov 29 2021 at 00:28):

@Himanshu Sekhar Nayak As a rule that only happens when something changes in the third party options and the automatically built portions of those files change. What's the difference between those two files?

view this post on Zulip Himanshu (Nov 29 2021 at 04:51):

starseeker said:

Himanshu Sekhar Nayak As a rule that only happens when something changes in the third party options and the automatically built portions of those files change. What's the difference between those two files?

Both images are same typein.c file. I am just having a quick look on how annot works.

view this post on Zulip Daniel Rossberg (Nov 29 2021 at 18:34):

You added two additional arguments, which won't be evaluated. What did you expect? Am I missing something?

view this post on Zulip Himanshu (Nov 29 2021 at 20:01):

Yeah those two args are not gonna work but I am just playing around it see if I am able to display those args. Tomorrow I am gonna test the patch to see the result. @Daniel Rossberg

view this post on Zulip Daniel Rossberg (Nov 30 2021 at 09:42):

Make a break in the annot_in() function and investigate cmd_argvs[11] and cmd_argvs[12] there.

view this post on Zulip Himanshu (Dec 02 2021 at 18:02):

Daniel Rossberg said:

Make a break in the annot_in() function and investigate cmd_argvs[11] and cmd_argvs[12] there.

I applied the patch and found bunch of errors. Like 37 build errors. Now I got it why the patch was not applied.

view this post on Zulip Himanshu (Dec 02 2021 at 18:07):

Should I check what's going and make a fix of that patch if possible ?

view this post on Zulip Sean (Dec 03 2021 at 06:43):

@Himanshu Sekhar Nayak Absolutely, that would be amazingly helpful :)

view this post on Zulip Himanshu (Dec 03 2021 at 14:46):

Is this https://brlcad.org/docs/doxygen-r69426/index.xhtml correct to know about the namespaces, modules and data structures implemented in brlcad?

view this post on Zulip Himanshu (Dec 03 2021 at 15:13):

@Daniel Rossberg I may be wrong but I can't find the definition of bn_vlist_2string(). Can I know where the definition is? VS not able to Go to definition for that function.

view this post on Zulip Daniel Rossberg (Dec 03 2021 at 15:26):

Himanshu Sekhar Nayak said:

Is this https://brlcad.org/docs/doxygen-r69426/index.xhtml correct to know about the namespaces, modules and data structures implemented in brlcad?

It's probably not up-to-date. The page information says that it was created on February 14th, 2017.

view this post on Zulip Daniel Rossberg (Dec 03 2021 at 15:37):

Himanshu Sekhar Nayak said:

Daniel Rossberg I may be wrong but I can't find the definition of bn_vlist_2string(). Can I know where the definition is? VS not able to Go to definition for that function.

It looks like this function was renamed to bv_vlist_2string(), sometime.

view this post on Zulip Himanshu (Dec 03 2021 at 16:53):

Daniel Rossberg said:

Himanshu Sekhar Nayak said:

Is this https://brlcad.org/docs/doxygen-r69426/index.xhtml correct to know about the namespaces, modules and data structures implemented in brlcad?

It's probably not up-to-date. The page information says that it was created on February 14th, 2017.

Any link where I can get up to date information?

view this post on Zulip Himanshu (Dec 03 2021 at 16:53):

I think it can help to know the info well.

view this post on Zulip Daniel Rossberg (Dec 03 2021 at 17:07):

I'm afraid, there is no current Doxygen documentation online. But, you can build it yourself. If you have Doxygen installed, make dox will create it. (However, this is easier to get on Linux than on Windows.)

view this post on Zulip Himanshu (Dec 03 2021 at 17:09):

Daniel Rossberg said:

I'm afraid, there is no current Doxygen documentation online. But, you can build it yourself. If you have Doxygen installed, make dox will create it. (However, this is easier to get on Linux than on Windows.)

btw I renamed to bv_vlist_2string(), now the build finished with no errors.

view this post on Zulip Himanshu (Dec 03 2021 at 17:19):

I want to confirm one thing. After I applied the patch, now the annotation text can be moved and rotated or it was already there and I came to know now?

view this post on Zulip Himanshu (Dec 03 2021 at 17:44):

As far I know that primitives can be rotated and moved but don't know about annotations

view this post on Zulip Daniel Rossberg (Dec 03 2021 at 17:52):

The patch should add the rotation and scaling feature to the annotations. I.e., an angle and the size in mm.

view this post on Zulip Himanshu (Dec 03 2021 at 17:58):

Daniel Rossberg said:

The patch should add the rotation and scaling feature to the annotations. I.e., an angle and the size in mm.

Where it should display? bu_vls_printf(vls, " { label %s ref_pt %d position %s txt_size %.25g txt_rot_angle %.25g }", bu_vls_addr(&tsg->label), tsg->ref_pt, rel_pos, tsg->txt_size, tsg->txt_rot_angle);

view this post on Zulip Himanshu (Dec 03 2021 at 17:59):

After the annot txt is created?

view this post on Zulip Daniel Rossberg (Dec 03 2021 at 18:31):

It's already there: tsg->txt_rot_angle and tsg->txt_size

view this post on Zulip Sean (Dec 05 2021 at 05:17):

There was a Jenkins job building the docs per commit, but it hasn't yet been updated for git -- so it's only up-to-date as of March. It's at https://brlcad.org/docs/api/

view this post on Zulip Yuvraj Aaseri (Dec 06 2021 at 09:14):

Hi, my name is Yuvraj Aseri. I am interested in contributing to BRL-CAD and learn more about high performance computing and graphics. Can someone help me to get started with BRL-CAD? Also, it will be very helpful if you could point to some good first issues to get started with BRL-CAD.

view this post on Zulip Himanshu (Dec 07 2021 at 14:42):

Yuvraj Aaseri said:

Hi, my name is Yuvraj Aseri. I am interested in contributing to BRL-CAD and learn more about high performance computing and graphics. Can someone help me to get started with BRL-CAD? Also, it will be very helpful if you could point to some good first issues to get started with BRL-CAD.

Hello @Yuvraj Aaseri . You can start with building BRL-CAD source from https://github.com/BRL-CAD/brlcad and for issues https://sourceforge.net/p/brlcad/bugs/?limit=250. Hover around MGED as it will be good way to start https://brlcad.org/w/images/c/cf/Introduction_to_MGED.pdf

view this post on Zulip Yuvraj Aaseri (Dec 07 2021 at 14:48):

Himanshu Sekhar Nayak said:

Yuvraj Aaseri said:

Hi, my name is Yuvraj Aseri. I am interested in contributing to BRL-CAD and learn more about high performance computing and graphics. Can someone help me to get started with BRL-CAD? Also, it will be very helpful if you could point to some good first issues to get started with BRL-CAD.

Hello Yuvraj Aaseri . You can start with building BRL-CAD source from https://github.com/BRL-CAD/brlcad and for issues https://sourceforge.net/p/brlcad/bugs/?limit=250. Hover around MGED as it will be good way to start https://brlcad.org/w/images/c/cf/Introduction_to_MGED.pdf

Thank you for your response

view this post on Zulip Himanshu (Dec 15 2021 at 18:04):

@Daniel Rossberg Enter text label: side 1 Looks like it only taking side as text but not 1 and 1 is going directly to Enter X:

view this post on Zulip Himanshu (Dec 15 2021 at 18:36):

hmm so far I go this. This is not too much but seems okay. Screenshot-19.png

view this post on Zulip Himanshu (Dec 15 2021 at 18:39):

the text label is only accepting string rather than like demo 1. Idk if it's good way to have numbers in labels?

view this post on Zulip Himanshu (Dec 16 2021 at 12:07):

also while zooming the primitive, I came to know that the text label is invisible while zoom out but when I zoom in the text label appears.

view this post on Zulip Himanshu (Dec 16 2021 at 14:39):

textLabelInvisible.mp4

view this post on Zulip Daniel Rossberg (Dec 16 2021 at 17:15):

Himanshu Sekhar Nayak said:

also while zooming the primitive, I came to know that the text label is invisible while zoom out but when I zoom in the text label appears.

Weird, can you provide us with the .g file?

view this post on Zulip Daniel Rossberg (Dec 16 2021 at 17:18):

Himanshu Sekhar Nayak said:

the text label is only accepting string rather than like demo 1. Idk if it's good way to have numbers in labels?

How is is with "demo 1"?

view this post on Zulip Himanshu (Dec 16 2021 at 19:23):

Daniel Rossberg said:

Himanshu Sekhar Nayak said:

also while zooming the primitive, I came to know that the text label is invisible while zoom out but when I zoom in the text label appears.

Weird, can you provide us with the .g file?

annot8.g

view this post on Zulip Himanshu (Dec 16 2021 at 19:25):

Daniel Rossberg said:

Himanshu Sekhar Nayak said:

the text label is only accepting string rather than like demo 1. Idk if it's good way to have numbers in labels?

How is is with "demo 1"?

Seems like if I give demo 1 for text label the demo goes to text label and 1 goes to Enter X:

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 08:26):

I mean to put the label's text (with spaces) in quotes.

view this post on Zulip Himanshu (Dec 17 2021 at 17:44):

Daniel Rossberg said:

I mean to put the label's text (with spaces) in quotes.

Now it works.

view this post on Zulip Himanshu (Dec 17 2021 at 17:44):

Now it accepts within double quotes.

view this post on Zulip Himanshu (Dec 17 2021 at 17:46):

but zooming out , the label disappears.

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 17:48):

This is because of line 1058 in dm-generic.c. The labels don't have a real size in world coordinates.

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 17:51):

BTW, what's the bv_scene_obj_hash() function (XXH64) good for?

view this post on Zulip Himanshu (Dec 17 2021 at 17:53):

Daniel Rossberg said:

This is because of line 1058 in dm-generic.c. The labels don't have a real size in world coordinates.

Is it mged/dm-generic.c or libdm/dm-generic.c?

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 17:54):

libdm

view this post on Zulip Himanshu (Dec 17 2021 at 17:55):

looks like I don't have that? Screenshot-20.png

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 17:57):

Okay, there was an update. Line 1026 now.

view this post on Zulip Himanshu (Dec 17 2021 at 18:01):

         * Check for this object being bigger than
         * dmp->i->dm_bound * the window size, or smaller than a speck.
         */
        if (ratio < 0.001)
            continue;
        }```

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 18:02):

The ratio depends on the size of the object in the 3D world space, but an annotation has no size there. (Only the minimal: 2)

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 18:03):

sp->s_size

view this post on Zulip Himanshu (Dec 17 2021 at 18:04):

that's why it disappears

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 18:05):

Yes, this algorithm thinks that it's too small.

view this post on Zulip Himanshu (Dec 17 2021 at 18:07):

From the user perspective, if the object zooms out the label disappears. Should the label stay there even if it zooms out? May be it should not be there I think.

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 18:10):

It should stay there as long as the annotated point is visible.

view this post on Zulip Himanshu (Dec 17 2021 at 18:11):

So while zooming out, the annotated point is not visible due to which the text disappears from the screen.

view this post on Zulip Himanshu (Dec 17 2021 at 18:19):

So the text label should be adaptive to the object I think. So according to the object zoom in and out, the text should also be able to zoom out and in?

view this post on Zulip Daniel Rossberg (Dec 17 2021 at 18:23):

No, a label has always the same size on the screen. But, a label should move with the 3D world point it is associated with.

view this post on Zulip Himanshu (Dec 17 2021 at 18:39):

Daniel Rossberg said:

No, a label has always the same size on the screen. But, a label should move with the 3D world point it is associated with.

Since an annotation doesn't have size in 3D space so it disappears. So we should leave it as it is.

view this post on Zulip Ayush Anand (Dec 18 2021 at 13:27):

Hi All, I am an AI Developer and Undergrad Student at National Institute of Technology, Durgapur India. I would love to contribute to BRL-CAD. Are there opportunities to contribute in the field of AI?

view this post on Zulip Daniel Rossberg (Dec 18 2021 at 18:01):

Himanshu Sekhar Nayak said:

Daniel Rossberg said:

No, a label has always the same size on the screen. But, a label should move with the 3D world point it is associated with.

Since an annotation doesn't have size in 3D space so it disappears. So we should leave it as it is.

I've an idea: A flag in bv_scene_obj which signals that it contains elements in display context.

view this post on Zulip starseeker (Dec 21 2021 at 01:55):

@Daniel Rossberg The XXH64 based hashing functions are what I'm using for the Qt interface to tell whether or not I need to trigger an update cycle after an event. That way I don't have to use the libtclcad-style per-command callout tables to know if any particular command might need to trigger a view refresh - I can just check the before and after hashes of the scene data and trigger if and only if something has changed, regardless of what command changed it.

view this post on Zulip Daniel Rossberg (Dec 21 2021 at 18:31):

Thanks for the clarification. I added a new flag to bv_scene_obj to signal a vlist with vertices in display coordinates. In this case, the s_size isn't as reliable as usual and e.g. a label should be drawn regardless. I added this flag to the hash too, similar to s_size.

@Himanshu Sekhar Nayak, you can give it a try with your annot8.g example.

view this post on Zulip Himanshu (Dec 23 2021 at 18:51):

Daniel Rossberg said:

Thanks for the clarification. I added a new flag to bv_scene_obj to signal a vlist with vertices in display coordinates. In this case, the s_size isn't as reliable as usual and e.g. a label should be drawn regardless. I added this flag to the hash too, similar to s_size.

Himanshu Sekhar Nayak, you can give it a try with your annot8.g example.

I will soon review it in coming 2 days. Little bit busy here. As soon I will be free, I will have a look.

view this post on Zulip Himanshu (Dec 28 2021 at 14:26):

@starseeker Screenshot-2021-12-28-195538.png ?

view this post on Zulip Himanshu (Dec 28 2021 at 14:40):

Daniel Rossberg said:

Thanks for the clarification. I added a new flag to bv_scene_obj to signal a vlist with vertices in display coordinates. In this case, the s_size isn't as reliable as usual and e.g. a label should be drawn regardless. I added this flag to the hash too, similar to s_size.

Himanshu Sekhar Nayak, you can give it a try with your annot8.g example.

Yeah now it is working fine. 2021-12-28-20-08-59.mp4

view this post on Zulip Himanshu (Dec 28 2021 at 14:48):

@Daniel Rossberg now what should I do next?

view this post on Zulip starseeker (Dec 28 2021 at 20:12):

@Himanshu Sekhar Nayak Is there a more detailed error message in the build output?

view this post on Zulip Himanshu (Dec 29 2021 at 04:47):

starseeker said:

Himanshu Sekhar Nayak Is there a more detailed error message in the build output?

I can't find but I got this

3>CUSTOMBUILD : error : Distcheck cannot proceed until build files and repo are in sync (set
3>  -DFORCE_DISTCHECK=ON to override)
3>
3>
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\Users\Himanshu\Desktop\brlcadBuild\CMakeFiles\20739426ab8cc2d1d6b800e1b27b0e91\distcheck-repo_verify.rule' exited with code 1.
3>Done building project "distcheck-repo_verify.vcxproj" -- FAILED.```

view this post on Zulip starseeker (Dec 31 2021 at 18:56):

Generally speaking that happens when the build logic is out of sync with the files in the repository. distcheck is normally run only as part of release prep testing, not during normal development, so if you're working on something you can just use the ALL_BUILD target to avoid running the distcheck build.

view this post on Zulip Erik (Dec 31 2021 at 23:30):

would re-running cmake "fix" it? (I think I'd advise purging the build dir and recreating to my folk, we've seen some oddness probably due to nfs and massive parallel (128 core build server, ib everywhere))

view this post on Zulip Himanshu (Jan 01 2022 at 02:17):

Erik said:

would re-running cmake "fix" it? (I think I'd advise purging the build dir and recreating to my folk, we've seen some oddness probably due to nfs and massive parallel (128 core build server, ib everywhere))

Yeah now it works. Re-running cmake fix the problem.

view this post on Zulip Himanshu (Jan 01 2022 at 02:18):

starseeker said:

Generally speaking that happens when the build logic is out of sync with the files in the repository. distcheck is normally run only as part of release prep testing, not during normal development, so if you're working on something you can just use the ALL_BUILD target to avoid running the distcheck build.

From next time, I will keep that in mind.

view this post on Zulip Daniel Rossberg (Jan 03 2022 at 15:16):

Himanshu Sekhar Nayak said:

Daniel Rossberg now what should I do next?

Create a pull request?

view this post on Zulip Himanshu (Jan 06 2022 at 21:01):

Daniel Rossberg said:

Himanshu Sekhar Nayak said:

Daniel Rossberg now what should I do next?

Create a pull request?

Here is the pr https://github.com/BRL-CAD/brlcad/pull/14. Let me know if anything need to be changed?

view this post on Zulip Sean (Jan 08 2022 at 06:51):

@Ayush Anand what did you have in mind?

view this post on Zulip Daniel Rossberg (Jan 25 2022 at 17:51):

Himanshu Sekhar Nayak said:

Daniel Rossberg said:

Himanshu Sekhar Nayak said:

Daniel Rossberg now what should I do next?

Create a pull request?

Here is the pr https://github.com/BRL-CAD/brlcad/pull/14. Let me know if anything need to be changed?

You wrote in your PR that you want to make some more tests first, right?

view this post on Zulip Himanshu (Jan 26 2022 at 19:22):

Daniel Rossberg said:

Himanshu Sekhar Nayak said:

Daniel Rossberg said:

Himanshu Sekhar Nayak said:

Daniel Rossberg now what should I do next?

Create a pull request?

Here is the pr https://github.com/BRL-CAD/brlcad/pull/14. Let me know if anything need to be changed?

You wrote in your PR that you want to make some more tests first, right?

Yeah now it's done but I have to do force push as I have accidentally merged all the previous commits of main.

view this post on Zulip Sean (Jan 27 2022 at 05:23):

@Himanshu Sekhar Nayak I reviewed and responded. Question on that screenshot…

view this post on Zulip Himanshu (Feb 02 2022 at 19:46):

anyone getting build errors Cannot open include file: 'tcl.h': No such file or directory in the latest commit?

view this post on Zulip Himanshu (Feb 03 2022 at 05:43):

Build: 616 succeeded, 391 failed, 0 up-to-date, 0 skipped

view this post on Zulip Himanshu (Feb 03 2022 at 15:40):

Himanshu Sekhar Nayak said:

anyone getting build errors Cannot open include file: 'tcl.h': No such file or directory in the latest commit?

My bad, I have changed something in the path variable so it throws me errors. Now works fine.

view this post on Zulip Aviii (Feb 04 2022 at 10:33):

@Daniel Rossberg thanks! Will do it.

view this post on Zulip Himanshu (Feb 14 2022 at 14:55):

@starseeker

1004>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(242,5): error MSB8066: Custom build for 'C:\Users\Himanshu\Desktop\build\CMakeFiles\c3fa403aa1b0d6e3393fbfccb1ed7cc8\NIST_MBE_PMI_6.g.rule;C:\Users\Himanshu\Desktop\build\CMakeFiles\dacc8aa86a6192f9ca7b9d56f8fbbf5b\NIST_MBE_PMI_6.g.rule' exited with code -1073741515.
1004>Done building project "NIST_MBE_PMI_6.g.vcxproj" -- FAILED.
1005>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(242,5): error MSB8066: Custom build for 'C:\Users\Himanshu\Desktop\build\CMakeFiles\c3fa403aa1b0d6e3393fbfccb1ed7cc8\NIST_MBE_PMI_5.g.rule;C:\Users\Himanshu\Desktop\build\CMakeFiles\dacc8aa86a6192f9ca7b9d56f8fbbf5b\NIST_MBE_PMI_5.g.rule' exited with code -1073741515.
1005>Done building project "NIST_MBE_PMI_5.g.vcxproj" -- FAILED.
1010>Generating ../../Debug/share/db/nist/NIST_MBE_PMI_1.g
1010>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(242,5): error MSB8066: Custom build for 'C:\Users\Himanshu\Desktop\build\CMakeFiles\c3fa403aa1b0d6e3393fbfccb1ed7cc8\NIST_MBE_PMI_1.g.rule;C:\Users\Himanshu\Desktop\build\CMakeFiles\dacc8aa86a6192f9ca7b9d56f8fbbf5b\NIST_MBE_PMI_1.g.rule' exited with code -1073741515.
1010>Done building project "NIST_MBE_PMI_1.g.vcxproj" -- FAILED.
1006>Generating ../../Debug/share/db/nist/NIST_MBE_PMI_4.g
1006>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(242,5): error MSB8066: Custom build for 'C:\Users\Himanshu\Desktop\build\CMakeFiles\c3fa403aa1b0d6e3393fbfccb1ed7cc8\NIST_MBE_PMI_4.g.rule;C:\Users\Himanshu\Desktop\build\CMakeFiles\dacc8aa86a6192f9ca7b9d56f8fbbf5b\NIST_MBE_PMI_4.g.rule' exited with code -1073741515.
1006>Done building project "NIST_MBE_PMI_4.g.vcxproj" -- FAILED.
1007>Generating ../../Debug/share/db/nist/NIST_MBE_PMI_3.g
1008>Generating ../../Debug/share/db/nist/NIST_MBE_PMI_2.g
1008>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(242,5): error MSB8066: Custom build for 'C:\Users\Himanshu\Desktop\build\CMakeFiles\c3fa403aa1b0d6e3393fbfccb1ed7cc8\NIST_MBE_PMI_2.g.rule;C:\Users\Himanshu\Desktop\build\CMakeFiles\dacc8aa86a6192f9ca7b9d56f8fbbf5b\NIST_MBE_PMI_2.g.rule' exited with code -1073741515.
1008>Done building project "NIST_MBE_PMI_2.g.vcxproj" -- FAILED.
1009>Generating ../../Debug/share/db/nist/NIST_MBE_PMI_11.g
1009>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(242,5): error MSB8066: Custom build for 'C:\Users\Himanshu\Desktop\build\CMakeFiles\c3fa403aa1b0d6e3393fbfccb1ed7cc8\NIST_MBE_PMI_11.g.rule;C:\Users\Himanshu\Desktop\build\CMakeFiles\dacc8aa86a6192f9ca7b9d56f8fbbf5b\NIST_MBE_PMI_11.g.rule' exited with code -1073741515.
1009>Done building project "NIST_MBE_PMI_11.g.vcxproj" -- FAILED.
1007>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(242,5): error MSB8066: Custom build for 'C:\Users\Himanshu\Desktop\build\CMakeFiles\c3fa403aa1b0d6e3393fbfccb1ed7cc8\NIST_MBE_PMI_3.g.rule;C:\Users\Himanshu\Desktop\build\CMakeFiles\dacc8aa86a6192f9ca7b9d56f8fbbf5b\NIST_MBE_PMI_3.g.rule' exited with code -1073741515.
1007>Done building project "NIST_MBE_PMI_3.g.vcxproj" -- FAILED.

view this post on Zulip starseeker (Feb 14 2022 at 15:28):

OK, that's the step-g convertor failing to run. That either means it didn't build successfully or its not running successfully. Check if the step-g build target succeeds.

view this post on Zulip Himanshu (Feb 14 2022 at 19:46):

starseeker said:

OK, that's the step-g convertor failing to run. That either means it didn't build successfully or its not running successfully. Check if the step-g build target succeeds.

It succeeds.

499>   Creating library C:/Users/Himanshu/Desktop/build/Debug/lib/step-g.lib and object C:/Users/Himanshu/Desktop/build/Debug/lib/step-g.exp
499>step-g.vcxproj -> C:\Users\Himanshu\Desktop\build\Debug\bin\step-g.exe
499>Done building project "step-g.vcxproj".

view this post on Zulip Himanshu (Feb 14 2022 at 19:50):

What failed first -

72>   Creating library C:/Users/Himanshu/Desktop/build/Debug/lib/libbu.lib and object C:/Users/Himanshu/Desktop/build/Debug/lib/libbu.exp
72>clang_rt.fuzzer_MDd-x86_64.lib(FuzzerMain.cpp.obj) : error LNK2019: unresolved external symbol LLVMFuzzerTestOneInput referenced in function main
72>C:\Users\Himanshu\Desktop\build\Debug\bin\libbu.dll : fatal error LNK1120: 1 unresolved externals
72>Done building project "libbu.vcxproj" -- FAILED.

view this post on Zulip Sean (Feb 15 2022 at 00:41):

@Himanshu Sekhar Nayak can you provide your CMakeCache.txt file? It's turned on fuzzing and it probably shouldn't have unless you're compiling with llvm on windows...

view this post on Zulip Himanshu (Feb 15 2022 at 04:59):

Sean said:

Himanshu Sekhar Nayak can you provide your CMakeCache.txt file? It's turned on fuzzing and it probably shouldn't have unless you're compiling with llvm on windows...

CMakeCache.txt

view this post on Zulip Himanshu (Feb 15 2022 at 05:01):

Sean said:

Himanshu Sekhar Nayak can you provide your CMakeCache.txt file? It's turned on fuzzing and it probably shouldn't have unless you're compiling with llvm on windows...

I don't have llvm installed in window, only msvc.

view this post on Zulip Himanshu (Feb 17 2022 at 17:47):

(deleted)

view this post on Zulip Sean (Feb 17 2022 at 21:09):

@Himanshu Sekhar Nayak the issue was fixed if you git pull to get updates

view this post on Zulip Himanshu (Feb 17 2022 at 23:47):

Sad part here is my new laptop gone for RMA. I will check it soon once I get it back.

view this post on Zulip Himanshu (Feb 18 2022 at 08:02):

@Sean Is this the right page to see project ideas? https://brlcad.org/wiki/Google_Summer_of_Code/Project_Ideas

view this post on Zulip Sean (Feb 18 2022 at 17:34):

@Himanshu Sekhar Nayak I mean that's a fine page to get an idea, but it's a little out-of-date (some of those projects are complete). We've not yet finished publishing our list of ideas for this year, but this is where they'll go https://opencax.github.io

view this post on Zulip Sean (Feb 18 2022 at 17:36):

Any previous GSoC effort is always a priority in my eye -- getting something that was worked on even more polished or better integrated, or simply completed... We have 10 years of partial integrations that weren't followed-through on, so any of them are fair game and can be found year-by-year at https://brlcad.org/wiki/Google_Summer_of_Code

view this post on Zulip Sean (Feb 25 2022 at 13:50):

Here's a nice article on the Linux kernel's use of linked lists... and they're basically describing LIBBU's linked lists too: https://lwn.net/SubscriberLink/885941/01fdc39df2ecc25f/

view this post on Zulip Daniel Rossberg (Feb 25 2022 at 17:23):

Well, I don't like macros :neutral:

view this post on Zulip Sean (Feb 25 2022 at 22:11):

I'm not claiming it's good or bad -- just amused me that it's almost exactly the same construct, same design, almost identical iterators (they use byteoffset's so the linked list can be anywhere in the struct, brl-cad uses aliasing)

view this post on Zulip Himanshu (Mar 04 2022 at 15:49):

I am trying to build brlcad in WSL but got some errors during build and it shows something related to ....

view this post on Zulip Himanshu (Mar 04 2022 at 15:49):

[  4%] Creating directories for 'PNG_BLD'
[  4%] No download step for 'PNG_BLD'
[  4%] No patch step for 'PNG_BLD'
[  4%] No update step for 'PNG_BLD'
[  4%] Performing configure step for 'PNG_BLD'
-- PNG_BLD configure command succeeded.  See also /mnt/c/Users/Himanshu/Desktop/LINUX/brlcad/build/src/other/ext/PNG_BLD-prefix/src/PNG_BLD-stamp/PNG_BLD-configure-*.log
[  4%] Performing build step for 'PNG_BLD'
CMake Error at /mnt/c/Users/Himanshu/Desktop/LINUX/brlcad/build/src/other/ext/PNG_BLD-prefix/src/PNG_BLD-stamp/PNG_BLD-build-Release.cmake:37 (message):
  Command failed: 2

   'make'

  See also

    /mnt/c/Users/Himanshu/Desktop/LINUX/brlcad/build/src/other/ext/PNG_BLD-prefix/src/PNG_BLD-stamp/PNG_BLD-build-*.log


-- stdout output is:
Scanning dependencies of target genfiles
[  1%] Generating pnglibconf.c
options.awk: bad line (10): com

-- stderr output is:
CMake Error at scripts/gensrc.cmake:68 (message):
  Failed to generate pnglibconf.tf5


make[5]: *** [CMakeFiles/genfiles.dir/build.make:85: pnglibconf.c] Error 1
make[4]: *** [CMakeFiles/Makefile2:218: CMakeFiles/genfiles.dir/all] Error 2
make[3]: *** [Makefile:141: all] Error 2

CMake Error at /mnt/c/Users/Himanshu/Desktop/LINUX/brlcad/build/src/other/ext/PNG_BLD-prefix/src/PNG_BLD-stamp/PNG_BLD-build-Release.cmake:47 (message):
  Stopping after outputting logs.


make[2]: *** [src/other/ext/CMakeFiles/PNG_BLD.dir/build.make:113: src/other/ext/PNG_BLD-prefix/src/PNG_BLD-stamp/PNG_BLD-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:14466: src/other/ext/CMakeFiles/PNG_BLD.dir/all] Error 2
make: *** [Makefile:163: all] Error 2```

view this post on Zulip Himanshu (Mar 04 2022 at 16:01):

Is it due to WIndows using CRLF and it needs to convert into LF?

view this post on Zulip Sean (Mar 04 2022 at 17:23):

Yeah, I saw some others that ran into that issue. It's because you checked out the repo with the Git for Window GUI, which made options.awk have Windows line endings. They need to be unix line endings for it to work in WSL.

view this post on Zulip Sean (Mar 04 2022 at 17:53):

Alas, I think the only solution for that is to force it's eol encoding on export using .gitattributes

view this post on Zulip Sean (Mar 04 2022 at 17:53):

sigh

view this post on Zulip Sean (Mar 04 2022 at 19:14):

hm, maybe not the only solution, but definitely the path with least maintenance overhead (maybe, probably?).

view this post on Zulip Sean (Mar 04 2022 at 19:18):

given the error is in a 3rd party, I'm not digging the tar method .. though might be able to use another method

view this post on Zulip Himanshu (Mar 07 2022 at 10:48):

build failing for rt^3 in WSL 2? @Daniel Rossberg output.log

view this post on Zulip Daniel Rossberg (Mar 07 2022 at 17:35):

After an update of rt-cubed the vlist issues should be gone.

view this post on Zulip Himanshu (Mar 07 2022 at 17:46):

I saw the commit now. It's just complaining about not finding it, since it has been changed bv_list.

view this post on Zulip Daniel Rossberg (Mar 07 2022 at 17:47):

https://github.com/BRL-CAD/brlcad/commit/fb7a5a80261d33b7dc4d53c7a1b7d04a5265e2c9 doesn't seem to be wise: It links the static libraries with shared libraries. If somebody want's however to use librt-static, they probably wants to get the static versions of libbu, libbn, etc. too.

view this post on Zulip Daniel Rossberg (Mar 07 2022 at 17:50):

On the other hand, linking with static libraries here would probably lead to multiple copies of the lower libraries (libbu, libbn) in the final binary. I.e., I think the old function without target_link_libraries wasn't so bad.

view this post on Zulip Daniel Rossberg (Mar 07 2022 at 17:51):

Himanshu Sekhar Nayak said:

I saw the commit now. It's just complaining about not finding it, since it has been changed bv_list.

Does it build now?

view this post on Zulip Himanshu (Mar 07 2022 at 18:00):

Daniel Rossberg said:

Himanshu Sekhar Nayak said:

I saw the commit now. It's just complaining about not finding it, since it has been changed bv_list.

Does it build now?

Yes and I finally built it. Here is the output. Screenshot-1.png

view this post on Zulip Himanshu (Mar 07 2022 at 18:02):

Hmm....... that one is wrong one. But here is the final result. Screenshot-2.png

view this post on Zulip Daniel Rossberg (Mar 07 2022 at 18:46):

I think, this is how it looks like.

view this post on Zulip Sean (Mar 08 2022 at 06:57):

Daniel Rossberg said:

https://github.com/BRL-CAD/brlcad/commit/fb7a5a80261d33b7dc4d53c7a1b7d04a5265e2c9 doesn't seem to be wise: It links the static libraries with shared libraries. If somebody want's however to use librt-static, they probably wants to get the static versions of libbu, libbn, etc. too.

@starseeker did you see this?

view this post on Zulip starseeker (Mar 08 2022 at 14:09):

@Daniel Rossberg @Sean I'll see if I can come up with an alternative solution for the specific case that prompted that. Be aware that if CMake find_package packages create imported targets carrying information needed by other static targets, the old logic will fail in those cases as well.

view this post on Zulip starseeker (Mar 08 2022 at 14:56):

@Daniel Rossberg @Sean upon inspection the original motivation for adding that is OBE anyway - removed.

view this post on Zulip Himanshu (Mar 08 2022 at 15:32):

We are selected https://summerofcode.withgoogle.com/programs/2022/organizations/brl-cad :tada:

view this post on Zulip Daniel Rossberg (Mar 08 2022 at 17:44):

Thanks @starseeker, I'll check if the brlcad.dll builds now (and I need to update MOOSE too).

view this post on Zulip Daniel Rossberg (Mar 08 2022 at 17:46):

BTW, there is a bootstrap lib in misc/win32-msvc which can't be build (because there is no BRLCAD_ROOT anymore). However, I suppose that this library can be removed.

view this post on Zulip starseeker (Mar 10 2022 at 11:06):

@Sean RELEASE is probably worth testing on your Mac now - I think we're zeroing in. It's majority your commits, but if you can check mine quick for any not already reviewed I'd appreciate it.

view this post on Zulip Sean (Mar 10 2022 at 16:16):

rogerwilco .. testing it now. As for commits, think I reviewed all yours, but I'll double-check.

view this post on Zulip starseeker (Mar 12 2022 at 18:32):

Pushed a correction for docs file locations for Archer.

view this post on Zulip Sean (Mar 12 2022 at 19:30):

RELEASE compile worked, albeit opengl-non-functional

view this post on Zulip Sumagna Das (Mar 17 2022 at 07:28):

helllo
hows it going for everyone?

view this post on Zulip Sumagna Das (Mar 17 2022 at 07:29):

i am back after about an year of break due to studies

view this post on Zulip Erik (Mar 17 2022 at 22:13):

happy st pattys day!

view this post on Zulip Himanshu (Mar 22 2022 at 17:14):

Where can I find again castle.g file because I accidentally killed it while testing?

view this post on Zulip Daniel Rossberg (Mar 22 2022 at 17:22):

Simple method: Reinstall BRL-CAD (rebuild the INSTALL project in Visual Studio).
Otherwise, you can find a copy in your build directory (with Linux and gcc it's share/db).

view this post on Zulip Sean (Mar 22 2022 at 22:29):

@Himanshu Sekhar Nayak you can also generate it yourself by running asc2g castle.asc newcastle.g
( if you're on windows and go to your build dir, you can run something like: Debug/bin/asc2g.exe ../db/castle.asc newcastle.g )

view this post on Zulip starseeker (Jul 18 2022 at 12:13):

@Sean As far as a db_tops() goes, I think you might be able to get what you want with the db_ls function and the DB_LS_TOPS flag?

view this post on Zulip Sean (Jul 18 2022 at 14:24):

Yeah, that's right -- thanks, I'd forgotten about db _ls() but you're right. Does it return a set of internals?

view this post on Zulip starseeker (Jul 19 2022 at 02:32):

An array of struct directory pointers. I think I goofed a bit actually, looking at it again - the dpv parameter should be the first one as the returning param.

view this post on Zulip starseeker (Jul 19 2022 at 02:32):

Not quite sure how to fix that... - deprecate the current signature and add a temporary db_ls2 with the right ordering to use until we can switch?

view this post on Zulip Sean (Jul 19 2022 at 04:10):

I think it’s probably fine. They’re properly marked const so it’s at least more clear than other places that it’s using inputs -> output.

view this post on Zulip Sean (Jul 19 2022 at 04:12):

dpv is not a context pointer being filled in too, so it’s not a big inconsistency. If we have to or want to fix it, could reorder on a future minor or could introduce a new name like db_list() but it’s fine I think.

view this post on Zulip Sean (Jul 22 2022 at 05:35):

@starseeker reviewing all the commits around the comb instance tracking (db_tree.cpp, db_recurse2 and friends) and am wondering about performance implications. seems like they could be significant, wondering if you checked. if I'm reading it right, looks like you've introduced memory allocations (syscalls) where they previously didn't exist. not something we'd likely see on test models, but could be an issue on the biggest with tens/hundreds of thousands of objects. Back of envelope, the new allocs could be making it about an order slower. probably won't matter if it's 0.01s to 0.1s or 0.1s going to 1s, ... but could be making 10s go to 100s, or 2 min to 20 min, etc as the models get really big.

view this post on Zulip Sean (Jul 22 2022 at 05:37):

probably warrants a quick check test on something big to see if there's a noticeable time or memory usage difference (looks like an additional alloc of all names).

view this post on Zulip Sean (Jul 22 2022 at 05:44):

that said, could be wrong and there may be some allocations hiding in there so really just needs to be a quick sanity check to make sure it's not detrimental unless you already checked

view this post on Zulip Sean (Jul 22 2022 at 06:15):

I need to recompile as I'm apple to orange build config wise, but ran a quick test with a script that creates just 1024 objects using head (debug) vs 7.26 (release), and got 4min vs 40s. didn't check, but the slowdown may be non-linear (my fans seemed to indicate so).

view this post on Zulip Sean (Jul 22 2022 at 06:17):

here's the script if you want to check on your end: sizetest.sh

view this post on Zulip starseeker (Jul 22 2022 at 12:05):

Confirmed - seeing really bad performance behavior, although I don't have time right now to try and run it down. That's Not Good - some sort of instance tracking appears to be absolutely necessary for the interface to handle otherwise ambiguous comb tree instance specifiers correctly.

view this post on Zulip starseeker (Jul 22 2022 at 12:07):

I'll have to see if I can figure out where the hot spots are and what an alternative might be...

view this post on Zulip starseeker (Jul 22 2022 at 12:20):

Well that's... odd. When I slap perf on an mged call, the hotspot appears to be wai_getModulePath's bu_fgets call

view this post on Zulip starseeker (Jul 22 2022 at 12:21):

I'll have to dig more later, got to run...

view this post on Zulip Sean (Jul 22 2022 at 18:53):

We should/could just design in proper instance tracking instead of relying on the user data pointer..

view this post on Zulip Sean (Jul 22 2022 at 19:01):

That said, it’s also possible libged loading is killing the invocation overhead and the performance drop is bigger than whatever instance changes were made. Might have to test it differently. I can play with that tonight.

view this post on Zulip starseeker (Jul 22 2022 at 19:06):

@Sean I'm game to have a discussion, but I'll freely confess I don't have a "it should be designed like this" layout in my head for instance tracking.

view this post on Zulip starseeker (Jul 22 2022 at 19:12):

Yeah, the wai_getModulePath call is hugely dominant. If I make it a fallback only if the exec based method fails, here's what I'm seeing:

7.32.6: 1m7.908s
main: 1m16.020s

view this post on Zulip Sean (Jul 22 2022 at 19:16):

It’s basically the same idea as the regionId for shootray, but applied to general tree walking and any object. I think you have the right idea, it’s just needing to be baked in at a lower level. Open nurbs has it with their oids, Appleseed, embree, and other codes use automatic ints. I’ve seen some apis use a hash. Dirbuild is what jumps out in my mind, something calculated on the fly and attached to the instance so there’s a numeric handle that can be leveraged . Would avoid the double alloc of all names.

view this post on Zulip Sean (Jul 22 2022 at 19:17):

Yeah, that’s interesting timings… those both suck!

view this post on Zulip Sean (Jul 22 2022 at 19:20):

Worst case implication is 0.1s to 8s; best case is probably 2s-4s.. hard to tell without subtracting mged’s startup overhead variablility

view this post on Zulip Sean (Jul 22 2022 at 19:21):

I’ll set up a better test here in a bit

view this post on Zulip starseeker (Jul 22 2022 at 19:22):

Instrumenting both object creation and the g command, the libged init dominates even with the wai_getModulePath out of the picture - looks like it's a combination of the exec lookup and the dl loading logic.

view this post on Zulip Sean (Jul 22 2022 at 19:23):

Yeah, it’s muddying the waters because of how the script is set up

view this post on Zulip starseeker (Jul 22 2022 at 19:24):

Well that's annoying - I must not have conditionalized the instance tracking quite right. It should be off unless the application specifically sets the variable that activates it...

view this post on Zulip starseeker (Jul 22 2022 at 19:25):

The idea was for it to be off (and therefore of no consequence) unless the app specifically enabled it, so only qged (which right now is the only one that truly needs it) would be hit by any issues.

view this post on Zulip Sean (Jul 22 2022 at 19:25):

I noticed the ges dll slowdown separately a long while back. I have a fix, but there’s another patch in front of it and that’s deferred to after release

view this post on Zulip Sean (Jul 22 2022 at 19:26):

Or it is off and this is just init variability

view this post on Zulip Sean (Jul 22 2022 at 19:26):

Easy enough to test

view this post on Zulip starseeker (Jul 22 2022 at 19:26):

Or some other change all together... few commits between 7.32.6 and main :-/

view this post on Zulip Sean (Jul 22 2022 at 19:26):

Seems unlikely but yeah maybe

view this post on Zulip Sean (Jul 22 2022 at 19:27):

It really could just be the init overhead; let me change the test… will be more informative

view this post on Zulip Sean (Jul 29 2022 at 15:51):

@starseeker gdal build is failing because there's apparently no test for std::isnan, so HAVE_STD_IS_NAN isn't set.
That causes gdal/port/cpl_port.h's fallback logic to assume glibc, which then fails the build because it's not a glibc environment. It looks like you supplied the build?

view this post on Zulip starseeker (Jul 29 2022 at 22:13):

@Sean Yes, I wrote a CMake build for GDAL. I'll see if I can add a test for std::isnan, although I don't think I have ready access to a platform where I would expect that test to fail...

view this post on Zulip starseeker (Jul 29 2022 at 22:28):

I see upstream has a CMakeLists.txt file now... will have to see what it would take to use a vanilla GDAL at some point. Last time I looked, it requires adding (IIRC) several dependencies that our copy doesn't require, because I disabled the plugins that needed them (which the vanilla GDAL sources couldn't do out of the box.)

view this post on Zulip starseeker (Jul 29 2022 at 22:29):

https://gdal.org/build_hints.html sounds promising

view this post on Zulip starseeker (Jul 29 2022 at 22:29):

Another post 7.34.0 project

view this post on Zulip starseeker (Jul 29 2022 at 22:31):

If that build hints page has it right, we might be able to get a minimal experience out of the box. Will have to upgrade proj at the same time, but my recollection was that wasn't as hard to handle as GDAL... ancient history now of course, but hopefully still true.

view this post on Zulip starseeker (Jul 29 2022 at 22:36):

@Sean see if e2871753ed does the trick

view this post on Zulip starseeker (Jul 29 2022 at 23:13):

btw, it looks like the ttcp.c changes didn't agree with the Jenkins builder

view this post on Zulip Sean (Aug 02 2022 at 13:25):

almost did, but was always setting the flag which then broke on non-linux linker system. I wrapped it in the same flag so config gets set.

view this post on Zulip Ankita Sahoo (Aug 09 2022 at 08:36):

Hello Developers!
I am Ankita Sahoo. Currently, I am pursuing masters in computer application at Utkal University, India. I have been programming in C++ since my bachelor's and also have good knowledge of Data structure and algorithms.
I am new to open-source and have not had the opportunity to work on any real-world project and I am interested in contributing to BRL-CAD. Can anyone help me out with how to get started with BRL-CAD? It will be very helpful if anyone could point out how to begin that can help me better understand this organization.
BTW @Himanshu Sekhar Nayak of our university recommended me for BRL-CAD.

view this post on Zulip Daniel Rossberg (Aug 09 2022 at 17:18):

Hi @Ankita Sahoo, welcome at the BRL-CAD project!

To get started, you should install the BRL-CAD programs. You can find the necessary installation packages at https://sourceforge.net/projects/brlcad/files/ This will install over 200 programs. Most of them are small command line tools. The most interesting for you are our old but still heavily used GUI mged and the more modern GUI archer. Go through the mged tutorial https://brlcad.org/w/images/c/cf/Introduction_to_MGED.pdf.

Gain an overview of the existing documentation at https://brlcad.org/wiki/Main_Page.

To start with programming download the source code from https://github.com/BRL-CAD/brlcad and compile and install the programs (https://brlcad.org/wiki/Compiling). You can use https://brlcad.org/wiki/Deuces as a starter for small programming tasks. Another good reference for high priority tasks is our GSoC idea page https://github.com/opencax/GSoC/issues?q=is%3Aopen+sort%3Aupdated-desc+label%3A%22GSoC+2022%22+label%3A%22Project%3A+BRL-CAD%22.

If you have a question, don't hesitate to ask. The conversation here may be a bit slow, but don't be discouraged. Remember that the people here are living in different time zones.

view this post on Zulip Ankita Sahoo (Aug 09 2022 at 17:56):

Daniel Rossberg said:

Hi Ankita Sahoo, welcome at the BRL-CAD project!

To get started, you should install the BRL-CAD programs. You can find the necessary installation packages at https://sourceforge.net/projects/brlcad/files/ This will install over 200 programs. Most of them are small command line tools. The most interesting for you are our old but still heavily used GUI mged and the more modern GUI archer. Go through the mged tutorial https://brlcad.org/w/images/c/cf/Introduction_to_MGED.pdf.

Gain an overview of the existing documentation at https://brlcad.org/wiki/Main_Page.

To start with programming download the source code from https://github.com/BRL-CAD/brlcad and compile and install the programs (https://brlcad.org/wiki/Compiling). You can use https://brlcad.org/wiki/Deuces as a starter for small programming tasks. Another good reference for high priority tasks is our GSoC idea page https://github.com/opencax/GSoC/issues?q=is%3Aopen+sort%3Aupdated-desc+label%3A%22GSoC+2022%22+label%3A%22Project%3A+BRL-CAD%22.

If you have a question, don't hesitate to ask. The conversation here may be a bit slow, but don't be discouraged. Remember that the people here are living in different time zones.

Thanks for the response

view this post on Zulip Sean (Aug 09 2022 at 20:45):

Welcome @Ankita Sahoo ! Feel free to ask questions if you need any help and glad to have you here.

view this post on Zulip Himanshu (Aug 10 2022 at 06:15):

Welcome @Ankita Sahoo to our organization. :sunglasses:

view this post on Zulip Ankita Sahoo (Aug 12 2022 at 19:38):

Hello! @Sean @Daniel Rossberg @Himanshu Sekhar Nayak
Successfully built and installed mged
Screenshot.png

view this post on Zulip Daniel Rossberg (Aug 13 2022 at 16:06):

Very nice! The next step would be to go through the tutorial and learn about the program.

view this post on Zulip Sean (Aug 17 2022 at 21:13):

Welcome and congrats @Ankita Sahoo ! Please do feel free to ask questions as you have them. If you need some pointers on tutorials, we have several you can start with.

view this post on Zulip starseeker (Oct 15 2022 at 12:05):

<grin> Apparently we were ahead of our time: https://www.atlassian.com/continuous-delivery/continuous-integration/trunk-based-development

view this post on Zulip Himanshu (Feb 15 2023 at 05:09):

I have created a BVH but it takes too much time for the GPU to render. Is there any way to transfer BVH into the GPU in one moment not by traversing the node by node? Is it possible?

view this post on Zulip Sean (Feb 22 2023 at 04:25):

@Himanshu Sekhar Nayak anything is possible, but in generally you really want to minimize the number of times you switch from cpu to gpu and back. For the situation you describe, it might help to traverse some level of the BVH on the CPU, but then do the bottom halves on the GPU.

view this post on Zulip Daniel Rossberg (Mar 07 2023 at 17:28):

To those of you, who are interested in Google Summer of Code: Be sure to subscribe to the #Google Summer of Code stream. Please make yourself familiar with Zulip. E.g., if you hover over a stream name and hit the three points on the right, you can click "Stream settings" there. Now, you can see the streams you have subscribed and the ones you have not yet.

view this post on Zulip Himanshu (Mar 16 2023 at 09:35):

Why we always need to mention BRLCAD_VERSION while building rt-cubed? Is not it suppose to know itself? @Daniel Rossberg @Sean

view this post on Zulip Sean (Mar 16 2023 at 18:27):

I never set it, but then I ran into different errors that I fixed by modifying the CMakeLists.txt file

view this post on Zulip Sean (Mar 16 2023 at 18:28):

There's probably some room for improvement there where it's extracted from FindBRLCAD but can be overridden

view this post on Zulip Himanshu (Mar 17 2023 at 04:30):

capture-1.gif

view this post on Zulip Himanshu (Mar 17 2023 at 04:33):

Rendered a sphere using ray marching in shadertoy.

view this post on Zulip Sean (Mar 17 2023 at 08:06):

Awesome @Himanshu Sekhar Nayak ! Would be interesting to see if you could recreate the same orbital camera setup (with some scripting) using the 'art' appleseed renderer in BRL-CAD, especially with similar lighting.

view this post on Zulip Himanshu (Mar 17 2023 at 08:43):

vec3 lightPos = vec3(0, 5, 6);
lightPos.xz += vec2(sin(iTime), cos(iTime))*2.;

Here is my light pos and the rotation of light. I am exploring more and more, implementing and wow :smiley:. I am actually working on creating a differentiable renderer and writing with Dr.Jit.

view this post on Zulip Daniel Rossberg (Mar 17 2023 at 17:53):

Himanshu Sekhar Nayak said:

Why we always need to mention BRLCAD_VERSION while building rt-cubed? Is not it suppose to know itself? Daniel Rossberg Sean

rt-cubed is not the BRL-CAD core. Therefore, it somehow has to ask the BRL-CAD core about its set-up. For systems with /bin/sh (Linux, UNIX, ...), there is the brlcad-config script. If for such a system the bin directory of the BRL-CAD installation in contained in the PATH variable, there is nothing to set in CMake. If not...

view this post on Zulip Sean (Mar 18 2023 at 03:54):

@Himanshu Sekhar Nayak That's really interesting. I know Mitsuba pretty well but had not heard of Dr. Jit. Looks like it's a deferred evaluation graph that underpins Mitsuba. It would be really interesting to see if Dr. Jit could be applied to some area of BRL-CAD, whether ray tracing or some other area..

You could animate a light in BRL-CAD with very similar code (though not as simple as +=, it'd probably be a couple lines to translate it to the new position.

view this post on Zulip Sean (Mar 18 2023 at 04:19):

Daniel Rossberg said:

rt-cubed is not the BRL-CAD core. Therefore, it somehow has to ask the BRL-CAD core about its set-up. For systems with /bin/sh (Linux, UNIX, ...), there is the brlcad-config script. If for such a system the bin directory of the BRL-CAD installation in contained in the PATH variable, there is nothing to set in CMake. If not...

Definitely sounds like an area that could be improved in the FindBRLCAD.cmake logic. In addition to brlcad-config runtime script (which could be made into a prog for portability), the version number could be extracted from the installed brlcad_config.h header or from libbu directly. Really should just have a typical single variable for the BRLCAD_Root and everything is determined from that.

view this post on Zulip starseeker (Mar 18 2023 at 16:42):

FWIW - the most recent work I did with the FindBRLCAD.cmake is here: https://github.com/BRL-CAD/geomcore/blob/main/CMake/FindBRLCAD.cmake

I don't know that it addresses any of the issues under discussion, but it does make an attempt to define imported CMake targets.

view this post on Zulip Himanshu (Mar 19 2023 at 20:38):

Sean said:

Himanshu Sekhar Nayak That's really interesting. I know Mitsuba pretty well but had not heard of Dr. Jit. Looks like it's a deferred evaluation graph that underpins Mitsuba. It would be really interesting to see if Dr. Jit could be applied to some area of BRL-CAD, whether ray tracing or some other area..

You could animate a light in BRL-CAD with very similar code (though not as simple as +=, it'd probably be a couple lines to translate it to the new position.

Where should I look?

view this post on Zulip Sean (Mar 20 2023 at 03:04):

There's several different ways to get that effect. You can either just rotate the camera, which is simply running rt with the -a azimuth option in a loop, or you can manually move the light like you were doing. To do the latter, you'd probably want a script. You'd back up your database, but then something like this would modify the geometry one time step:

proc rotateObj { obj iTime } {
    # get translation keypoint, take last entry
    set kp [lrange [split [search /$obj] "\n"] end-1 end-1]
    # enter edit mode
    oed / $kp
    # translate the object
    tra [expr sin($iTime)] [expr cos($iTime)] 0
    # write the change(s) to disk
    accept
}

view this post on Zulip Sean (Mar 20 2023 at 03:14):

then you'd issue something like this to load the script and render your frames:

set glob_compat_mode 0
source myscript.tcl
for {set angle 0} {$angle < 360} {incr angle 30} {
    rotateObj mylight.r [expr $angle / 360.0]   # rotate the light
    rt -o "frame[expr $angle / 30].png"   # render to file
}

view this post on Zulip Sean (Mar 20 2023 at 03:24):

Note that in this particular instance, it's far far simpler to just move the camera as that specific scene is indistinguishable. To do that, it's simply a shell or tcl script that rotates through the desired azimuths:

for az in `seq 0 30 359` ; do
    out="`printf frame_%03d.png $az`"
    rt -a $az -e 25 -s 256 -R -o $out file.g myscene > /dev/null 2>&1
done
# use imagemagick to convert to animated gif
convert frame_*.png animation.gif

view this post on Zulip Sean (Mar 20 2023 at 03:24):

As you can see, the scripting is pretty trivial... Constructing a scene like that using BRL-CAD entities and shader settings so that 'rt' or 'art' can render it are where it gets a bit interesting..

view this post on Zulip Himanshu (Mar 20 2023 at 05:13):

@Sean So this is written in Tcl? Don't know about it. Currently my goal is given in internship is to learn Signed Distance Function by building a differentiable renderer with support for the camera, lights, scene geometry, and BRDFs and also learn neural network representation of SDF by rendering.

view this post on Zulip Sean (Mar 20 2023 at 05:19):

mged (BRL-CAD's main production GUI) is a Tcl shell environment, so it can be scripted. All the modeling commands you learned when you first ran it actually run through the tcl interpreter (and bind through to C/C++ code in src/libged where all the geometry modeling commands are implemented)

view this post on Zulip Sean (Mar 20 2023 at 05:19):

Tcl's a pretty simple language, but also wasn't the point ... that was just an example how to do that animated rotation you were showing

view this post on Zulip Sean (Mar 20 2023 at 05:20):

the second example I showed you was how to get the same effect using a plain shell script

view this post on Zulip Himanshu (Mar 20 2023 at 05:24):

Sean said:

mged (BRL-CAD's main production GUI) is a Tcl shell environment, so it can be scripted. All the modeling commands you learned when you first ran it actually run through the tcl interpreter (and bind through to C/C++ code in src/libged where all the geometry modeling commands are implemented)

Never knew about that mged is actually a Tcl shell environment.

view this post on Zulip Sean (Mar 20 2023 at 05:44):

Yeah, Tcl is actually pretty powerful and useful imho... it's Tk that's a bit of a pain in the ass, hence the desire to move the GUI to Qt. We'll retain Tcl for some things, just not Tk.

view this post on Zulip Himanshu (Mar 20 2023 at 06:27):

Sean said:

Yeah, Tcl is actually pretty powerful and useful imho... it's Tk that's a bit of a pain in the ass, hence the desire to move the GUI to Qt. We'll retain Tcl for some things, just not Tk.

C++ based toolkits lack the simplicity and power of Tk. Is that so? Mentioned in tcl doc. So Tk is a cross-platform widget toolkit used for building GUI in many languages.

view this post on Zulip Himanshu (Mar 20 2023 at 06:30):

And Tk created to be a GUI toolkit for Tcl.

view this post on Zulip starseeker (Mar 20 2023 at 12:12):

@Himanshu Sekhar Nayak Tk has some advantages when it comes to creating bindings to it in other languages, and is perhaps the most liberally licensed of the desktop GUI toolkit frameworks. It also lends itself fairly well to interactive, scripted interface creation (as opposed to needing the compile/run cycle of C++.) That has resulted in a lot of its footprint in the development community being in those niches - it's not too unusual for the first hits on a Tk interface question search to be returned in something like the Python bindings for Tk, not Tcl or C.

When you move beyond "scripted" interactive GUI development, however, the Qt C++ toolkit is quite powerful, having a number of significant "built-in" features Tk does not. There are also considerations not related directly to toolkit feature sets - my two main issues with trying to apply Tk for "large scale" desktop application development are 1) it doesn't keep up very well with "modern" user interface styling (the development community using it doesn't have a strong need to do so, unlike Qt's community) and 2) any non-trivial graphical interfaces implemented in Tk are rather difficult to test and debug. I've found GDB and/or LLDB to be invaluable in my own user interface work the last few years, and the Tcl/Tk environment doesn't really have an equivalent. Nor is it possible to use all the Tk features from C without involving Tcl.

view this post on Zulip starseeker (Mar 20 2023 at 12:21):

In a broader sense, the push to migrate from Tk to Qt also serves to illustrate another important design principle we are striving for - to move as much as possible of our non-toolkit-specific logic into libraries that are tookit agnostic. After considerable effort over many years we have now managed to decouple our core libraries up through the libged layer from Tcl/Tk. That means any logic we migrate down to those lower levels is available to be reused by ANY interface communicating with our libraries - be it Tcl/Tk, Java, Qt, FLTK, etc. That way, in another twenty years when we may very well have to migrate from Qt to some other solution, we minimize the amount of rewriting we will have to execute. We cannot afford to remain completely aloof from the ebbs and flows of community focus when it comes to interface layers - we lack the resources to maintain our own solution to the general problem of cross-platform desktop GUI frameworks, nor is such development our purpose as a project. However, the more we minimize our own logic's entanglement with any particular framework, the easier, faster, and cheaper those migrations become.

view this post on Zulip Abhiram (Mar 20 2023 at 18:40):

greetings! I have most of the information for the proposal ready is there any specific format that I need to adhere to?

view this post on Zulip Himanshu (Mar 21 2023 at 04:29):

Thanks @starseeker for a general overview. Got to know well. :grinning:

view this post on Zulip Sean (Mar 21 2023 at 05:44):

Abhiram said:

greetings! I have most of the information for the proposal ready is there any specific format that I need to adhere to?

Hello @Abhiram there is not a specific format, and that is an opportunity for you to demonstrate how well you can organize and communicate your thoughts on the project proposal (as opposed to us dictating a particular template). If you would like examples of what to include, nearly every past accepted proposal is available on our wiki through the year links at https://brlcad.org/wiki/Google_Summer_of_Code

view this post on Zulip Vagabond (Mar 21 2023 at 09:45):

Hello

view this post on Zulip Sean (Mar 22 2023 at 03:11):

@starseeker just in case you also didn't know (I didn't), Git for Windows has patch.exe ... Not thinking that changes any thing, but food for thought.

view this post on Zulip Sean (Mar 22 2023 at 04:59):

@starseeker have you seen this: https://github.com/petervas/bsdifflib ?

view this post on Zulip starseeker (Mar 22 2023 at 11:44):

I didn't spot the patch.exe, actually - good catch. Agree it doesn't change anything, as we still want the tarball to be buildable without git, but good to know

view this post on Zulip starseeker (Mar 22 2023 at 11:47):

bsdifflib I don't think I knew about (thanks!). I think the binary diffing capability itself sounds familiar from I was investigating options for calculating diffs for version control for meshes... I didn't think of it for current purposes because I figured we would want something that was focused on unified text diff patches, but it may be an option if we adjust the patch creation workflow away from that.

view this post on Zulip Sean (Mar 24 2023 at 15:08):

Here's some procedural geometry I was toying with -- torus rotated through space creating another toroidal entity: Screenshot-2023-03-24-at-4.24.07-AM.png Screenshot-2023-03-24-at-4.09.47-AM.png

view this post on Zulip Sean (Mar 24 2023 at 15:09):

They actually seem to tessellate just fine so I just might try to 3D print them..

view this post on Zulip Himanshu (Mar 28 2023 at 06:18):

@Sean Physically based rendering materials are there in our mged?

view this post on Zulip Himanshu (Mar 28 2023 at 06:18):

Just curious to know.

view this post on Zulip Himanshu (Mar 28 2023 at 06:27):

Found this one https://www.pbrt.org/

view this post on Zulip Himanshu (Mar 28 2023 at 06:33):

I am just curious how games are able to ray trace and with 60 FPS. I rendered a cornell box and it took too much time to ray trace even it is a one frame. Yes, it is unoptimized code but how graphics devs are able to achieve more than 60 FPS even they are using rasterization?

view this post on Zulip Himanshu (Mar 28 2023 at 06:33):

Are they using some trick inside rasterize so that it will show us like ray trace?

view this post on Zulip Sean (Mar 28 2023 at 06:39):

Most games don’t use ray tracing, they rasterize in hardware on the GPU and that’s where they get their performance. That said real time ray tracing is possible with many models, especially if they are triangles or simple solids. There are lots of issues involved to make it interactive like ray bundling, cache coherency, vectorization, etc

view this post on Zulip Himanshu (Mar 28 2023 at 06:42):

Hmm interesting and cyberpunk 2077 ray tracing looks awesome.

view this post on Zulip Sean (Mar 28 2023 at 06:42):

Rasterization is a completely different method so it’s not really helpful to directly compare with ray tracing. A lot that you get for free with ray tracing has to be faked with raster, and the more real you try to make it the slower it will be. Ray tracing also wins as the model begins to exceed the amount of available gpu memory.

view this post on Zulip Sean (Mar 28 2023 at 06:45):

I worked on real time ray tracing using librt and ospray a couple years ago and pretty much all of our models were 5-500 fps with most sitting abound 100fps. Which is to show the boost that’s given through bundling and coherency. It’s pretty amazing actually and something I’m hoping to integrate into the GUI eventually.

view this post on Zulip Sean (Mar 28 2023 at 06:48):

Here’s an example of it in action albeit with ambient occlusion turned on and at a ridiculously large resolution: https://www.facebook.com/brlcad/photos/pb.100064619476769.-2207520000./10155240309078873/?type=3

view this post on Zulip Himanshu (Mar 28 2023 at 07:48):

So in rasterization there are no rays, only we have to project the triangles right?

view this post on Zulip Himanshu (Mar 28 2023 at 07:51):

So what nvidia is showcasing about ray tracing is all about how real you can make in rasterization in games. Even the light bounces looks real in rasterize.

view this post on Zulip starseeker (Mar 28 2023 at 11:17):

I could be wrong, but I had the impression nvidia was working on GPU accelerated raytracing technologies for games. As Sean mentioned real time raytracing can be done with the right hardware and careful design, but since the predominate technique in most technology stacks is rasterization it's usually not a "flip of the switch" to make a good realtime raytracing game (i.e. it's expensive.)

view this post on Zulip starseeker (Mar 28 2023 at 11:21):

Personally GPUs are of limited interest to me at this stage of our development - what Sean's already demonstrated is quite impressive and doesn't rely on GPU acceleration, so there's no particular incentive to invest more effort in hardware-specific efforts yet when we can get such a big (and across the board) win from that. The key right now is to get our graphical interface stack to a point where it's practical for us to integrate and maintain features like that fast realtime raytracing capability.

view this post on Zulip Sean (Mar 28 2023 at 14:40):

Sorry that wasn't to suggest there aren't games using ray tracing -- there absolutely are and have been a handful for over 10 years now. Nvidia has ray tracing in hardware (RTX) and is working to mainstream it as it greatly simplifies coding for game developers if they don't have to resort to rasterization techniques to get things like reflections, subsurface scattering, caustics, multiple lights, etc. That's all quite a pile of hacks to do in opengl, but is very simple in ray tracing. So yes, some games definitely are taking advantage of it.

view this post on Zulip Sean (Mar 28 2023 at 14:45):

If you're interested in GPGPU ray tracing, we've had others work on that in the past with decent albeit unfinished progress:
https://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs
https://brlcad.org/wiki/User:Marco-domingues/GSoC17/Log

view this post on Zulip Sean (Mar 28 2023 at 14:47):

Two others attempted, but didn't make as great progress. Marco (2017), however, did his PhD thesis on GPGPU ray tracing using BRL-CAD and made even more progress. The results showed considerable potential, making things like havoc go from 5fps to 200fps at a given resolution.

view this post on Zulip Himanshu (Mar 29 2023 at 05:25):

Hmm then what I wrote code using taichi to ray trace object inside a cornell box is a kind of GPGPU raytracing.

view this post on Zulip Sean (Mar 30 2023 at 08:02):

Probably. My understanding, taichi is a framework that compiles it's jit kernels into cuda or vulkan, and can use gpu or cpu for processing. You did ray tracing in a weekend? Peter Shirley's book is really awesome, and good.

view this post on Zulip Himanshu (Mar 30 2023 at 08:12):

Sean said:

Probably. My understanding, taichi is a framework that compiles it's jit kernels into cuda or vulkan, and can use gpu or cpu for processing. You did ray tracing in a weekend? Peter Shirley's book is really awesome, and good.

Yeah I followed ray tracing in a weekend series. Out of 3, I covered 2 books. Its great that so much of information is compiled in an overview.

view this post on Zulip Sean (Mar 31 2023 at 04:46):

Peter is a really good teacher. He's given tutorials at siggraph for years.

view this post on Zulip Himanshu (Mar 31 2023 at 05:34):

You know him like met him personally? :open_mouth:

view this post on Zulip Vagabond (Apr 01 2023 at 05:54):

Hello, how can I contribute for GSoC?

view this post on Zulip Sean (Apr 02 2023 at 05:50):

Himanshu Sekhar Nayak said:

You know him like met him personally? :open_mouth:

Oh yeah, we've talked a number of times over the years 1-on-1, and I've attended his talks at least a half dozen times, probably more. That's what conferences are for. :)

view this post on Zulip Sean (Apr 02 2023 at 05:51):

Vagabond said:

Hello, how can I contribute for GSoC?

Hello @Vagabond and welcome. See https://brlcad.zulipchat.com/#narrow/stream/111975-Google-Summer-of-Code/topic/general/near/339394535 for helpful suggestions on getting started.

view this post on Zulip Vagabond (Apr 02 2023 at 05:55):

Thank you. I hadn't used Zulip chat before, and it's still difficult to navigate around.

view this post on Zulip Himanshu (Apr 02 2023 at 19:12):

Abhiram said:

Hi! a general question, In the proposal should i mention BRL-CAD as the organisation that I am applying to or can I directly mention Appleseed

You can directly mention appleseed.

view this post on Zulip Himanshu (Apr 02 2023 at 19:25):

Currently I saw a video from Cppcon where they are showcasing dat oriented programming vs object oriented programming. Didn't knew that data oriented can help in some areas to make even more faster.

view this post on Zulip Sean (Apr 03 2023 at 04:42):

Himanshu Sekhar Nayak said:

Currently I saw a video from Cppcon where they are showcasing dat oriented programming vs object oriented programming. Didn't knew that data oriented can help in some areas to make even more faster.

Yes, standard class hierarchy constructions one is taught in OOP (not always but) often leads to a lot of pointer chasing and data stalls due to non-locality. Data-oriented programming aims to specifically code for locality as a primary concern and structure your classes and data structures around that instead, which can lead to vastly different performance characteristics (2+ orders of magnitude faster when done well). Of course devil is very much in the details and nothing really happens without profiling.

view this post on Zulip Himanshu (Apr 05 2023 at 16:37):

@Sean @Daniel Rossberg how BRL-CAD use to track in old days like about 39 years ago? I saw a commit which shows 39 years ago. https://github.com/BRL-CAD/brlcad/commit/2686445fedcfeadcbc8a2960fd8690f2d0ccbf47

view this post on Zulip Sean (Apr 05 2023 at 18:07):

@Himanshu Sekhar Nayak before git it was svn, before svn it was cvs, before cvs it was rcs. RCS was released in 1982.

Through each of those migrations, care was taken to make sure the original history was preserved and migrated to the new version control system.

view this post on Zulip Sean (Apr 05 2023 at 18:10):

There are some indications that the BRL-CAD devs may have used SCCS before RCS too, which goes back to 1972, as the project started in 1979 before RCS, but haven't found that repository yet if it did/does exist. I have some 10" data reels from the early 80's that might have them on it, but there's not many devices remaining that can read them. Would have to mail them out to see if they're even still readable, and not a cheap endeavor.

view this post on Zulip Himanshu (Apr 05 2023 at 18:12):

:astonished: wow so much of commits back in the days to today. :raised_hands:

view this post on Zulip Himanshu (Jun 10 2023 at 14:52):

Screenshot-2023-06-10-202126.png
Created a my first triangle using OpenGL, GLAD and GLFW. :grinning:

view this post on Zulip starseeker (Jul 12 2023 at 23:43):

@Sean The BRLCAD_INCLUDE_DIRS CMake function uses a variable "SYS_INCLUDE_PATTERNS" to decide when to use -isystem to include a path, and that pattern is appended to in the various src/other CMakeLists.txt and *.cmake files. At a glance, it looks like it should already be including the openNURBS headers as system headers...

view this post on Zulip Sean (Jul 13 2023 at 00:41):

I see that...

view this post on Zulip Sean (Jul 13 2023 at 00:42):

On the surface, seems like maybe complexity that could be reduced, maybe even eliminate BRLCAD_INCLUDE_DIRS altogether. The sorting/reducing of include dirs shouldn't be needed I'd think.

view this post on Zulip starseeker (Jul 13 2023 at 14:18):

IIRC that sorting serves (at least) the purpose of making sure our directories are prioritized over system directories when there are headers in the system includes that match our bundled versions...

view this post on Zulip Sean (Jul 13 2023 at 16:11):

That should be fairly easy enough for me to test. I think we may have resolved at least some of those header naming issues in other ways too.

view this post on Zulip Himanshu (Aug 22 2023 at 16:57):

Wow the ray reconstruction introduced by nvidia is something new. https://youtu.be/sGKCrcNsVzo

view this post on Zulip Himanshu (Aug 22 2023 at 16:58):

I am astonished like how they are able to do that.

view this post on Zulip Himanshu (Aug 22 2023 at 16:59):

I want to learn how to build a real time renderer.

view this post on Zulip Sean (Aug 30 2023 at 04:10):

they've basically trained a neural net to fill in the gaps during ray tracing so they can render at a lower resolution (apparently about 1/2 resolution, hence the ~4x speedup). that coincidentally can take advantage of previous frame rays and doubles as a denoiser, which was proven back circa 2016

view this post on Zulip Nathan McCorkle (Dec 08 2023 at 21:29):

what's the latest on updated GUI development?

view this post on Zulip Nathan McCorkle (Dec 08 2023 at 21:30):

I recall there was archer, some QT one, and I think the rt^3 branch....

view this post on Zulip starseeker (Dec 09 2023 at 04:05):

The most recent work is in src/qged

view this post on Zulip starseeker (Dec 09 2023 at 04:06):

It's coming along, but the model part needs at least one more design iteration and doesn't have proper editing support yet.

view this post on Zulip starseeker (Dec 09 2023 at 04:06):

Right now the focus is on other areas, so there hasn't been much recent activity, but I do hope to get back to it and mature it further

view this post on Zulip starseeker (Dec 09 2023 at 04:07):

Passing BRLCAD_ENABLE_QT=ON to CMake should build its current state

view this post on Zulip Alexis Naveros (Dec 09 2023 at 07:08):

Is Lee's VSL still a thing? I assume that was the "QT one" that Nathan asked for

view this post on Zulip starseeker (Dec 09 2023 at 13:59):

@Alexis Naveros I've not heard about VSL recently

view this post on Zulip starseeker (Dec 09 2023 at 14:13):

The "Qt one" might refer to a couple different efforts over the years on Qt GUI work for BRL-CAD specifically - the two "current" efforts are https://github.com/BRL-CAD/arbalest and https://github.com/BRL-CAD/brlcad/tree/main/src/qged

view this post on Zulip starseeker (Dec 09 2023 at 14:14):

https://brlcad.org/~starseeker/2023-12-09_qged_hubble.png is the current state of qged

view this post on Zulip John David Cochran (Dec 15 2023 at 03:54):

I need help Im running Pop OS and Im trying to download/compile/install BRL Cad and I have look every where that I know to look online/readme file/BRL Cad's website. I still can not figure out how on God's green earth to get this to work. Please I need some step by step instructions on how to get this up and running please.

view this post on Zulip Daniel Rossberg (Dec 15 2023 at 09:18):

Hi @John David Cochran, I assume, that you have the BRL-CAD sources? If not or if you want a recommendation which one you should use, I recommend to download the latest soure tar.gz from https://github.com/BRL-CAD/brlcad/releases.

The steps to build the binaries from the sources are listed here: https://brlcad.org/wiki/Compiling Pop! OS is an Ubuntu derivative.

Some personal hints:

view this post on Zulip starseeker (Dec 15 2023 at 12:02):

Daniel has the right resources - if the instructions there aren't sufficient, please let us know which step(s) specifically are causing trouble and what errors you are seeing. Fortunately, Ubuntu-based platforms should be one of the easier places to build.

view this post on Zulip John David Cochran (Dec 15 2023 at 12:58):

Ok following the stuff I have fould this is the list of command I have used so far

Sudo apt install build-essential
Sudo apt install make
Sudo apt install cmake
Sudo apt install libc6-dev
Sudo apt install libfreetype-dev
Sudo apt install libfontconfig-dev
Sudo apt install xserver-xorg-dev
Sudo apt install libx11-dev
Sudo apt install libxi-dev
Sudo apt install libglu1-mesa-dev

and all that goes fine

view this post on Zulip John David Cochran (Dec 15 2023 at 13:14):

I then download the file and that goes fine and I make 2 directories one that is /home/john/brlcad and the other one is inside it called build so /home/john/brlcad/build

at this point I copy the downloaded file to /home/john/brlcad

then I navigate to that directory and this is the command I was told to run and it will not compile it correctly

Sudo cmake .. -DBRLCAD_ENABLE_STRICT=NO -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release

Then I run

sudo make -j8

sudo make install

Can someone point out where I am going wrong? Now the earlier batch of commands I know can be run together as 2 commands I just broke them apart to make sure 1 I didnt miss anything and 2 make sure if any error happened then they would be easier to spot

view this post on Zulip starseeker (Dec 15 2023 at 15:33):

You unpacked the downloaded source archive to /home/john/brlcad ?

view this post on Zulip starseeker (Dec 15 2023 at 15:37):

The commands I expect if you're using the 7.38.0 source tarball provided by github would be:

mkdir /home/john/brlcad
tar -xvzf <wherever you downloaded it>/brlcad-rel-7-38-0.tar.gz
mkdir build
cd build
cmake ../brlcad-rel-7-38-0 -DBRLCAD_ENABLE_STRICT=NO -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release
make -j8
sudo make install

view this post on Zulip starseeker (Dec 15 2023 at 15:38):

The second argument to CMake is the path of the directory containing the BRL-CAD source code.

view this post on Zulip John David Cochran (Dec 15 2023 at 15:48):

Should those lines of code work?????

view this post on Zulip starseeker (Dec 15 2023 at 15:49):

I would expect them to if the paths are correct - what is the error you are seeing?

view this post on Zulip John David Cochran (Dec 15 2023 at 16:09):

Im away from home at the moment I will try it when I get home about 3:00

view this post on Zulip John David Cochran (Dec 15 2023 at 20:17):

Ok I just ran the compile step what from the results do you need is there a file?

view this post on Zulip starseeker (Dec 15 2023 at 21:26):

It reported failure?

view this post on Zulip John David Cochran (Dec 16 2023 at 00:31):

Not sure yet the computer I believe is in the process of dieing so Ive changed gears and Im doing everything I can to get my data off safely while I can still. I will test it as soon as I possibly can.

view this post on Zulip John David Cochran (Dec 16 2023 at 04:35):

Ok I tested it and it fails to run. This is nuts the provided instrutions are a joke and fail to work no mater what you do.

view this post on Zulip Sean (Dec 16 2023 at 04:43):

@John David Cochran would love to try and help you figure out what is wrong honestly more information is needed. Would help if you can provide a complete output of what you’ve typed and what those commands output.

view this post on Zulip Sean (Dec 16 2023 at 04:46):

Those command are indeed a possible solution but there are some baked in assumptions like whether you have your environment set up unusually, what all is in you path, versions of tools, permissions issue, or even some inane compilation issue if you got that far. What’s the error (and command and any other output) you’re seeing?

view this post on Zulip John David Cochran (Dec 16 2023 at 05:01):

When run the output goes by so fast does it also create a log file or files with that info? If so I will gladly provide them if that would help if you tell me their names and locations.

view this post on Zulip Sean (Dec 16 2023 at 05:19):

There are log files for specific parts of the build process but right now there is no info to know which steps are or are not working for you. For example, did the tar.gz expand successfully when you ran the tar zxvf command?

view this post on Zulip Sean (Dec 16 2023 at 05:19):

If that succeeded, did cmake succeed (successfully)?

view this post on Zulip Sean (Dec 16 2023 at 05:20):

You can just screenshot the last 20 or 30 lines of cmake’s output and that will typically indicate if it was successful.

view this post on Zulip Himanshu (Jan 01 2024 at 18:40):

Happy new year to everyone. :confetti:

view this post on Zulip Sean (Jan 09 2024 at 15:46):

Happy new year to you too @Himanshu Sekhar Nayak !

view this post on Zulip Sean (Jan 09 2024 at 15:48):

And to everyone else too... I know I've been awol of late -- end of year cleanup, vacation, family time, house project, holiday lights, etc. Worked on lots of different coding things, but in other codes. Playing a lot with llms of late!

view this post on Zulip Himanshu (Jan 09 2024 at 17:16):

Sean said:

And to everyone else too... I know I've been awol of late -- end of year cleanup, vacation, family time, house project, holiday lights, etc. Worked on lots of different coding things, but in other codes. Playing a lot with llms of late!

llm is so buzzing right now these days.

view this post on Zulip Sean (Jan 10 2024 at 05:25):

llms, autoencoders, deep nets, neural rendering, ..

view this post on Zulip Erik (Jan 12 2024 at 01:14):

happy new years! :D

view this post on Zulip Alexis Naveros (Jan 12 2024 at 02:33):

Hey Erik! Many happy new years to you as well :)

view this post on Zulip starseeker (Jan 19 2024 at 14:44):

@Sean Not sure if it notifies - I added a couple review requests for you to look at in pull requests on github.

view this post on Zulip starseeker (Jan 19 2024 at 14:45):

Also - should we go ahead and merge the latest Gist pull request, or does it need more work first?

view this post on Zulip Sean (Jan 23 2024 at 15:42):

I've been working on the gist pull review

view this post on Zulip Sean (Jan 23 2024 at 15:43):

I get the notifies, I'll take a look

view this post on Zulip Christophe Groulx (Feb 08 2024 at 14:17):

Is BRL-CAD still used by the U.S. military? It seems that nowadays CAD work is more done by contractors using proprietary CAD software.

view this post on Zulip Sean (Feb 08 2024 at 16:25):

@Christophe Groulx Yes indeed, every day. BRL-CAD is absolutely used in concert with other CAD software, but it also underpins analytic tools and will unlikely be supplanted there anytime soon. BRL-CAD's specialization is supporting the needs of those analytic tools.

view this post on Zulip Sean (Feb 14 2024 at 17:51):

Wow... https://github.com/vosen/ZLUDA

view this post on Zulip Himanshu (Feb 14 2024 at 17:56):

Sean said:

Wow... https://github.com/vosen/ZLUDA

Interesting as it runs on AMD GPU. I wanted to start with gpu programming but never wrote CUDA directly. Indirectly I wrote CUDA using taichi and dr.jit.

view this post on Zulip Sean (Feb 14 2024 at 17:57):

I'm not a fan of CUDA because it's a closed proprietary system, prefer OpenCL
but this is an apache-licensed kit that transforms your CUDA code onto AMD GPUs.

view this post on Zulip Sean (Feb 14 2024 at 17:59):

Would be really cool if it could be used to bypass the nvidia driver, but it does open up some possibilities. Slight deconstruction of the proprietary wall.

view this post on Zulip Sean (Feb 14 2024 at 17:59):

Interesting, the entire implementation is in Rust.

view this post on Zulip Himanshu (Mar 07 2024 at 16:52):

Suppose I have a STEP file. I want a method to create a correlation dictionary that maps the faces of a 3D
model to the corresponding faces in its 2D projections. I came to know recently that there is a python-occ library which can help but I am not able to figure how to? Any idea how I can start?

view this post on Zulip Sean (Mar 07 2024 at 23:09):

You mean like texture mapping? Sounds like texture mapping...

view this post on Zulip Himanshu (Mar 08 2024 at 03:45):

Sean said:

You mean like texture mapping? Sounds like texture mapping...

Not texture mapping. I want to correlate 3D model faces to 2D projection faces in basic orthographic projections (top, side, and front views).

view this post on Zulip Sean (Mar 08 2024 at 05:53):

Hm, I'm still not sure I understand still, but also don't think I can help you figure out what STEP entities would be most appropriate or how to encode it in STEP. I'm not aware of it having projection mapping features that would support that. I mean I know how you can do what you're saying with ray tracing as that's literally an orthographic projection, and you can go in either direction.

That is, you can of course render the ortho views which effectively projects the 3D model onto the 2D view plane. You can also use the same technique to project a 2D image onto the 3D model -- the projection shader in BRL-CAD does exactly that for mapping images onto any geometry.

view this post on Zulip Parv (Mar 15 2024 at 09:47):

@Sean hello sir i am web developer how cani help in this project please let me know i am very begginer

view this post on Zulip Sean (Mar 16 2024 at 13:56):

Parv said:

Sean hello sir i am web developer how cani help in this project please let me know i am very begginer

Hello @Parv happy to help but you're going to have to be more specific than that. Have you looked over our list of project ideas or past projects? That's probably your starting point and then we can discuss which of those is more interesting to you. There are links to our project ideas on the GSoC website.

view this post on Zulip Sean (Apr 03 2024 at 16:57):

@starseeker looks like you yanked all of the pkgconfig support in 48bc30b152c6867deea393a0a6a03d4db4f10fe3 ??

view this post on Zulip Sean (Apr 03 2024 at 16:57):

that is/was working afaik...

view this post on Zulip Sean (Apr 03 2024 at 17:04):

I would definitely consider that deprecation-worthy since it's been in there for years, even if the intent is to remove it for simplicity. Otherwise, I think you'll need to supply a replacement pkgconfig implementation that provides it. It's been a few years since last testing as it was developed for 3rd party devs, but it was and has been working as far as I know.

view this post on Zulip Sean (Apr 03 2024 at 21:07):

@starseeker also, did you valgrind 1602a19e0b32f9261f348fe3893b6f86efc6b954 ? My understanding is that 'tp' nmg_kr() is not the same region as killing 'r'. Doesn't tp have the original tree and 'r' is the current one being worked on? I would expect removing the kill to result in memory leaking.

view this post on Zulip starseeker (Apr 04 2024 at 16:07):

@Sean Hmm. I'll have to double check. I don't think I would have pulled the nmg_kr calls without a reason - my vague recollection is of some sort of double-free issue - but it might be that change was in the context of facetize branch...

view this post on Zulip starseeker (Apr 04 2024 at 16:12):

As far as pkgconfig is concerned... We can restore them if you prefer, but from my perspective they're effectively untested and unmaintained, and have been that way for a long time. They may work, but it would essentially be accidental. There isn't a pc file for libbv, for example - libpc isn't an output in the current code, so that shouldn't be there... may be other issues if I look more closely. The most annoying thing to me about those (aside from having not tests to confirm whether they work or not) is their lists of -lbu -lbn etc. library files are manually created rather than autogenerated, so any changes to the build setup aren't automatically reflected in them.

view this post on Zulip starseeker (Apr 04 2024 at 16:14):

I'm not opposed to them per say, but if we're going to provide them I want some way to make sure they're valid, current and working with minimal effort on our part.

view this post on Zulip starseeker (Apr 04 2024 at 16:18):

Apparently doing it automatically isn't simple: https://stackoverflow.com/questions/44292462/how-to-auto-generate-pkgconfig-files-from-cmake-targets I'm for sure in no position to complain about "evil" CMake solutions, so we can probably figure something out if there's a motivation to do it, but minimally I'd like to have some way of knowing whatever pkgconfig files we're producing are correct.

view this post on Zulip starseeker (Apr 04 2024 at 17:41):

@Sean I reverted the removal commit for now.

view this post on Zulip starseeker (Apr 04 2024 at 18:14):

Yep, good catch on the nmg_kr - reverted. That change is specific to the new facetize logic - my bad.

view this post on Zulip starseeker (Apr 04 2024 at 19:33):

Actually, it might even have been an intermediate state of the facetize work... testing now.

view this post on Zulip Sean (Apr 04 2024 at 23:25):

starseeker said:

As far as pkgconfig is concerned... We can restore them if you prefer, but from my perspective they're effectively untested and unmaintained, and have been that way for a long time. They may work, but it would essentially be accidental. There isn't a pc file for libbv, for example - libpc isn't an output in the current code, so that shouldn't be there... may be other issues if I look more closely. The most annoying thing to me about those (aside from having not tests to confirm whether they work or not) is their lists of -lbu -lbn etc. library files are manually created rather than autogenerated, so any changes to the build setup aren't automatically reflected in them.

I get it and not opposed to deprecation, but the new things (of which libbv wouldv'e been on you, heh) and non-existent things (like libpc) aren't going to break anyone by removal. Most likely use cases (librt, libbn, libbu) are almost certainly still working from the looks of what my build last generated.

It was also tested and working when originally set up, and seeing no reason to believe they aren't still working for those core cases. It's also not robust to relocation, but that doesn't matter afaik for pkgconfig. I don't think awareness or lack thereof should really matter when it comes to removing published configuration, but I do have recollection having seen pkgconfig in some external builds. More about giving proper notice to not lose whatever good will and integrations that are out there. Do unto others and such also.

view this post on Zulip Grant Taylor (May 01 2024 at 13:00):

IDK if this is the right place to ask about this, but the BRL-CAD website is throwing an https error and saying the license expired yesterday. Is anyone else having this issue?

view this post on Zulip Sean (May 01 2024 at 13:00):

Thanks for reporting it! Will be fixed in a minute.

view this post on Zulip Daniel Rossberg (Jun 19 2024 at 06:59):

Hi @shahid patel, you are probably looking for this one: https://github.com/BRL-CAD/brlcad/releases

view this post on Zulip Matteo Balice (Jul 08 2024 at 18:39):

How can I save a frame render in some image format?

view this post on Zulip Sean (Jul 08 2024 at 19:00):

Easiest is rt -o file.png

view this post on Zulip Sean (Jul 08 2024 at 19:01):

Using the GUI, you can enter the file name also typically fine. It’s easier just to type RT command and add options.

view this post on Zulip Sean (Jul 08 2024 at 19:02):

Rt can be run in and outside mged. There’s a man page detailing all the options.

view this post on Zulip Kan_ai0 (Jul 10 2024 at 11:18):

@Sean I'm very happy to find you as a mentor for the projects. I'm a react based front end developer currently switching into Next.js, I have a bit of background in C but not on an industrial level. I'm here to help and contribute as best as I can. I hope a great learning experience at BRLCAD. Thanks for having me here Sean.

view this post on Zulip Sean (Jul 10 2024 at 13:48):

Welcome @Kan_ai0 ! There's lots of ways to get involved and projects for just about any tech stack. What are you most interested in? If you're interested in web dev, there's lots you can do to help get OGV further developed. For learning C/C++, there's a lot of attention currently going into geometry conversion with lots of potential projects.

view this post on Zulip Kan_ai0 (Jul 11 2024 at 06:34):

Thanks @Sean I have a good hand in development so I can be a good fit over there. But I want to push myself forward and learn C to contribute at this level. Can you suggest me a good first issue or moderate issue in C ? As I haven't contributed in C previously so I want to learn as much as I can. After that I'm willing to take any developmental role to learn new things and help others. Looking forward to working with you Sean.

view this post on Zulip Sean (Jul 11 2024 at 17:37):

@Kan_ai0 That's awesome, great to hear. There's certainly an abundance of C issues that span everything from newbie-first-C-proggie to PhD-thesis-level work.

view this post on Zulip Kan_ai0 (Jul 12 2024 at 07:30):

@Sean Alright i am already checking out the codebase to see where i can be useful. if you have any suggestion of a particular problem for me please let me know.

view this post on Zulip Kan_ai0 (Jul 12 2024 at 07:34):

@Sean Alright i am already checking out the codebase to see where i can be useful. if you have any suggestion of a particular problem for me please let me know.

view this post on Zulip Sean (Jul 12 2024 at 17:34):

@Kan_ai0 would you rather work on something that helps you get familiarized, fun, but not necessarily a user-facing feature OR would you rather work on something specific that will help others?

view this post on Zulip Sean (Jul 12 2024 at 17:45):

The codebase is like a large city, so just wandering the codebase looking for something to work on is not recommended (you'll get lost and possibly discouraged). There are literally thousands of things so just a matter of picking something simple to get started. It's typically easier to start with something non-user facing, generate geometry with code for example. But then of course the ones that make an impact are the user-facing improvements.

view this post on Zulip Sean (Jul 12 2024 at 17:54):

@Kan_ai0 here's a relatively easy one you can work on -- implement a function that takes the name of a database and returns that top-level objects in that database file. You can only use librt, not libged. You can see example code that does this in src/libged/tops/tops.c and a test program that calls that libged function in src/libged/tests/test_tops.c, which you can run to see what it looks like. Your task, though is extracting that core logic into a non-libged function, no option parsing, just report back the top level objects. That's phase one of three...

view this post on Zulip Kan_ai0 (Jul 13 2024 at 07:25):

Thanks a lot @Sean . I will try to complete this project within this week it might take a bit longer but i will complete it. i would try to solve most of the issues on my own but if i run into a big issue that i couldn't solve anyhow, i guess you have to do your hands dirty a bit. Thanks again for the help @Sean .

view this post on Zulip Sean (Jul 13 2024 at 15:33):

@Kan_ai0 feel free to open another stream to discuss your progress -- tasks like this are meant to be a learning opportunity and discovery, but not one that you have to do in isolation. This task is what I'd probably call "step 1 of 5" on developing a useful feature that will help users. starts with something simple like figuring out tops, and once you get that working, we can talk about the next step. Each step will present new learning opportunities.. ;)

view this post on Zulip Notification Bot (Jul 13 2024 at 15:50):

A message was moved here from #brlcad > (no topic) by Sean.

view this post on Zulip Christophe Groulx (Jul 26 2024 at 18:16):

Will a GUI soon be released? I am interested in learning about BRL-CAD but if the UI changes significantly in the coming months I might wait.

view this post on Zulip starseeker (Jul 26 2024 at 18:17):

There won't be a production release of a new GUI in the next few months.

view this post on Zulip Christophe Groulx (Jul 26 2024 at 18:27):

starseeker said:

There won't be a production release of a new GUI in the next few months.

Alright thank you. Follow up question, where can I get access to some models to experiment with? There are some impressive ones here but none of them appear to be public.

view this post on Zulip starseeker (Jul 26 2024 at 18:28):

There are sample models present in the BRL-CAD distribution itself - in a compiled binary they are in share/db and in the source tree they are at https://github.com/BRL-CAD/brlcad/tree/main/db

view this post on Zulip starseeker (Jul 26 2024 at 18:28):

For the .asc files you'll need to use asc2g to translate them into binary .g files

view this post on Zulip starseeker (Jul 26 2024 at 18:29):

There are also a few models here: https://github.com/BRL-CAD/models/

view this post on Zulip starseeker (Jul 26 2024 at 18:30):

https://github.com/BRL-CAD/models/tree/main/NASA/Hubble is fairly nice visually

view this post on Zulip Christophe Groulx (Jul 26 2024 at 19:18):

starseeker said:

https://github.com/BRL-CAD/models/tree/main/NASA/Hubble is fairly nice visually

It is indeed fairly nice. It is however quite slow since it is single threaded. I thought BRL-CAD was optimized for parallel computing, so maybe it's an issue on my side.

view this post on Zulip Sean (Jul 26 2024 at 19:46):

@Christophe Groulx Did you compile yourself? BRL-CAD's ray tracer uses all available cores by default.

view this post on Zulip Christophe Groulx (Jul 26 2024 at 19:55):

The wireframe view in Archer was very slow because it only used one thread. The RT view is in fact multi threaded.

view this post on Zulip Sean (Jul 26 2024 at 19:57):

Unless you turned it parallel, that could result in single threaded, or the render could have completed and it's bottlenecked on something else. You can rule out the display, for example, by rendering to a file instead of to a window.

That said, it does have 1.5M triangles, so it's not a simple model depending on your hardware. There is a higher-performing ray tracer you can try if that's your slow point (i.e., in mged can "set env(LIBRT_BOT_MINTIE) 1" or LIBRT_BOT_MINTIE=1 in shell before running MGED).

view this post on Zulip Sean (Jul 26 2024 at 19:57):

Ahh, sorry just saw you're referring to the wireframe!

view this post on Zulip Sean (Jul 26 2024 at 20:00):

Turn on display lists and drawing shaded will be dramatically faster -- turn on Display Lists on the Modes menu. Draw shaded with "draw -m1 all.g"

view this post on Zulip starseeker (Jul 26 2024 at 20:01):

I'm not sure the display list toggle is in Archer - MGED allows you to turn it on and off, but I don't know if Archer does.

view this post on Zulip Sean (Jul 26 2024 at 20:02):

Ah, Archer. Even still, shaded will typically display faster than wireframe (and often unexpected how much).

view this post on Zulip Sean (Jul 26 2024 at 20:13):

I do believe archer is display lists only already, and a quick test seems to confirm that.

view this post on Zulip Sean (Jul 31 2024 at 16:17):

@starseeker from a theory perspective, per cpu arrays is always going to be faster than a shared-thread container. fun test, still interesting to hear any stats you uncover.

view this post on Zulip starseeker (Jul 31 2024 at 16:26):

@Sean Are you referring to the rtbotqueue branch? I'm not really expecting that to be the answer, was just exploring to see if it was an option to replace the bu_thread_id mechanism as a drop-in.

view this post on Zulip starseeker (Jul 31 2024 at 16:27):

Our old BoT code used a local variable the way Chris's recent commit does, but we weren't sure if doing that messes with the speed-ups

view this post on Zulip Sean (Aug 01 2024 at 04:02):

starseeker said:

Sean Are you referring to the rtbotqueue branch? I'm not really expecting that to be the answer, was just exploring to see if it was an option to replace the bu_thread_id mechanism as a drop-in.

Yes, that branch.. but that's exactly what my point was. The bu_thread_id() "mechanism" is for accessing per-cpu memory. There's nothing from a theory perspective that is faster than per-cpu memory other than not reading/writing memory altogether.

view this post on Zulip Sean (Aug 01 2024 at 04:04):

Even that particular implementation we have is a function call to a function that returns a precomputed int. Might slow a debug build, but those function calls inline on optimized and all accesses are O(1) direct for both read and write.

view this post on Zulip Sean (Aug 01 2024 at 04:12):

We need to fix the bug, not implement a workaround...

Chris's recent comment points at a potential release-halting bug imho... I definitely would not work around it as it implies something is critically wrong either in the build testing, code, or compiler.

If it's not returning a unique int per thread, that's a bug full stop. Might mean there's something wrong in the thread.cpp implementation, or in the cmake tests that determine which method it uses on windows.

view this post on Zulip starseeker (Aug 01 2024 at 11:42):

@Sean As mentioned, hlbvh changes aren't in the 7.40 RELEASE branch - we split off 7.40 into RELEASE and started working on 7.42 in main while waiting for the cfarm testing to finish up

view this post on Zulip starseeker (Aug 01 2024 at 11:46):

When you've got time if you can help us dig into how that bu_thread_id should be working and what it's doing instead it would be helpful.

view this post on Zulip Christopher (Aug 01 2024 at 12:23):

Sean said:

We need to fix the bug, not implement a workaround...

Chris's recent comment points at a potential release-halting bug imho... I definitely would not work around it as it implies something is critically wrong either in the build testing, code, or compiler.

If it's not returning a unique int per thread, that's a bug full stop. Might mean there's something wrong in the thread.cpp implementation, or in the cmake tests that determine which method it uses on windows.

It's not a bug, it's Windows being Windows. The Thread ID's being returned are correct (and unique at that snapshot in time). The problem lies in Windows immediately reusing an ID after a thread terminates.

view this post on Zulip Sean (Aug 01 2024 at 13:51):

@Christopher How's it leading to corruption then? I mean conceptually, that's what IDs and per-cpu buffers are still supposed to ensure that there's no contention reading/writing from them using an ID because they ultimately (should) associate with a particular core/thread and you'll never have two cores/threads concurrent.

So even if IDs are reused because a thread is short-lived, that should be fine..

view this post on Zulip Sean (Aug 01 2024 at 13:52):

Now what I could see is the IDs growing larger than maxcpus, and a code assuming they're modulo that would be in trouble.

view this post on Zulip Sean (Aug 01 2024 at 13:52):

e.g., if it made per_cpu_arrays[maxcpus], and bu_thread_id() going outside that range

view this post on Zulip Christopher (Aug 01 2024 at 14:18):

Sean said:

Christopher How's it leading to corruption then? I mean conceptually, that's what IDs and per-cpu buffers are still supposed to ensure that there's no contention reading/writing from them using an ID because they ultimately (should) associate with a particular core/thread and you'll never have two cores/threads concurrent.

So even if IDs are reused because a thread is short-lived, that should be fine..

Good point... Maybe the problem is with the modulo?

Thinking through it - a thread id 100%4 and 104%4 would both be writing to the same hit array. Perhaps Windows is just exaggerating the problem since it doesn't increment id's

view this post on Zulip Sean (Aug 01 2024 at 15:58):

Oh, yeah wow, no -- that's totally NFG...

view this post on Zulip Sean (Aug 01 2024 at 15:58):

I hadn't looked at the code yet, but modulo is definitely no bueno. If I had a 2-core system and got thread id's 0, 1, and then thread 1 ends and thread 3 starts, it will conflict with thread 0.

view this post on Zulip Christopher (Aug 01 2024 at 15:59):

yeah. Can't believe it took me that long to see it

view this post on Zulip Sean (Aug 01 2024 at 16:00):

Same can/will happen if more threads than cores are created as the thread_id is just increasing. Easy solution will be to make the per-cpu container be size MAX_PSW

view this post on Zulip Sean (Aug 01 2024 at 16:01):

That's supposed to be the hard limit indexable, such that all IDs should be in that range. I don't think we have all the necessary code protections to ensure someone kicking off 10k threads doesn't end up with a bad time, but that's how rt operates.

view this post on Zulip Christopher (Aug 01 2024 at 16:06):

what would be the index then - the thread ID itself? Also, we're upfront allocating the arrays which seems like it could cause problems

view this post on Zulip Sean (Aug 01 2024 at 16:11):

you can/should up-front allocate MAX_PSW -- it's a nominal waste of memory, but that's what makes it semaphore-free

view this post on Zulip Sean (Aug 01 2024 at 16:11):

just shouldn't be a huge allocation (hopefully)

view this post on Zulip Sean (Aug 01 2024 at 16:12):

but yes, then the id is the index into the array

view this post on Zulip Sean (Aug 01 2024 at 16:12):

the id is set in parallel.c during thread creation, so it should be some value from 0 to MAX_PSW-1 iirc

view this post on Zulip Sean (Aug 01 2024 at 16:17):

the id is just an int, but it's parallel's job to only hand out one per available compute core. so when a thread exits, parallel can either re-issue a previous id or the next available.

been a long time, but the magic happens in parallel_mapping() where it keeps track of everything including recursive parallel invocations. that was part of work years ago to make bu_parallel robust to applications kicking off N threads, and each of those N threads potentially kicking off their own N threads, and works hard to handle that robustly.

view this post on Zulip Christopher (Aug 01 2024 at 16:17):

I see what they were trying to do now. They used bu_thread_id(), which is the literal os thread ID, instead of bu_parallel_id() which is the CPU number.

view this post on Zulip Sean (Aug 01 2024 at 16:22):

AHHhhh.. yeah, that'll do it.

view this post on Zulip Sean (Aug 01 2024 at 16:22):

That's not MAX_PSW ranged...

view this post on Zulip Sean (Aug 01 2024 at 16:23):

I think you added that for the temp file debugging a while back, yes?

view this post on Zulip Christopher (Aug 01 2024 at 16:23):

exactly, hench where my indexing question came from heh. MAX_PSW + the right function appears to do the trick - grabbing some speed metrics now

view this post on Zulip Sean (Aug 01 2024 at 16:25):

Yeah, per-cpu buffers would be problematic if the index were even uint16_t for some cases, definitely not uint32 or 64

view this post on Zulip Christopher (Aug 01 2024 at 16:26):

Sean said:

I think you added that for the temp file debugging a while back, yes?

I added it to generate pseudo-random temp file names in a parallel run.

view this post on Zulip Sean (Aug 01 2024 at 16:30):

might be a good candidate for migration to temp.c as a static to avoid confusion, or at least updating the header to make it clear it shouldn't be used with parallel as an index

view this post on Zulip Christopher (Aug 01 2024 at 16:36):

I think functionally it moreso belongs in parallel. But definitely needs some better header documentation

view this post on Zulip Sean (Aug 01 2024 at 16:57):

Agree it functionally belongs in parallel if it's going to be public API.

Static would just be to reduce API footprint if that's the only use. All public API should (ideally) be used in multiple places too to justify them, but that's long-term maintenance and of course conflicts with works in progress that might only have 0 or 1 places in use. Will just have to keep an eye out for some place to leverage it meaningfully.

view this post on Zulip Sean (Aug 01 2024 at 16:59):

If we had proper logging, I'd want thread ID and parallel ID prefixed on the log lines to know who is saying what

view this post on Zulip Sean (Aug 01 2024 at 17:00):

something I've had in mind for yearss, and reminded of just recently with Dwayne's comment about not wanting rt to output anything.

view this post on Zulip Himanshu (Aug 03 2024 at 04:47):

@Sean I saw while doing cmake for brlcad, sub-modules are being downloaded. Is it necessary?

view this post on Zulip Sean (Aug 03 2024 at 05:45):

@Himanshu the repository was reconfigured so that it no longer contains 3rd party dependencies. with lots of major new features coming that introduce more/bigger dependencies, they no longer "fit" like they did in the past in src/other. Now they're all in a "bext" repo, and if you don't download and install them yourself, they're downloaded and compiled automatically during cmake.

view this post on Zulip Sean (Aug 03 2024 at 05:46):

You can clone the bext repo, compile, and install it yourself, then point to it during compilation of the brlcad repo with the -DBRLCAD_EXT_DIR=path/to/bext_output_dir cmake option

view this post on Zulip Sean (Aug 03 2024 at 05:47):

It still takes a lot of time and space to compile all the 3rd party deps, but if you do it in advance, then you can re-use the bext build over and over whereas the 'brlcad' repo will download the deps every time you start over with a fresh build dir.

view this post on Zulip Matteo Balice (Aug 09 2024 at 09:15):

Is the bounding volume hierarchy algorithm already implemented in brl-cad?

view this post on Zulip fall Rainy (Aug 10 2024 at 06:17):

Matteo Balice said:

Is the bounding volume hierarchy algorithm already implemented in brl-cad?

I guess not. I have tried to find the documentation before

view this post on Zulip Sean (Aug 10 2024 at 15:58):

yes, search for bvh in src/librt

view this post on Zulip Sean (Aug 10 2024 at 16:00):

you'll find one implementation in cut_hlbvh and another inside src/librt/primitives/bot that is our new usage

view this post on Zulip starseeker (Aug 14 2024 at 18:37):

@Sean Chris asked me earlier, and I realized I don't actually know... RT_DBNHASH is deprecated, so what is the recommended/approved way to iterate over all directory pointers open in a database?

view this post on Zulip starseeker (Aug 14 2024 at 18:39):

I have to admit I usually just use the double for loop a.l.a. https://github.com/BRL-CAD/brlcad/blob/main/src/libged/lint/cyclic.cpp#L148 - with RT_DBNHASH on the removal list, I was wondering what such iterations should look like instead?

view this post on Zulip Matteo Balice (Aug 16 2024 at 12:00):

How can I import a gltf in brl-cad?

view this post on Zulip Christopher (Aug 16 2024 at 13:09):

Matteo Balice said:

How can I import a gltf in brl-cad?

you can use the geometry conversion (gcv) tool with the assetimport library. Something like

gcv --input-format=assetimport IMPORT_FILE.gltf OUTPUT_FILE.g

view this post on Zulip Matteo Balice (Aug 16 2024 at 19:38):

Christopher ha scritto:

Matteo Balice said:

How can I import a gltf in brl-cad?

you can use the geometry conversion (gcv) tool with the assetimport library. Something like

gcv --input-format=assetimport IMPORT_FILE.gltf OUTPUT_FILE.g

I have convert my chess.gltf in brlcad chess.g and now I have to do ray tracing with this model. So I have imported chess.g in mged, I did the command tops to see all the objects and it outputs me:

image.png

view this post on Zulip Matteo Balice (Aug 16 2024 at 19:40):

The problem is that, when I specify the object of chess.g, the terminal outputs me this:
image.png

view this post on Zulip Matteo Balice (Aug 16 2024 at 19:44):

What does it mean?

view this post on Zulip Christopher (Aug 16 2024 at 19:52):

It looks like something may have gone wrong with the conversion and the object does not have any geometry. Are you able to draw default.1.3.b.o.s in mged? Also, what does ‘list’ show?

view this post on Zulip Christopher (Aug 16 2024 at 19:56):

Ah nevermind - I see your ‘l’ output. The reason it wont raytrace is because it converted as a surface. This means the mesh is not ‘closed’ (manifold).

view this post on Zulip starseeker (Aug 16 2024 at 20:06):

I think that should still raytrace?

view this post on Zulip starseeker (Aug 16 2024 at 20:07):

Maybe not...

view this post on Zulip Matteo Balice (Aug 16 2024 at 21:14):

How can I convert in the right way?

view this post on Zulip Matteo Balice (Aug 16 2024 at 21:15):

Should I import in blender and fix it there?

view this post on Zulip Christopher (Aug 16 2024 at 21:31):

@starseeker could he use any of the bot tools?

view this post on Zulip starseeker (Aug 17 2024 at 12:34):

If it's not solid, importing it into blender or some other tool is probably the way to go

view this post on Zulip starseeker (Aug 17 2024 at 15:24):

It depends a bit on what the modeling intent is. If it's a bot that's supposed to be a solid but isn't, then there are a few things (particularly in the latest BRL-CAD release) you can try. If it's a mesh intended to represent a thin "skin" - like an airplane's exterior - then to get a raytrace you can mark it as being a plate mode bot

view this post on Zulip starseeker (Aug 17 2024 at 15:25):

if it came in as a surface despite being a manifold, that might be an issue with the importer

view this post on Zulip starseeker (Aug 17 2024 at 15:28):

There may be something else going on here though - a quick test turning a plate mode into a surface mode BoT and raytracing it, I still get an image

view this post on Zulip starseeker (Aug 17 2024 at 15:28):

mged> l test.bot
test.bot:  Bag of triangles (BOT)
    20 vertices, 10 faces (unoriented)
    This is a surface with no volume
    use -v (verbose) for all data

view this post on Zulip starseeker (Aug 17 2024 at 15:35):

If someone wants to reproduce, I'm using the Generic_Twin.g example in BRL-CAD. More or less at random, I picked 7852.1.t0 to test:

mged> cp 7852.1.t0 test.bot
mged> bot set type test.bot surf
mged> bot get type test.bot
surface
mged> e test.bot
mged> rt

view this post on Zulip starseeker (Aug 17 2024 at 15:36):

For me, that raytraces. So I'm not sure why the gltf import wouldn't...

view this post on Zulip Matteo Balice (Aug 17 2024 at 17:24):

I checked in blender the mesh I wanted to import and there were a lot of issues: face intersections, holes in the mesh... I couldn't even resolve with the auto tool in blender.

view this post on Zulip Matteo Balice (Aug 17 2024 at 17:25):

For this reason I have changed the mesh, now it seems to work :)

view this post on Zulip Matteo Balice (Aug 17 2024 at 17:26):

(I have to raytrace just one of the mesh of this paper https://weiphil.s3.eu-central-1.amazonaws.com/neural_bvh.pdf, just for comparison purposes)

view this post on Zulip scorp08 (Aug 19 2024 at 09:32):

@Sean Hello, could you point on k-g to do list ? I used lsdyna before and wondering what can I do and see how mesh can transform between structures

view this post on Zulip Sean (Aug 26 2024 at 14:15):

@scorp08 Sorry for the late reply -- I was traveling last weekend. Are you looking for something specific? The idea is to support the import of geometry described in lsdyna's k-file format. It's being actively worked now by @Louis Googl under his GSoC effort: https://summerofcode.withgoogle.com/programs/2024/projects/y7LyLUtV

view this post on Zulip Louis Googl (Aug 26 2024 at 14:32):

@scorp08 Hello there. yes I am currently working on the k-g converter. we have the shell element already implemented by @Daniel Rossberg and I have added the implementation of a solid element and beam element with tubular cross section. Currenlty I am working on the resultant beam with various types of cross-sections. Here is a link to the development repo.
Let me know if you have any specific questions.

view this post on Zulip Taylor Talkington (Aug 28 2024 at 16:39):

Hi, I'm trying to access the wiki (https://brlcad.org/wiki) but anything that points to it returns HTTP 500. Is it down?

view this post on Zulip Louis Googl (Aug 28 2024 at 16:55):

Hi, the wiki is getting upgraded

view this post on Zulip bylee (Aug 30 2024 at 17:01):

Hi, I am looking for how to serialize into memory buffer instead of file. It seems that I can deserialize from memory buffer using db_dirbuild_inmem() but I cannot find function for serialization.

view this post on Zulip Himanshu (Sep 07 2024 at 17:39):

@Sean when the wiki will be up?

view this post on Zulip Sean (Sep 10 2024 at 14:36):

@Himanshu great question. there's still more work. the server is operating in a degraded state with a bad hard drive so everything takes an excruciatingly long time. backing up files and database took a couple days, just to give an idea, and no way to make it faster. this is a bandaid until we migrate to the new server.

view this post on Zulip Stewi (Sep 28 2024 at 06:32):

Hey @Sean Do we have the support of BRL-CAD on mac os, i have tried running the cmake so many times but it fails, do we have a release of BRL-CAD for mac os, i found there are releases of linux and windows only.

Screenshot 2024-09-28 at 11.58.35AM.png

view this post on Zulip starseeker (Oct 01 2024 at 12:03):

@Stewi What's the CMake failure? I'm not typically set up to build with Mac, which is why the binaries are usually linux and windows, but it should build on Mac... we have a Github CI that runs on Mac regularly.

view this post on Zulip Sean (Oct 03 2024 at 05:08):

@Stewi have you tried adding the cmake option -DBRLCAD_BUNDLED_LIBS=ON ? You're likely running into conflicts with system versions of Tcl/Tk -- it needs to use the newer versions that ship with BRL-CAD.

view this post on Zulip Sean (Oct 03 2024 at 05:08):

We do need to make it so the default build works (it doesn't) on Mac, but that is a workaround.


Last updated: Oct 09 2024 at 00:44 UTC