I like your photograph, but as I'm sure you realize that is not the open ocean. (I didn't notice the painted background the first time I looked at it!) In the pictured situation, the waves are going to be highly influenced by the nearby man-made structures, the shore, and the bottom (if this area is relatively shallow.) Wave reflection, refraction, and the driving action of incoming waves from outside (this bay?) will together determine how the surface waves behave in this local area. After all, consider that this is the reason structures such as breakwaters are built at the mouth of harbors - to control wave action within the harbor. When marine engineers and oceanographers design a harbor they have to use computer models to predict the net effect of natural bathymetry and proposed structures and external wave sources - simple models are just inadequate for the job.
Although your suggestion of simplifying the problem by removing it to the 'open ocean' is a reasonable one, in fact the causes of the wave spectrum at a particular point and time in the open ocean is usually complex too. Waves can travel across the world's ocean basins - and the source of the waves locally can be far removed from where you are observing them. As Ross says, ocean waves can originate as wind waves, they can be generated by weather patterns, and sometimes an earthquake generates a tsunami. Wind velocity, duration, and fetch are important for creating wind waves. After waves are instantiated, they travel far distances from the area of their source undergoing reflection, refraction, diffraction, and dispersion over many distances.
Ocean wave data can now be gathered from space, so there much more observational information than 20 years ago when I studied physical oceanography. At that time, the explanations were not much more than Ross's answer, but I think the opinion (given the new availability of global data) was that the field was set to rapidly expand and advance. I would be interested to hear from someone current in this topic about what we have learned about ocean waves in the last decade!
This page on the WikiWaves.org site discusses the physics of ocean wave spectra.