street builder

Post on 11-May-2015

240 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

This project aim to be a run-time street builder done inside World Wind. This application works drawing texturized shapes accordingly to the position given by the user. The program modifies the terrain taken the elevation from these shapes in order to have a street every time over the terrain. User can: add and remove pieces of shap, add and remove shape, select shapes already present, move points of the street, modify the blend. All these stuff are explained inside this paper.

TRANSCRIPT

STREET BUILDER

InterfaceStefano Tranquillini

InterfaceLoad: permits to load shape or shapes from file.

Save: store shape or shapes into a file.

Add: Adding a shape (street).

Edit: adding or removing pieces of the shape.

Pick: select a shape.

Move: permits to move the points of the street, and the Bezier control point.

Delete: remove the current shape.

Setting: change the setting of the system.

Information: show information about current and total streets.

Stefano Tranquillini

InterfaceADD DialogSelect texture and guardrail

Options DialogSpecify some options

Stefano Tranquillini

Construction

Construction of rectangle and lines are done with JTS and some class developed by me

Stefano Tranquillini

Construction Stefano Tranquillini

Bend Bend are done with bezier!

Change dimension

Rotate

Stefano Tranquillini

Terrain Mod.Red is outsideGreen is inside.Check by polygon.isInside of JTS.

A modification version of Rectangular Tessellator and others class done this works.

Only tile with shapes inside are affected by mod-ele

Interior points changes their elevations (if is less then the elevation of the terrain)

Stefano Tranquillini

Options Show Construction line

Show interior boundary

Densisty: 40Densisty: 0 Densisty: 100

Stefano Tranquillini

ENDStefano Tranquillini

top related