Using Texture3D!?

Hi all,
I've been trying without success to get a simple Texture3D working and for the life of me cannot figure why it's showing up white. I get no errors, but no texture either.
I've found very little good documentation about how this texture works; however I think I understand the basic idea (except that it will simply NOT work). The following sample code DOES work, even when I modify it to read a small image file and assign its values across its depth or R-dimension. However when I apply it to my larger application I get nothing but white.
http://java3d.j3d.org/faq/examples/Texture3DTest.java
So... I know the image is loading and filling the ImageComponent3D object correctly. The problem must be with the assignment of texture coordinates. I've tried two options:
1.) assigning texture coordinates directly to my 4-node planar polygon coordinates with values of (0,1,0.5), (0,0,0.5), (1,0,0.5), (1,1,0.5). I have code to generate Texture2D on this same polygon with the same coordinates, lacking the R=0.5 coordinate, which works fine. So I cannot understand why these texture 3D coordinates do not work. The code is here:
//set coordinates
Point3f[] polyArray = new Point3f[n];
getPolygon().getNodes().toArray(polyArray);
//create geometry
GeometryInfo gi = new GeometryInfo(GeometryInfo.POLYGON_ARRAY);
gi.setCoordinates(polyArray);
//set texture coordinates          
gi.setTextureCoordinateParams(1, 3);
//function getTexCoords3d() returns the coordinates
//(0,1,0.5), (0,0,0.5), (1,0,0.5), (1,1,0.5)
gi.setTextureCoordinates(0, texture.getTexCoords3d());
//stripify
gi.setStripCounts(new int[]{getPolygon().n});
gi.setContourCounts(new int[]{1});
Stripifier st = new Stripifier();
st.stripify(gi);
//generate normals
NormalGenerator ng = new NormalGenerator();
ng.generateNormals(gi);
//create node
Shape3D thisShapeNode = new Shape3D(gi.getGeometryArray());
Appearance thisAppNode = new Appearance();
PolygonAttributes pAtt = new PolygonAttributes();
pAtt.setCullFace(PolygonAttributes.CULL_NONE);
thisAppNode.setPolygonAttributes(pAtt);
Material m = new Material();
m.setLightingEnable(false);
thisAppNode.setMaterial(m);
//returns a valid Texture3D object
thisAppNode.setTexture(texture.texture3D);
//thisAppNode.setTexCoordGeneration(texture.getTexGen3D(this));
thisShapeNode.setAppearance(thisAppNode);2.) assigning a TexCoordGeneration with the following code (is commented out in the above code):
public TexCoordGeneration getTexGen3D(Shape3DInt s){
     TexCoordGeneration gen = new TexCoordGeneration(TexCoordGeneration.OBJECT_LINEAR, TexCoordGeneration.TEXTURE_COORDINATE_3);
     Sphere3D sphere = s.getBoundSphere();
     float scale = 0.5f / sphere.radius;
     ArrayList<Point3f> nodes = s.thisShape.getNodes();
     Vector4f sPlane = new Vector4f(scale, 0, 0, -nodes.get(1).x);
     Vector4f tPlane = new Vector4f(0, scale, 0, -nodes.get(1).y);
     Vector4f rPlane = new Vector4f(0, 0, scale, -nodes.get(1).z);
     gen.setPlaneS(sPlane);
     gen.setPlaneT(tPlane);
     gen.setPlaneR(rPlane);
     return gen;
     }Where scale represents the object's size and nodes.get(1) is its bottom left coordinate.
This also gives me a white polygon. Sorry for the long-winded email, but I am running out of options with this code =(
Any help is appreciated, cheers!
Message was edited by:
typically

Well the whole application's huge, but I'll post the two classes that matter:
This is the class that loads and sets up the texture (I've included the texture2D functions, which work fine)
package ar.Interface.Shapes.Util;
//imports here
public class TestTexture {
     public Texture3D texture3D = new Texture3D();
        public Texture2D texture2D = new Texture2D();
     public TexCoordGeneration texgen3D = new TexCoordGeneration(TexCoordGeneration.OBJECT_LINEAR, TexCoordGeneration.TEXTURE_COORDINATE_3);
        //constructor opens a preset file and passes it to LoadTexture3D
     public TestTexture(){
          File file = new File("C:\\Documents and Settings\\atreid\\My Documents\\My Pictures\\java3d.jpg");
          try{
                        LoadTexture2D(file.toURI().toURL());
               LoadTexture3D(file.toURI().toURL());
          catch(MalformedURLException e){
               e.printStackTrace();
        //loads an image from a url into a Texture2D object
        //must have power-of-two dimensions
        public void LoadTexture2D(URL url){
          try{
               BufferedImage bi = ImageIO.read(url);
               ImageComponent2D image = new ImageComponent2D(ImageComponent2D.FORMAT_RGB, bi);
               texture2D = new Texture2D(Texture2D.BASE_LEVEL,
                                               Texture2D.RGB,
                                               powerOfTwo(image.getWidth()),
                                               powerOfTwo(image.getHeight()));
               texture2D.setImage(0, image);
          catch (IOException e){
               e.printStackTrace();
               return;
     //loads an image from a url into a Texture3D object
        //must have power-of-two dimensions
     public void LoadTexture3D(URL url){
          try{
                        //get buffered image from url
               BufferedImage urlImage = ImageIO.read(url);
                        //set dimensions
               int width = urlImage.getWidth();
               int height = urlImage.getHeight();
               int depth = 16;
               byte[] origData = ((DataBufferByte)urlImage.getData().getDataBuffer()).getData();
               ColorSpace cs = ColorSpace.getInstance(ColorSpace.CS_sRGB);
               int[] nBits = {8, 8, 8};
               ComponentColorModel colorModel = new ComponentColorModel(cs, nBits, false, false, Transparency.OPAQUE, 0);
               WritableRaster raster = colorModel.createCompatibleWritableRaster(width, height);
               BufferedImage bImage = new BufferedImage(colorModel, raster, false, null);
               byte[] byteData = ((DataBufferByte)raster.getDataBuffer()).getData();
               ImageComponent3D pArray = new ImageComponent3D(ImageComponent.FORMAT_RGB, width, height, depth);
               // copy urlImage to bImage
               for (int j = 0;j < height;j++)
                    for (int i = 0;i < width;i++){
                        int index = ((j * width) + i) * 3;
                        byteData[index] = origData[index];
                        byteData[index + 1] = origData[index + 1];
                        byteData[index + 2] = origData[index + 2];
               // copy multiples of bImage into pArray
               for (int k = 0; k < depth; k++)
                    pArray.set(k, bImage);
                        //set texture3D from pArray
               texture3D = new Texture3D(Texture.BASE_LEVEL,
                                Texture.RGB,
                                width,
                                height,
                                depth);
               texture3D.setImage(0, pArray);
               texture3D.setEnable(true);
               texture3D.setMinFilter(Texture.BASE_LEVEL_LINEAR);
               texture3D.setMagFilter(Texture.BASE_LEVEL_LINEAR);
               texture3D.setBoundaryModeS(Texture.CLAMP);
               texture3D.setBoundaryModeT(Texture.CLAMP);
               texture3D.setBoundaryModeR(Texture.CLAMP);
          catch (IOException e){
               e.printStackTrace();
               return;
     //return a TexCoordGeneration object for a polygon with lower left corner at
     //nodes(1)
     public TexCoordGeneration getTexGen3D(Shape3DInt s){
          TexCoordGeneration gen = new TexCoordGeneration(TexCoordGeneration.OBJECT_LINEAR, TexCoordGeneration.TEXTURE_COORDINATE_3);
          Sphere3D sphere = s.getBoundSphere();
          float scale = 0.5f / sphere.radius;
          ArrayList<Point3f> nodes = s.thisShape.getNodes();
          Vector4f sPlane = new Vector4f(scale, 0, 0, -nodes.get(1).x);
          Vector4f tPlane = new Vector4f(0, scale, 0, -nodes.get(1).y);
          Vector4f rPlane = new Vector4f(0, 0, scale, -nodes.get(1).z);
          gen.setPlaneS(sPlane);
          gen.setPlaneT(tPlane);
          gen.setPlaneR(rPlane);
          return gen;
        //return 2D texture coordinates for a 4-node planar polygon
        public TexCoord2f[] getTexCoords(){
          TexCoord2f[] texPts = new TexCoord2f[4];
          for (int i = 0; i < 4; i++)
               texPts[i] = new TexCoord2f(getTexPt(i));
          return texPts;
     //return 3D texture coordinates for a 4-node planar polygon
     public TexCoord3f[] getTexCoords3d(){
          TexCoord3f[] texPts = new TexCoord3f[4];
          for (int i = 0; i < 4; i++)
               texPts[i] = new TexCoord3f(getTexPt3d(i, 0.5f));
          return texPts;
     //set texture3D coordinates by adding a z coordinate to 2D ones
     private Point3f getTexPt3d(int i, float z){
          Point2f pt2 = getTexPt(i);
          Point3f pt3 = new Point3f();
          pt3.x = pt2.x;
          pt3.y = pt2.y;
          pt3.z = z;
          return pt3;
     //set 2D texture coordinate i for a CCW 4-node planar polygon
     private Point2f getTexPt(int i){
          Point2f retPt = new Point2f();
          switch (i){
          case 0:
               retPt.x = 0;
               retPt.y = 1;
               break;
          case 1:
               retPt.x = 0;
               retPt.y = 0;
               break;
          case 2:
               retPt.x = 1;
               retPt.y = 0;
               break;
          case 3:
               retPt.x = 1;
               retPt.y = 1;
               break;
          return retPt;
}This is the "Shape3DInt" class which extends a polygon shape to add texture to it. The "setScene3DObject()" method is an overridden method which sets a BranchGraph (scene3DObject) that is inserted into the scene graph elsewhere.
package ar.Interface.Shapes;
//imports here
public class TestTextureInt extends Polygon3DInt {
     TestTexture texture = new TestTexture();
     public TestTextureInt(){
          super();
     public TestTextureInt(Polygon3D p){
          super(p);
     //sets a BranchGroup to be inserted into a Java3D scene graph
     public void setScene3DObject(){
          scene3DObject = new BranchGroup();
          if (!isVisible()) return;
          getPolygon().finalize();
          int n = getPolygon().n;
          if (n < 3) return;
          Point3f[] polyArray = new Point3f[n];
          getPolygon().getNodes().toArray(polyArray);
          //create geometry
          GeometryInfo gi = new GeometryInfo(GeometryInfo.POLYGON_ARRAY);
          gi.setCoordinates(polyArray);
          //set texture coordinates
                //comment out if using TexCoordGeneration
          gi.setTextureCoordinateParams(1, 3);
          gi.setTextureCoordinates(0, texture.getTexCoords3d());
                //stripify polygon
          gi.setStripCounts(new int[]{getPolygon().n});
          gi.setContourCounts(new int[]{1});
          Stripifier st = new Stripifier();
                st.stripify(gi);
                //generate normals
                NormalGenerator ng = new NormalGenerator();
                ng.generateNormals(gi);
          Shape3D thisShapeNode = new Shape3D(gi.getGeometryArray());
          Appearance thisAppNode = new Appearance();
          PolygonAttributes pAtt = new PolygonAttributes();
          pAtt.setCullFace(PolygonAttributes.CULL_NONE);
          thisAppNode.setPolygonAttributes(pAtt);
          Material m = new Material();
          m.setLightingEnable(false);
          thisAppNode.setMaterial(m);
          thisAppNode.setTexture(texture.texture3D);
          //uncomment to set texture coordinates using TexCoordGeneration
          //thisAppNode.setTexCoordGeneration(texture.getTexGen3D(this));
          thisShapeNode.setAppearance(thisAppNode);
          scene3DObject.removeAllChildren();
          scene3DObject.addChild(thisShapeNode);
}Again, this works fine for Texture2D, but for Texture3D I get a completely white polygon. Thanks again...
Message was edited by:
typically

Similar Messages

  • How do I use Edge Web Fonts with Muse?

    How do I use Edge Web Fonts with Muse - is it an update to load, a stand alone, how does it interface with Muse? I've updated to CC but have no info on this.

    Hello,
    Is there a reason why you want to use Edge Web Fonts with Adobe Muse?
    Assuming you wish to improve typography of your web pages, you should know that Muse is fully integrated with Typekit. This allows you to access and apply over 500 web fonts from within Muse. Here's how you do it:
    Select a text component within Muse, and click the Text drop-down.
    Select Add Web Fonts option, to pop-open the Add Web Fonts dialog.
    Browse and apply fonts per your design needs.
    Muse also allows you to create paragraph styles that you can save and apply to chunks of text, a la InDesign. Watch this video for more information: http://tv.adobe.com/watch/muse-feature-tour/using-typekit-with-adobe-muse/
    Also take a look at these help files to see if they help you:
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-1.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-2.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-3.html
    Hope this helps!
    Regards,
    Suhas Yogin

  • How can multiple family members use one account?

    My children have iphones, ipads, ipods and mac books, my problem is how do you use home sharing with the devices and not get each others data.  My Husband just added his iphone to the account and got all of my daughters contacts.  I understand they could have there own accounts but if i buy music on itunes and both children want the same song, I don't feel i should have to pay for it twice.  Is there away we can have home sharing on the devices and they can pick and choose what they want? and is this icloud going to make it harder to keep their devices seperate?

    My children have iphones, ipads, ipods and mac books, my problem is how do you use home sharing with the devices and not get each others data.  My Husband just added his iphone to the account and got all of my daughters contacts.  I understand they could have there own accounts but if i buy music on itunes and both children want the same song, I don't feel i should have to pay for it twice.  Is there away we can have home sharing on the devices and they can pick and choose what they want? and is this icloud going to make it harder to keep their devices seperate?

  • Iphoto crashing after using mini-dvi to video adapter

    Hi, IPhoto on my Macbook is crashing. I can open it, then as soon as I scroll down it locks up and I have to force quit.
    This started happening right after I used a Mini-DVI to Video Adapter cable to hook my macbook up to my TV. The adapter/s-video connection worked and I was able to see the video on the tv. But iphoto immediately locked up the computer when I went to slide show and now it locks every time I open it.
    Any ideas?
    Thank you:)
    Dorothy

    It means that the issue resides in your existing Library.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • How do multiple family members use iTunes.? One account or multiple?

    How do multiple family members use iTunes. One account right now but apps gets added to all devices and iTunes messages go to all devices.  Can multiple accounts be setup and still have ability to share purchased items?

    Hey Ajtt!
    I have an article for you that can help inform you about using Apple IDs in a variety of ways:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Using one Apple ID for iCloud and a different Apple ID for Store Purchases
    You can use different Apple IDs for iCloud and Store purchases and still get all of the benefits of iCloud. Just follow these steps:
    iPhone, iPad, or iPod touch:
    When you first set up your device with iOS 5 or later, enter the Apple ID you want to use with iCloud. If you skipped the setup assistant, sign in to Settings > iCloud and enter the Apple ID you’d like to use with iCloud.
    In Settings > iTunes and App Stores, sign in with the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match). You may need to sign out first to change the Apple ID.
    Mac:
    Enter the Apple ID you want to use for iCloud in Apple () menu > System Preferences > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in Store > Sign In. In iTunes 11, you can also click iTunes Store > Quick Links: Account.
    PC (Windows 8):
    Enter the Apple ID you want to use for iCloud in the Control Panel. To access the iCloud Control Panel, move the pointer to the upper-right corner of the screen to show the Charms bar, click the Search charm, and then click the iCloud Control Panel on the left.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes. In iTunes 10, select Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    PC (Windows 7 and Vista):
    Enter the Apple ID you want to use for iCloud in Control Panel > Network and Internet > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes 10 in Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    Note: Once a device or computer is associated with your Apple ID for your iTunes Store account, you cannot associate that device or computer with another Apple ID for 90 days. Learn more about associating a device or computer to your Apple ID.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Using SQVI to generate report of open and released delivery schedule lines

    All,
    I'm using SQVI  to generate an excel spreadsheet for some buyers to show open released schedule lines because they are a 1 line item per scheduling agreement company.
    I used the logical database MEPOLDB instead of a table joint and pulled fields from EKKO(vendor, SA #,&purchasing group), EKPO(Material Number), EKEH(schedule line type), and EKET(delivery date, scheduled qty,previous qty).
    Does this sound like I'll get the results I want on paper as long as I use the right selection criteria, because the report I'm getting isn't quite what I expect? I am unable to identify which lines are authorized to ship vs. trade-off zone, planning, etc. in the report thus far.

    Hi Mark,
                 I have faced same requirement. I am not sure about transporting to TST and PROD. I done by this way.
    After generating SQVI program in DEV , I assigned that program  to a transaction and tested in DEV. Later i have regenarated SQVI in Production. then I assigned the generated Program to same transaction in DEV. And transported the Tcode assignment of program to Production..
    About authorization , if its not sensitive report, BASIS can restrict at transaction level.
    Regards,
    Ravi.

  • Using Mini DVI to VGA adapter on MacBook

    I bought the adapter from Apple & hooked up my LCD monitor to the MacBook, but the video I get on the monitor is different that on my laptop. It has an old screen background & the dock but nothing on my desktop shows up. Also, when I'm plugged to the monitor, my dock disappears on the laptop screen. Is there some setting I need to change? It worked fine with my G4 PowerBook.
    Thanks for any help....
    MacBook   Mac OS X (10.4.6)  

    i use the mini dvi-vga adapter in my classroom almost everyday. It sounds like your new monitor is running as a side by side monitor to your display instead of a "replacement" display.
    To get your projector/monitor to basically show whatever is on your macbook screen once you've hooked up press F7....this should make your projector/monitory become your display with your dock & all of your desktop stuff. Your new monitor will completely mirror your display.
    THis should do what you're looking for.

  • Using mini-DVI to VGA adapter to Samsung display

    I have 2009 late model of mac mini, The text on display looks washed out, not clear or sharp at all from day one, I thought it was the old model of monitor, tried the same cable to another monitor on another computer, SAME. so I thought the problem could be the cable or adapter.
    It's hard for me to believe is the signal from computer. I'm using VGA adapter made by Dynex bought from Best Buy.
    Anybody has suggestions?? Thanks

    Yeah, My old Samsung is lcd synmaster 17", bought many years ago at around $1000. Crazy, crazy price looked back. It's fine when I used it on the retired old Dell. It must be the adapter, trying not to buy another VGA adapter, could not image my next lcd will use one, anyway.
    This cable has only 14 pins vs 15 pins on the other cable, not sure if it matters?? Or if Safari has anything to do with it??
    Thank for you reply...

  • Using S-Video w/ the Mini DVI to Video Adapter

    I just purchased a MacBook last week and I also purchased a Mini DVI to Video adapter for it so I can use the built-in DVD player to watch movies on my TV. I have a composite to composite cable and that worked fine when I connected the cable between the Mini DVI to Video Adapter and my TV. However, when I tried to use a S-Video cable and connected that between the Mini DVI to Video Adapter and my TV; then I got no picture at all. All I saw on the TV was a picture of the MAC desktop w/o the dock and the movie or nothing else played at all.
    Is the composite connection a better connection for the MAC, or, are there some settings I need to work with on the MAC to get the S-Video connection to work?

    I managed to figure this one out, by fluke. The MacBook has to be powered on and ready for user input prior to connecting the mini DVI to video adapter with the s video already connected to it, and to the TV. Once I did it this way, it worked fine. I just thought I'd share this.

  • Using a mini-DVI to video adapter

    I have connected the video adapter and everything works fine. I use the internet for my video source and I was just wondering, is it possible to have video playing fullscreen on the tv and have another window open on my desktop that I can work with without disrupting the video from the browser? Every time I watch something I am unable to work on my computer while the video is playing.

    As far as I know, you can't go full screen on one monitor without it interfering with the other. I believe this would require a second video card, which isn't possible for a MacBook.
    ~Lyssa

  • Display problems using mini-dvi to video adapter

    I recently purchased the mini-dvi to video adapter for my powerbook to use my TV as a monitor and to play pictures and videos from the laptop to the TV. I am getting a full color display on the TV, but it's only the screen saver. None of my files, text, or any other desktop folders or menus appear when I open them up on the laptop. The only screen that opens is the display preferences when I open that up, but it's a different set of preferences than what's in my computer's display preferences, as it's header is "NTSC/PAL". But other than that 1 menu, nothing is appearing but the screen saver.

    OK, I discovered that I didn't know what I was doing. With the Mini-DVI to video adapter, you need to use an S-Video cable that plugs into an S-video jack on the TV, and then you need a separate cable to plug into the audio out jack on the MacBook to plug into the TV.
    I think you could also use an S-video to RCA component cable if you have a TV with component video input, but I couldn't get that to work so I went to the s-video to s-video cable.

  • Resolution using Mini-DVI to Video Adapter

    I have a Mini-DVI to Video Adapter that I connect to a television set. When I connect it my resolution drops from 1280x800 on my MacBook to 1024x768 on the television. On the MacBook tech specs screen it says: "Simultaneously supports full native resolution on the built-in display and up to 1920 by 1200 pixels on an external display, both at millions of colours".
    Is it just something that I'll have to live with when switching to the television, or is there any way that I can increase this resolution?

    You can make the TV the main monitor by dragging the menu bar to it in the "Arrangement" pane of "Displays" System Preference, or if you connect the power adapter and an external mouse and keyboard, just close the lid. It will sleep, but will wake when you use the mouse or keyboard.

  • IPhoto slideshow using mini-dvi to video adapter

    When using the mini-dvi to video adapter to connect to my widescreen tv (via composite), to show iPhoto slideshows, the transistions between slides dont apear and there are no ken burns effects. The slideshow runs fine on my MacBook display (ie when not conected to the tv), and the is no other distortion or flickering (as reported in other threads), this seems odd to me or is it just a limitation of analogue output.
    2Ghz MacBook, White   Mac OS X (10.4.7)  

    It means that the issue resides in your existing Library.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • How do I find, at-a-glance, the sample size used in several music files?

    How do I find, at-a-glance, the sample size used in several music files?
    Of all the fields available in a FInder Search, "Sample Size" is not available. Finder does offer a "Bits per Sample" field, but it only recognized graphic files and not music files.
    Running 10.8.5 on an iMac i5.
    I did search through a couple of communities but came up empty.
    Thank you,
    Craig

    C-squared,
    There is no View Option to allow display of a column of sample size. 
    For WAV or Apple Lossless files, it is available on the Summary tab (one song at a time, as you know).  For MP3 and AAC it is not available at all.
    You can roughly infer it from the files that are larger than expected for their time.
    99% of the music we use is at the CD standard of 16-bit, so I can guess that displaying it has never been a priority.  However, if you want to make a suggestion to Apple, use this link:
    http://www.apple.com/feedback/itunesapp.html

  • How to delete the members in one dimension use the maxl script

    i have question that i want to delete the members in one dimension useing the maxl script, but i do not know how to do it. can the maxl delete the members in one dimension? if can, please provide an sample script, thank you so mcuh.

    MaxL does not have commands to alter an outline directly, except the reset command which can delete all dimensions but not members selectively. The best you could do would be to run a rules file (import dimensions) using a file that contains the members you want to keepload rule for the dimension. As typical the warning is to test this first before you do it on a production database

Maybe you are looking for

  • ITunes Library in an external hard drive

    I am a new user to mac's and i am converting from a dell. I had all my music on a external hard drive and i was able to add all of my music from the external hard drive into iTunes but from here it does not let me edit the information for each indivi

  • Can't find Adobe AIR

    Hi, I'm new to Adobe Air I've installed this ( http://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe), I tried to make my first "Hello world" app > http://filchiprogrammer.wordpress.com/2008/03/12/creating-a-sample-hello-world-ad

  • Photos not responding

    I have just bought my first ipod and whilst the music side is great( after much editing ) the photo side is rubbish. I have been reading the forum and my ipod has the same displaying problems as already discussed. Also the photos load in an incorrect

  • My Adobe Lightroom 3 won't open.

    I installed Adobe Photoshop Lightroom 3 on my computer last year. It downloaded without any problem. Only used it a couple of times. Later on when I went to use it is would not open. I decided to uninstall it and reinstall it last week. Had to do it

  • Analyze Content in batch send from Premiere Crashes

    When selecting all video files in bin and sending to AME for batch analyze content, AME partially completes the first file and crashes every time.  This leads to Premiere crashing as well.  Unable to process even 1 file through analyze content for sp