Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: JavaFX 8 3D Graphics Location

  1. #1
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,600
    Thanks
    24
    Thanked 313 Times in 293 Posts

    Default JavaFX 8 3D Graphics Location

    I have a brief question regarding 3D graphics in JavaFX 8. Is it possible to set the full x, y, and z location coordinates for a 3D object? There are methods such as: setLayoutX() and setLayoutY() for the x and y coordinates, but there doesn't appear to be a setLayoutZ() for the z coordinates. The solution I've been using so far is setting the translate variables for x, y, and z, but I would rather be setting their actual location variables. Does anyone know how to set that Z location coordinate?
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/


  2. #2
    Super Moderator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,225
    Thanks
    176
    Thanked 817 Times in 760 Posts
    Blog Entries
    5

    Default Re: JavaFX 8 3D Graphics Location

    I'll preface this remark with the disclaimer that I haven't worked with Javafx/3d much, but I believe predefined objects (eg sphere, cyliner) must be transformed to the appropriate coordinates - unless you create the triangular mesh yourself in which case its location is defined by the actual coordinates specified.

Similar Threads

  1. JavaFX
    By bodylojohn in forum JavaFX
    Replies: 1
    Last Post: February 14th, 2014, 05:00 AM
  2. JavaFX on javaprogrammingforums
    By cselic in forum Forum Updates & Feedback
    Replies: 1
    Last Post: July 31st, 2012, 03:48 PM
  3. [SOLVED] JavaFx
    By chronoz13 in forum Java Theory & Questions
    Replies: 2
    Last Post: August 28th, 2009, 09:13 PM