Emma Broman
3fa2bd009b
Compute end point with respect to sun position
2020-05-27 13:35:56 +02:00
Emma Broman
7e39cb9b11
Update a comment
2020-05-27 10:49:14 +02:00
Emma Broman
0fe7f9c473
Compute end point smarter if target is close to another node
2020-05-27 10:47:48 +02:00
Emma Broman
e797da8d75
Include final position when rendering the path..
2020-05-26 14:21:46 +02:00
Emma Broman
5beaec3169
Tiny refactor
2020-05-26 09:07:02 +02:00
Emma Broman
799d24109a
Add buffer to not pass too close to objects
2020-05-21 11:16:56 +02:00
Emma Broman
4cfb1fdd44
Refactor
2020-05-21 10:41:51 +02:00
Emma Broman
a81d6c9e25
Don't try to solve impossible collision case
2020-05-21 08:12:23 +02:00
Emma Broman
c5d327be84
Avoid moving into a planet, by always going outwars rather than in a direction behind the camera
2020-05-20 14:08:19 +02:00
Emma Broman
6a44920b4a
Set border tangents to zero, to avoid risk of collision and weird behaviour
2020-05-20 13:50:22 +02:00
Emma Broman
c674c220cd
Merge branch 'thesis/2019/camera-paths' into camera-paths/avoid-collision
2020-05-18 13:07:56 +02:00
Emma Broman
f39e1958b5
Resolve merge conflict in cfg file
2020-05-18 12:01:22 +02:00
Emma Broman
d0cf7d0f3b
Adapt AvoidCollisionCurve to updated PathCurve code
2020-05-18 10:29:28 +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
dd61dd9733
Remove approximated method, since online method is efficient enough
2020-05-18 10:16:54 +02:00
Emma Broman
3fde62b7ca
Get changes from main branch and resolve merge conflict
2020-05-14 16:03:24 +02:00
Emma Broman
8d8a22a38a
Minor refactor
2020-05-14 15:56:20 +02:00
Emma Broman
0d660a29bb
Set default duration to the logaritm of path distance
2020-05-14 11:34:53 +02:00
Emma Broman
cb88f892c7
Use a constant tolerance for Newton's
2020-05-13 14:54:38 +02:00
Emma Broman
79d5af5d57
Increase nr iteration for Newton's method + small refactor
2020-05-13 14:38:21 +02:00
Alexander Bock
7c24a96b9e
Add ability to change the line width of wire-type DU meshes ( closes #1153 )
2020-05-12 15:46:30 +02:00
Alexander Bock
f7170a9506
Turn the scaling transformation into providing three scaling factors (x, y, z)
...
Add NonUniformStaticScale class to provide independent scaling factors (closes #1151 )
2020-05-12 15:27:24 +02:00
Emma Broman
f003274e62
Cleanup
2020-05-12 11:15:11 +02:00
Emma Broman
6811ed9025
Compute arc length using Gaussian quadrature instead of Simpson's
2020-05-12 10:53:40 +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
Alexander Bock
3b427bfd15
Cleaning up window delegate
2020-05-10 15:17:51 +02:00
unknown
f2a328194d
Optional rendering of orientation added to renderPath
2020-05-08 12:30:59 +02:00
unknown
544f2531b0
Functions for retrieving view direction added
2020-05-07 18:25:45 +02:00
Emma Broman
98ea3486c5
Fix error with large speed if t = 1.0
2020-05-07 09:06:24 +02:00
Emma Broman
a97d85b99b
Fix faulty comparisons in Bezier3
2020-05-07 09:03:24 +02:00
Emma Broman
4e5fdb686e
Add option to render sample points of path as well
2020-05-01 15:02:22 +02:00
Emma Broman
b04528fa8a
Get rid of some warnings in Bezier3
2020-05-01 14:46:04 +02:00
Emma Broman
96abb18ebe
More includes cleanup
2020-05-01 13:15:17 +02:00
Emma Broman
89e88532f9
Cleanup some faulty includes
2020-05-01 13:05:29 +02:00
Emma Broman
408289fac4
Add scripts for rendering path and control points
2020-04-30 14:17:37 +02:00
Emma Broman
a1794f9535
Do some cleanup
2020-04-30 13:08:26 +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
unknown
2291bcf658
Use rounded catmull-rom interpolatior instead
2020-04-29 14:45:36 +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
unknown
83cd88e5e9
Added catmull-rom interpolator with alpha parameter
2020-04-29 11:41:04 +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
unknown
32a1f2d600
Bug fix: Replaced line with usage of unavailable variable
2020-04-27 14:43:04 +02:00
Lingis
ec0213e1c9
Go far out if end pos is in the opposite direction
2020-04-27 14:43:04 +02:00
Lingis
8a0b406a60
Go out point added for near planet cases
2020-04-27 14:43:04 +02:00
Lingis
3b2f2ff8e9
Adapt to rebase
2020-04-27 14:43:04 +02:00