User Tools

Site Tools


tutorials:using-mesh-clouds-as-organ

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:using-mesh-clouds-as-organ [2024/11/11 12:06] – [Manipulate the whole cloud] timtutorials:using-mesh-clouds-as-organ [2024/12/06 14:37] (current) – [Preparation] tim2
Line 11: Line 11:
  
 The example model can be found in the GroIMP example explorer (File/Example projects) under Point cloud/branch. The example model can be found in the GroIMP example explorer (File/Example projects) under Point cloud/branch.
 +
 +===== Preparation =====
 +
 +Before you start modeling with point clouds it is recommended to do two settings:
 +   - On the view3d in the menu view/navigators and select Point cloud handlers. This stops the 3d view from visiting every point for highlighting which improves the speed.
 +   - In the preferences, go on User Interface/view3d and set the resolution to 2. This will give the visitor the instruction to not visit any point but use the mesh collector. Which makes the visualization simpler and faster. 
 ===== Loading cloud ===== ===== Loading cloud =====
  
Line 95: Line 101:
 public void loadPC() public void loadPC()
 {  {
- // load ply graph from file + // load ply graph from  
- Node x =Utils.loadNodeFromStream(getInputStreamFromProject("leaf.ply"),"model/x-grogra-pointcloud-graph+ply"); + Node x =Utils.loadNodeFromStream(getInputStreamFromProject("leaf.ply"),"model/x-grogra-pointcloud-graph+ply"); 
-+ [ 
- r:RL(80)  m:M s:Scale(10) Rotate Parallelogram ==> r m s Rotate(-120,-50,-40) x; +  r:RL(80)  m:M s:Scale(10) Rotate Parallelogram ==> r m s Rotate(-120,-50,-40) x; 
-+ ] 
- derive(); // apply the changes to the graph + derive(); // apply the changes to the graph 
- move_toZero(); + move_toZero(); 
- derive(); + [ 
- +  r:RL(80)  m:M s:Scale Rotate Parallelogram ==> r m s Rotate(-120,-50,-40) cloneSubgraph(x); 
- r:RL(80)  m:M s:Scale Rotate Parallelogram ==> r m s Rotate(-120,-50,-40) cloneSubgraph(x); +  r:RL(-80)  m:M s:Scale Rotate Parallelogram==> r m s Rotate(270,-100,-50) cloneSubgraph(x); 
- + ]
- r:RL(-80)  m:M s:Scale Rotate Parallelogram==> r m s Rotate(270,-100,-50) cloneSubgraph(x); +
- ] +
- +
 } }
 </code> </code>
Line 131: Line 134:
  ]  ]
  redraw_Mesh();  redraw_Mesh();
- (*Cloud*).setUpdate(true);+ (*Imp3dCloud*).setUpdate(true);
 } }
 </code> </code>
tutorials/using-mesh-clouds-as-organ.1731323161.txt.gz · Last modified: 2024/11/11 12:06 by tim