Re: [opendx-users] Valid / Invalid Positions
Thanks a lot!! It works with a higher Grid's density! Emmanuelle, I looked at your program and determined the problem. DX is working as it should. It is a problem with the construction of your tube. You have a tube that only has 3 points in Z, and the bottom point is below your zmin value so it is invalidated, thus the bottom half disappears. You can easily fix this by making your tube higher than the zmin (which you should do), but you should also increase the tube's resolution. I'd suggest setting Grid's density to at least 20 since your grid is not evenly distributed. I hope this helps and if you should need more help in the future, we can usually answer these kinds of problems very quickly if you purchase a single tech support incident from VIS, Inc. David Hi, I've recently post a topic for a problem concerning the visualisation of a tube in a 3D field, which isn't complete because of invalid positions. I didn't find the solution of my problem, so I've put a smal version of the program and the corresponding data on the web. You can download it at : http://www.savefile.com/files/5041823 and click on 'Download' The principle of the programm is to visualize a 3D field on a grid contained in another file, and to map it on a tube. If anyone could take some time to look at it, it would really help me!! Thanks -- Emmanuelle LAFONT NUMTECH 6, allée Alan Turing - BP 30242 Parc Technologique de La Pardieu 63175 AUBIERE Cedex Tel: 04 73 28 75 95 Fax: 04 73 28 75 99 www.numtech.fr -- . David L. Thompson Visualization and Imagery Solutions, Inc. mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804 Phone : (406)756-7472 -- Emmanuelle LAFONT NUMTECH 6, allée Alan Turing - BP 30242 Parc Technologique de La Pardieu 63175 AUBIERE Cedex Tel: 04 73 28 75 95 Fax: 04 73 28 75 99 www.numtech.fr
Re: [opendx-users] Valid / Invalid Positions
I've got a 3D field and I want to visualize only a sample of it, that means I define a point, and I see a vertical tube in that point, with the appropriated colors. I've succeed doing this with a vector field (I add vectors on the tube), but with my 3D field, I only have one half of the tube, the other part has invalid positions. I use the following modules : 3DField | Grid() - Tube() - Map(input=tube,map=3DField) Thanks for any help. Which modules are you running your data through that produces the invalid positions? David Hi, I'ld like to understand how and why any valid positions become invalid. I've searched in the doc, but it's not clear for me. Is there a way to avoid positions to become invalid? Thanks! -- . David L. Thompson Visualization and Imagery Solutions, Inc. mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804 Phone : (406)756-7472
Re: [opendx-users] Valid / Invalid Positions
Yes the Tube is inside the 3D field. I had already check that. Could it be the definition of the grid for the Tube? In the point input, I have [a.x, a.y, b/2] where a is the point where I want the tube to be, and b is the hight of 3D field.In the shape input, I have [0, 0, b/2]. I use b/2 instead of b otherwise the tube desappears completely. If I put a Compute module instead of Map, and put 1 in Compute in order to give data to the tube, it is correctly displayed. So it seems to come from Map... Do ShowBox on the 3D field and Collect with the original Tube (pre-Map). I think you'll find the Tube is not completely inside the 3d bounds, so Map makes everything outside invalid. On Jun 23, 2005, at 2:55 AM, Emmanuelle Lafont wrote: I've got a 3D field and I want to visualize only a sample of it, that means I define a point, and I see a vertical tube in that point, with the appropriated colors. I've succeed doing this with a vector field (I add vectors on the tube), but with my 3D field, I only have one half of the tube, the other part has invalid positions. I use the following modules : 3DField | Grid() - Tube() - Map(input=tube,map=3DField) Thanks for any help. Which modules are you running your data through that produces the invalid positions? David Hi, I'ld like to understand how and why any valid positions become invalid. I've searched in the doc, but it's not clear for me. Is there a way to avoid positions to become invalid? Thanks! -- .. ... David L. Thompson Visualization and Imagery Solutions, Inc. mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804 Phone : (406)756-7472 ___ Chris Pelkie Scientific Visualization Producer 622 Rhodes Hall, Cornell Theory Center Ithaca, NY 14853 (607) 254-8794
[opendx-users] Valid / Invalid Positions
Hi, I'ld like to understand how and why any valid positions become invalid. I've searched in the doc, but it's not clear for me. Is there a way to avoid positions to become invalid? Thanks!
[opendx-users] ManageImageWindow
Hi, I've put a ManageImageWindow in my program, but the Window concerned opens even if the 'open' tab is set to 0, every time I re-execute. Is there a way to avoid this or is it a known problem? Thanks Emmanuelle Lafont
Re: [opendx-users] Linewidth
Hi Bernd, You could try to put a Ribbon module after your Isosurface, and so you'll be able to set its width. I'm not sure to understand your problem with Showbox, but if you have collected your isosurface and your frame with a Collect module, make sure that the frame is connected to the right tab, because each element is displayed from left to right. It could be a solution. Hope this helps! Emmanuelle Hi! I use the Isosurface module to generate lines within my 2D-data. How can I control the linewidth? And one more question: I use Showbox to get a black frame around my figures, but with colored lines for the isosurfaces, there are colored dots in the frame, where an Isosurface hits the frame. How can I make sure that the frame is black? Thanks in advance, Bernd. -- Bernd Jaeger, Institut fuer Physikalische Chemie, Universitaet Wien, Waehringer Strasse 42, A-1090 Vienna, Austria Tel.: +43-1-4277-52417, FAX: +43-1-4277-9524 --- mailto:[EMAIL PROTECTED]
[opendx-users] Visualization problem
Hi, I've already ask it a few days ago but without answer. My problem is when I visualize isosurfaces, I sometimes have parasite bands which all go to one point in the image (often the center of the image).I've put a sample image. There is my isosurfaces on the left, and the parasite bands on the right. I would like to know if it comes from my graphic card, or if it's an OpenDX rendering problem, or anything else. Thanks for help. Emmanuelle, France Pb.png Description: PNG image
Re: [opendx-users] Binary import (general file) question
Hi Marc, 1) Put a Transpose module after your Import module, and choose 2 1 0 for the dimensions field. This will transpose your z/y/x to x/y/z 2) I never used it, but I think you can find solutions in the documentation athttp://opendx.npaci.edu/docs/html/pages/usrgu067.htm#HDRKWIFDF There are many samples and I think you can use it for the grid dimensions. But I'm not sure for your min/max... Hope this helps!... Emmanuelle Hi, I managed to describe a binary data file and to import it into OpenDX. There are several things I would like to improve in this respect, but I am not sure that this is possible or where to find appropriate instructions or even better examples. 1) The data file has the order z/y/x coordinates. Is it possible to tell OpenDX that this is the case ? Whether I choose Row or Column order, I don't get the z coordinate as z coordinate but alternatively as x or y. 2) The number of points in x/y/z and min/max values are in the header of the binary data file. Can I make OpenDX read this ? (eg specify in the .general file where to get origin and delta from ?). Right now I first examine the binary file, note the values, and put them by hand in the .general import file. Thanks very much in advance, Marc Baaden -- Dr. Marc Baaden - Institut de Biologie Physico-Chimique, Paris mailto:[EMAIL PROTECTED] - http://www.marc-baaden.de FAX: +33 15841 5026 - Tel: +33 15841 5176 ou +33 609 843217
[opendx-users] Visualization problem
Hi, I've sometimes got some strange visualizations, whith isosurfaces. As you can see in the attached file, there are strange 'bands' going from a point to the isosurface.I've got this problem only with isosurfaces, but not for each execution, and if I rotate the Image, thoses bands disappear or move. Is it a known problem? Moreover, when I rotate the Image, I sometimes have the error message : ERROR: Image: Display: Bad parameter: camera causes numerical overflow Is there a way to fix it? Thanks Emmanuelle, France Pb.png Description: PNG image
[opendx-users] ShowBoundary crash...
Hi, I've got a problem with the ShowBoundary module. I'm visualizing a 3D field with the ShowBoundary module without any problem. Now, I want to reduce the domain, so I use Mark(Position), Include(new boundaries), and UnMark just after the importation. With MapToPlane or Isosurface I don't have problems and the domain is correctly reduced.But if I use ShowBoundary, the program ends, disconnect from the server, and I've got the following error message : 0 : Internal error detected at showboundary.c:931. /usr/local/bin/dx: line 1: 3070 Abandon /usr/local/dx/bin_linux/dxexec -r -p1 -B I really don't see what to do! Thanks for any help Emmanuelle Lafont Clermont-Ferrand, France
[opendx-users] Organization of the Image Window
Hi, I've got two questions concerning the Image Window. First I'ld like to know if it's possible to fix the default size of the Image Window. I don't want to use a Display or a SuperviseWindow module because I want to keep the Options fonctionnalities of Image. Secondly, I'm searching a way to organize the Image Window. I visualise many data, and so, many legends obtained with ColorBar modules.The Image Window becomes rapidly saturated. Does anyone has solutions to organize all the components? I tried the Arrange Module, but rotations and zoom are aplied to all the parts of the window. Thanks for any suggestions! Emmanuelle Lafont - Emmanuelle Lafont NUMTECH 6 allée Alan Turing 63175 Aubière cedex
[opendx-users] Scientific notation conversion
Hi, I'm working on a field containing dates with format mmddhhmmss. I'm importing it as double, and I need to print only a few data depending on their date.I've got a problem when I use Compute or Include because those modules converts the double values in scientific notation, so that the values hh, mm and ss are lost.For example: 20010624055000 becomes 2.0010624e+13 and so, the calculations are wrong. I don't know how to avoid this conversion. Does anybody has an idea? Emmanuelle Lafont
[opendx-users] Changing [u,v] to [velovity, direction]
Hi, I'm triying to transform a vector field which is expressed with u and v componants in the same vector field expressed with velocity and direction.I have difficulties to obtain the direction. I use a (big) Compute module which tests every data and constructs the new vector.There is no problem if the first componant of the vectors is never null, the values seems correct (all between 0 and 360).But is there is a zero, an error occurs because I try to divide by 0. I don't understand why Compute doesn't make correctly the tests whereas it was correct the first time. Is it because it works with all the field? I can't find a way to do it differently. This is my Compute expression : (a.x0 a.y=0) ? (180+90-atan(a.y/a.x)/deg) : ((a.x0 a.y=0) ? (90+atan(a.y/(-a.x))/deg) : ((a.x0 a.y0) ? (90-atan((-a.y)/(-a.x))/deg) : ((a.x0 a.y0) ? (270+atan((-a.y)/a.x)/deg) : (a.x==0 a.y0) ? 180 : 0))) where deg = 3.1415926535 / 180.0 Can anybody help me? Emmanuelle Lafont
[opendx-users] Coloring Glyphs with a second parameter
Hi, I've created glyphs with a size depending on a parameter. Now, I'd like to color them according to the value of another parameter. Is there a way to do that? It seems to me that there is a sample about it, but I can't find it anymore. Any help would be welcome. Thanks! Emmanuelle Lafont - Emmanuelle Lafont NUMTECH 6 allée Alan Turing 63175 AUBIERE Cedex
[opendx-users] Windows version of OpenDX
Hi, I'm thinking about buying the Windows version of OpenDX, but I'd like to know how it works, and in particular the principles of the X server.I don't know anything about it. I've read the documentation on Vis' site, but there isn't much explainations. Does it works as with Linux? Someone told me I had to have my PC linked with a Linux station, is it right? What does the X server do? Any help would be welcome!
Re: [opendx-users] Creating a serie from many fields
OK, thank you very much. I didn't understood the principle of the cache, and I didn't know that I had to execute once for all the values.Now it works. But I find it really less easy to use than the method with series because of this problem of cache. If you don't see anything during the first iterations, it's maybe because you've fixed the time parameter to a value greater than 1. This trick works because Streakline, unlike all other DX modules, uses a special cache for prior results (it actually builds the Series object in this cache, on the fly). This cache can get corrupted, so you should do a Reset Server from time to time; however, once you've got the whole object created and cached, Sequencer will loop nicely and play back the growing streakline(s), so don't Reset unless you are having trouble. I don't see anything for the first few iterations. Then, after that, the streakline starts to show up and grow longer. Not sure why, though it is possible that the field doesn't change much initially (it's not my data, I'm just the viz guy). So the presumption is that you have a set of vector fields of the same shape and size stored in .dx files (not sure if this works with .general files, though I don't see why DX should care, once they are Imported and turned into DX fields with vector data). They are logically numbered, like: 'data.001.dx' 'data.002.dx' etc. Then, use Sequencer to generate the number series (1,2..), and send to Format ('/path/data.%03d.dx', sequencer_value) to generate each filename. Send this to Import. Send Import's output (should be the vector field) to Streakline 'data' input. You don't need to do anything else to Streakline. You can provide a set of starting points to Streakline 'start': default is center of first vector field, so you only get one streakline that way (if the vector field doesn't do much at that position, you may not see the line growing). I'm using Grid with parameters (point=origin defined by a Vector interactor, structure=brick, shape={[20 0 0] [0 20 0] [0 0 5]}, density={3, 3, 3}). This gives me 27 starting points distributed in a 40x40x10 volume centered on origin. The output of Grid goes to Streakline 'start' input. That's all it takes! On Tuesday, Nov 9, 2004, at 08:46 America/New_York, Emmanuelle Lafont wrote: I've tried to to send a field with 'series position' attribute, but it doesn't work. I didn't found any sample with this method, so I tried with a simple case but I can't succeed. Is there samples I didn't found? Does the frame number must come from the output of the sequencer? Moreover I don't really understand this method, because at each execution of the Sequencer, the Streakline module has only one step time... Could you help me more please? ___ Chris Pelkie Scientific Visualization Producer 622 Rhodes Hall, Cornell Theory Center Ithaca, NY 14853
Re: [opendx-users] Creating a serie from many fields
I've tried to to send a field with 'series position' attribute, but it doesn't work. I didn't found any sample with this method, so I tried with a simple case but I can't succeed. Is there samples I didn't found? Does the frame number must come from the output of the sequencer? Moreover I don't really understand this method, because at each execution of the Sequencer, the Streakline module has only one step time... Could you help me more please?
[opendx-users] Printing informations on a Control Panel
Hi, I'm searching a way to print informations on a control panel. Like a label who which react to the data. I can do that with a SelectorList, but I don't want buttons because there is nothing to choose, it's only informations which depends on the data. Is there a way to do that? Thanks for any ideas! - Emmanuelle Lafont NUMTECH 6 allée Allan Turing BP 30242 63175 AUBIERE Cedex
[opendx-users] Creating a serie from many fields
Hi, I want to use the Streakline module, so I have to send a serie to its first input. I effectively have a serie in the beginning, but I must change the position member of this serie with the Replace Module.However, Replace wants a field in input. So I've placed a Select module before Replace, and I use a ForEachN to work on every field of the serie.My problem is that I must regoup the fields in a new serie after Replace in order to pass it to the Streakline module.I use a CollectSeries module combined with GetLocal/SetLocal. In the 'position' attribute, I send the 'current' output of ForEachN.But it doesn't work, this new serie contains only one field. I think it's maybe easier in script mode, but I don't really know it. Here is the part of my program: current, last = ForEachN(1,n,1); Select (input=my_serie,which=current); Replace (srcfield=my_computation,dstfield=Select); GetLocal (initial=Replace); CollectSeries (object=GetLocal,position=current); SetLocal (object=CollectSeries,link=GetLocal); Streakline (data=CollectSeries,...); Thanks a lot for any help. - Emmanuelle Lafont NUMTECH 6 allée Allan Turing BP 30242 63175 AUBIERE Cedex
[opendx-users] Probleme with the module builder
Hi, I want to create a module with the Module Builder. This module must take two fields in input (in order to concatene them).I tried the exemple Add.mdf and it works. I tried to write my module, but when I click on Build and Create All, the Module Builder close, and I've got a segmentation fault.Next I tried the exemple Add2.mdf which is applied in 'dx/samples/program_guide', and which takes two fields in input. But I've got the same result.I don't understand. Is there something I've done wrong? Thanks
[opendx-users] Collecting data in Fields
Hi, I'd like to know if it's possible to collect many fields in one. Using Collect, it creates a Group and many modules accept only single fields (for exemple Autogrid). Does anybody has a solution?
[opendx-users] HDF headers
Hi, I work with HDF files. I'd like to know if it's possible to read the informations contained in the headers of the files.For example, I visualise several series of data conresponding on several hours, and I'd like to know the number of hours described in the file. This number is writen in the header, but I don't know how to read it. Thanks!
[opendx-users] 2D data in HDF
Hi, I would like to know if it's possible to use 2D data (vectors) in a HDF file, and if yes, how this kind of data is organized in the file. Thnak you very much.
[opendx-users] Slice with non regular connections
Hi, I've got 3D meteorological data associated with a 3D topography, and I'd like to make vertical slices. I can't use the Slice module because my data don't have regular connections (in fact, there isn't connections at all).Does anybody knows another way to succeed? Thanks
Re: [opendx-users] Problem due to Rubbersheet
Thanks a lot! I will try all your solutions.
[opendx-users] Problem due to Rubbersheet
Hi, I have displayed a topography using Rubbersheet. Now I want to add meteorological data. They are described by a 3D-vector for positions, and a scalar for the data. These data begins at the altitude of the ground and my problem is that it passes under the ground. It seems to be because of the Rubbersheet module of the topography which deforms the ground, because if I suppress it, my data are with the top of the ground.I really don't see how to solve this problem. Could anybody help me?
[opendx-users] Problem due to Rubbersheet
Hi, I have displayed a topography using Rubbersheet. Now I want to add meteorological data. They are described by a 3D-vector for positions, and a scalar for the data. These data begins at the altitude of the ground and my problem is that it passes under the ground. It seems to be because of the Rubbersheet module of the topography which deforms the ground, because if I suppress it, my data are with the top of the ground.I really don't see how to solve this problem. Could anybody help me?
[opendx-users] Fields concatenation
Hi, I have many files containing data for the same positions. Each file contains a set of data for a particular altitude, so they describe the same field.I would like to concatenate all those fields in order to represent my data for all the altitudes. I can't succeed with Collect or List because they don't generate fields.I don't find anything about it in the docs. Thanks for help.
[opendx-users] Executing in script mode
Hi, I try to execute my .net program in script mode. It seems to work, but the Image window immediately close after it opens. I use a Image module because I want to be able to zoom and rotate the image.Is there a command who permit to let the Image window opened? I didn't found anything about this problem in the scripting langage documentation. Thanks for help.
[opendx-users] Displaying only a part of data
Hi, I would like to display only a part of my topography (for example, giving (xmin, ymin) and (xmax, ymax), it displays only the data contained in this domain). My data are on a regular grid. There is a 2D vector for the positions, and a scalar for the altitude. I tried : Mark(positions)-Compute(a.x)-Include(xmin, xmax)-UnMark but it doesn't work. When I use the Describe module, it seems that the number of data has correctly been reduce, but it is said that the input object has bad positions. I suppose I lose data. Could anybody help me please?