Resin containing a polymerisation product of at least one aromatic dialdehyde derivative with at least one pyridine derivative containing at least two reactive methylated substituents, wherein the said resin has the following general formula (I):
- U.sub.x V.sub.y W.sub.z
- in which:
- U denotes the grouping ##STR13## V denotes the grouping ##STR14## W denotes the grouping ##STR15## in which:
- R, R.sub.1 are identical or different and are a chain segment consisting of (a) hydrocarbon radicals (b) hydrocarbon radicals containing hetero atoms,
- A, A.sub.1 are identical or different and denote an atom or group forming a bridge between the segment R and an aromatic nucleus of the styrylpyridine chain, comprising stereomobile bonds,
- R.sub.2 denotes hydrogen, or a methyl or ethyl radical,
- x, y, z are integers or 0, the sum y+z being at least equal to 1.