Discussions
Categories
- 385.5K All Categories
- 4.9K Data
- 2.5K Big Data Appliance
- 2.4K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
Move ViewPlatform or Scene
Java 3D API said: "Move ViewPlatform instead of scene for good performance". On Java3d1.2.1, OrbitBehavior class Moves the View around a point of interest which Includes rotation, translation and zoom actions.
But I did not see the big difference on my project (256*256 big surface).
I can easily rotate the TransformGroup on the top of my scene.
Anyone has suggestion?
Thanks in advance!
Louis
But I did not see the big difference on my project (256*256 big surface).
I can easily rotate the TransformGroup on the top of my scene.
Anyone has suggestion?
Thanks in advance!
Louis
Comments
-
i suggest u for a rotation around Y axe to make your scene rotating.
Now for a X rotation, use the view with its two methods location. -
What exactly is your problem? You don't see any difference in performance between moving the ViewPlatform and moving the scene?
Basically both methods are equal. But since it may be useful to have multiple Viewplatforms on the same scene (mulitple visitors or immersive enviroments) the rendering of moving Viewplatforms is optimized in Java3D.
-
If you set the view transformation, then that simple specifies the point from which the scene is rendered, so only a single transformation is needed.
If you instead shift/rotate etc. your entire scene via a transform group at the top of your scene graph then every object needs to be transformed by that amount, meaning that the more object you add, the more work is done to render the scene.
Although you say you are only using a 256*256 surface, you don't say how many polys, texture size etc. You probably won't notice a difference until you start getting a very detailed scene graph...
This discussion has been closed.