street builder
Post on 11-May-2015
240 Views
Preview:
DESCRIPTION
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