HELP ! Cannot read normals from a Sphere Object !

Hi everybody! Can anyone help me please ? I�m trying to get the coordinates from a Sphere object, and I can�t read them! I�m implementing the Ray Tracing algorithm, and I need to change the color of a certain pixel on the Sphere. I can get the GeometryArray from the Sphere, but I get a "cannot set cabalility bits on a live or compiled object, bla, blah hhh" message, when I try to set the "ALLOW_NORMAL_READ" permission. Thanks for any help.

i would set the capabilities (ALLOW_COORDINATE_READ, ALLOW_COORDINATE_WRITE,ALLOW_NORMAL_READ,ALLOW_NORMAL_WRITE) directly after creating the sphere, before adding to the content branch.

Similar Messages

  • Unable to read payload from the message object in XI

    Hello Guys,
    Please help me about my problem in XI version 7.0.im quite new here.
    im trying to test my config but error message occured. "Unable to read payload from the message object"
    when i checked the comm channel this is the error message :
    Error during database connection to the database URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor': com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "TRAVEL:SelectMethod=cursor" requested by the login. The login failed.'
    when i tried my login in sql it works...but in this message the login is failed..what shall i  do..
    Please advice.
    Thanks in advance
    aVaDuDz

    Hi
    Check with the connection string & Authorization of user you have used.
    MSSQL string is
    jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
    While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
    Thanks
    Gaurav

  • APP-FND-01242: Cannot read value from field Error in Forms

    Hi,
    I have a form which is having a navigation
    Setup -> Codes,
    as soon as the Code page has open, am pressing Cntrl + F11, and am getting the
    below error.
    APP-FND-01242: Cannot read value from field COMBO.ENABLED_FLAG
    Cause: The field COMBO.ENABLED_FLAG could not be located or read.
    Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field name string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field.
    when am clicking on the button 'Ok' am getting a value one by one.
    am a newbie to forms, please let me know how to solve this error in details
    steps that helps me

    Ask your question in an eBusiness-suite related forum, maybe here OA Framework

  • EP5: Cannot read license from lockserver

    I hope someone with experience from the (good) old days of EP5 is listening.
    We restored a clustered environment on different hardware and tried to get all components back connected.
    (as a basis we used Backup_Restore_EP5_V30.pdf)
    During the startup we receive next message in the console_logs on the nodes: "Cannot read license from lockserver: Connection refused"
    Has anyone faced the same error or the same situation?
    Any help more then welcome!
    Grtz,
    Geert

    Keith,
    We started from scratch and added this information to the HOSTS file,with success!
    We now get the server up and running and can login.
    We see a list of our roles but the iViews,pages cannot be found.
    We receive now next two error in the logs:
    Console_log_error:
    java.lang.ClassNotFoundException: com.inqmy.services.dbms.server.DBMSServiceFrame
    console_log_output:
    SystemLandscapeService: getEPSystem(SAPPortals_CommunicationFramework) failed.
    Man busy and stressy times
    Regards,
    Geert
    Message was edited by: Geert Wouters

  • Unable to read payload from the message object

    Hi
    I have a scenario where i am send request to http receiver and getting the response. When I am testing through WFETCH it is working fine. But when i am testing through XI I am getting the follwoing error
    Unable to read payload from the message object
    I have tested the XI payload in mapping. I have done all kinds of testing but it is still giving the same error.
    One more strange thing is
    I have done one BPM scenario where Data is coming from Source to BPM( which is asyn) and then from it will go from BPM to Target (which is sync) But when I am checking the SXMB_MONI... it showing the messages like this
    Source to BPM
    Target to BPM
    Target to BPM.
    But i think it should show message like
    Source to BPM
    BPM to Target
    Target to BPM
    why i am getting the flo

    Hi
    Check with the connection string & Authorization of user you have used.
    MSSQL string is
    jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
    While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
    Thanks
    Gaurav

  • Gurus..need help in reading data from virtual infocube

    Gurus,
    I have to read data from an virtual infocube...I am trying to use FM RSDRI_INFOPROV_READ to read data but it doesn't work..
    I am doing exactly what has been done in the demo program RSDRi_INFOPROV_READ_DEMO...
    Please help me...its really URGENT...
    Thanks
    sam

    Check out this thread....
    must be helpful
    Re: Read data from 0BWTC_C02 via ABAP

  • My windows friends cannot read attachments from my e-mails

    My Windows friends cannot read attachments from my e-mails

    If the attachments are common files that your recipients should be able to read (PDF, DOC, TXT) then what is the setting when you select the menu command Edit > Attachments > Always Send Windows-Friendly Attachments (checked or unchecked).
    If it's unchecked you should check that setting and retry.

  • IPod nano help - "cannot read contents of..."

    Hi,
    I have a new iPod Nano and it currently has no songs on it. Whenever I plug it in, this message comes up on iTunes: "Cannot read contents of the iPod "DON". Use the iPod Updater to restore the iPod to factory settings."
    I have two iPods, one is my new nano and one is a regular iPod. My regular iPod works fine on iTunes, but I just can't seem to get my iPod Nano to be recognized by iTunes. Any help is appreciated. Thank you.

    I actually tried via sharepod, and iexplorer, but it still had the error telling me theres no data on the device the ipod on its own functions normally and still has all it's data on it. the only last thing i could come up with is redownload all my songs its taken me a long time but i hope restoring it will solve my problem!

  • Mail cannot read data from server

    Hello!
    I'm fairly new to Macs, having used a PC for 12 years, and am still getting used to it's little quirks.
    I now have a problem where one of my email servers (a POP account) makes Mail (and Thunderbird for that) come up with;
    The attempt to read data from ** has failed
    Now, I know that the log on info is OK, as using my Webmail account, on the same iMac, accesses the mail fine. I've emptied the relevant mail account, both locally and on the server, removed the local settings and reset them using info on various Mac help sites.
    Nothing that I know of has changed, I've ran and re-ran the reset permissions tool.
    Can anyone give me any help?
    Intel iMac 20" Duo 2ghz   Mac OS X (10.4.8)  

    Hello, and welcome to the Discussions.
    Has this POP account ever worked in Mail? Is the POP3 server in question unique to this one account, or do you have other accounts from the same provider, using the same POP3 server as the Incoming Server?
    Ernie

  • Cannot read content from ipod...

    my 30gb ipod was playing on my girlfriends laptop, then she brought the laptop into the kitchen to play and when i looked up, there was music or videos. But there was my photos on the ipod. My ipod is on manually manage and it says that my ipod has the regular amount of space left that it had before so I dont' think the music and videos are gone but if I restore it then I can't keep my stuff. Sorely confused. Tried to remap the drive through the disk management..itunes recognizes that the name of my ipod cant be read but then it tells me to restore.

    Have you had a chance to look at this troubleshooting page? It may be of some help: "Disk cannot be read from or written to" when syncing iPod

  • Need help in reading data from Database.

    Hi experts,
    I have created a custom smartforms and custom print program. In my print program i have read all the data and populated the internal table and i am able to display the data in the smartform output.
    I'm using Tcode me23n to print preview the form. i have to read the "text" tab from the me23n tcode using FM  "READ_TEXT". The data is getting populated into an internal table. I coded these statements in Initialization tab in global definition.
    Now my problem is ..... Can anyone tell me how to display the data into the forms.
    please help.
    Thanks

    Follow below example to using FM 'READ_TEXT'
    DATA  BEGIN OF i_tlines OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA  END   OF i_tlines.
    DATA: w_textname(70) TYPE c.
      w_textname = vbdkr-vbeln.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                        = sy-mandt
          id                            = 'Z006'
          language                      = 'E'
          name                          = w_textname
          object                        = 'VBBK'
        TABLES
          lines                         = i_tlines.
      IF sy-subrc = 0.
        READ TABLE i_tlines INDEX 1.
        t_in-m1 = i_tlines-tdline.   "Now t_in_m1 will have the value
      ENDIF.
    Regards,
    SaiRam

  • Need Help in reading data from URLConnection in servlets

    hi i created GUI which sends d username n password to the servlets via URLConnection.n am sending the same to Server program via sockets.but when i read d data in the servlet am getting only null value...need help here....
    This is my button's ActionPerformed code
    private void LoginActionPerformed(java.awt.event.ActionEvent evt) {
    String uname = UserName.getText();
    char [] pwd = PassWord.getPassword();
    String pword = new String(pwd);
    try
    String url = "http://localhost:8080/MIMServlets/hit";
    URL ucon = new URL(url);
    URLConnection conn = ucon.openConnection();
    conn.setDoOutput(true);
    conn.setDoInput(true);
              conn.setUseCaches (false);
    conn.setDefaultUseCaches (false);
    conn.setRequestProperty("Content-Type", "text/plain");
    System.out.println(uname);
         System.out.println(pword);
         PrintWriter out = new PrintWriter( conn.getOutputStream() );
    BufferedReader in = new BufferedReader(
    new InputStreamReader(
    conn.getInputStream()));
         out.print(uname);
    out.print(pword);
         out.close();
    String inputLine = in.readLine();
    Status.setText(inputLine);// TODO add your handling code here:
    }catch(MalformedURLException e)
    System.out.println("Exception"+e);
    catch(IOException e1)
    System.out.println("Exception"+e1);
    This is my Servlet code........
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class MIMServlets extends HttpServlet
    PrintWriter out,out1;
         BufferedReader in,in1;
         String host = "localhost";
         String fromServer = "";
         String username,password;
         int a;
         public void init()
    out=null;
    out1=null;
    public void doPost(HttpServletRequest request,HttpServletResponse
                   response)throws ServletException,IOException
              response.setContentType("text/html");
              out=response.getWriter();
              try{
              InetAddress address = InetAddress.getByName(host);
    Socket theSocket = new Socket(address, 4444);
    out1 = new PrintWriter(theSocket.getOutputStream(),true);
    in = new BufferedReader(new InputStreamReader(theSocket.getInputStream()));
    in1 = new BufferedReader(new InputStreamReader(request.getInputStream()));
              String username = in1.readLine();
              String password = in1.readLine();
    System.out.println(username);
              System.out.println(password);
    out1.println(username);
              out1.println(password);
              out1.println("Yahoo");
              out1.flush();
    while ((fromServer = in.readLine()) != null)
    out.println("From Server: " + fromServer);
              break;
         out1.close();
    in.close();
    theSocket.close();
         }catch(IOException e)
    System.out.println("Exception");
    System.exit(-1);
              public void destroy()
         out.close();
    thanks in advance.......

    Follow below example to using FM 'READ_TEXT'
    DATA  BEGIN OF i_tlines OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA  END   OF i_tlines.
    DATA: w_textname(70) TYPE c.
      w_textname = vbdkr-vbeln.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                        = sy-mandt
          id                            = 'Z006'
          language                      = 'E'
          name                          = w_textname
          object                        = 'VBBK'
        TABLES
          lines                         = i_tlines.
      IF sy-subrc = 0.
        READ TABLE i_tlines INDEX 1.
        t_in-m1 = i_tlines-tdline.   "Now t_in_m1 will have the value
      ENDIF.
    Regards,
    SaiRam

  • Help-cannot download podcast from itunes to ipod.  error msg

    I have the IPOD video 30gb, 5th generation, and have itunes 7.02..
    I am able to download the podcast from itunes into my library, but am unable to download it onto my ipod. an error msg pops up:
    "...was not copied to the IPOD because it cannot be played on this IPOD."
    I've searched and searched for an answer to this, and it appears to be a somewhat common problem with the itunes upgradeto 7.02
    does any one have a solution?!?
    HELP! (i'm an ipod newbie-and this is driving me absolutely MAD!!)

    OMG-i just figured it out!!
    *first of all, i came across this in the itunes store help area-->
    "Why won't some video podcasts play on my iPod?
    Some video podcasts, while playable in iTunes, are encoded in formats that are not compatible with iPods. To convert those videos so that they are iPod-compatible, highlight the video in iTunes, right-click on the selection, and choose "Convert Selection for iPod". iTunes will automatically re-encode the video for playback on iPod. Go to the Movies section of your Library to find and play the converted episodes.
    *i had converted the podcast previously, but i had just continued to try and transfer it from the podcast section rather than going to the movie's section, and dragging it from there. once i did that, it worked!
    hope this helps anyone else out there, as i did come across a few other queries...

  • Help with Reading values from static table in a .pdf file

    Hi guys,
    Pls try to clear this doubt of mine.
    I basically have 2 files. Both are .pdf extension and they have tables in them. I need to compare certain values in one file with the corresponding values in the other table in the second file.
    I need to do this programatically in c# . net
    I have tried using packages like pdfbox and stuff which convert the pdf file into text. But cant I get the table as an object or something using which I can access the required rows and columns?
    Also, these tables are static information. They are not a part of a form or anything like that.
    Please help me with this.
    Thanks.

    The document is corrupt. Try a backup.

  • Reports server Cannot read files from mapped drive

    Hi,
    Am trying to run a report from a network mapped drive under WinNT 4.0 through report server.
    I get "REP-0110 Error opening or reading file" error message. After looking up the help on error, I find:
    1. The file being accessed does exist
    2. The login account has full privileges
    with the file/directory/drive in question.
    If the report to be run is on a local drive,
    everything is fine.
    Can anyone help me asap.
    Thank you
    Sundar
    null

    hello,
    there are multiple things to keep in mind :
    1) if you are using a mapped drive :
    mapped drives are on a per-user-basis. the reports-server-service is running as a system-service by default and will not have the same mapped drives as the logged on user. in fact it fill have NO drives mapped.
    what you could do is to use the UNC-path like \\servername\share\filename to adress the file
    2) problems with UNC
    there are some known problems using UNC to access files on remote machines in some versions of reports. pls check with oracle support services in case this causes problems.
    regards,
    the oracle reports team

Maybe you are looking for

  • I created a slide show using my photos on iphoto can I burn this to a dvd with the music in the backgroun

    I created a slide show using photos from iphoto and I was able to put it to music to view it on my mac. I am trying to figure out a way to download it or burn it to a DVD with the music in order that it can be given as a gift. Also is there a way to

  • Style Sheet List

    Is there a way to create a list of style sheets from the Style Sheet Panel? I need a separate file of all my style sheet names.

  • Legacy adjustment - urgent

    < MODERATOR:  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. > Hi all, our old legacy asset application created several mistake in depreciation run. Before SAP

  • UIScrollView content always at the top-left corner

    I have a UIScrollView and a UIImageVew inside it. it works good but the problem im having now is when you zoom out. right after you zoom ... the inner content imageView scrolls to have its top left corner at the (0,0) position of the UISCrollView. Ho

  • What causes a battery to swell

    My macbook is getting very hot underneath, too hot to hold on my knees, and the battery has swollen.  Which problem caused the other which and what do I need to do?