When calculating the subject dimensions, use the height as the radius of the circle which intersects all four corners of the BoundingBox in the Y, Z plane for both the rear view and the side view. The rear view was already doing this, but it was non-obvious that the side view should also be using this to calculate the height. It becomes obvious if we think about a winged rocket, i.e. a rocket who's fins in the Z direction are larger than those in the Y direction. In this configuration, a height based off of the fins in along the Y-axis alone will result in a "Fit" scaling which encapuslates the Y-axis fins. However, rotating that rocket will move the larger wings (the Z-axis fins) into the view, but the height will not allow for the wings to draw properly on the screen. Thusly, using the radius from the circle intersecting the bounding box along the Y, Z plane will ensure that the widest point from the body will be able to fit within the side view, regardless of the rotation around the X axis. Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
OpenRocket
Build Status -
Overview
OpenRocket is a free, fully featured model rocket simulator that allows you to design and simulate your rockets before actually building and flying them.
The main features include:
- Six-degree-of-freedom flight simulation
- Automatic design optimization
- Realtime simulated altitude, velocity and acceleration display
- Staging and clustering support
- Cross-platform (Java-based)
Read more about it on the OpenRocket Wiki.
License
OpenRocket is an Open Source project licensed under the GNU GPL. This means that the software is free to use for whatever purposes, and the source code is also available for studying and extending.
Contributing
OpenRocket needs help to become even better. Implementing features, writing documentation and creating example designs are just a few ways of helping. If you are interested in helping make OpenRocket the best rocket simulator out there, please click here for information on how to get involved!
Description
Languages
Java
80.3%
Csound
13.9%
Racket
4.6%
Cython
1.1%