Hi there, Does anybody know if the "Options" module should work if you're working in script mode?
I want to change properties of a line (like thickness). The dx sample "FatLines.net" run from the data explorer seems to work. In script mode, however, the line seems insensitive to the Options settings Below an example of a script that I tried I want to create two lines using Grid, of which the second is adjusted with the option modules. I plot them next to each other, but they are exactly the same. Changing the software or hardware rendering option doesn't work. So the question is: should it be possible to change the line thickness in script mode. If so, what do I do wrong in the script below ? Cheers! Eelco //////// START EXAMPLE run with: dx -script bla.net // create line to be rendered data1 = Grid([0 0 0],"line",[ 1 0 0]); data1 = ShowConnections(data1); // copy line and change option of line2 data2 = data1; data2 = Options(data2,"line width",4); data2 = Options(data2,"rendering mode","software"); // create camera camera = AutoCamera(data1,direction="diagonal",resolution=400); // Render both lines image1 = Render(data1,camera); image2 = Render(data2,camera); // Show them image = Collect(image1,image2); image = Arrange(image); Display(image); KeyIn(); ///////// END EXAMPLE
