IndexedGeometryArray is white and not accepting material

My indexed geometry array as specified in the code looks white and is not accepting the material. Please Help.
Appearance appearance = new Appearance();
Color3f ambientColor = new Color3f(0.8f, 0.9f, 0.2f);
Color3f emissiveColor = new Color3f(0.0f, 0.0f, 0.0f);
Color3f diffuseColor = new Color3f(0.9f, 0.5f, 0.9f);
Color3f specularColor = new Color3f(0.9f, 1.0f, 0.7f);
float shininess = 0.1f;
Material material = new Material(ambientColor, emissiveColor, diffuseColor, specularColor, shininess);
material.setLightingEnable(true);
appearance.setCapability(Appearance.ALLOW_MATERIAL_WRITE);
appearance.setPolygonAttributes(new PolygonAttributes(PolygonAttributes.POLYGON_FILL, PolygonAttributes.CULL_NONE, 0.0f));
appearance.setMaterial(material);
indexedGeometryArray.setCapability(IndexedQuadArray.ALLOW_COLOR_WRITE);
indexedGeometryArray.setCapability(IndexedQuadArray.ALLOW_COLOR_INDEX_WRITE);
GeometryArray geometryArray = indexedGeometryArray;
Shape3D shape3D = new Shape3D(geometryArray,appearance);
objRoot.addChild(shape3D);
Cone cone = new Cone(1.0f, 1.5f, appearance);
objRoot.addChild(cone);

I must have used a normal generator

Similar Messages

  • HT204053 i changed my email address (apple id) on my pc, but now my ipad is asking me for my password with the old email address...and not accepting the old or new password.how do i change it/sync it?

    I changed my email address (apple id) and password on my pc, but now my ipad mini icloud is asking me for my  icloud password with the old email address and not accepting the old one or the new one..how do i change it / sync it?

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, and your old ID is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I have iOS7 on my iPhone4. I turned on the Voice Over option and now my phone is not working at all. At first it was freezing and not accepting any commands. Now all I have is a blank sceen. I can't get back into it. Any ideas what happened here?

    I have iOS7 on my iPhone4. I turned on the Voice Over option and now my phone is not working at all. At first it was freezing and not accepting any commands. Now all I have is a blank sceen. I can't get back into it. Any ideas what happened here?

    Hi Jeffny01,
    If your iPhone is not responding, you may find the following article helpful:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Regards,
    - Brenden

  • Silver Shuffle - Switch Panel Area Is White And Not Green As Apple Adverts

    Hi everyone
    Just got the New Silver iPod Shuffle.
    Have a question about the top of the ipod - where the switch is, the colour is White and not Green as shown in the Apple store Pictures. Any idea?
    I wouldn't like to think its a fake. Reason asking is I have already had to send one back as it looked liked it had been tampered with - had loads of scratches on the back and the cable was missing.
    Look forward to hearing feedback on your purchases.
    Best regards and thanks C :0)

    I Feel a Plonk
    Thanks for that

  • How do I get the color of the address, in the address box, to be all black on white, and not part of it to be gray on white, and part to be black on white?

    Right now, the address line in my address box, at the top of the page, begins "https://support", all in light gray, followed by "mozilla.com", in black, followed by "/en-US/questions/new?product=.......etc.", all in light gray on a white backround, so it is almost unreadable. Why did this start happening, and how do I change this, so that the address is all black on white, and not half gray and half black?

    You can set the pref <b>browser.urlbar.formatting.enabled</b> to <i>false</i> on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • Assignment field in FB03 is updated with a TM PO, and not the material PO

    Hi Experts,
    I am facing an issue.
    Issue: The assignment field in accounting document generated during GR is updated with the TM PO number(Trade PO) and not the Material PO .
    this happens while Posting goods receipt in VL32N tcode.
    Please let me know what can be the issue.
    Thanks and regards,
    Meenakshi Raina

    Everytime we create a TM PO , the error occurs in account assignment the first time you do the Good issue.
    If you reverse the document and repost the Good Issue it works the correct way

  • Exchange on Local LAN prompting password and not accepting

    I have users that have Exchange email account setup on their iPad/iphone(ios5,6,8) (Wi-Fi only) and it works fine when they are away from the company. When they are connected to the companies Wi-Fi and is on the same local subnet as the Exchange server they can't connect to the server. They receive this error "Password is not correct. Enter a password for Exchange account" We tried to enter the password multiple times in multiple devices but doesn`t accept. Does anybody have any ideas?
    -Exchange 2013
    -DNS win 2012, We have DNS records for local and global domain names.
    -We tried with iphone 4s, Ipad air2, iphone 5
    -We don`t have any problem with Laptops (win 7). They are using Outlook anywhere settings, too
    Thank you very much in advance.

    Sometimes they work fine, doesn`t ask password but some days it is asking password and not accepting.

  • Exchange on Local LAN prompting password for IOS devices and not accepting

    Hi,
    I have users that have Exchange email account setup on their iPad/iphone(ios5,6,8) (Wi-Fi only) and it works fine when they are away from the company. When they are connected to the companies Wi-Fi and is on the same
    local subnet as the Exchange server they can't connect to the server. They receive this error "Password is not correct. Enter a password for Exchange account" We tried to enter the password multiple times in multiple devices but doesn`t accept. Does
    anybody have any ideas?
    -Exchange 2013
    -DNS win 2012, We have DNS records for local and global domain names.
    -We tried with iphone 4s, Ipad air2, iphone 5
    -We don`t have any problem with Laptops (win 7). They are using Outlook anywhere settings, too.
    Thank you very much in advance.

    Sometimes they work fine, doesn`t ask password but some days it is asking password and not accepting.

  • Iphone stuck in voice over mode and not accepting passcode

    help, my iphone is stuck in voice over mode and not accepting pass code.

    If you have Siri set to work while the phone is locked, you can activate Siri by pressing and holding the Home button and saying. "Turn off VoiceOver."

  • Help help - my MacBook Air is in sleep mode and not accept my password

    My macbook air is in sleep mode now but i'm not able to open it!!
    the password dialogue would not accept any entries. It just beeped away at every key stroke but took nothing.
    I have not changed my password!

    The box just shakes when I type in the password. it doesn't give me the option to use guest login as I have changed the login setting to single user.

  • HT1848 when i go to the file and get the devices, i am unable to sync or transfer purchases or anything in that column. It appears white and not the usual black writing. What is the problem ?

    I am unable to sync and transfer purchased items to my computer as i am unable to open the the transfer tab (it is white instead of the usaul black writing). What is the problem ? (The itunes is authorised for my computer.)

    If this is a new computer you need to authorise it.  In itunes click on STORE and hten authorise this computer.
    After this if you cannot find your phone read these articles
    Phone not recognised in itunes
    device not recognised by iTunes on PC  or  device not recognised by iTunes on Mac

  • Why Does My DVD play in Black and White and Not Color??

    Hello,
    I made a DVD of some video clips that I shot in color. The DVD plays fine on my computer (it plays in color), and it plays on the TV except it shows up as black and white. Other DVD's play just fine in color on the TV. What is the problem? Thanks!!!

    The only two reasons I can think of that something would play in black and white are:
    (a) you are using an S-video connection and there's a problem with a connector or cable. If the connection is loose or broken, you can see an image but it will be black and white.
    (b) viewing a PAL disc on a NTSC TV... I've not tried it but I thought that you can sometimes see the image but that it is black and white. There would be other problems with the image too, though, not just a lack of color.
    What make and model of player are you using? What kind of TV? Are you using composite or s-video or component connection? Are you using DVD-Rs or something else (-RW, +R, +RW, dual layer)?
    Seriously, I can think of no reason why it would display in color on your computer, but not on your TV.

  • Itunes is telling me my computer is not authorized and not accepting apple ID

    Recently, I've had problems with itunes popping up a message saying that the song I am trying to play (on my mac) is not accessible because this computer is not authorized.  Then, the apple id that pops up has a misspelling in it and entering the correct password and correction to the misspelling, it still does not work.  Then, I tried deauthorizing the entire computer and reauthorizing it.  Says it is authorized, however, still no access to that song.  Oddly, the help menu that pops up tells you about deauthorizing/authorizing and such, but if you click on any other area of the help menu it is "not currently available".  Makes me suspicious that I have some malware thing.  Paranoid?  Can anyone help?

    Sorry, I don't have a response. I just wanted to say that I have the exact same problem. It started about a week ago and a number of songs that I've purchased have been deleted from my ipod when I sync.
    It's very frustrating.

  • My itunes store home screen is white and wont accept my login?  I'm on a mac

    I can't get the itunes store to recognize my apple Id or login and the home screen is just blank white?  my apple id does however show in the top right corner?  Anyone have any ideas?

    Quit iTunes. Open a Finder window. Click on "Go" in the menu bar. Hold down the option key and the Library folder pops up. Click on that. Go to the Preferences folder. Find and move the file "com.apple.iTunes.plist" to the desktop. Open iTunes (iTunes will behave like you're opening it for the first time but you'll have all of your contents). Try the store again.

  • Why is the password box jiggling and not accepting my correct password?

    I just bought the macbook air and was running setup. The registration failed, as well as the migration from my other iMac, however setup continued. When it was finished, the macbook air restarted and began with my profile and asked for my password. I know I typed it in correctly and that it is the correct password, but all that happens in the password box jiggles and it won't accept my password to log me in.
    Help! How do I get around this? I'm unable to just reinstall everything to start over because no software came with the macbook air.
    I haven't been able to even use the macbook air yet and am tempted to return it if I can't even get in.

    Here's how to reset the password to something you know.
    http://reviews.cnet.com/8301-13727_7-20087723-263/how-to-run-the-password-reset- utility-in-os-x-10.7-lion/
    Regards,
    Captfred

Maybe you are looking for

  • Terms of payment - OBB8

    Hi Experts, My issues is creating terms of payment for vendor 1. 1% cash discount if paid within 60 days 2. no cash discount if paid within 61 to 65 days and bill should not show as overdue  till 65 days 3. no cash disocount if paid after 65 days and

  • Reject columns which exceed a particular length during OWB flat file import

    Hi, I have a file in csv format. This file has a lot of columns out of which i need to use only a few. I created a file in OWB using the given csv file using the file import wizard. I am using this file to create an external table. The import is work

  • Sql Monitor is not working for forms10g

    Hi All, Sql Monitor is not working for forms10g.How can i solve this problems. Regards Gopinath M

  • Error found when upgrading from11.5.10.2 to R12.1.1 with the DB R 11.2.0.1

    Hi All, I have following the "Upgrade Advisor: E-Business Suite (EBS) Upgrade from 11.5.10.2 to 12.1.3 [ID 269.1]", and select the option 3 Configure --> Preform Upgrade on Test System --> Upgrade Test Environment 12.1.1 --> Perform Upgrade --> Apply

  • Is it possible to recover an IMS DB Backup to Oracle

    I have an IMS DB Backup file which I have been asked to see if we can recover. Not having IMS, my goal is to somehow recover to Oracle 11g R2. Are there any resources where I can figure out if this is even possible, and what that process may be?