Hello everybody, I am now able to build a net and to get pretty pictures of my own datas, but I have still some problems in understanting the DX data structure and the way to choose from a field the data array to be used for coloring an object. Any help would be greatly appreciated.
My datas are typically pressure at the surface of on aircraft made of several 2D surface grids. I have now an interface writing my own datas into the native DX format (Many thanks to Trevor Wood) and a very simple net with import->color->shade->image and some additionnal modules to build the symmetrical part of the aircraft, use a personal colormap, add a colorbar and bound the datas to some desired min and max values. The DX data file defines a group object containing a number of fields. Each field is built from some arrays previously defined in the data file and has the following structure : object n class field component "position" value npos component "connection" value ncon component "data" value narray1 component "vitesses" value nvect component "Kp" value narray1 component "Pi/Pi0" value narray2 The "data" component and the "Kp" component are pointing on the same "narray1" array for Static Pressure. The "Pi/Pi0" component is pointing on the "narray2" array for Total Pressure. My net gives pictures colored from the "Kp" component, but when I add the "Mark" module between "Import" and "Color" to change the default data array for the "Pi/Pi0" component, the "Color" modules complains : Color : Bad parameter, missing data dependent attribute But the data array seems to be the expected one : a "Describe" module or the data driven "Colormap" module behind "Mark" both show the expected data range for the "Pi/Pi0" component, but I can't get a picture of the aircraft. The net works again if I change for "Kp" in the "Mark" module. My questions are : -is the "data" component always needed in a field definition or can we have only arrays with user defined names ? -is it possible to import the desired array in a field without using "Mark" to build the data flow ? -if "Mark" is the only way to import the desired array, what is missing in my net or in my data file ? Thanks in advance for your help. -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAAP/ACI BP 72, 92322 CHATILLON CEDEX - FRANCE phone : +33 1 46 73 42 17 fax : +33 1 46 73 41 46 mailto:[EMAIL PROTECTED] http://www.onera.fr
