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.

Similar Messages

  • 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.

  • 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

  • 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!

  • 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?

  • Ordered an iPhone 6 Plus off contract with a credit card that has a different billing address than the account.  Does it matter and is the order going to be cancelled if it doesn't process the card correctly?

    Just don't want to find out Wednesday that my order was cancelled or delayed because the credit card has a different billing address than the account.  If they check the validity of the card at the time you pre-order I don't see it being a problem.

    Oh, should mention I ordered right at 3AM (EST) on the 12th and got a Confirmation email with a Deliver by: 9/19/14 but when you try the "Check Status page" it spits out "Expected Ship Date: Not available at this time."

  • 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

  • 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.

  • Output in different order than in select statement.

    I'm executing the following query. Just wondering if I'm missing something:
    select a.constraint_name, a.table_name, a.r_constraint_name, b.column_name, c.table_name, c.column_name from user_constraints a
    inner join user_cons_columns b on (a.table_name=b.table_name and a.constraint_name=b.constraint_name)
    inner join user_ind_columns c on (a.r_constraint_name=c.index_name)
    where a.r_constraint_name='QUE_PK' and b.position=c.column_position
    order by b.position
    (replace QUE_PK with your own primary key referenced in a foreign key)
    The columns appearing in the resultset are in different order than in the select statement.
    They came as follows: constraint_name, r_constraint_name, table_name, table_name, column_name, column_name. If I aliase one of the column, the result set is ok.
    I'm using version 1.1.0.23 on Ubuntu 6.10 against a 10g r2.

    To double check, you can go to <sqldeveloper>/system/oracle.sqldeveloper.1.1.0 (this may be <user_dir>/system/oracle.sqldeveloper.1.1.0 on your computer) and delete all of the *TableSettings.xml files. That will erase any custom column orders that you may have saved.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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

  • Can I sort my photos to a different order than by date of creation?

    I want to sort my photos differently on ipad than date of creation.

    http://support.apple.com/kb/HT4221

  • Can I order more than 1 calendar at a time through iPhoto witho paying shipping for each calendar?!

    Does anyone know if you can order more than one calendar at atime through iPhoto without paying shipping for each different/separate calendar?  Is there not a cart? 
    Last answer I saw was about 5 years ago.  I'm hoping something has updated since then...

    No - you can only order multiples of identical products
    LN

  • Report COA segments in different order

    In the setup of the Accounting Flexfield, the order of the segments is reversed. An organization (Cost Center) that has funding from multiple sources is lower than the segment that identifies the funding sources.
    "There used to be a way to show FF segments in a different order for reporting and for entry on forms. I thought it was called a 'flexfield alias' where the flexfield segments could be defined in a different order and given another name but the data was the same.
    I don't find current documentation under FF "ALIAS".
    Can someone tell me how to find this or give directions on how to do it.
    Will defining the segments in a different order also create balances for reporting?
    Any opinions on how to get information/ balances out in logical order will be appreciated.
    Thanks for any help or suggestions.

    Your first screenshot is equivalent to the Years view in Photo on your Mac which is sorted by date descending:
    What's in the side bar are albums and are sorted by Name ascending.
    Moments in Photos are the new Events, i.e. groupings of photos sorted by date taken.
    When the iPhoto Library was first migrated to Photos there was a folder created in the sidebar titled iPhoto Events and all migrated iPhoto Events (which are now Moments) are represented by an album in that folder. To open the sidebar if it's not already open use the Option+Command+S key combination.
    There's a way to simulate events in Photos.
    When new photos are imported into the Photos library go to the Last Import smart album, select all the photos and use the File ➙ New Album menu option or use the key combination Command+N.  Name it as desired.  It will appear just above the iPhoto Events folder where you can drag it into the iPhoto Events folder
    When you click on the iPhoto Events folder you'll get a simulated iPhoto Events window.
    The downside to the simulation is that the Albums/Events can only be sorted automatically by Title. But they can also be sorted manually, either in the sidebar or in the folder's window at the right.
    Ask Apple for more sorting options in Photos via https://www.apple.com/feedback/photos.html.

  • Another "This itunes account is set up to use family sharing with a different icloud account than Apple ID "

    I saw another thread on the matter but thought I would post because the circumstances are different. Here is how it happened.
    I have had an Apple Store account for years and until recently our family has only had our one Mac and my iPhone 4. Thus any purchases we have made on the Apple App Store were made only with this account.
    We recently purchased two iPhone 5S's--one for my wife and one for my daughter. Neither had Apple IDs so first we set up my wife's iPhone and created an Apple ID for her. Next we used the Family Sharing feature to set up an account for our "under age 13" daughter.
    Because I am still waiting for my iPhone 6 Plus to arrive, and because the iPhone 4 cannot upgrade to iOS 8, and because my Apple ID is the only account with any apps that have been purchased in prior years, I set up my wife as the Family Organizer but when I set up her account, I chose the option to "share purchases from a different account" and entered the information for my Apple ID.
    My daughter is able to view my prior purchases on her iPhone, but when my wife tries to view my prior purchases, she receives the message "This iTunes account is set up to use Family Sharing with a different iCloud account than <her Apple ID>."
    I hope Apple is reading this. I would be more than willing to help them on this one as this feature is one of the main reasons I put our family on iPhones.

    I had this problem. I finally figured it out yesterday. Try this:
    On the device that is having trouble seeing purchases, go to Settings>iCloud>Family Sharing> Then tap on the user of the device you are on. Under "Family Purchases" make sure it has the AppleID of the person for that device. Mine originally had my husbands AppleID in there (he is the Organizer), but I changed it to mine. That doesn't make it so that the purchases are under me. The purchases remained under my husband, but my ID had to be in this spot for it to work.
    After that, I closed settings, then I went to Settings>iTunes and App Store> click on the AppleID and Sign Out, even if it has the right AppleID in there. Then Sign In again using the AppleID of the person on that device. Again-- even if it has the right ID in there to start, still sign out and back in.
    See if they show up. If they don't show up still, try doing a restart (hold down power button and home button until it restarts).
    They should show up by then, but if they don't, at that point, try to go into iCloud and Sign Out and back in.
    I think the key is having the right ID in "Family Purchases". I hope this works for you.

Maybe you are looking for

  • Print Report Output in PDF Format

    :-) Hiee E'body I generated the output of a Report(developed in Report Builder 6i) in PDF format. The output file is created properly and the PDF file gets displayed on the screen in proper format but when i try to print the PDF file it gets printed

  • Some AS3 code needs to be AS2

    As I have been told, the following code is mixing as2 and as3. picHolder[1].onPress = function() {           picHolder[1].width = card.width;           picHolder[1].height = card.height;           picHolder[1].x = 0;           picHolder[1].y = 0;    

  • Connecting new router from Verizon

    We just received a new Actiontec router from Verizon. Plugged in power cord and phone line and can not get a connection. What am I doing wrong? On the last router (Westell) we did not have to have an ethernet cable to use the router and I assumed we

  • Call Manager forwarding alerts

    Hello. Does anyone know of any integrations between Cisco Call Manager and other network mgmt platforms like HPOpenView NNM or Ciscoworks? Can Call Manager send alerts to other Network Management platforms?

  • How do I check my password before I log off?

    I am logged on to my computer and I want to check my password befoe I log off.