Thank you! ... two questions.  One, what do the renderings look like? Two, is 
the performance any better if you give it more work?

Maybe compare: rt -o render_X.png -s2048

Cheers!
Sean

> On Mar 14, 2018, at 6:00 PM, Sreyansh Jain <sreyanshjai...@gmail.com> wrote:
> 
> 
> Hi,
> 
> I've attached the screenshots for your reference.‌ I hope this is what you 
> were looking for.
> 
> Warm Regards,
> 
> Sreyansh Kumhar Jain
> 4th Year Undergraduate Student
> Department of Mechanical Engineering
> Indian Institute of Technology, Kharagpur
> +91-9933958066
> 
> sreyanshjai...@gmail.com
> Facebook | LinkedIn
> 
>> On Wed, Mar 14, 2018 at 12:44 PM, Christopher Sean Morrison <brl...@mac.com> 
>> wrote:
>> Screenshot? :)
>> 
>> Ideally a comparison of superell from non-opencl next to the same rendered 
>> via opencl…
>> 
>> Cheers!
>> Sean
>>  
>> 
>>> On Mar 13, 2018, at 5:48 PM, Sreyansh Jain <sreyanshjai...@gmail.com> wrote:
>>> 
>>> 
>>> Hi,
>>> 
>>> I've submitted the patch file. Do let me know suggestions for that, if any. 
>>> I'll share the rough initial draft of the proposal for your review and 
>>> recommendation soon.
>>> ‌
>>> 
>>> Warm Regards,
>>> 
>>> Sreyansh Kumhar Jain
>>> 4th Year Undergraduate Student
>>> Department of Mechanical Engineering
>>> Indian Institute of Technology, Kharagpur
>>> +91-9933958066
>>> 
>>> sreyanshjai...@gmail.com
>>> Facebook | LinkedIn
>>> 
>>>> On Tue, Mar 13, 2018 at 7:40 AM, Christopher Sean Morrison 
>>>> <brl...@mac.com> wrote:
>>>> Sreyansh,
>>>> 
>>>> Before moving onto other primitives, please submit a patch file with your 
>>>> changes (including any new files) and demonstrate the superell working via 
>>>> OpenCL…
>>>> 
>>>> You should definitely be drafting a proposal for review at this point.  
>>>> Proposal submissions opened today.
>>>> 
>>>> Cheers!
>>>> Sean
>>>> 
>>>> 
>>>>> On Mar 12, 2018, at 5:50 PM, Sreyansh Jain <sreyanshjai...@gmail.com> 
>>>>> wrote:
>>>>> 
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> Thank you so much for the detailed guidance. Having gone through all the 
>>>>> reference codes given, I've successfully ported the SUPERELL primitive to 
>>>>> OpenCL. I'll try to do the same for HYP and others as well before the 
>>>>> final application deadline. Should I proceed with drafting the proposal 
>>>>> for review or is there something else that needs to be done? 
>>>>> 
>>>>> Eagerly looking to your revert.
>>>>> 
>>>>> 
>>>>> Warm Regards,
>>>>> 
>>>>> Sreyansh Kumhar Jain
>>>>> 4th Year Undergraduate Student
>>>>> Department of Mechanical Engineering
>>>>> Indian Institute of Technology, Kharagpur
>>>>> +91-9933958066
>>>>> 
>>>>> sreyanshjai...@gmail.com
>>>>> Facebook | LinkedIn
>>>>> 
>>>>>> On Tue, Mar 6, 2018 at 10:56 PM, Vasco Alexandre da Silva Costa 
>>>>>> <vasco.co...@gmail.com> wrote:
>>>>>> Hello!
>>>>>> You can start by implementing one of the primitives which hasn't been 
>>>>>> ported over to OpenCL yet.
>>>>>> There were a lot of issues with porting the HRT primitive last year, 
>>>>>> probably because of the solver, so I would advise you to try to port 
>>>>>> something simpler like either HYP or SUPERELL which shouldn't have any 
>>>>>> issues.
>>>>>> 
>>>>>> There is a quick reference guide to BRL-CAD MGED commands and primitives 
>>>>>> here:
>>>>>> http://brlcad.org/w/images/5/52/MGED_Quick_Reference_Card.pdf
>>>>>> 
>>>>>> Here is a reference card for OpenCL 1.2 (what we currently use) commands 
>>>>>> and language constructs:
>>>>>> https://www.khronos.org/files/opencl-1-2-quick-reference-card.pdf
>>>>>> 
>>>>>> I code for BRL-CAD using the Linux operating system. The other 
>>>>>> developers typically use either that or Mac OS X.
>>>>>> Make sure to setup your development environment and install OpenCL on 
>>>>>> your system. This program might be of help since it queries the 
>>>>>> installed OpenCL versions to determine the supported version, etc:
>>>>>> https://github.com/simleb/clinfo
>>>>>> 
>>>>>> You should provide a patch for that primitive (HYP or SUPERELL) before 
>>>>>> GSoC officially starts. It shouldn't be too hard to do since you can use 
>>>>>> one of the other already ported primitives (like ELL) as a template. You 
>>>>>> basically need to port the ray-primitive intersection (shot) code from C 
>>>>>> to OpenCL and to provide the glue code which packs and unpacks that 
>>>>>> primitive from the C side to the OpenCL side.
>>>>>> 
>>>>>> 
>>>>>> I have a task list, of things to do, for the OpenCL ray tracer here:
>>>>>> http://brlcad.org/wiki/User:Vasco.costa
>>>>>> 
>>>>>> You can use this as a basis to write your actual proposal. Of the things 
>>>>>> in that todo list I would say that PIPE, DSP, BOT plate mode, and BREPs 
>>>>>> are the most significant.
>>>>>> 
>>>>>> Before you write the proposal and allocate time for the tasks you should 
>>>>>> read the relevant code that you will have to port from ANSI C/C++ to 
>>>>>> OpenCL to get an idea of the complexity of the tasks. Most of the 
>>>>>> relevant code is located in this code tree:
>>>>>> https://svn.code.sf.net/p/brlcad/code/brlcad/trunk/src/librt/primitives/
>>>>>> 
>>>>>> Regards,
>>>>>> 
>>>>>>> On Tue, Mar 6, 2018 at 4:28 PM, Sreyansh Jain 
>>>>>>> <sreyanshjai...@gmail.com> wrote:
>>>>>>> Hi,
>>>>>>> 
>>>>>>> I'm new to the open source community but I'm well-versed with Python, C 
>>>>>>> and CUDA while a beginner in OpenCL. I went through the project ideas 
>>>>>>> list and I believe I can contribute to one on GPGPU Raytracing. Can you 
>>>>>>> guide me on how to start contributing to these as of now. I hope I'm 
>>>>>>> not that late.
>>>>>>> 
>>>>>>> 
>>>>>>> Warm Regards,
>>>>>>> 
>>>>>>> Sreyansh Kumhar Jain
>>>>>>> 4th Year Undergraduate
>>>>>>> IIT Kharagpur
>>>>>>> ‌
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>> _______________________________________________
>>>>>>> BRL-CAD Developer mailing list
>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> Vasco Alexandre da Silva Costa
>>>>>> PhD in Computer Engineering (Computer Graphics)
>>>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>> _______________________________________________
>>>>>> BRL-CAD Developer mailing list
>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! 
>>>>> http://sdm.link/slashdot_______________________________________________
>>>>> BRL-CAD Developer mailing list
>>>>> brlcad-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> BRL-CAD Developer mailing list
>>>> brlcad-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! 
>>> http://sdm.link/slashdot_______________________________________________
>>> BRL-CAD Developer mailing list
>>> brlcad-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>> 
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> BRL-CAD Developer mailing list
>> brlcad-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>> 
> 
> <superell_c.png>
> <superell_cl.png>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to