Resin casting techniques