Java3D has different coordinate system than 3dsMAX

Hi, I make 3d game. 3D scene I have created in 3d studio MAX and exported to files which I loaded into Java3D scene. Because 3dsMAX has Z a Y axis exchanged instead of Java3D coordinate system I replacementing Y and Z coordinates in 3d mesh. [X,Y,Z] -> [X,Z,-Y]. Problem come in Transform3D when I exchanged translational values. It is not enough. I must exchange some values in rotational components of 3d matrix. And I don't know how.
Thanks

It is not really a problem, the model is just rotated the axes are still same place relative to each other. Just put put a rotation in at start of file, I have done that with countless of files from 3d s max.
And there are noone that are forcing you to define Y as upwards in java3D, you can define it as you like. Thats why there are parameters like 'up' in the method transform3d.lookAt() , Java3d make no presumptions about your worldview.

Similar Messages

  • Java3D has different order axis than 3dsMAX

    Hi, I make 3d game. 3D scene I have created in 3d studio MAX and exported to files which I loaded into Java3D scene. Because 3dsMAX has Z a Y axis exchanged instead of Java3D coordinate system I replacementing Y and Z coordinates in 3d mesh. [X,Y,Z] -> [X,Z,-Y]. Problem come in Transform3D when I exchanged translational values. It is not enough. I must exchange some values in rotational components of 3d matrix. And I don't know how.

    There is an easy way to build a new matrix from the old one if you know how to convert individual vectors from one system to the other. A linear transformation (i.e. matrix too) is solely defined by its output on each of the basis vectors, which are (1,0,0,0), (0,1,0,0), (0,0,1,0) and (0,0,0,1) for 4x4. In fact, the vectors it returns for each are the rows (or columns) in your matrix (depending what order you multiply in with vectors). Thus, take (1,0,0,0) in your new coordinate system; convert it to the old system; multiply it by the matrix; then make the resulting vector the first row (or column) in your new matrix. Take (0,1,0,0) and do the same for the second row (or column). Same thing with the other two basis vectors, and you've got it.

  • Download from IR has different record set than on screen

    Apex IR ( 3.2) query uses 2 page items to filter. Results are correct on screen but when downloaded we get a different record set as if one of the 2 Page items has not been passed in.

    If you are having problems with the prints being a different size than what is on the screen, I believe there are two settings to try to adjust.  If you are using IE, you can check the Page button with the arrow down and look for "Text Size." Mine is set to "Medium."  Also you can go to the picture of the printer at the top and select the arrow down next to it and select Page Setup.  From there, you will see Enable Shrink-to-Fit which may be causing the problem or you can change the font type and size. Do you see these options?
    If not, what kind of computer do you have and what web browser are you using?
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Can we use the Portal of a different BW system than we get the data from?

    Hi Guys,
    we use a BW on HANA ABAP System with a Business Objects Server Connection in a proof of concept scenario. The BW system HS1 has Usage Type ABAP only. Besides of this we have a “normal” BW System, P70with a Usage Type ABAP as well as Usage Type JAVA (J70). As a third component we do have a BO Server, where we have stored some DesignStudio Reports with Data from HS1.
    We would like to use the existing J70 Portal of our “productive” BW Portal as an access point to the design studio reports.
    What I am wondering: 
    Can we use the SSO Ticket that we get when we log in our portal environment to connect to our BO server?
    Are we able to use then BO Reports that are connected to another BW System?
    How we do this or do we have to take something into account?
    Regards,
    Cemal Aslan.

    hey Cemal,
    it might depend on your releases... we currently have a test scenario with a Portal that is being used to display reports from a 7.31 BW system as well as the embedded 7.31 BW system of an ECC6 (EHP6) ERP system (as far as the Portal is concerned, that's just another BW system). The Portal is a 7.31 system as well.
    I don't know too many (technical) details as anything beyond the BW server is out of my hands. I think this was not possible in older versions of the Portal though...
    Cheers,
    Raf

  • SAPSCRIPT to Web(pdf) has different line spacing than in SAP?

    When we issue to output the order in SAP it looks fine. When we open it in the web, using PDF, the lines are spaced differently.
    We have never had an issue before, but now we added a lot of text to a final page of the sapscript.
    Any suggestion how to adjust the PDF line spacing for output via our SAP Function Modules that create OTF to PDF?
      Thanks,

    Hi,
    The SAPscript must generate an OTF output and then you convert the OTF into PDF format.
    There are 2 possibilities :
    1.Without generating any spool :
    2.When calling OPEN_FORM function module, export parameter OPTIONS-TDGETOTF = 'X', and when calling CLOSE_FORM function module, use returned parameter OTFDATA
    call CONVERT_OTF function module to convert the OTF to PDF. Returned parameters are BIN_FILE (the PDF binary) and BIN_FILESIZE (the length of the PDF binary). See below how to save a PDF binary to a file.
    If an OTF spool has been generated, you may convert it using CONVERT_OTFSPOOLJOB_2_PDF function module. Returned parameters are PDF table (the PDF binary) and PDF_BYTECOUNT (the length of the PDF binary).
    Thanks

  • When I open a jpg file in Firefox, it has different RGB values than when I open it in Microsoft Paint or Picture and Fax Viewer. What kind of color management does Firefox apply to jpg files?

    In Firefox, the RGB values are 50, 255, and 25. In Paint, they are 81, 171 and 67. These colors look quite different. I suspect Firefox is doing something with the

    Does Firefox use the embedded color profile if there is one? How can I tell if there is one in a jpg and what it is?

  • Datum vs coordinate system

    Hi guys,
    i just still don't get what is the different between datum and coordinate system.
    anyone could help?
    what i know is, datum is part of geodetic coordinate system that could be transformed. Does datum = geodetic coordinate system? or is there any "things" inside the geodetic coordinate system?
    Thanks

    There are the following related concepts:
    - ellipsoid
    - datum
    - coordinate reference system (not to be confused with coordinate system)
    An ellipsoid describes the shape of the earth (or any other object, for that matter), as approximated by an ellipsoid. This is more accurate than using a sphere. The shape of the ellipsoid is defined by any two of the parameters "semi major axis", "semi minor axis" and "inverse flattening".
    A datum is based on an ellipsoid, but also specifies the ellipsoid's shift, rotation, and scale adjustment, as compared to WGS84. Furthermore, it also specifies the prime meridian.
    A coordinate reference system might be GEOGRAPHIC2D, GEOGRAPHIC3D, PROJECTED, COMPOUND, etc.
    We might look at GEOGRAPHIC2D, which is most closely related to a datum. The CRS is based on the datum, but also specifies a unit of measure (such as degree or radians).
    Note that in the syntax of a WKT, the prime meridian appears to be a parameter of the CRS, rather than the datum. EPSG considers the prime meridian a parameter of the datum.
    A PROJECTED CRS refers to a GEOGRAPHIC2D base CRS, as well as a projection method.
    A CRS also has a coordinate system (CS) as a parameter. It might be ellipsoidal, for a GEOGRAPHIC2D CRS, or cartesian, for a PROJECTED CRS. This CS defines the unit of measure used for the CRS.
    The tables SDO_ELLIPSOIDS, SDO_DATUMS, SDO_COORD_REF_SYS and SDO_COORD_SYS will tell you about the EPSG model. Note that not all models are the same. WKT, for instance, defines projection operations as parts of projected CRS. In EPSG, they are defined, separately.

  • Coordinate system

    I am having trouble getting my local-world-view-screen matrix setup right.
    First, coordinate system is:
    +x to the right
    +y down
    +z into the screen
    right? this is what I get from Vector3D class.
    But now that I am thinking of it DirectX and OpenGL have different coordinate systems so how does Molehill work that out?  Do I need to know what API I am runnging to transform to screen space?

    Yes things are starting to look better now. Thanks you both.  I incorrectly assumed the coordinates system was as described in the Vector3D class docs.
    I have a cube with each side a different color and now it appears oriented as expected.
    Now I am appending a view-screen matrix built using lookAtRH().  I create an eye position Vector3D that rotates around the Up/Y axis, looking at (0,0,0) and there is nothing on screen.  I looked at my DirectX engine lookAtRH() equivalent function and notice that in the Molehill implementation there is:
    _w,x = _x.dotProduct(eye);
    _w,y = _y.dotProduct(eye);
    _w,z = _z.dotProduct(eye);
    _w,w = 1.0;
    but in the directX version it is expressed as the negative of the dot products, i.e.:
    _w,x = -_x.dotProduct(eye);
    _w,y = -_y.dotProduct(eye);
    _w,z = -_z.dotProduct(eye);
    _w,x  = 1.0;
    so I tried this and the cube appears on screen!!, however the camera is not rotating around the Y axis it is rotating around the cube off-axis.
    Have you used the lookAtRH() method and had good results, or are you using your own math?
    Does the matrix from lookAtRH() get appended to the stack or do I invert this matrix and append it?
    I am not an expert at the math, but have been able to work this out on PS2, PSP, OpenGL, DirectX, WPF, and now it is Molehill. I know that the PerspectiveMatrix3D.as is in progress because I have gotten it from several sources/example programs and I see for instance that the OrthoRH() method has a typo/bug in it that was fixed in the teapot example.
    Any help is appreciated!!

  • 3D Coordinate System

    Hello everyone,
    I am new to Java 3D and was trying to create a simple 3D Coordinate system that has an x, y, and z axis. Can anyone help me or point me in the right direction regarding this issue? Appreciate the help.
    Moe.

    http://www.cs.brown.edu/exploratories/freeSoftware/catalogs/repositoryComponents.html
    has some coordinate systems available
    alain

  • 2 SDO_GEOM columns with different coord systems

    Hi
    I have an intersection (traffic lights, etc.) that when shown on the map is a point and its position is stored as Lat/Long. However, when I zoom in on this intersection I need to be able to bring up a schematic (detailed plan) which will be in some cartesian coords.
    My thought is to store the schematic data as a geometry collection in the same table as the rest of the data.
    Is this possible?
    And, are there any traps I should be looking for?

    You are free to mix geometries with different coordinate systems in a table, as long as all the geometries in a given column of the table have the same coordinate system. This should support what you are trying to do with expanded levels of detail in your point features.

  • Is it possible to use 0FI_AR_03 with 2 different BW Systems in parallel?

    Hi
    The 0FI_AR_03 DataSource is already in use from another BW system and we would like to this DataSource with our BW system, too.
    Is it possible to use the DataSource 0FI_AR_03 with 2 BW systems in parallel?
    Thx for your help in advance, Michael

    hi Michael,
    welcome to SDN ...
    it should possible, the delta is maintained separately for different bw system, as we can see there is 'bw system' in RSA7. make sure your new bw system has different logical system name from the existing one.
    hope this helps.

  • I see another unsecured wifi network on my list. As I have recently changed routers etc. I just want to make sure it's not attached to me. It has a different IP address than the secured wifi network I have now set up.

    I see another unsecured wifi network (D Link)  on my list. As I have recently replaced an old modem router (D link) with a new fancy one (wireless gateway), I am wondering if this is somehow still attached to my computer. The D link wifi unsecured network has a different IP address than my newly formed secure wifi network's IP address.
    Also - if I turn my wifi off (regardless of if I am on the dlink or my new secured wifi) I can still watch netflix etc. on my tv from living room which tells me the the wifi is still on. Why is this so?
    Does my Mac have two IP addresses or is that D link someone elses?
    THank you to anyone who can straighten me out on this as I am confused.

    Thanks Tony,
    Believe it or not, I had already done that - that is why I was confused as I kept seeing it in the wireless networks that I was seeing even though I had deleted it in my advanced Network of Systems Preferences. I thought if it were mine it would go away, but alas it didn't.  Anyway, all is well and I can now relax that everything is secure thanks all to you.
    Cheers

  • I forgot my iPad passcode, it has a different apple id than my laptop and I don't know how to restore it.

    I forgot my iPad passcode, it has a different apple id than my laptop and I don't know how to restore it. i don't want to lose my pictures.

    If the iPad was running iOS 7,  iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • My iPad has a different Apple ID than the Apple ID on my computer. The iPad Apple ID has an email address that I no longer use. If I try to add the email address that I now use (and which is my Apple ID on the computer), it won't allow me to add it.

    My iPad has a different Apple ID than the Apple ID on my computer. The iPad Apple ID has an email address that I no longer use. If (while on the iPad) I go to My Apple ID and try to change or add the email address that I now use (and which already is my Apple ID on the computer), it won't allow me to add it. It says : "Email address is already verified for another Apple ID"  I haven't really been aware of this as a problem until I tried (for the first time) to sync my iPad to the computer and became aware that certain things wouldn't transfer. What is the solution to this?

    What are you having problems with ?
    This post was about having updated the primary email address on an iTunes account via a computer - if you do that you might need to log out of the account on an iPad by tapping on the id in Settings > iTunes & App Store and then log back in with the updated version of the account for that email address change to be recognised on your iPad. If you don't log out and back in then an iPad (or iPhone or iPod Touch) might continue to show the old version of the iTunes account id.

  • Computer has different name than Itunes for Ipod Touch

    I have an Ipod Touch 4th Generation 32gb. I have had no problems with it or with Itunes. My Mom came last Saturday to visit and she needed to charge her Ipod Touch so I hooked it to my computer where I always have a cord and charged it for about 45 minutes or so. I have no problem with my Ipod or with Itunes BUT when I go look at the device now on my computer,when it is connected to USB cord, it show "Marys Ipod" now instead of "Steves Ipod". In Itunes, it is still "Steves Ipod" and I can sync and all but I really want to get rid of "Marys Ipod" off my computer even though when I open it up, it is my ipod, just mislabed. I know because it has my pictures and her's is only 8gb. My Ipad2, is fine when I hook it up to the USB cord, It says "Steves Ipad" but when I hook my USB cord to my ipod touch, it still reads "Marys Ipod". Is this something I should be concerned about or is it not worth the hassle of trying to restore, etc? I have tried to change the name, but Windows won't allow. I do have Windows 7. I have also got the new update on Itunes and the new software(5.0) version.
    I am stumped. I have googled this and have searched for over 3 hours today on how to fix this. Ready to bang my head against the wall. I have did a reboot on Ipod, I have restarted the computer. I have not reinstalled anything including Itunes.
    Does anyone have any suggestions on what I can do? I would sure appreciate the help. Thanks in advance.

    shellymoe
    Currently Being Moderated  Re: Computer has different name than Itunes for Ipod Touch
    Jul 22, 2012 12:23 PM (in response to Toploader21120)
    I just found the answer to this after hours of searching online. Make sure your iPod is hooked up to your computer & turned on.
    Click on "Start" and in the search box type "regedit". This will display a program called "Registry Editor". Open it.
    Click on the "Edit" tab and select "Find...". Type "Mary" in the search box and click "Find Next". It will bring up a list of everything that has "Mary" in it. (You may have to click on "Find next" under the "Edit" tab in order to find the associated items that have something to do with both "iPod" and "Mary".) What you need to pay attention to is not the NAME, but the DATA column. For me, the wrong iPod name was listed in 2 places in the data column. The actual names of those 2 items were "FriendlyName" and "Label".
    Once you find the associated items that have to do with both the iPod and "Mary", right click on one of them. Select "Modify...". A box will open giving a "Value Name" box and a "Value Data" box. The "Value Data" box should say "Mary's iPod". All you have to do is change it to "Steve's iPod" and click "OK". Repeat the "Modify..." and renaming of the "Value Data" steps for every item that says something about "Mary's iPod".
    Close the Registry Editor. Open "my computer" and see that it changed the name of your iPod back to "Steve's iPod".
    Best Answer So far.....it really works...Thanks a million

Maybe you are looking for

  • Add new custom file to EWM product master (/SCWM/MAT1 Tcode)

    Hi all I am using Extended Warehouse Management (EWM 7.0) system with  backend SAP ERP. Now I have a requirement where new fields (Validity period in Days ) needs to be added in product master(/SCWM/MAT1) under Storage or warehouse data tab. I would

  • Multiple Keyboard inputs...

    I've finished up a version of Pong for extra credit for a Java class i am taking, and i ran into an interesting situation. I cannot figure out how to have a two player version of pong have both players control their paddles with the keyboard. The spe

  • WLS9.0 Deployment Problem--UnMarshaller Failed

    I have a ejb project. We are currently deploying on a WLS 8.1 environment with no problem. We are moving to a WLS 9.0 environment. When we deploy the ear file, the below error is within the server log files. I have searched on an explanation, but hav

  • HP1020 Download Software for MacBook Pro

    I have an HP1020.  I need to download the software so I can print from my MacBook Pro.  Apple told me to go online and download the software for HP1022.   I can't figure out how to do this and I don't know what "Lion" or "White Snow" or whatever is.

  • Invoking Java Applet from SAP Netweaver Eportal using java webdynpro

    Hi , We are using SAP Netweaver portal version 7.0.WE want to invoke java applet into webdynpro java application on button click. The Applet should open in a new window when the particular parameter is selected and the button is clicked The code is g