Making something look like it's floating 10m in front of the viewer can be based on our stereo view. Both eyes need a little different image in front of them. But those images must be sharp. They can be quite near of observer's eyes if he has magnifying lenses between the images and the eyes - like the common virtual reality hoods. The image is not in the lenses, it's on flat displays which are watched through the magnifying glasses which should be made of clear material.
If you want to see the real scene (as real, not projected to the display) at the same time as the generated image, the generated image must be so far away in front of you that your eye sees it sharp without a magnifying glass and the unused area of the display must be transparent. That's about 0,5 meters or more. Quite a big high technology display is needed for realistic size items. You still need some shutter system to keep off the left eye image from the right eye and vice versa. It's solved to some degree in 3D movies.
Unfortunately I do not know enough of holograms. I can only guess that holography could give a way to generate sharp looking realistic images with a device placed at short distance in front of the eyes and it still shows also the real scene as sharp because no magnifying glass is needed - the light comes to the eye from a working hologram just like the object was 10 meters away.
Holograms mean also controlling the phases of the lightwaves. They are high density phased arrays of radiators. You need R, G and B wavelength versions of them for both eyes. Controllable phases can be created with lasers.
I'm afraid we do not have a practical way to control the needed amount of nanometer scale pixels; the pixels really must be a fraction of the wavelength of light because otherwise they cannot create the needed diffraction.
Although not practical today, holographic displays are under development. Search for "Holographic display" to see what's claimed to have been invented.
ADD You lately inserted a clarification note which says
the lenses I were referring to are the eyeglasses lenses which serve
no optical purpose (focus, etc.) other than having them able to
attenuate light at certain "pixels".
Those lenses really can display an image like LCD displays do. If the background light source is the environment the display could also allow you watch the environment at the same time. Your eyes cannot see as sharp at the same time both the image on the glasses (=distance about 0,5...1 inch) and what's coming through them. Many of us wouldn't at all see the image on the glasses as sharp without having a magnifying glass between the eye and the image.
I guess you are interested does the exist a way to blur the image on the glasses in such way that the unsharpness caused by too close watching distance just reverses that blur. I'm afraid that a proper mathematician and a good model of the imaging in the eye are needed to give the solution. Elementary math says that a lens - also the lens of your eye - makes a linear transformation and many linear transformations have an exact reverse transformation. But it's totally beyond my knowledge
- what is such proper model of the eye,
- how one should take into the account nonlinearities in the sight process and the fact that a filter in front of the eye actually doesn't add, it multiplies and
- how to generate in a controlled way both positive and negative light in the reversely blurred image (if such thing exists).
This lecture http://6.869.csail.mit.edu/fa16/lecture/lecture3linearfilters.pdf
presents blurring and reversing blurs in the most elementary form. If you can read it you maybe are able to find and understand also some advanced works of the subject. They are beyond my capabilities.
I guess that reverse-blurring an already sharp image so that watching it from too short distance blurs it perfectly sharp needs infinite positive and negative light levels which makes it non-existent. But a mathematician is needed to prove it or to tell it's rubbish.
Can I use this technology to project text... only if you are so nearsighted that you can focus on an object that is 1 cm from your eye – jsotola Feb 09 '22 at 22:59