Commit Graph

75 Commits

Author SHA1 Message Date
Emma Broman
f786af7b94 Rename some files and functions to better match code standard 2020-11-04 16:13:03 +01:00
Emma Broman
2447dc3b0f Move curve implementations to their own folder 2020-11-04 16:12:58 +01:00
Emma Broman
f982e9962b Some cleanup 2020-10-29 14:30:52 +01:00
Emma Broman
f2fafc27b4 Cleanup + remove old curve type 2020-10-29 11:50:06 +01:00
Emma Broman
c1df1d1e37 Incresae precision of per frame integration along path 2020-10-29 11:23:29 +01:00
Emma Broman
353b950fc6 Adapt to new master: Pointer notation for globals 2020-10-27 08:51:49 +01:00
Emma Broman
04130fe68a Do some initial cleanup 2020-09-25 16:11:56 +02:00
Emma Broman
723530d525 Use quintic instead of sixtic speed, for better responsiveness and match with orbit stop behaviour 2020-08-17 11:28:11 +02:00
Emma Broman
cc52dc6277 Add property for scaling default speed - to use in dome presentation 2020-08-16 11:32:39 +02:00
unknown
86e3819ea9 Added new curve type ZoomOutOverview 2020-06-09 11:47:55 +02:00
Emma Broman
33dd0ff3a0 Add a propery for nr simulation steps 2020-06-08 09:40:01 +02:00
Emma Broman
7d9455e4a8 Replace cubic speed w. sextic and increase simulation precision 2020-06-08 09:15:15 +02:00
Emma Broman
5beaec3169 Tiny refactor 2020-05-26 09:07:02 +02:00
Emma Broman
e56a8b6ba9 Resolve merge conflict 2020-05-18 10:24:39 +02:00
Emma Broman
db06b4ba9f Merge branch 'camera-paths/curve-parameter-bug' into thesis/2019/camera-paths 2020-05-18 10:18:57 +02:00
Emma Broman
3fde62b7ca Get changes from main branch and resolve merge conflict 2020-05-14 16:03:24 +02:00
Emma Broman
0d660a29bb Set default duration to the logaritm of path distance 2020-05-14 11:34:53 +02:00
Emma Broman
b5a3d868ec Arc length reparameterization by computing sample pairs
Curve parameter (u) samples are computed from arc length values using a combination of Newton's method and bisection. Approximated curve parameter is comuted using a linear fit of the samples (OBS! Should be improved to a higher order later
)
2020-05-12 10:43:04 +02:00
Emma Broman
89e88532f9 Cleanup some faulty includes 2020-05-01 13:05:29 +02:00
Emma Broman
c463064170 Only show error once 2020-04-29 14:57:11 +02:00
Emma Broman
c979e6613d Add forgotten return 2020-04-29 14:50:20 +02:00
Emma Broman
4ff17ae078 Improved look at rotation interpolation 2020-04-29 13:50:14 +02:00
Emma Broman
b9de94c951 Rename rotation method that does't interpolate fully, to reduce confusion 2020-04-29 13:14:37 +02:00
unknown
24c0e7bf79 Merge from main, fixed collision in helperfunctions.cpp 2020-04-29 12:18:42 +02:00
Emma Broman
138c2a269d Refactor 2020-04-29 09:29:33 +02:00
Emma Broman
4367c81f33 Adapt to rebase 2020-04-27 14:49:25 +02:00
Emma Broman
ae5b5ec417 Prototype curve for creating collision free paths 2020-04-27 14:42:00 +02:00
Emma Broman
bf2c800831 Make PathSegment responsible for speed, rotation and curve initialization 2020-04-25 13:12:28 +02:00
Emma Broman
e062ba0813 Only use duration in scaling of speed funciton value 2020-04-22 14:10:23 +02:00
Emma Broman
4477fffb73 Move speed function out to its own class 2020-04-22 13:55:56 +02:00
Emma Broman
d6cdc86f44 Use midpoint method for speedsum integration 2020-04-16 09:37:27 +02:00
Emma Broman
a08250cc5c Increase accuracy of intergation along path segment 2020-04-15 16:47:08 +02:00
Emma Broman
49ae23aa94 Don't return negative speed values for t > 1.0 2020-04-15 16:02:12 +02:00
Emma Broman
a9005cdcbb Started implementing pause/stop behaviors 2020-04-15 13:44:53 +02:00
Emma Broman
3ddb4e6575 Simplify speed function 2020-03-31 11:27:30 +02:00
Emma Broman
39151bda2e Minor refactor 2020-03-30 14:41:36 +02:00
Emma Broman
76de04d1d7 Make PathSegment responsible for path traversal 2020-03-30 14:24:45 +02:00
Emma Broman
1524a207f7 store the valid bounding sphere once computed 2020-03-10 15:08:51 -04:00
Emma Broman
ed47272e8e Replace CameraState with a Waypoint and CameraPose struct 2020-03-10 11:07:03 -04:00
Emma Broman
4c9874c8d3 Some cleanup 2020-02-27 14:00:37 -05:00
Emma Broman
d704c95ca0 Move rotation logic into its own class 2020-02-27 13:30:39 -05:00
Emma Broman
aa0ae9bc73 rename function valueAt to positionAt 2020-02-27 10:07:51 -05:00
Emma Broman
3282f08ae6 remove extra blank line 2020-02-17 13:56:15 -05:00
Emma Broman
566b9959ec Minor refactor 2020-02-17 10:51:56 -05:00
Emma Broman
65cf8a79da Rename interpolation parameter to u, to reduce confusion about what is related to time 2020-02-17 10:30:36 -05:00
Emma Broman
caa05d09bd Refactor speed function 2020-02-14 11:20:59 -05:00
Emma Broman
32139120f8 Speed function for acceleration and deacceleration 2020-02-14 10:41:47 -05:00
Emma Broman
9600459635 Move along curve with constant speed, based on displacement along the curve 2020-02-13 16:22:57 -05:00
Emma Broman
1f2840c320 Preparatory refactoring for computing curve position absed on travelled distance 2020-02-13 14:37:08 -05:00
Emma Broman
3ead8a92dd Reparameterization of Bezier3 now works 2020-02-12 15:34:14 -05:00