Java3D: 2D co-ords to 3D co-ords

Hi
I'm new to Java3D and am writing a program where it displays a cylinder at specified points. I have also implemented MouseListener for mouse control. The problem is the MouseListener is on different co-ordinates from what the Canvas3D is using, To position cylinder on screen I'm using a different co-ordinate system than the mouse.
Any idea where I'd get the mapping from? Which are of Java I need to look at / read?
Please advise me.
Andrew

Right-click the Pixel Measurement input and select create constant. This will paste an empty array of measurement parameters on your diagram. Click and select the First pixel X  and First pixel Y parameters, as shown below.
Message Edité par chilly charly le 01-31-2009 11:53 AM
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        
Attachments:
template particle analysis_BD.png ‏3 KB

Similar Messages

  • Unable to reinstall ORDS Beta 3.0 after uninstalling it

    Tried to reinstall ORDS Beta 3.0 after uninstalling it but got below error. Pls provide clean steps to reinstall. Thx.
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at oracle.dbtools.jarcl.Entrypoint.main(Entrypoint.java:58)
    Caused by: java.io.IOException: Error executing script: ords_create_rest_users.sql Error: ORA-00922: missing or invalid option
    Error starting at line : 48 in command -
    create user ORDS_PUBLIC_USER identified by xx account unlock default tablespace USERS temporary tablespace TEMP
    Error at Command Line : 48 Column : 54
    Error report -
    SQL Error: ORA-00922: missing or invalid option

    Can you check the ordsuninstall_*.log file located in the logs folder if it contains any errors?
    Try it again using the instructions in this link below to uninstall/reinstall ORDS:
    http://docs.oracle.com/cd/E56351_01/doc.30/e56293/install.htm#CHDIHIEC
    Liz

  • Issue with Ord Start Date

    Hi,
    I am having issue with Ord Start Date.
    When i create XYZ Asset now when i do the acquasation for that new asset. Example: Using FB01 i enter todays date and i do the posting.
    Now when i go to DEP Area TAB for the DEP Key (M200) - The Ord Dep Start Date is 15 Dec 2010.
    For this DEP Key Period Control Methods (T code - AFAMP) - Acquisation Entered is ( 6 that is - at the start of year) and the Period Control is ( T code - OAVS) (4 that is - First year convention at half year start date).
    Our client is using the fiscal year as 1 June 2010 to 31 May 2011.
    So when i do acquistion for the asset as per the period contol the Ord Dep Start Date should be 1 Dec 2010, but here it is talking 15 Dec 2010.
    Why is system talking 15 days more.
    Regards.

    Hi
    Which Fiscal year variant are you using??
    Did you maintain it in OAVH? Copy the existing entry in OAVH for K4 to your Fisc Yr var and try again
    And also, 04 does not figure for Acquisitions in AFAMP under 0004.... Whatever you specify in OAVH must also be a part of AFAMP
    Regards
    Ajay M
    Edited by: Ajay Maheshwari on Oct 28, 2010 2:31 PM

  • How to capture Ord-related bill.st. in a sales document item

    Hi Experts,
    Just want to know how will i able to capture the value of the Ord-related bill.st. in a sales document item.
    Here's to give you example.
    - Go to VA03 and type in a credit memo req.
    - Double click on first item material.
    - Go to "Status" tab and you will see the "Ord-related bill.st. under Processing status.
    I want to capture the value found to this and display it in my report but I have no idea what table maintain this.
    Hope you can help me with this ASAP... Sorry for the rush..
    Regards,
    Yu

    Hi Both,
    Thanks for this! I already saw this one but I'm doubting at first if this is correct.
    Nevertheless, thanks for all your answer. =)
    Appreciate your help! =)
    Regards,
    Yu
    Edited by: Aura Yu on Sep 16, 2010 12:37 PM

  • ORDS Template with parameter does not work

    Hello everybody,
    I can not get working a RESTful Service using the ORDS_SERVICES -API (ORDS version 3.0.0.343.07.58), same Query without parameter (hardcoded product_id) works fine.
    declare
    l_module_id number;
    l_template_id number;
    l_handler_id  number;
    l_parameter_id number;
    begin
    ORDS_SERVICES.delete_module(p_name => 'test_parameter');
    l_module_id := ORDS_SERVICES.create_module(p_name => 'test_parameter',
                                p_uri_prefix => '/test_parameter',
                                p_items_per_page => 10,
                                p_status => 'PUBLISHED',
                                p_comments => null);
    l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
                               p_uri_template => '/demo_product_info_10/',
                               p_priority => 0,
                               p_etag_type => 'HASH',
                               p_etag_query => null,
                               p_comments => null);
    l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
                               p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
             p_source => 'select mimetype, product_image from demo_product_info where product_id = 2',
             p_format => 'DEFAULT',
             p_method => 'GET',
             p_items_per_page => null,
             p_mimes_allowed => null,
             p_comments => null);
    /* now same result but with parameter */
    l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
                               p_uri_template => '/demo_product_info/{product_id}',
                               p_priority => 0,
                               p_etag_type => 'HASH',
                               p_etag_query => null,
                               p_comments => null);
    l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
                               p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
             p_source => 'select mimetype, product_image from demo_product_info where product_id = :product_id',
             p_format => 'DEFAULT',
             p_method => 'GET',
             p_items_per_page => null,
             p_mimes_allowed => null,
             p_comments => null);
    l_parameter_id := ORDS_SERVICES.add_parameter(p_handler_id => l_handler_id,
                               p_name =>  'product_id',
             p_bind_variable_name => 'product_id',
             p_source_type => 'URI',
             p_param_type => 'INT',
             p_access_method => 'IN',
             p_comments => null);
    commit;
    end;
    The first template works fine:
    http://localhost:8080/ords/xxx/test_parameter/demo_product_info_10/
    shows a jpeg image of a wallet.
    The second template does not work:
    http://localhost:8080/ords/xxx/test_parameter/demo_product_info/10/
    fails with error:
    mapped request using: BasePathMapper [basePath=/xxx/] to: SCHEMA:apex|XXX
    Choosing: oracle.dbtools.http.dispatch.DispatchMetaData as current candidate with score: MetaDataScore [score=0, matchedMethod=  GET: {10299, false}
      common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
    , matchedPattern= /test_parameter/demo_product_info/{product_id}
    common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=null, pagination=null, requiresPrivilege=null, transport=null]
    methods:
      GET: {10299, false}
      common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
    stack trace:
    oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: INT
    at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
    at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
    at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
    at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:51)
    at oracle.dbtools.http.cors.CORSFilter.doFilter(CORSFilter.java:35)
    at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
    I changed the add_parameter-call p_param_type => 'INT' to be  p_param_type => 'STRING'
    then error remains the same and strack trace says
    oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: STRING
    at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
    at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
    Could you please confirm and fix,
    kind regards,
    Tom

    This is a guess, but I suspect that ords_services.add_parameter() is not required at all.
    Also, your URL /demo_product_info/10/ should not have the trailing slash (according to your template URI).
    For more information, I suggest you look here:
    ords.3.0.0.343.07.58.zip\ords.war\scripts\migrate\core\ords_migrate.plb
    The migration package will show what is usually done for templates that already exist within APEX 4.2. I checked my templates and the ones with URI variables {in-curly-brackets} contain no records in apex_040200.wwv_flow_rt$parameters.
    -Kris

  • Field Sales Ord. is a required field

    HI,
    While doing 412 -e movement getting this error message
    Field Sales Ord. is a required field for G/L account 1000 192006

    Hi,
    I think the order movement you have selected must have some reference/reservation with it.
    So whenever you select that particular movement, the order no. is essential.
    This particularly happens for make to order production, where order is mandatory.
    So just enter the order number in it, so the process gets completed.
    Regards,
    Siddharth.

  • As a result of qty correlation, dlv.grp 002 from sls.ord.*** will be delete

    I create a sales order with sales BOM which one component is short of stock that reserve no qty. And then I create outbound delivery, but error log happens as below and the delivery order has nothing in the item lines:
    As a result of qty correlation, dlv.grp 002 from sls.ord.*** will be deleted.
    But after creating SO, I updated the customizing of BOM material's item category, and change "create delivery group" from A to space.
    How can I solve this problem to create partial delivery order in spite of some component materials are short of stocks?

    Please check Note 350468.
    Also check the note 774347 for collective notes on BOM.
    Hope this helps
    Regards
    Sai

  • Asset issue  'Expense account for ord. dep. below zero' could not be found

    Hi All
    During asset depreciation run system prompt error message as u2018Account 'Expense account for ord. dep. below zero' could not be foundu2019 to avoid this we have retired the asset with scrapping after that we have executed the asset  depreciation, system prompt the same error message.
    To avoid the below configuration due to the reason we have retired the asset.
    Financial  Accounting - Asset accounting -  Integration with the General Ledger - Assign G/L Accounts.
    Can you please explain briefly?

    without doing any configuration setup is it possible to rectify the error message. Please explain asset retirement with scrap had done on last year, asset depreciation running in current year, why the above error message is showing, please clarify.

  • AU133 - Expense Account for Ord Depreciation could not be found for Area 58

    Hi
    I am working on ECC 6.0 Version. While running Depreciation AFAB in one our company codes, I am facing the Error No. AU133, Expense Account for Ord Depreciation could not be found for Area 58.
    Whereas there is no this error for our Book Depreciation Area 01.
    I have checked all the Accounting Assignments settings in AO90 and AO93. They are correctly maintained. I have no clues how to go about it.
    I have also checked whether the Depreciation and Acc. Dep GLs are maintained as recon account. But they are correct only.
    Please suggest any solution as we have to close the period.
    Gemini

    Same problem after upgrade from 4.6c.
    The solution was to create the depreciation accounts in the company code - kind of strange, since all depreciation postings must be made as cross-company postings to a cc that (obviously) has the account and since it worked in the old "RABUCH"- version. It seems to be ok to just create the accounts and then block them for posting (to avoid posting to them by mistake).

  • Error: GR "Goods receipt for purch. order" is not allowed (ORD 4000048)

    Hi gurus, can anyone please help me
    while doing service entry for the PO with account assignment F and Item Category D
    our client is facing the error
    "Goods receipt for purch. order" is not allowed (ORD 4000048) MSG no: BS007
    Diagnosis
    The current status of object 'ORD 4000048' prohibits business transaction 'Goods receipt for purch. order'.
    Procedure
    To process business transaction 'Goods receipt for purch. order', you first have to change the status of object 'ORD 4000048' to allow the transaction 'Goods receipt for purch. order'.
    This gives you an overview of the system and user statuses that affect the transaction. A transaction can only be executed if there is at least one status that allows it and there is no status that forbids it.
    Anyone can give the solution please
    Guruk

    hi dear all
    Really thanks for your prompt reply.
    i solved this issue, as what u said, it is not released in IW31, at the time of PR creation. So i asked the User to go to IW32 anc choose the apprpriate order and change mode and click on Flag Icon to release.
    Any way i awarded points for your support
    Thanks
    regards
    Guru

  • Issue in deploying ORDS.war

    Hi all Gurus
    I am following the steps from documents trying to setup ords  Installing Oracle REST Data Services to that I can use on listener to point to multiple instance of APEX.
    Using APACHE2.2 >> GLASSFISH 3.1.2.2(build 5) >> APEX (4.2 and above different location ) , oracle 11gr2
    Apache, GF, apex images  are on  same server ,(test env.)
    This Is what I did so far.
    1.
    java -jar ords.war configdir /u01/apps/ora/apex_lsnr/ords.2.0.7.91.15.01
    Apr 30, 2014 9:55:24 AM oracle.dbtools.common.config.cmds.ConfigDir execute
    INFO: Set config.dir to /u01/apps/ora/apex_lsnr/ords.2.0.7.91.15.01 in: /u01/apps/ora/apex_lsnr/ords.2.0.7.91.15.01/ords.war
    2. Deployed  I.war
    3.
    # java -jar ords.war setup
    Apr 30, 2014 9:55:32 AM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/apps/ora/apex_lsnr/ords.2.0.7.91.15.01/ords
    Enter the name of the database server [localhost]:10.22.8.30
    Enter the database listen port [1521]:1521
    Enter 1 to specify the database service name, or 2 to specify the database SID [1]:2
    Enter the database SID [xe]:apexsb
    Enter the database user name [APEX_PUBLIC_USER]:APEX_PUBLIC_USER
    Enter the database password for APEX_PUBLIC_USER:
    Confirm password:
    Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:3
    Apr 30, 2014 9:56:02 AM oracle.dbtools.common.config.file.ConfigurationFiles update
    INFO: Updated configurations: defaults, apex
    4. Deploying ords.war to GF
    there I get an error which is
    Error An error has occurred
    Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: oracle.dbtools.common.service.ServiceLocatorException: Error occurred while injecting: private oracle.dbtools.rt.oauth.bdb.Approvals oracle.dbtools.rt.oauth.builtin.BuiltIns.approvals. Please see server.log for more details.
    I am not able to find anything under logs.
    Kindly Help what should I do
    Many thanks.

    Turn out to be permission issue..
    Problem Resolved ,

  • Ord depreciation for fixed asset

    Hi,
    I have raised a credit memos of -$20 to bring down the value of the asset, however under the ord depreciation column is reflected as $60? I am suspecting is because the end of FY is another 3 more periods therefore the amount is multiple by 3x but i could not confirm my answer. The rest of the amount posted for external acq and transfer is reflected as the value being posted but not multiple of 3x. What is the impact or any setting that I have not done to derived such figure?
    Pls advise.
    Thank you.
    Jennifer Tan

    if the asset is retired and then you create new asset. After created, you acquire the asset and use manual depreciation to depreciate it.
    JimM

  • How do you configure ORDS in a Weblogic Cluster? Getting "This installation has not yet been configured" on second server...

    We currently have ORDS 2.0.9 installed on WLS 10.3.6 running on Windows 2008R2 behind an F5 load balancer. When the load balancer sends the connections to the server we configured first, everything works fine. When the load balancer sends the connections to the scaled out server, we get the ORDS page with "This installation has not yet been configured". The defaults.xml and related directories got created on the second server automatically. We tried changing the debug.debugger and debug.printDebugToScreen entries in the defaults.xml of the second server, but nothing happened. What are we missing? How do we configure the second server?

    The issue has been resolved. After looking at the directories and defaults.xml that WLS created on the scaled out server, we figured that the configuration files were not created/copied from the original server. We ran the configuration from "java -jar ords.war setup" on the second server, restarted the application from WLS and everything started working as expected.

  • ORDS (2.0.7) - URL Mapping - Names need to be lower case

    Using the latest ORDS (2.0.7) - when using settings to setup multiple databases, I have noticed that the the "URL Mapping" rule will not be picked up if the "Name" of the connection is not all lower case.
    The "Routing Rule" can be mixed case, but the "Name" of the rule can not.
    I found this to be an odd behavior.
    Has anyone else come across this?
    -- Tim St.

    Using the latest ORDS (2.0.7) - when using settings to setup multiple databases, I have noticed that the the "URL Mapping" rule will not be picked up if the "Name" of the connection is not all lower case.
    The "Routing Rule" can be mixed case, but the "Name" of the rule can not.
    I found this to be an odd behavior.
    Has anyone else come across this?
    -- Tim St.

  • Different ord.dep.start date in depreciation area 01.Check in asset master

    Hi Experts,
    In asset master depreciation area when i was entering the today date system is giving the below warning message. But I have not maintained any date for the ord deprecation
    Different ord.dep.start date in depreciation area 01.Check
    Message no. AA186
    Diagnosis
    The ordinary depreciation start date you entered is different to the ordinary depreciation start date 01.03.2011 determined by the system in depreciation area 1..
    Procedure
    Check the ordinary depreciation start date you entered.
    Kindly help me on this
    Regards
    venkataswamy

    Hi
    Ord Dep Start is determined by the Period Control in your dep key...However, if you want to overwrite it manualy, ignore the Warning message
    Br, Ajay M

Maybe you are looking for

  • Re: Upgrading Oracle Apps 11i Database to Oracle Database 10g Release 2

    HI, My upgradation from 9i to 10g was sucessful.. Can anybody let me know - what are the basic things i hv to chk after the upgradtion. 1.i chked Invalid objects - it was 217 .. i ran utlrp & adadmin .. now it cam down to 12 .. junk_ps 4 public 1 APP

  • Adobe flash player 10.1 won't install on Mac OSx

    I have a 13 inch Aluminum Macbook. A couple weeks ago I had gone onto Youtube and it had told me that I needed the latest version of player in order to watch it and to download it. I followed the link as told and downloaded it. The download was "succ

  • Smart playlist not selecting, includes entire library

    The iTunes smart playlists I created are no longer working at all -- they both sweep in the entire iTunes library, ignoring the conditions I have specified to be matched. These smart playlists are structured mainly around song-type descriptions I hav

  • Lightroom 3 and Canon SX30 IS Photo transfer problem

    Hello, I recently replaced my stolen SX20 IS with a SX30 IS and picked up Lightroom as well. I have novice experience on photoshop and more extensive experience with iPhoto. I am working with the the 3.4 version for Lightroom that I downloaded the up

  • Photoshop keeps crashing

    Hello, I keep getting "Photoshop has quit unexpectedly" and loosing all my work. It happens a lot, and with no recover work feature I am getting pretty frustrated. I have lost hours of work. Many things seem to cause the crashes, there are some thing