Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
124977e
flipped y axis, solved deformation for rectangular screen
timotif Jun 6, 2023
e3b48b2
work in progress
timotif Jun 6, 2023
1cc7402
if unique element is missing no render
timotif Jun 7, 2023
0a7997a
adding support to more than 1 element
timotif Jun 7, 2023
07e4941
broken version
timotif Jun 7, 2023
cad3f11
added support for multi spheres
timotif Jun 7, 2023
c24ec95
first attempt
timotif Jun 8, 2023
992c5fb
playing around
timotif Jun 8, 2023
e6b449b
implemented FOV and proj matrix, still very wanky
timotif Jun 9, 2023
d5ac986
deformation seems to be gone
timotif Jun 9, 2023
0913207
improved lighting with general diffuse_reflection function, fixed x axis
timotif Jun 10, 2023
ef68ff4
refactored with t_shape union of every supported solid
timotif Jun 12, 2023
78cab48
fixed light direction
timotif Jun 12, 2023
013a7ba
fixed bug of seeing elements behind the camera
timotif Jun 12, 2023
a878db2
first shadows
timotif Jun 12, 2023
21a7529
first shadows
timotif Jun 12, 2023
6b58c1d
Merge branch 'matrices' into plane_intersect
timotif Jun 12, 2023
718c998
merged shadows, diffuse reflection, start of matrices
timotif Jun 12, 2023
086b7cd
work in progress
timotif Jun 12, 2023
393fc6a
x axis rotation hooked to Up and Down keys with 0.01 pace
timotif Jun 13, 2023
334adb9
3d camera rotation
timotif Jun 13, 2023
e8cc7e3
changed key and mouse hooks
timotif Jun 13, 2023
822a5b0
hooked rotation to qweasd
timotif Jun 14, 2023
086b0d6
added Q and E keycodes for Linux
timotif Jun 14, 2023
8749049
vec3 and ray types
timotif Jun 15, 2023
ebd3ac2
started rewriting renderer
timotif Jun 15, 2023
ae32838
sphere intersection, colors with normal vector
timotif Jun 15, 2023
0d82506
multiple solids
timotif Jun 15, 2023
e38a1ea
multiple solids
timotif Jun 15, 2023
b56a8ef
multiple solids
timotif Jun 15, 2023
c341b9e
tutorial Ray Tracing in a weekend until camera rotation with basic li…
timotif Jun 22, 2023
041f47e
Added planes
Jul 31, 2023
9a1dcee
working on cylinder (thought it was done, but it doesn't hit it)
Aug 1, 2023
d056ca0
infinite cylinder
Aug 3, 2023
29623e8
finite cylinders rotation testing (miserable fail)
Aug 4, 2023
2de01f3
cylinder normal vector fixed
Aug 7, 2023
f40ae9f
cylinder caps
Aug 7, 2023
f067548
cylinder caps overlap somewhat fixed (some weird flickering)
Aug 8, 2023
9b4a2e0
starting to clean up
timotif Aug 27, 2023
f8fdc14
reorganizing header files
timotif Aug 27, 2023
563d4f3
srcs and includes folders
timotif Aug 27, 2023
cd6d421
scenes, srcs and includes folders
timotif Aug 27, 2023
de502df
deleted individual shapes headers
timotif Aug 27, 2023
0d040f3
transitioning towards shader for every shape
timotif Aug 27, 2023
2c9c1cd
shading on planes
timotif Aug 27, 2023
060f663
shading on planes
timotif Aug 27, 2023
eccdb4b
some norminetting
timotif Aug 27, 2023
f0c1181
changed RAY_LEN to 1000 to render less inclined plaanes
timotif Aug 28, 2023
8e667cb
added vector cross product and vector print
timotif Aug 28, 2023
c541164
reworked camera orientation and top_left position to match pixel 0,0
timotif Aug 28, 2023
20b64ca
added matrix and substituted top_left to bottom_left
timotif Aug 28, 2023
438261e
added one map and experimented with creating rays
timotif Aug 28, 2023
71acbad
tweaked sphere normal hit point to have correct light and plane for d…
timotif Aug 28, 2023
c891a46
added ambient light contribution
timotif Aug 29, 2023
24fb3ff
fixed light direction in diffuse function
timotif Aug 29, 2023
a249ff3
fixed direction of normal from hit point
timotif Aug 29, 2023
ee5b78d
correctly set vert_up to 0, 1, 0
timotif Aug 29, 2023
236df94
set back awsd to camera rotation
timotif Aug 29, 2023
222c8ec
experimenting different tutorials
timotif Aug 29, 2023
f2dc648
clusterfuck
Aug 31, 2023
799ff88
fixed z-axis position of the camera
Sep 4, 2023
9fd391c
clean comments in camera.c and render.c
Sep 4, 2023
7c8b93c
Makefile(put obj files into obj folder, (ChatGPT code generated))
Sep 4, 2023
8b59c22
cylinder casts shadow
Sep 4, 2023
2d9f28f
little comment clean up
Sep 4, 2023
5b0eaaf
cylinder shade (in progress(caps shadowing))
Sep 4, 2023
0017632
trying to shadow cast the caps too (double the cap_inter functions(It…
Sep 4, 2023
cba3e4d
useless one
Sep 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .sfdx/tools/246/StandardApexLibrary/ApexPages/Action.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
global class Action {
global Action(String expression) { }
global Object clone() { }
global String getExpression() { }
global System.PageReference invoke() { }

}
12 changes: 12 additions & 0 deletions .sfdx/tools/246/StandardApexLibrary/ApexPages/Component.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
global class Component {
global List<ApexPages.Component> childComponents;
global List<ApexPages.ComponentIteration> componentIterations;
global ApexPages.expressions expressions;
global ApexPages.facets facets;
global String id;
global ApexPages.Component parent;
global Boolean rendered;
global Object clone() { }
global ApexPages.Component getComponentById(String id) { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
global class ComponentIteration {
global List<ApexPages.Component> childComponents;
global Object iterationValue;
global ApexPages.Component parent;
global Object clone() { }
global ApexPages.Component getComponentById(String id) { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
global class HammerProcessor {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
global class IdeaStandardController {
global void addFields(List<String> fieldNames) { }
global System.PageReference cancel() { }
global System.PageReference delete() { }
global System.PageReference edit() { }
global List<IdeaComment> getCommentList() { }
global String getId() { }
global SObject getRecord() { }
global System.PageReference save() { }
global System.PageReference view() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
global class IdeaStandardSetController {
global void addFields(List<String> fieldNames) { }
global System.PageReference cancel() { }
global void first() { }
global Boolean getCompleteResult() { }
global String getFilterId() { }
global Boolean getHasNext() { }
global Boolean getHasPrevious() { }
global List<Idea> getIdeaList() { }
global List<System.SelectOption> getListViewOptions() { }
global Integer getPageNumber() { }
global Integer getPageSize() { }
global SObject getRecord() { }
global List<SObject> getRecords() { }
global Integer getResultSize() { }
global List<SObject> getSelected() { }
global void last() { }
global void next() { }
global void previous() { }
global System.PageReference save() { }
global void setFilterId(String filterId) { }
global void setPageNumber(Integer pageNumber) { }
global void setPageSize(Integer pageSize) { }
global void setSelected(List<SObject> selected) { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
global class KnowledgeArticleVersionStandardController {
global KnowledgeArticleVersionStandardController(SObject sobject) { }
global void addFields(List<String> fieldNames) { }
global System.PageReference cancel() { }
global String getId() { }
global SObject getRecord() { }
global String getSourceId() { }
global void selectDataCategory(String categoryGroup, String category) { }
global System.PageReference view() { }

}
10 changes: 10 additions & 0 deletions .sfdx/tools/246/StandardApexLibrary/ApexPages/Message.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
global class Message {
global Message(ApexPages.Severity severity, String summary, String detail, String id) { }
global Message(ApexPages.Severity severity, String summary, String detail) { }
global Message(ApexPages.Severity severity, String message) { }
global String getComponentLabel() { }
global String getDetail() { }
global ApexPages.Severity getSeverity() { }
global String getSummary() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
global class PageReference {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
global class SelectOption {

}
7 changes: 7 additions & 0 deletions .sfdx/tools/246/StandardApexLibrary/ApexPages/Severity.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
global enum Severity {
CONFIRM,
ERROR,
FATAL,
INFO,
WARNING
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
global class StandardController {
global StandardController(SObject sobject) { }
global void addFields(List<String> fieldNames) { }
global System.PageReference cancel() { }
global System.PageReference delete() { }
global System.PageReference edit() { }
global String getId() { }
global SObject getRecord() { }
global System.PageReference save() { }
global System.PageReference view() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
global class StandardSetController {
global StandardSetController(Database.QueryLocator queryLocator) { }
global StandardSetController(List<SObject> records) { }
global void addFields(List<String> fieldNames) { }
global System.PageReference cancel() { }
global void first() { }
global Boolean getCompleteResult() { }
global String getFilterId() { }
global Boolean getHasNext() { }
global Boolean getHasPrevious() { }
global List<System.SelectOption> getListViewOptions() { }
global Integer getPageNumber() { }
global Integer getPageSize() { }
global SObject getRecord() { }
global List<SObject> getRecords() { }
global Integer getResultSize() { }
global List<SObject> getSelected() { }
global void last() { }
global void next() { }
global void previous() { }
global System.PageReference save() { }
global void setFilterId(String filterId) { }
global void setPageNumber(Integer pageNumber) { }
global void setPageSize(Integer pageSize) { }
global void setSelected(List<SObject> selected) { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
global class AccountSettingsController {
global Object clone() { }
global static String getCity() { }
global static String getCountry() { }
global static List<Map<String,Object>> getExtraFields(String extraFieldsFieldSet) { }
global static String getFirstName() { }
global static String getLanguage() { }
global static String getLastName() { }
global static String getLocale() { }
global static String getMobilePhone() { }
global static String getPostalCode() { }
global static String getState() { }
global static String getStreet() { }
global static String getTimeZone() { }
global static String getUserEmail() { }
global static String getWorkPhone() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
global class AppLauncherHelper {
global Object clone() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
global class AppLauncherSetupReordererController {
global Object clone() { }
global static Map<String,Object> getModel() { }
global static String saveOrder(String applicationIds) { }

}
8 changes: 8 additions & 0 deletions .sfdx/tools/246/StandardApexLibrary/AppLauncher/AppMenu.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
global class AppMenu {
global AppMenu() { }
global Object clone() { }
global static void setAppVisibility(Id appMenuItemId, Boolean isVisible) { }
global static void setOrgSortOrder(List<Id> applicationIds) { }
global static void setUserSortOrder(List<Id> applicationIds) { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
global class ChangePasswordController {
global static String changePassowrd(String newPassword, String confirmPassword, String oldPassword) { }
global static String changePassword(String newPassword, String confirmPassword, String oldPassword, Boolean shouldRedirect) { }
global Object clone() { }
global static String getPasswordPolicyStatement() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
global class CommerceStoreController {
global CommerceStoreController() { }
global Object clone() { }
global static Map<String,Object> getCommerceContext() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
global class CommunityLogoController {
global CommunityLogoController() { }
global Object clone() { }
global static String getCommunityName() { }
global static String getLogoURL() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
global class EmployeeLoginLinkController {
global EmployeeLoginLinkController() { }
global Object clone() { }
global static String getEmployeeLoginUrl(String startUrl) { }
global static Boolean getIsAllowInternalUserLoginEnabled() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
global class ForgotPasswordController {
global Object clone() { }
global static String forgotPassword(String username, String checkEmailUrl) { }
global static String setExperienceId(String expId) { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
global class IdentityHeaderController {
global Object clone() { }
global static Boolean getGuestUser() { }
global static Boolean getInternalUser() { }
global static String getLoginUrl() { }
global static String getLogoutUrl() { }
global static String getPhotoUrl() { }
global static String getUserDisplayName() { }
global static String getUserId() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
global class LoginFormController {
global Object clone() { }
global static String getForgotPasswordUrl() { }
global static Boolean getIsSelfRegistrationEnabled() { }
global static Boolean getIsUsernamePasswordEnabled() { }
global static String getLoginRightFrameUrl() { }
global static String getSelfRegistrationUrl() { }
global static Map<String,Boolean> getUsernamePasswordSelfRegEnabled() { }
global static String login(String username, String password, String startUrl) { }
global static String loginGetPageRefUrl(String username, String password, String startUrl) { }
global static String setExperienceId(String expId) { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
global class SelfRegisterController {
global SelfRegisterController() { }
global Object clone() { }
global static String commonSelfRegisterGetRedirectUrl(String firstname, String lastname, String email, String password, String confirmPassword, String accountId, String regConfirmUrl, String extraFields, String startUrl, Boolean includePassword, Boolean redirect, Boolean enableBuyer, String buyerParams) { }
global static List<Map<String,Object>> getExtraFields(String extraFieldsFieldSet) { }
global static Boolean isValidPassword(String password, String confirmPassword) { }
global static String selfRegister(String firstname, String lastname, String email, String password, String confirmPassword, String accountId, String regConfirmUrl, String extraFields, String startUrl, Boolean includePassword) { }
global static String selfRegisterGetRedirectUrl(String firstname, String lastname, String email, String password, String confirmPassword, String accountId, String regConfirmUrl, String extraFields, String startUrl, Boolean includePassword, Boolean redirect) { }
global static String setExperienceId(String expId) { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
global class SocialLoginController {
global SocialLoginController() { }
global Object clone() { }
global static List<AuthProvider> getAuthProviders() { }
global static String getCommunityDomainSsoUrl(String startUrl, String developerName) { }
global static List<SamlSsoConfig> getSamlProviders() { }
global static String getSamlSsoUrl(String startUrl, String samlId) { }
global static String getSamlSsoUrlNoCache(String startUrl, String samlId) { }
global static String getSsoUrl(String startUrl, String developerName) { }
global static String handleIdp() { }

}
9 changes: 9 additions & 0 deletions .sfdx/tools/246/StandardApexLibrary/Approval/LockResult.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
global class LockResult {
global List<Database.Error> errors;
global Id id;
global Boolean success;
global List<Database.Error> getErrors() { }
global Id getId() { }
global Boolean isSuccess() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
global class ProcessRequest {
global String comments;
global List<Id> nextapproverids;
global String getComments() { }
global List<Id> getNextApproverIds() { }
global void setComments(String param0) { }
global void setNextApproverIds(List<Id> param0) { }

}
17 changes: 17 additions & 0 deletions .sfdx/tools/246/StandardApexLibrary/Approval/ProcessResult.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
global class ProcessResult {
global List<Id> actorids;
global String entityid;
global List<Database.Error> errors;
global String instanceid;
global String instancestatus;
global List<Id> newworkitemids;
global Boolean success;
global List<Id> getActorIds() { }
global String getEntityId() { }
global List<Database.Error> getErrors() { }
global String getInstanceId() { }
global String getInstanceStatus() { }
global List<Id> getNewWorkitemIds() { }
global Boolean isSuccess() { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
global class ProcessSubmitRequest {
global String objectid;
global String processdefinitionnameorid;
global Boolean skipentrycriteria;
global String submitterid;
global ProcessSubmitRequest() { }
global String getComments() { }
global List<Id> getNextApproverIds() { }
global String getObjectId() { }
global String getProcessDefinitionNameOrId() { }
global Boolean getSkipEntryCriteria() { }
global String getSubmitterId() { }
global void setComments(String param0) { }
global void setNextApproverIds(List<Id> param0) { }
global void setObjectId(String param0) { }
global void setProcessDefinitionNameOrId(String param0) { }
global void setSkipEntryCriteria(Boolean param0) { }
global void setSubmitterId(String param0) { }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
global class ProcessWorkitemRequest {
global String action;
global String workitemid;
global ProcessWorkitemRequest() { }
global String getAction() { }
global String getComments() { }
global List<Id> getNextApproverIds() { }
global String getWorkitemId() { }
global void setAction(String param0) { }
global void setComments(String param0) { }
global void setNextApproverIds(List<Id> param0) { }
global void setWorkitemId(String param0) { }

}
9 changes: 9 additions & 0 deletions .sfdx/tools/246/StandardApexLibrary/Approval/UnlockResult.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
global class UnlockResult {
global List<Database.Error> errors;
global Id id;
global Boolean success;
global List<Database.Error> getErrors() { }
global Id getId() { }
global Boolean isSuccess() { }

}
Loading