-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
766 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
.comp-soft-wrapper { | ||
|
||
width: 700px; | ||
margin: 0 auto; | ||
|
||
--s: 150px; /* size */ | ||
--m: 8px; /* margin */ | ||
--f: calc(1.732 * var(--s) + 4 * var(--m) - 1px); | ||
} | ||
|
||
@media (max-width: 767px) { | ||
.comp-soft-wrapper { | ||
|
||
width: 100vw; | ||
margin: 0 auto; | ||
} | ||
} | ||
|
||
.comp-soft-section { | ||
width: 100vw; | ||
background-color: var(--colorPrimaryDark); | ||
padding: 50px 0; | ||
} | ||
|
||
.comp-soft-title { | ||
display: flex; | ||
justify-content: center; | ||
width: 100%; | ||
margin-bottom: 20px; | ||
|
||
letter-spacing: 1.5px; | ||
font-size: 27px; | ||
font-weight: bold; | ||
|
||
color: white; | ||
} | ||
|
||
.comp-soft-container { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
.comp-soft-container { | ||
flex-wrap: wrap; | ||
justify-content: space-evenly; | ||
} | ||
} | ||
|
||
.comp-soft-container .comp-soft { | ||
width: var(--s); | ||
min-width: var(--s); | ||
margin: var(--m) var(--m) 0; | ||
height: var(--s); | ||
font-size:initial; | ||
border-radius: 50%; | ||
background: white; | ||
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
.comp-soft-container .comp-soft { | ||
margin: var(--m); | ||
} | ||
} | ||
|
||
.comp-soft-image-holder { | ||
display: flex; | ||
align-items: center; | ||
height: var(--s); | ||
justify-content: center; | ||
} | ||
|
||
.comp-soft-image-holder img { | ||
max-width: 80%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.sponsors-wrapper { | ||
margin: 50px 0; | ||
width: 100%; | ||
} | ||
|
||
.sponsors-title { | ||
display: flex; | ||
justify-content: center; | ||
width: 100%; | ||
margin-bottom: 20px; | ||
|
||
letter-spacing: 1.5px; | ||
font-size: 27px; | ||
font-weight: bold; | ||
} | ||
|
||
.sponsors { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
.sponsors { | ||
flex-direction: column; | ||
} | ||
} | ||
|
||
.sponsors-logo { | ||
width: 220px; | ||
height: 200px; | ||
|
||
padding: 0 10px; | ||
|
||
display: flex; | ||
align-items: center; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Week 4: Exam Preparations and Reviewing | ||
======================================= | ||
|
||
.. post:: June 24, 2023 | ||
:author: Praneeth Shetty | ||
:tags: google | ||
:category: gsoc | ||
|
||
What did I do this week? | ||
------------------------ | ||
|
||
This week, amidst end-semester exams, I managed to accomplish a few notable tasks. Let's dive into the highlights: | ||
|
||
1. Merging **CardUI**: The PR `#398 <https://github.com/fury-gl/fury/pull/398>`_ introduced the **CardUI** to the UI system of FURY. After a successful review and test check, it was merged into the codebase. | ||
|
||
2. Revisiting PR `#540 <https://github.com/fury-gl/fury/pull/540>`_: I restarted working on PR `#540 <https://github.com/fury-gl/fury/pull/540>`_ as I wasn't satisfied with the previous approach when I checked it for rebasing. I took the opportunity to update the code and ensure that the unit tests passed successfully. Although there are a few issues remaining in the tests, I am determined to resolve them and move forward with the implementation. This PR aims to improve the usage of the **numpy_to_vtk_image_data** utility function. | ||
|
||
3. Independent Scrollbar Consideration: We are currently evaluating the necessity of making the Scrollbar an independent element. Currently it is only used by the **ListBox2D**, we are exploring various use cases to determine if there are other scenarios where the Scrollbar can be employed independently. This evaluation will help us make an informed decision about its future implementation. | ||
|
||
4. PR Reviews: In the brief intervals between exams, I utilized the time to review two PRs: `#446 <https://github.com/fury-gl/fury/pull/446>`_ - Resize panel and `#460 <https://github.com/fury-gl/fury/pull/460>`_ - Tree UI. | ||
|
||
Did I get stuck anywhere? | ||
------------------------- | ||
|
||
No, fortunately, I didn't encounter any major obstacles or challenges during my tasks this week. | ||
|
||
What is coming up next? | ||
----------------------- | ||
|
||
Once the exams are over, I am eagerly looking forward to making a full comeback to development. My immediate plans include addressing the remaining issues in PR `#540 <https://github.com/fury-gl/fury/pull/540>`_ and completing the pending tasks. I will also catch up on any missed discussions and sync up with the team to align our goals for the upcoming weeks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
Week 4: Nothing is Ever Lost | ||
============================ | ||
|
||
.. post:: June 26, 2023 | ||
:author: João Victor Dell Agli Floriano | ||
:tags: google | ||
:category: gsoc | ||
|
||
|
||
Welcome again to another weekly blogpost! Today, let's talk about the importance of guidance throughout a project. | ||
|
||
Last Week's Effort | ||
----------------------- | ||
So, last week my project was struggling with some supposedly simple in concept, yet intricate in execution issues. If you recall from | ||
my :doc:`last blogpost <2023-06-19-week-3-joaodellagli>`, I could not manage to make the Framebuffer Object setup work, as its method, | ||
``SetContext()``, wasn't being able to generate the FBO inside OpenGL. Well, after some (more) research about that as I also dived in my | ||
plan B, that involved studying numba as a way to accelerate a data structure I implemented on my PR `#783 <https://github.com/fury-gl/fury/pull/783>`_, | ||
me and one of my mentors decided we needed a pair programming session, that finally happened on thursday. After that session, | ||
we could finally understand what was going on. | ||
|
||
Where the Problem Was | ||
--------------------- | ||
Apparently, for the FBO generation to work, it is first needed to initialize the context interactor: | ||
|
||
:: | ||
|
||
FBO = vtk.vtkOpenGLFramebufferObject() | ||
|
||
manager.window.SetOffScreenRendering(True) # so the window doesn't show up, but important for later as well | ||
manager.initialize() # missing part that made everything work | ||
|
||
FBO.SetContext(manager.window) # Sets the context for the FBO. Finally, it works | ||
FBO.PopulateFramebuffer(width, height, True, 1, vtk.VTK_UNSIGNED_CHAR, False, 24, 0) # And now I could populate the FBO with textures | ||
|
||
|
||
This simple missing line of code was responsible for ending weeks of suffer, as after that, I called: | ||
:: | ||
print("FBO of index:", FBO.GetFBOIndex()) | ||
print("Number of color attachments:", FBO.GetNumberOfColorAttachments()) | ||
|
||
That outputted: | ||
:: | ||
FBO of index: 4 | ||
Number of color attachments: 1 | ||
|
||
That means the FBO generation was successful! One explanation that seems reasonable to me on why was that happening is that, as it was | ||
not initialized, the context was being passed ``null`` to the ``SetContext()`` method, that returned without any warning of what was happening. | ||
|
||
Here, I would like to point out how my mentor was **essential** to this solution to come: I had struggled for some time with that, and could | ||
not find a way out, but a single session of synchronous pair programming where I could expose clearly my problem and talk to someone | ||
way more experienced than I, someone designated for that, was my way out of this torment, so value your mentors! Thanks Bruno! | ||
|
||
|
||
This Week's Goals | ||
----------------- | ||
Now, with the FBO working, I plan to finally *render* something to it. For this week, I plan to come back to my original plan and | ||
experiment with simple shaders just as a proof of concept that the FBO will be really useful for this project. I hope the road is less | ||
bumpier by now and I don't step on any other complicated problem. | ||
|
||
Wish me luck! |
Oops, something went wrong.