Picon

librt OpenCL starting point

On Thu, May 12, 2016 at 11:22 AM, Param Hanji <param.catchchaos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
...

Where does the parallelization occur?

Currently the parallelization is done per ray. One SIMT thread per ray.

Do we want several rays to be shot in parallel, or should the construction and evaluation of the CSG tree for a given ray be performed parallelly?

It's probably easier to exploit the per ray parallelism at this point. So the idea would be to construct and the CSG tree once, and then evaluate it in parallel for all rays.

Pardon me for not being very clear, but finding things a little hard to grasp at the moment.

You generate a list of segments for each ray. Then you evaluate those segments according to the CSG tree data to determine the final output.

I hope this was clear?

--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Roman Coedo | 12 May 09:20 2016
Picon
Gravatar

ESA Summer of Code 2016

Hello!

My name is Roman and I'm a last year CS student from Spain. I have a strong web development background and I have industry experience with languages such as Java and Javascript. In 2014 and 2015 I have collaborated with the jclouds project from the Apache Software Foundation in the Google Summer of Code program.

I just heard about the ESA Summer of Code program and I would love to make a proposal to collaborate with BRL-CAD. There is a couple of ideas on your ideas list related to web development that caught my eye.

I would appreciate some guidance to make my proposal and start collaborating with the project.

Thanks!



------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Christopher Sean Morrison | 10 May 22:34 2016
Picon
Gravatar

Feature freeze for release

Hi All,

Just wanted to let everyone know that we're getting really close to a really major release, so we could use everyone's help to test and report/fix issues encountered.  We're effectively in a feature freeze right now and will be snapping the sources to the RELEASE branch as soon as the last remaining commits are reviewed.

Most of our remaining focus now is making sure everything simply compiles cleanly, tests all pass, and everything is documented that has changed.  You can help by running make distcheck-full and fixing any failures you see.  You can also help by interactively running tools (mged, archer, rt tools in particular) and reporting+fixing any issues encountered.

Cheers!
Sean

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Param Hanji | 8 May 12:59 2016
Picon

Understanding Data Structures

Hello,

I set up my profile on the BRL-CAD wiki and added my proposal too. I then proceeded to try to understand the code in bool.c

I want to know what exactly Boolean Weaving is and the related data structures as well. From the BRL-CAD documentation and a bit of Googling, I gathered that
  • segment - is defined by the shortest possible path between two points. This is characterized by the 2 end points(hit points).
  • partitions - of a ray (not too sure what this means).
It'd be great if someone could provide a more comprehensive description of the weaving process and the data structures. Links to an article or a book would be nice.

Thank you for your time.

Best,

Param Hanji
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Picon

OpenCL development on OS X

On Sat, May 7, 2016 at 6:37 PM, Param Hanji <param.catchchaos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
...
I was just wondering if I can do all the required work on the OS X. Or is Linux absolutely essential?

I have not tested librt OpenCL on OS X. In principle it should compile and run but your mileage may vary. I do not have any OS X machine around to test it with.
 
Apple's documentation states that only OpenCL 1.2 is supported.


Should not be a problem. The current code IIRC only requires OpenCL 1.2.
 
If I use the generic AMD APP SDK will be able to get 2.0 support? Also are there any other issues that might make me want to use a Linux machine over a Mac? I suppose I could just dual boot it with Linux as well.

Yes the AMD APP SDK has OpenCL 2.0 support (as does a recent NVIDIA SDK) on Linux. I have tested the code with both the NVIDIA and AMD APP SDKs on Linux so these configurations should give you the least amount of issues.

Yes it might be a good idea to have dual boot to Linux as an option in case there is some issue with OpenCL support.

On the other hand I am interested to know if the current librt OpenCL compiles and runs on MacOS X. So please do test it there if you can.

All the best,

--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Rakshika Bagavathy | 5 May 22:06 2016
Picon

Re: Mesh Healing project suggestions

Hello,

> BRL-CAD's rt_bot_internal structure contains attributes such as vertices, faces, normals, etc. explicitly, while the

> OpenSCAD Polyset class contains a vector of vector of 3D vectors as a set of polygons.

Heh, they have a what??? :)

Sean, i apologise for the trivial language. What i meant was that their 'Polygons' structure is represented as a list if individual polygons. Each of those are in turn represented as a list of 3D vectors. 

 > They can which is why the decision needed is whether to (A) use a generic container of vertices, faces, and normals that directly converts to BRL-CAD and trivially converts to OpenSCAD or (B) a general polyset structure that directly converts to OpenSCAD and trivially converts to BRL-CAD or (C) a more advanced container that will preserve topological structure and probably be easily convertible to BRL-CAD and OpenSCAD.

I'm in favor for using generic programming techniques which means to
not invent a new container structure and avoids struggle with
conversion issues.  This should be an adequate approach for writing a
generic mesh healing algorithm.

I thought so too, i had suggested it in my first mail.  So we could go with option (A) that Sean has suggested - where we convert to BRL-CAD directly and OpenSCAD trivially. I think this might be better because it will be easier and more understandable while making the geometry processing structure as well. 

What i'm not sure about is the geometry processing data structure. I get that we are going from a 'bad' state to a 'good' one, but for example: say we have a singular edge - with three incident faces. How would we represent it as a half-edge data structure? Do we just ignore one of the faces? Won't we lose data that way? Is there something i am missing?

Regards, 
Rakshika.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Picon

Starting point for BRL-CAD OpenCL

On Tue, May 3, 2016 at 3:33 PM, Param Hanji <param.catchchaos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hello,

Do you think I should start working on bool.c right away? Or should I initially continue accelerating some primitives?

I figured a bit a of both would be ideal. But the initial couple of patches should be primitives, according to the schedule in my proposal. So does it make sense to do start boolean evaluation later?

You only need to start coding in the GSoC period (23 May onwards) but you can begin work on it now to get a head start if you wish. Right now you should try to get a better feel for the task ahead. So yes I advise you look more into bool.c:
--
e.g. bool_eval does not need to be implemented with that growable dynamic stack.
I did a patch which precompiled the CSG operator and solids scenegraph tree into a postfix linear tree (#417) which you can find here:
https://sourceforge.net/p/brlcad/patches/417/

You can get an idea of how it works by looking at the patch. The patch is incomplete and has some issues. It is also currently CPU only written in C.
-
As for the dynamic linked lists in the boolean weaving part of the code this online presentation might be interesting:
http://developer.amd.com/wordpress/media/2013/06/2041_final.pdf

--
A good primitive to start with would be ETO. Then you can do PART later.


Regards,

--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Oleksandr Dubenko | 3 May 14:19 2016
Picon

Logo discussion

As part of community bounding I set up my development environment, hang out at IRC chat and doing some early sketches for new website design. While doing this I discovered that there is no consistent use of 'BRL-CAD' logo. There are some good ones but they all have flaws. That's why I decided to redraw in vector and want to discus making it default logotype. I encourage everyone to join conversation and give your opinions and suggestions.

Also as part of community bounding I set up a blog for detailed reporting about tasks I do. You can head over my first blog post to get more details about redrawn logo.

Thanks,
Alex
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Gauravjeet Singh | 30 Apr 08:33 2016
Picon
Gravatar

BRL-CAD Wiki error

I was checking out a BRL-CAD wiki page and came to know that images
are not being loaded. When I click on the broken image link, I go to a
page that has the following error:

"Error creating thumbnail: /etc/brlcad/convert: not found"

Anything wrong with the server ?

--

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

Gauravjeet Singh
http://github.com/gauravjeetsingh

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Rakshika Bagavathy | 27 Apr 12:09 2016
Picon

Mesh Healing project suggestions

Hello all,

First of all, i would like to express my gratitude to the BRL-CAD organisation for accepting my proposal. It gives me immense pleasure to participate as a part of BRL-CAD in GSoC. 

Second of all, i wanted to know if we are to go forward with the portable module for mesh healing along with OpenSCAD. I will edit my proposal and abstract accordingly. After talking to kintel on the IRC, it is now clear that: geometry storage and geometry processing can be done with different data structures. BRL-CAD's rt_bot_internal structure contains attributes such as vertices, faces, normals, etc. explicitly, while the OpenSCAD Polyset class contains a vector of vector of 3D vectors as a set of polygons. So, the geometry storage structure can be similar to that of BRL-CAD's (OpenSCAD's Polygons type in the Polyset class can be converted to this). Yet to decide on a structure for geometry processing (that can accommodate meshes with topological defects and holes). Opinions welcome.

Regards,
Rakshika.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Gauravjeet Singh | 26 Apr 16:23 2016
Picon
Gravatar

Let's talk OGV

Hello, everyone

This is my first year as GSoC with BRL-CAD. I hope to get most of it.

I would like to know if everything's good with my proposal. I
submitted my proposal at the very end, so couldn't get a good amount
of feedback on it.

I listed all the changes I wish to do with OGV in my proposal, I would
like to know if there's any amount of addition/deletion required.

Here's the link to my OGV proposal
http://brlcad.org/wiki/User:Gauravjeet/OGV_Proposal

Also, quite recently I shared my views on package based architecture,
waiting for your replies on it.

--

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

Gauravjeet Singh
http://github.com/gauravjeetsingh

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Gmane