Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Initial extraction of scalar rt math #88

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

darksv
Copy link
Collaborator

@darksv darksv commented Aug 8, 2020

dobrze jakby najpierw skończyć zwektoryzowaną implementację, a później wydzielić powtarzające się elementy. byłoby wiadomo co jest rzeczywiście potrzebne i stworzyć dla tego odpowiednie abstrakcje.

closes #86

@darksv darksv changed the title Initial extraction of scalar rt math [wip] Initial extraction of scalar rt math Aug 8, 2020
Comment on lines +20 to +21
in float halfWidth,
in float halfHeight,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nie wiem czy dzielenie przez 2 jest tutaj tak kosztowne, żeby to przesyłać wyliczone... wysyłałbym tylko width i height

@darksv darksv requested a review from LucasHamera August 8, 2020 15:00
Copy link
Owner

@LucasHamera LucasHamera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pytanie

: new Optional<float>();
}

public static Color TraceRay(in Ray ray, MyScene scene, int depth)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To publiczne zostawiłbym + point, reszta private ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jak nie będą potrzebne to można

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, to zrobię #87 i zobaczymy

@darksv darksv marked this pull request as draft August 9, 2020 11:31
@LucasHamera LucasHamera marked this pull request as ready for review October 18, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wyciągnięcie funkcji bazowego ray tracera
2 participants