Invisible Plane?

I found something very wierd... i have a program that calculates a polynomical function from some points and draws it. It should represent a dome and i rotate it. But it looks like if there was a black plane at z=-20 and parallel with both x and y. When the dome rotates behind this plane the part of it dissapears. I didnt add this plane anywhere!!! Where did it come from.
Image of problem http://img523.imageshack.us/img523/8202/invisibleif6.png
class DomeUniverse extends JFrame{
     private class Arch extends Shape3D{
          private BranchGroup arch;
          public Arch( ArrayList def, int height){
              arch = new BranchGroup();
              //Set the overall appearance
               Appearance app = new Appearance();
             PolygonAttributes poly = new PolygonAttributes();
             poly.setCullFace(PolygonAttributes.CULL_NONE);
             app.setPolygonAttributes(poly);
             app.setLineAttributes(new LineAttributes( 2.0f, LineAttributes.PATTERN_SOLID, false));
             app.setColoringAttributes(new ColoringAttributes( new Color3f(1.0f,0.0f,0.0f), ColoringAttributes.SHADE_GOURAUD));
              // rotate object has composited transformation matrix
              Transform3D rotate = new Transform3D();
              Transform3D translate = new Transform3D();
              translate.set(new Vector3f(0.1f, 0.0f, 0.0f));
              TransformGroup archTGT1 = new TransformGroup(translate);
              arch.addChild(archTGT1);
                   rotate.rotZ(Math.PI/2.0d);
              TransformGroup archTGR1 = new TransformGroup(rotate);
              //help variables
              double r = (Math.tan(Math.PI/2-Math.atan(height/1500.0))*1500+1000)/2;
              double terciarWidth = Math.sqrt(r*r-(height/3+r-height)*(height/3+r-height));
              double sekTerciarWidth = Math.sqrt(r*r-(height*2/3+r-height)*(height*2/3+r-height));
              double sekundarHeight = Math.sqrt(r*r-3000.0*3000.0/16.0)-r+height;
              //The default values of the dome
              double[] xs = {0,1500-terciarWidth,1500-sekTerciarWidth,750,1500,2250,1500+sekTerciarWidth,1500+terciarWidth,3000};
              double[] fs = {0,height/3,height*2/3,sekundarHeight,height,sekundarHeight,height*2/3,height/3,0};
              //These x values and y values will be further edited. Only testing version.
              double[] xs1 = {0,xs[1]+C,xs[2]+D,xs[3]  ,xs[4]  ,xs[5]  ,xs[6]-E,xs[7]-F,3000};
              double[] fs1 = {0,fs[1]  ,fs[2]  ,fs[3]+J,fs[4]+K,fs[5]+L,fs[6]  ,fs[7]  ,0   };
              double[] xs2 = {0,xs[1]+C,xs[2]+B,xs[3]  ,xs[4]  ,xs[5]  ,xs[6]-A,xs[7]  ,3000};
              double[] fs2 = {0,fs[1]  ,fs[2]  ,fs[3]+I,fs[4]+H,fs[5]+G,fs[6]  ,fs[7]-F,0   };
              //In these variables there are stored the last y values.
              float lastY1 = 0;
              float lastY2 = 0;
               for( float x = BLEND; x <= 3000; x+=BLEND){
                    float y1 = 0.0f;
                    float y2 = 0.0f;
                    //polynomical function
                    for( int i = 0; i < xs.length; i++){
                         double li1 = 1.0;
                         double li2 = 1.0;
                         for( int j = 0; j < xs.length; j++){
                              if( j != i){
                                   li1 *= (x - xs1[j])/( xs1[i]-xs1[j]);
                                   li2 *= (x - xs2[j])/( xs2[i]-xs2[j]);
                         y1+=li1*fs1;
                         y2+=li2*fs2[i];
                    //polygon down
          TriangleArray archPolygon1 = new TriangleArray(3, QuadArray.COORDINATES|QuadArray.COLOR_3);
          archPolygon1.setCoordinate(0, new Point3f( lastY1*4/300,-(x-BLEND)*4/300+20,-10.0f));
          archPolygon1.setCoordinate(1, new Point3f( lastY2*4/300,-(x-BLEND)*4/300+20,10.0f));
          archPolygon1.setCoordinate(2, new Point3f( y2*4/300,-x*4/300+20,10.0f));
          archPolygon1.setColor(0, yellow);
          archPolygon1.setColor(1, green);
          archPolygon1.setColor(2, blue);
          Shape3D archP = new Shape3D( archPolygon1);
          archP.setAppearance(app);
          archTGR1.addChild(archP);
          //polygon up
          TriangleArray archPolygon2 = new TriangleArray(3, QuadArray.COORDINATES|QuadArray.COLOR_3);
          archPolygon2.setCoordinate(0, new Point3f( lastY1*4/300,-(x-BLEND)*4/300+20,-10.0f));
          archPolygon2.setCoordinate(1, new Point3f( y1*4/300,-x*4/300+20,-10.0f));
          archPolygon2.setCoordinate(2, new Point3f( y2*4/300,-x*4/300+20,10.0f));
          archPolygon2.setColor(0, yellow);
          archPolygon2.setColor(1, red);
          archPolygon2.setColor(2, blue);
          Shape3D archP2 = new Shape3D( archPolygon2);
          archP2.setAppearance(app);
          archTGR1.addChild(archP2);
          lastY1 = y1;
          lastY2 = y2;
     //Add it all
     archTGT1.addChild(zs);
     archTGT1.addChild(ys);
     archTGT1.addChild(xos);
               archTGT1.addChild(archTGR1);
          public BranchGroup getArch(){
               return arch;
     public ArchUniverse( Main main, boolean animate, String[] startStrength, String[] endStrength, int height){
//....... deleted code for better preview
Canvas3D canvas3D = new Canvas3D(SimpleUniverse.getPreferredConfiguration());
add("Center", canvas3D);
BranchGroup scene = createSceneGraph();
SimpleUniverse simpleU = new SimpleUniverse(canvas3D);
Transform3D tr = new Transform3D();
tr.setTranslation(new Vector3d(0,0,50));
simpleU.getViewingPlatform().getViewPlatformTransform().setTransform(tr);
simpleU.addBranchGraph(scene);
public BranchGroup createSceneGraph() {
     BranchGroup objRoot = new BranchGroup();
     TransformGroup objSpin = new TransformGroup();
     objSpin.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
     objRoot.addChild(objSpin);
     objSpin.addChild(new Arch(main.getDeformation(startStrength[0].substring(0,startStrength[0].indexOf(" kN")), Integer.parseInt(startStrength[1]), main.getCP()), height).getArch());
     Alpha rotationAlpha = new Alpha(-1, 10000);
     RotationInterpolator rotator =
          new RotationInterpolator(rotationAlpha, objSpin);
// isnt this it? some sphere? does it exist real or only imaginar
     BoundingSphere bounds =
          new BoundingSphere(new Point3d(0.0,0.0,0.0), 1.0);
     rotator.setSchedulingBounds(bounds);
     objSpin.addChild(rotator);
objRoot.compile();
return objRoot;

5 dukes for that one who explains the problem

Similar Messages

  • Effect of RLS policy (VPD) on execution plan of a query

    Hi
    I have been working on tuning of few queries. A RLS policy is defined on most of the tables which appends an extra where condition (something like AREA_CODE=1). I am not able to understand the effect of this extra where clause on the execution plan of the query. In the execution plan there is no mention of the clause added by VPD. In 10046 trace it does show the policy function being executed but nothing after that.
    Can someone shed some light on the issue that has VPD any effect on the execution plan of the query ? Also would it matter whether the column on which VPD is applied, was indexed or non-indexed ?
    Regards,
    Amardeep Sidhu

    Amardeep Sidhu wrote:
    I have been working on tuning of few queries. A RLS policy is defined on most of the tables which appends an extra where condition (something like AREA_CODE=1). I am not able to understand the effect of this extra where clause on the execution plan of the query. In the execution plan there is no mention of the clause added by VPD. In 10046 trace it does show the policy function being executed but nothing after that.
    VPD is supposed to be invisible - which is why you get minimal information about security predicates in the standard trace file. However, if you reference a table with a security preidcate in your query, the table is effectively replaced by an inline view of the form: "select * from original_table where {security_predicate}", and the result is then optimised. So the effects of the security predicate is just the same as you writing the predicate into the query.
    Apart from your use of v$sql_plan to show the change in plan and the new predicates, you can see the effects of the predicates by setting event 10730 with 10046. In current versions of Oracle this causes the substitute view being printed in the trace file.
    Bear in mind that security predicates can be very complex - including subqueries - so the effect isn't just that of including the selectivity of "another simple predicate".
    Can someone shed some light on the issue that has VPD any effect on the execution plan of the query ? Also would it matter whether the column on which VPD is applied, was indexed or non-indexed ?
    Think of the effect of changing the SQL by hand - and how you would need to optimise the resultant query. Sometimes you do need to modify your indexing to help the security predicates, sometimes it won't make enough difference to matter.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Verizon change my plan when I had two phones tied together. Their mistake, but won't fix it. Do I take my 5 phones and go???

    Do I take my 5 phones and go else where????
    Family dealing with live threatening illness has caused delay in staying on phone with Verizon to clear this up. I've been with Verizon since 2001 and I have 5 phones with them. I had unlimited data on 2 phones since data was available on cell phones. Now I only have it on one. They crossed my childrens phone with mine and this took off my unlimited data on my person phone. The other phone was not affected.  On Jan. 14, 2015 they see where this happened and now say they can't change it back. "We know they have the codes to change this".
    Nov. 2013 I placed order for two new phones for Christmas presents for kids.
    Half the phones arrived and with the wrong size phone cases.
    No phones until AFTER Christmas.
    Due to family member in ICU for a month. Mom couldn't stay on phone with Verizon customer service, trying to clear this all up.
    Phones, all but two are working, for a short period, then three not working right.
    Kept calling and on Feb 2, 2014 Verizon wirless told me to take the phones to a local Verizon retail store to have them change the settings on the two phones.At that time Verizon changed my data plan service while 2 of my cell phones were connected together. Voice and messaging service wasn't corrected until Apri 2014l and new service plan was in place from date of first call about mixup, (Feb 2, 2014)
    Repeated calls to fix situation lead to retail store, (Roseville, CA. on Douglas BLVD) removing sim card from new Iphone 5S, pocketing it and installing brand new sim card, but nothing done with Iphone 4S (that was still connected to 5S).
    Two phones are separated now: "After Mother was getting all daughter's text messages/pictures from boyfriend and friends!!!!! EEWWWWW" and daughter got Mother's messages from everyone: "Oh, not so cool".
         Phone call Aug. 30, 2014 lead to me being put on hold for "the next available representative" for 3 hours, 11 minutes and then the call was just disconnected.
    I recorded the whole phone call on my Iphone 5S video function, which I can provide if needed.
    More attempts to get unlimited data plan back on my phone has been meet with all "training excuses" taught to service reps. and I'm told they can't restore my original plan.
    I know there is a code and the correct numbers that can restore this. I'm told this each time Verizon calls and wants myself or a family member to upgrade.
    The phone call to customer service on Aug. 30, 2014 was to report my deaf daughter's phone being stole at the hospital ER. An order was placed and confirmed for a new phone to be sent overnight to my daughter.
    The phone never arrived, no call from insurance company or Verizon as to why the phone was returned to them.
    More phone calls lead to the discovery that "Leonard had typed in address incorrectly".
    I had to go out and buy daughter a prepaid phone as texting is her only way of communicating her needs.
    Verizon sent me notice the service to said phone had to have service charges restarted again, because it had been suspended too long. I was charged for said stolen, not replaced, invisible phone.
    Received call Jan 14, 2015, sales rep. (female). Asking me to purchase new equipment. ?????
    I explained all past issues and she contacted "Customer Loyalty" supervisor Lupee. at 11:00am. Arrangements were put in place for Lupee to return my call after he reviewed case on his desk.No call yet, I called them at 12:51 pm. The girl that answered asked me if there was a time set for the call back? I told her I understood he would call right back. 12:56 pm Lupee called back, (Note: look how fast the line of communication was on their end????) and we talked till about 2:pm.
    After talking all that time, this is what Lupee had to say: "He isn't in position to make changes to my service plan......wanted me to take new one "The More Plan". I only want my "Unlimited Data Plan" back. I have now stated this 9 times to him.  He was able to see where plan was changed, *without my authorization". Only corp. can make changes at this date. I'm not asking for reimbursement for additional fees charge all this time, I just want my "Unlimited Data Restored". Stop trying to talk me into another plan, to buy another phone, etc. "Please".
    I'll call again when I have a whole day to waste.
    I'LL KEEP ALL OF YOU UP TO DATE ON THIS ADVENTURE AS WE GO ALONG. I STILL HAVE HOPE THAT THEY WILL COME THROUGH SO I DON'T HAVE TO GO TO "S".
    Today had to get number changed for the "old" phone that my daughter needs and I'm Paying For. The old number is a drug ring!!!!!!!!!
    I will proceed with complains to corp and FCC and placing on Face Book.
    We'll also contact 13 on Kurt News.
    Linda Hoffman
    408-6XX-XXXX

        GrandmazChiz,
    I am definitely sorry to hear about all that you have gone through. This is certainly not the way that we want to have your experience happen. I am wanting to help in any way that I can. However, since this is a public forum, I will have to reach out to you Privately. Please look for that in your inbox. Thank you.
    ErinW_VZW
    Follow us on Twitter @VZWSupport

  • Error while changing the printing options under preferences of a plan App

    Hi All,
    I am using EPM system 11.1.1.1.0.
    I have a planning application and i am trying to chage the printing options under File-->Preferences
    but when i try to save my chnage i get a IE error message on the bottom left corner of the page.
    On the details this is what i can see:
    Can't Move Focus to the control because it is invisible , not enabled, or of a type that does not accept the focus.
    Can somebody please site a solution for this error...?
    Regards.
    Alicia

    JohnGoodwin wrote:
    Hi,
    What version of IE are you using.
    Have you tried going directly to planning and through the workspace route.
    I notice you are on 11.1.1.1, I know many issues were fixed in 11.1.1.2, any thoughts on upgrading, though 11.1.1.3 comes out soon so it is probably best to wait.
    Cheers
    John
    http://john-goodwin.blogspot.com/
    We are encountered many unexpected issues of version 11.1.1.1. If we upgrade to version 11.1.1.3 or 11.1.2, what will be the level of resource required for the upgrade?
    Thanks!

  • Showing invisible parts of the document when print is cancelled

    The recommended way to hide content of a form designed in LifeCycle Designer 7.0 is to make the non-printable elements invisible in the prePrint event and to show them again in the postPrint event.
    When the print is initiated, the respective objects become invisible and they are shown again after the print is executed with OK. However, when the print is cancelled by pressing Cancel, no postPrint event occurs and the objects remain invisible.
    We have not found a workaround for this problem which appears to be a major functional issue which makes the advertised way of hiding content for printing not viable. That makes the product unusable for our purposes.
    We have also tried to create a layered PDF with InDesign and adding control elements to this document. The plan was to mark some of the layers as non-printable in Acrobat. However, after we added the control elements, saved the file and opened it in Acrobat, all the layers were lost.
    Is there a way to workaround this problem?

    Thank you for responding. Below is some info.
    Please see the clipping on the "d" in Pastel Bond and White Bond and the rounded part of the "R" in 2 &3 Part NCR. We have had this happen on occasion with other files as well. Thanks for the help.
    save as > photoshop PDF
    First dialogue box:
    Save: layers (checked)
    color: embed color profile: U.S. web coated (SWOP) ...
    Second dialogue box: high quality print
    options: none checked
    viewing PDF in preview on mac

  • Business Rules not visible in Hyperion Planning

    I created a group in Shared Services and added 6 (native) accounts.
    After that, I assigned Access Privileges to Business Rules in AAS for this group.
    When I open Planning Web and go to Tools - Business Rules, 5 of the 6 users can see the Business Rules,
    but one users only sees the CalcScripts.
    I think I tried everything; removed/added the account from the group, refreshing security, refresh in Planning-Desktop
    I'm using version 9.2.03
    Anyone knows whats going on here?

    Thats the strange thing; We use (native) groups to provision. This works fine for the other 5 users.
    But even if I provision this one user for the Business Rules, they remain invisible to this user. (in Planning)
    I discovered this morning that this user can create a new BR, but when I try to open it in AAS console I get an error
    "Exception occured, Please check your log file for details."
    Unfortunately, the log doesn't provide any more details. (even if I set the level to Debug)

  • Has anyone had a problem with Draft Emails getting sent with Mac OS 10.8.2? It just happened to me and sent a few drafts out to a potential employer I planned on sending out torrow.

    Has anyone had a problem with Draft Emails getting sent with Mac OS 10.8.2? It just happened to me and sent a few drafts out to a potential employer I planned on sending out tomorrow.

    Hi, one question & one suggestion...
    What possible things are connected at home but not at the store, inlude every cable, etc.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • Unable to See Planning App in EAS

    Planning 11.1.1.3
    New application created today. Native user in local Shared Services. Provisioned with all access to Planning. Created dimensions, created first form. Cannot see users to give access to form. New BR cannot see new Outline. Admin cannot see Planning cube in EAS at all. Cannot assign new owner to application. No users are seen by Application (registered) in Shared Services.
    Other planning apps exist, and such objects are visible. Copied provisioning from one app to the new app. Synchronized security in EAS. Still invisible.

    If other application are working without any problem, can you not delete the planning application and try again, something may have gone wrong.
    If not can you refresh planning? Can you provision any users against the application in Shared Services
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Near clipping plane cuts small objects

    Small objects loaded into Acrobat3D are hidden behind view near clipping plane.
    The 3D annotation rendering in Acrobat3D, Acrobat Pro and Adobe Reader at versions 7.0.9, 8.1, 8.1.1, all show that the near clipping plane is set so that small objects may not be correctly rendered.
    If the extent of an object is less than approximatly 0.001, it is likely to be hidden behind the front (near) clipping plane in the 3D viewport. It appears that specification of the near clipping plane numerical value which may be present in the U3D data structures are ignored, and a fixed near clip value is used.
    A further sympton of this is that when the bounding box size of an object is below 0.001 in each of X,Y,Z, The bounds reported in the Part Tree panel shows zero, as values are only printed at 2 decimal digits of precision.
    I would like to have near clip value be controllable from U3D 3D annotations, appropriate for small objects.
    Platform:
    Acrobat3D 8.1, Windows XP 32-bit
    Test Case:
    Take sample object (below) as ASCII VRML files (.wrl) with small
    coordinate values.
    Load into Acrobat3D. The object is invisible, hidden behind view near clip plane. Then sweep the right mouse slowly downwards 3 or 4 times, to "zoom out". At some point the small object will appear in the center of the window, as it is revealed on the other side of the near clip plane.
    #VRML V2.0 utf8
    Viewpoint { description "Initial view" position 0 0 9 }
    NavigationInfo { type "EXAMINE" }
    #  A tetrahedron, with 4 vertices and 4 faces and a color at each vertex.
    Transform {
      translation 1.5 -1.5 0.0
      children Shape {
        appearance DEF A Appearance { material Material { } }
        geometry IndexedFaceSet {
          coord Coordinate {
            point [
               1.0e-5  1.0e-5  1.0e-5,
               1.0e-5 -1.0e-5 -1.0e-5,
              -1.0e-5  1.0e-5 -1.0e-5,
              -1.0e-5 -1.0e-5  1.0e-5,
          coordIndex [
            3, 2, 1, -1,
            2, 3, 0, -1,
            1, 0, 3, -1,
            0, 1, 2, -1,
          color Color {
            color [
              0.0 1.0 0.0,
              1.0 1.0 1.0,
              0.0 0.0 1.0,
              1.0 0.0 0.0
          colorPerVertex TRUE

    IanC,
    Have you tried using Javascript to set the clipping plane? Here's a hunk of code to set it and then move it with the Keyboard x,y,z or Shift+ x,y,z. Let me know if this helps...
    //code snippet ================================
    clippingPlane = scene.createClippingPlane();
    //create vectors
    xDir = new Vector3(3, 0, 0);
    yDir = new Vector3(0, 3, 0);
    zDir = new Vector3(0, 0, 3);
    nxDir = new Vector3(-3, 0, 0);
    nyDir = new Vector3(0, -3, 0);
    nzDir = new Vector3(0, 0, -3);
    //transform clippingPlane
    myKeyHandler = new KeyEventHandler();
    myKeyHandler.onEvent = function(event)
    if (event.characterCode == 120) //x
    clippingPlane.transform.translateInPlace(xDir);
    console.println("move x+");
    else if (event.characterCode == 121) //y
    clippingPlane.transform.translateInPlace(yDir);
    console.println("move y+");
    else if (event.characterCode == 122) //z
    clippingPlane.transform.translateInPlace(zDir);
    console.println("move z+");
    else if (event.characterCode == 88) //shift + x
    clippingPlane.transform.translateInPlace(nxDir);
    console.println("move x-");
    else if (event.characterCode == 89) //shift + y
    clippingPlane.transform.translateInPlace(nyDir);
    console.println("move y-");
    else if (event.characterCode == 90) //shift + z
    clippingPlane.transform.translateInPlace(nzDir);
    console.println("move z-");
    else if (event.characterCode == 114) //r
    clippingPlane.transform.rotateAboutYInPlace(Math.PI / 30);
    //register and process
    runtime.addEventHandler(myKeyHandler);

  • Invisible WRE54G with Vista + NIS 2009

    I have a WRE54G set up and working with by BT Homehub (WEP connection). It works just fine from my Widows XP laptop but is totally ignored by my new Vista 64bit desktop computer with Norton IS 2009 installed. And by ignored I mean even ping doesn't work, let alone browsing to 192.168.1.240. This desktop computer does see it loud and clear when viewing available networks but will not connect ("No response from access point"), then if I turn the WRE54G off, connect the desktop to the weak hub network and turn the WRE54G on again, the laptop sees it but it remains invisible to the Vista desktop.
    For some reason I suspect the NIS 2009 (which is not installed on the laptop) so am interested in whether anyone has had experience of this working with the WRE54G. I plan to try it with NIS 2009 deinstalled, but am just checking something with Norton first.
    Thanks....

    Partial progress.....
    The main change I made was to stop SSID broadcast from my main router so that only the repeater was broadcasting. After that I got it working consisently as a repeater from my Vista desktop (traffic visible on the WRE54G). I can also now ping from there but I can't get at the setup page (192.168.1.240) - in fact if I attempt that it times out in the browser and also disables the repeater until it is powered off and on again.
    However, I have now tried with my 3rd computer, an XP desktop (with NIS 2009) and it always fails to acquire an address when trying to connect to the network. The repeater was previously, but not consistently, working with this desktop.
    More experiments tomorrow....

  • How to make a plane semi-transparent

    Hi everyone. I am new here, and would like to thank you in advance.
    I am trying to make a semi-transparent plane using 3D with QuadArray. Have set TransparencyAttributes accordingly; and have even tried TextureAttributes. It just doesn't cut it.
    Without setting transparency, the plane is visible both sides. But once transparency set, it becomes invisible.
    Can anyone give me some ideas? Thanks!
    Here's the code snippet dealing with this plane:
    Appearance ap = new Appearance();
    TransparencyAttributes transparency = new
    TransparencyAttributes(TransparencyAttributes.NICEST, 0.5f);
    ap.setTransparencyAttributes(transparency);
    PolygonAttributes cullAttribute = new PolygonAttributes();
    cullAttribute.setCullFace(PolygonAttributes.CULL_NONE);
    ap.setPolygonAttributes(cullAttribute);
    TextureAttributes texture = new TextureAttributes();
    texture.setTextureMode(TextureAttributes.BLEND);
    ap.setTextureAttributes(texture);
    Point3f points[] = new Point3f[4];
    points[0] = new Point3f(-0.2f, 0.2f, 1.0f);
    points[1] = new Point3f(0.2f, 0.2f, 1.0f);
    points[2] = new Point3f(0.2f, -0.2f, 1.0f);
    points[3] = new Point3f(-0.2f, -0.2f, 1.0f);
    QuadArray planeVertices = new QuadArray(4, QuadArray.COORDINATES|QuadArray.COLOR_3);
    planeVertices.setCoordinates(0, points);
    Color3f colors[ ] = new Color3f[4];
    for(int i = 0; i < colors.length; i++){
    colors[i] = new Color3f(1.0f, 1.0f, 0.0f);
    planeVertices.setColors(0, colors);
    Shape3D plane = new Shape3D( );
    plane.setGeometry(planeVertices);
    plane.setAppearance(ap);
    ********************

    I just found that if I leave the colors undefined for the plane (a Shape3D); that is, remove the QuadArray.COLOR_3 flag, then the transparency works. Unfortunately, in that case, I can only have a white plane, and there's still no way for me to add color to the plane with its transparency maintained.
    The right way seems to be using QuadArray.COLOR_4 flag instead. But somehow I can't get it to work. That is, no matter what value I am using for the Alpha value, the plane just remains opaque.
    Can anyone give me some suggestions? Thanks a lot!
    Message was edited by:
    senore100

  • Photoshop CC Ground Plane grid spacing/density settings?

    I was working with some extruded text (just learning 3D aspects of PS) and it appeared that my ground plane disappeared. So while I can see the extruded text and manipulate it and the camera as expected (normally) the ground plane appears to not be there.  However upon closer inspection it looks as though the density of the ground plane grid spacing increased significantly (or perhaps got very small?). In the secondary view window while viewing the TOP view, the underlying grid shows, but is very dense, that is it's very closely spaced. It kind of looks like tweed.
    I was thinking that I somehow unwittingly screwed up some setting in the document so I created a new document from scratch. I then created a sphere mesh from preset and the grid spacing didn't change from the previous document. It behaves as described above.
    Any ideas/suggestions?
    Thanks

    Chris,
    Thanks for the response... I have a GeForce GTX580 card (Win 7 on an Alienware Aurora with 24GB RAM). The thing is, it was working fine at some point... just haven't used 3D in PS CC in  a while so I'm not sure which update may have caused an issue. All other 3D features work fine so I can't imagine why displaying the ground plane would be that taxing on my system so as to be faint/nearly invisible. Not the biggest issue in the world but I kind of got used to seeing it and it's throwing me off a bit

  • Fixed Planned Orders cannot be changed anymore

    Hello Experts,
    we have seperated the fixed planned orders  from the planned orders by creating a new category group which contains
    only EE fixed, leaving EE unfixed in Category Group FP1.
    We then assigned the fixed orders to a new KF. Now we have the issue that we cannot change the value of the fixed orders anymore. The new KF is automatically set as "no entry allowed". How can I change this and why is it automatically set to "output only" Keyfigure?
    Thanks a lot for any ideas.
    BR Julia

    Here you go.
    Create copy of standatrd category group CO8 - say ZO8 assign only category EE and fixed order qty only F.
    This means this category group will have on EE fixed order.
    Create one KF -lets say ZKF1 in SNP PA and assign KF category grp ZO8.
    Now, import this KF in planning book and data view where user will fix the SNP planned order.
    Make this KF invisible.
    Write a macro to change the cell color of Planned order KF if ZKF1 value is more than Zero.
    Hope this helps.
    Let me know if you need further info.
    Vipul

  • Invisible ViewStack Items + Binding Issues

    Here is a simplified version of my issue:
    I have an application with a ViewStack.
    I have an ArrayCollection (called pages) in which each item holds data for a corresponding item in the ViewStack.
    I have a variable (called currentPage) that points to the ArrayCollection item for the currently visible ViewStack item.
    Finally, in each ViewStack item, I use bindings to set the values of the UI component properties.
    Every ViewStack item has a title and this title is set by:
        <mx:Label id="pageTitle" text="{wseModel.currentPage.title}"/>
    This works just fine. I know that when the visible ViewStack items title reads Title A all of the invisible ViewStack items titles also read Title A (even if their corresponding ArrayCollection item title isn't Title A). That's okay though, because all of the ViewStack items have a Label whose text is set to {wseModel.currentPage.title} and I don't care if the invisible ViewStack items show the wrong title while they're invisible.
    I run into problems in places where  the ViewStack items data/components don't match up so well, however. For example, each page has multiple states. But, pages have different numbers of states and different names for their states. Each ArrayCollection item has a format property which holds the value of that pages state. So when I use something like:
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:v="views.*" xmlns:comp="components.*"
         currentState="{wseModel.currentPage.format}">
    if wseModel.currentPage.format is equal to format1 and an invisible page in the ViewStack doesn't have a format1, I receive the error "ArgumentError: Undefined state 'format1'....."
    I resolved this problem with the following:
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:v="views.*" xmlns:comp="components.*"
        currentState="{this.visible ? wseModel.currentPage.format : ' '}">
    Even though this works, I know it's a big hack. And, like I said, this is the simplest of this type of error that I encounter. In other places, I've had to go so far as to do things like, if (this.parent.visible) { ...
    Does anyone know how I can go about maintaining my bindings while not running into problems with invisible ViewStack items? Or, do I need to do something like remove my bindings and set values in a show handler on my ViewStack items.
    Thanks in advance for any help!

    Hi, William.
    First, see if your computer's serial number is in the range specified in the "iMac G5 Repair Extension Program for Video and Power Issues" document.
    As far as general iMac G5 troubleshooting goes:
    1. The first thing I would suggest is ruling out potential hardware problems. Run the Apple Hardware Test that came with the computer. Instructions for doing so will be found in the hardcopy manual that accompanied your computer. The Apple Hardware Test will check your video card. For additional details, see my "Apple Hardware Test" FAQ.
    2. Check the diagnostic LEDs, a feature of your iMac G5. See "About the iMac G5 diagnostic LEDs."
    3. If your iMac G5 will not turn on, see "iMac G5: Troubleshooting when your computer won't turn on."
    4. See also the iMac Service & Support site.
    5. Check the iMac G5 Discussions for similar reports from other users.
    6. As a general check, run the procedure specified in my "Resolving Disk, Permission, and Cache Corruption" FAQ. Perform the steps therein in the order specified. In your situation, I'd consider it a long shot, but it will determine if there are any issues with some "common troublemakers."
    7. If the computer is either under warranty or covered by an AppleCare Protection Plan, don't hesitate to take advantage of your warranty and contact AppleCare.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • How to make jButton invisible but workable in Eclipse Visual Editor

    SOS, to all Programmers, thx for your attention i recently encounter a problem when i do my codings in eclipse visual editor, i can;t seem to make my jButton invisible, i plan to
    insert image then put jButton over them, make them invisible so i can just click the image and go elsewhere (E.g. a pop up box or link), but i try all ways and it can't work, plz spot the solution for me. thanks in advance.

    You can't click an invisible button, so you'll have to put the image on the button (as icon) or add a MouseListener to whatever component you're using to show the image.

Maybe you are looking for

  • Error while uploading the PAR file of Production to UAT-

    Hi Experts, Could you please help me out in resolving the error which i'm facing while uploading the PAR file. 1. I have downloaded the par file from the production, imported to my NWDS. 2. Made changes to my  HeadiView.jsp 3. I want to test my imple

  • Been trying to get new speed from 8 Meg since Febr...

    In December we received a letter stating our bt contract was running out, we phoned up to renew our contract, whilst talking with the sales person we also talked about our exchange that was being upgraded in February to 21CN WBC. They told us that re

  • Purchase order creation on an hourly basis

    Hi all, My reqmnt is to create purchase orders for shipments on an houly basis . I have one pgm which creates purchase orders based on shipment cost numbers or shipment cost type . So I need to know how to include date and time of cost document creat

  • Outlook connector problem with Calendar server

    Hi I wanted to use MS outlook as the email client for my sun messaging sytem. For this I have downloaded one program, when I run it , it has created a configurable program folder. Through admin program, I have created one file named xyz.ini , in whic

  • How do I protect intellectual property in my PDF?

    Situation: I have several (qty 50-100) PDF documents that get released to customers as part of their final product.  I need to protect these documents, and prevent others from copying and/or uploading PDFs into CAD programs. One way is to save it as