Cleaning up, scene 5 & 6 ready

parent 54b01563
......@@ -14,7 +14,7 @@
*
* ----------------------------------------------------------------
*
* Tests the image (source) model algorithm.
* GRAS scene 5
*
*/
......@@ -135,6 +135,8 @@ int main( int iNumInArgs, char* pcInArgs[] )
{
sw.start();
cout << " #### " << scene.sName << " #### " << endl;
auto pPathEngine = make_shared<CombinedModel::CPathEngine>();
cout << "Calculation time initialization path engine: " << timeToString( sw.stop() ) << endl;
......
%% Load
json_file_path = 'GRAS_scene5_propagation_paths.json';
txt = fileread( json_file_path );
json_content = jsondecode( txt );
N = numel( json_content.propagation_paths );
fprintf( 'Imported %i propagation paths\n', N )
%%
pps = json_content.propagation_paths;
for n = 1 : numel( pps )
path = pps( n );
anchors = path.propagation_anchors;
for a = 1 : numel( anchors )
anchor = anchors{ a };
switch( anchor.class )
case 'specular_reflection'
case 'outer_edge_diffraction'
ita_diffraction_utd(
end
end
end
This diff is collapsed.
Binary files a/tests/CombinedModel/GRAS_scene5_visualization.skp and /dev/null differ
This diff is collapsed.
This diff is collapsed.
Binary files a/tests/CombinedModel/GRAS_scene6_visualization.skp and /dev/null differ
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment