We construct two families of low-density parity-check codes using point-line incidence structures in PG (3 ,q ). The selection of lines for each structure relies on the geometry of the two classical quadratic surfaces in PG (3, q ), the hyperbolic quadric and the elliptic quadric.