3D Objects in 3DTV
by Pat Sanders
One of the improvements that we are currently testing in an upcoming version of 3D TERRAIN VIEWER (3DTV) program is the ability to display 3D objects, created in the 3D SHAPE EDITOR (3DSE). The idea behind the change is to allow users to create buoys, bridge piers, buildings or other structures in the 3DSE program and then to place them at the correct location and orientation in the 3DTV program.
Most HYPACK® users probably haven’t spent a lot of time inside the 3DSE program, as it’s uses have been a little limited. This new feature of 3DTV is going to show you why we have been spending so much time on it.
The 3DSE program allows you to create a ‘Shape’ (*.3OD) by piecing together components such as cylinders, beams, cubes, etc. For example, the Red Buoy is composed of:
We can ‘assign’ the color of each object or we can overlay a bitmap (*.bmp) file. For example, for the top mark of the red buoy, I created a *.jpg file that resembled the graphic shown. I then ‘stretched’ it to fit the face. Each buoy can have a separate bitmap file for its topmark (e.g.: 21, 23, 25, 27…). It can be a little tedious, but it can be done.
The Yellow-Black-Yellow buoy is similar to the red buoy. Instead of a single cylinder for the base, I actually created 3 cylinders (bottom = yellow, middle = black, top = yellow). The top mark is another bitmap (*.bmp) that I created in Paintshop Pro shown to the right.
Inside of 3DTV, a new menu item takes you to the 3D Object Deployment window. Once inside this window, you can create new objects and assign their positions, modify existing objects or remove existing objects.
When you create a new object, you have to specify the ‘type’. Current choices are:
-
Static
-
Multistatic
-
Floating
-
Multifloating
-
Pipe
-
Poles
A static object is fixed in space at a user-defined X-Y-Z position. As the water level is changed, the object does not move in the z-direction. A floating object is fixed at an X-Y location and floats in the z-position as the water level changes. This was implemented for buoys and floating docks. As 3DTV gets its real time water level info from the SURVEY program, your buoys move up and down with the tide. Multistatic and Multifloating are used if you want multiple instances of the same object. For example, I can create one ‘red buoy’ shape and then display that shape at multiple positions. The only thing that is needed is a *.3OP file that lists the X-Y-Heading-Scale of each instance. Pipe is a special object for pipelines and Poles is a special object for electrical poles. Wires can be hung between poles.
In the screen capture from 3DTV, we have a 3D-boat (also created in the 3DSE program) and shadow, along with a red buoy, green buoy, yellow-black buoy and a strange looking lighthouse. The buoys are all floating objects while the lighthouse is a static object.
3DTV saves your object information and restores it each time you restart the program.
Graphics:
d:\temp\redbuoy.jpg
d:\temp\yby.jpg
d:\temp\21.bmp
c:\hypack\shapes\yby.bmp
d:\temp\3dtv4.jpg
d:\temp\3dtv6.jpg
d:\temp\3dtv3.jpg
d:\temp\3dtv1.jpg
Share with your friends: |