Commit 5d1a35e4 authored by Vladimír Ulman's avatar Vladimír Ulman
Browse files

ADD, minLength: introduced minLength config param (and parsing of it)

parent 3b693942
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2387,6 +2387,8 @@ int ActiveMesh::configDataSubClass::ParseConfigFile(const char* fileName)

	getValueOrDefault("filoAxisOrientedDensity", 10, filoAxisOrientedDensity);
	getValueOrDefault("filoContourOrientedDensity", 15, filoContourOrientedDensity);
	getValueOrDefault("filoMinLength", 3.0f/texture_Resolution.x, filoMinLength);
	//NB: default min length is 3 px along x-axis

	getValueOrDefault("coarsenessLower", 1.0, coarsenessLower);
	getValueOrDefault("coarsenessUpper", 2.0, coarsenessUpper);
+5 −0
Original line number Diff line number Diff line
@@ -206,6 +206,11 @@ class ActiveMesh
		// (surface). This direction is orthogonal to filo axis.
		int filoContourOrientedDensity;

		// Filopodium parameter:
		// what is the minimal overall length of any filopodia (main branch
		// or any offspring) to be rendered at all?
		float filoMinLength;

		// coarseness of initial Perlin noise in cell body (lower limit)
		float coarsenessLower;