Skip to content

Commit 072db56

Browse files
fixed tesselation of curtain & added docs
1 parent 9a98b94 commit 072db56

15 files changed

Lines changed: 136 additions & 21 deletions

PRODUCT_RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 5.6.0-prerelease1
1+
## 5.6.0-prerelease2
22
- added cross sections
33

44
## 5.5.0

aardium/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "PRo3D",
33
"productName": "PRo3D.Viewer",
4-
"version": "5.6.0-prerelease1",
4+
"version": "5.6.0-prerelease2",
55
"description": "PRo3D, short for Planetary Robotics 3D Viewer, is an interactive 3D visualization tool to allow planetary scientists to work with high-resolution 3D reconstructions of the Martian surface.",
66
"license": "AGPL",
77
"copyright": "VRVis Zentrum für Virtual Reality und Visualisierung Forschungs-GmbH",

docs/CrossSections.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Synopsis
2+
3+
![alt text](crossSectionTeaser.png)
4+
5+
The cross section feature allows you to cut surfaces and map images onto the cutting plane.
6+
7+
# Approach
8+
9+
## 1. Create a polyline annotation. Use subsampling if needed.
10+
11+
![alt text](images/crossSectionAnno.png)
12+
13+
## 2.
14+
15+
![alt text](images/exportProfile.png)
16+
17+
this will look like this:
18+
```
19+
"distance","elevation"
20+
"0","-2540.3019554105754"
21+
"96.56728104292469","-2532.4515562465303"
22+
"146.95083969889563","-2529.7198536160195"
23+
"178.2109028662038","-2525.732550567427"
24+
"238.47366569537462","-2515.188256619444"
25+
"332.84560816666226","-2514.8733450224286"
26+
```
27+
28+
now use the draw profile tool to create an svg/png of which shows the profile
29+
```
30+
python draw_profile.py --profile testProfile2.csv --curtain-height 100 --min-altitude -2200 --vertical-px 2000 --overlay --x-interval 20 --y-interval 20 --x-grid 25 --y-grid 1 --output profile.svg --grid-opacity 1.0 --grid-width 3.0
31+
```
32+
33+
Look at the profile or the info in pro3d to find good parameters.
34+
35+
36+
Use approximate curtain height and min altitude to specify the 2d viewport of the cross section.
37+
38+
## 3. do your interpretation & tweaking of the cross section
39+
40+
Next convert it to a png and remember the file name.
41+
42+
## 5. Creating the cross section
43+
44+
Next go to annotation properties and move the caemera far away from the cross section.
45+
All between the annotation and the point when creating the cross section will be clipped away.
46+
![alt text](images/createCrossSection.png)
47+
48+
This will leave you with the data clipped:
49+
![alt text](images/image.png)
50+
51+
## 6. Setting curtain details
52+
53+
Next choose curtain settings and set up the curtain:
54+
55+
![alt text](images/curtainProperties.png)
56+
57+
## 7. Inspection of cross section & curtain
58+
59+
![alt text](images/crossSectionAndCurtain.png)

docs/images/CrossSections.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Synopsis
2+
3+
![alt text](crossSectionTeaser.png)
4+
5+
The cross section feature allows you to cut surfaces and map images onto the cutting plane.
6+
7+
# Approach
8+
9+
## 1. Create a polyline annotation. Use subsampling if needed.
10+
11+
![alt text](images/crossSectionAnno.png)
12+
13+
## 2.
14+
15+
![alt text](exportProfile.png)
16+
17+
this will look like this:
18+
```
19+
"distance","elevation"
20+
"0","-2540.3019554105754"
21+
"96.56728104292469","-2532.4515562465303"
22+
"146.95083969889563","-2529.7198536160195"
23+
"178.2109028662038","-2525.732550567427"
24+
"238.47366569537462","-2515.188256619444"
25+
"332.84560816666226","-2514.8733450224286"
26+
```
27+
28+
now use the draw profile tool to create an svg/png of which shows the profile
29+
```
30+
python draw_profile.py --profile testProfile2.csv --curtain-height 100 --min-altitude -2200 --vertical-px 2000 --overlay --x-interval 20 --y-interval 20 --x-grid 25 --y-grid 1 --output profile.svg --grid-opacity 1.0 --grid-width 3.0
31+
```
32+
33+
Look at the profile or the info in pro3d to find good parameters.
34+
35+
36+
Use approximate curtain height and min altitude to specify the 2d viewport of the cross section.
37+
38+
## 3. do your interpretation & tweaking of the cross section
39+
40+
Next convert it to a png and remember the file name.
41+
42+
## 5. Creating the cross section
43+
44+
Next go to annotation properties and move the caemera far away from the cross section.
45+
All between the annotation and the point when creating the cross section will be clipped away.
46+
![alt text](createCrossSection.png)
47+
48+
This will leave you with the data clipped:
49+
![alt text](image.png)
50+
51+
## 6. Setting curtain details
52+
53+
Next choose curtain settings and set up the curtain:
54+
55+
![alt text](curtainProperties.png)
56+
57+
## 7. Inspection of cross section & curtain
58+
59+
![alt text](crossSectionAndCurtain.png)
326 KB
Loading

docs/images/createCrossSection.png

37 KB
Loading
479 KB
Loading

docs/images/crossSectionAnno.png

433 KB
Loading

docs/images/crossSectionTeaser.png

1.13 MB
Loading

docs/images/curtainProperties.png

18.8 KB
Loading

0 commit comments

Comments
 (0)