stereoscopic OBJ viewer

classic Classic list List threaded Threaded
30 messages Options
12
Reply | Threaded
Open this post in threaded view
|

stereoscopic OBJ viewer

Qbert
Hi, I have coded a stereoscopic viewer that loads OBJ files and displays in Red / Cyan for glasses with those lenses.  This will make your design files appear to be in front of or behind the screen, though I cannot test until later this week when my color clip-ons arrive.  the viewer is coded in the Processing language.  

If anyone wants me to I will put it up on GitHub (or try to do so).  

Les

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

alexgibson
Wow yes please, sounds great

It would be awesome if OpenSCAD could render in red/cyan if you get bored
again...!

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of Les Hall
Sent: 02 November 2014 08:00
To: [hidden email]
Subject: [OpenSCAD] stereoscopic OBJ viewer

Hi, I have coded a stereoscopic viewer that loads OBJ files and displays in
Red / Cyan for glasses with those lenses.  This will make your design files
appear to be in front of or behind the screen, though I cannot test until
later this week when my color clip-ons arrive.  the viewer is coded in the
Processing language.  

If anyone wants me to I will put it up on GitHub (or try to do so).  

Les

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5315 / Virus Database: 4189/8487 - Release Date: 10/31/14

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Felipe Sanches
Actually, I've been wondering about these modern stereoscopic television sets. I wonder what's the kind of hdmi video one must send to the TV to produce the 3d images. It is probably a matter of generating frames with the double of the tv screen x-resolution containing 2 perspectives of the 3d object. But then... this is not something the application would do. Instead, that would be a job for the graphics card driver. No doubt, applications would have to have some kind of API to send 3d data to the driver. I guess that would be wrapped into the OpenGL context.

Anyone here has any idea on the actual way to code these things? It would be nice to make openscad, blender, freecad, and other 3d modeling/rendering programs benefit from that.


On Sun, Nov 2, 2014 at 1:40 PM, Alex Gibson <[hidden email]> wrote:
Wow yes please, sounds great

It would be awesome if OpenSCAD could render in red/cyan if you get bored
again...!

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of Les Hall
Sent: 02 November 2014 08:00
To: [hidden email]
Subject: [OpenSCAD] stereoscopic OBJ viewer

Hi, I have coded a stereoscopic viewer that loads OBJ files and displays in
Red / Cyan for glasses with those lenses.  This will make your design files
appear to be in front of or behind the screen, though I cannot test until
later this week when my color clip-ons arrive.  the viewer is coded in the
Processing language.

If anyone wants me to I will put it up on GitHub (or try to do so).

Les

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5315 / Virus Database: 4189/8487 - Release Date: 10/31/14

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Qbert
Felipe, there are a few techniques for stereoscopic viewing.  They all rely on one simple principle which is presenting a slightly different image to the right and left eye.  The shutter glasses time a left/right display with a left/right LCD shutter; the red/cyan or other color glasses use color to do this, the split view glasses have little prisms on the lenses and dual images.  All of these can be implemented in OpenSCAD if desired.  

The TV’s that work without glasses use a technology that I am not very familiar with at all.  

Les




On Nov 2, 2014, at 9:52 AM, Felipe Sanches <[hidden email]> wrote:

Actually, I've been wondering about these modern stereoscopic television sets. I wonder what's the kind of hdmi video one must send to the TV to produce the 3d images. It is probably a matter of generating frames with the double of the tv screen x-resolution containing 2 perspectives of the 3d object. But then... this is not something the application would do. Instead, that would be a job for the graphics card driver. No doubt, applications would have to have some kind of API to send 3d data to the driver. I guess that would be wrapped into the OpenGL context.

Anyone here has any idea on the actual way to code these things? It would be nice to make openscad, blender, freecad, and other 3d modeling/rendering programs benefit from that.


On Sun, Nov 2, 2014 at 1:40 PM, Alex Gibson <[hidden email]> wrote:
Wow yes please, sounds great

It would be awesome if OpenSCAD could render in red/cyan if you get bored
again...!

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of Les Hall
Sent: 02 November 2014 08:00
To: [hidden email]
Subject: [OpenSCAD] stereoscopic OBJ viewer

Hi, I have coded a stereoscopic viewer that loads OBJ files and displays in
Red / Cyan for glasses with those lenses.  This will make your design files
appear to be in front of or behind the screen, though I cannot test until
later this week when my color clip-ons arrive.  the viewer is coded in the
Processing language.

If anyone wants me to I will put it up on GitHub (or try to do so).

Les

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5315 / Virus Database: 4189/8487 - Release Date: 10/31/14

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Qbert
In reply to this post by alexgibson
Here is the source code, i see no reason to put a license on it since the tech is so old and I don’t care who uses my work.  Again it is untested so it may still need TLC before it functions properly but judging by the operation of the thing, methinks it’s ok.  Enjoy!







> On Nov 2, 2014, at 9:40 AM, Alex Gibson <[hidden email]> wrote:
>
> Wow yes please, sounds great
>
> It would be awesome if OpenSCAD could render in red/cyan if you get bored
> again...!
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of Les Hall
> Sent: 02 November 2014 08:00
> To: [hidden email]
> Subject: [OpenSCAD] stereoscopic OBJ viewer
>
> Hi, I have coded a stereoscopic viewer that loads OBJ files and displays in
> Red / Cyan for glasses with those lenses.  This will make your design files
> appear to be in front of or behind the screen, though I cannot test until
> later this week when my color clip-ons arrive.  the viewer is coded in the
> Processing language.  
>
> If anyone wants me to I will put it up on GitHub (or try to do so).  
>
> Les
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.5315 / Virus Database: 4189/8487 - Release Date: 10/31/14
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

STLviewer.pde (2 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Felipe Sanches
So, simply put a header on the source stating that it is released to the public domain.

On Sun, Nov 2, 2014 at 4:11 PM, Les Hall <[hidden email]> wrote:
Here is the source code, i see no reason to put a license on it since the tech is so old and I don’t care who uses my work.  Again it is untested so it may still need TLC before it functions properly but judging by the operation of the thing, methinks it’s ok.  Enjoy!







> On Nov 2, 2014, at 9:40 AM, Alex Gibson <[hidden email]> wrote:
>
> Wow yes please, sounds great
>
> It would be awesome if OpenSCAD could render in red/cyan if you get bored
> again...!
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of Les Hall
> Sent: 02 November 2014 08:00
> To: [hidden email]
> Subject: [OpenSCAD] stereoscopic OBJ viewer
>
> Hi, I have coded a stereoscopic viewer that loads OBJ files and displays in
> Red / Cyan for glasses with those lenses.  This will make your design files
> appear to be in front of or behind the screen, though I cannot test until
> later this week when my color clip-ons arrive.  the viewer is coded in the
> Processing language.
>
> If anyone wants me to I will put it up on GitHub (or try to do so).
>
> Les
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.5315 / Virus Database: 4189/8487 - Release Date: 10/31/14
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Brad Pitcher

I don't think that is necessary. Without a license it is automatically public domain. I would love to see something like this for Google cardboard.

On Nov 2, 2014 10:41 AM, "Felipe Sanches" <[hidden email]> wrote:
So, simply put a header on the source stating that it is released to the public domain.

On Sun, Nov 2, 2014 at 4:11 PM, Les Hall <[hidden email]> wrote:
Here is the source code, i see no reason to put a license on it since the tech is so old and I don’t care who uses my work.  Again it is untested so it may still need TLC before it functions properly but judging by the operation of the thing, methinks it’s ok.  Enjoy!







> On Nov 2, 2014, at 9:40 AM, Alex Gibson <[hidden email]> wrote:
>
> Wow yes please, sounds great
>
> It would be awesome if OpenSCAD could render in red/cyan if you get bored
> again...!
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of Les Hall
> Sent: 02 November 2014 08:00
> To: [hidden email]
> Subject: [OpenSCAD] stereoscopic OBJ viewer
>
> Hi, I have coded a stereoscopic viewer that loads OBJ files and displays in
> Red / Cyan for glasses with those lenses.  This will make your design files
> appear to be in front of or behind the screen, though I cannot test until
> later this week when my color clip-ons arrive.  the viewer is coded in the
> Processing language.
>
> If anyone wants me to I will put it up on GitHub (or try to do so).
>
> Les
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.5315 / Virus Database: 4189/8487 - Release Date: 10/31/14
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
tp3
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

tp3
Brad Pitcher wrote
I don't think that is necessary. Without a license it is automatically
public domain. I would love to see something like this for Google cardboard.
I'm pretty sure that's not the case.

Public domain is not even possible in some countries. I'm in Germany and our law does not allow public domain at all. So I'm using CC0 from creative commons in case I'd like to get something similar to public domain.
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Qbert
OK, here it is with a copyright statement.  Have fun!  I fixed the comment at the top a bit too.  

Les




> On Nov 2, 2014, at 12:56 PM, tp3 <[hidden email]> wrote:
>
> Brad Pitcher wrote
>> I don't think that is necessary. Without a license it is automatically
>> public domain. I would love to see something like this for Google
>> cardboard.
>
> I'm pretty sure that's not the case.
>
> Public domain is not even possible in some countries. I'm in Germany and our
> law does not allow public domain at all. So I'm using CC0 from creative
> commons in case I'd like to get something similar to public domain.
>
>
>
> -----
> -- Torsten
> --
> View this message in context: http://forum.openscad.org/stereoscopic-OBJ-viewer-tp10056p10066.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

STLviewer.pde (2 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Qbert
Oh, and also I can add loading of ASCII STL files also (the kind that OpenSCAD outputs) in time as I get to it, or you may do so yourself, it’s not that difficult really if you know Processing.  

Les


> On Nov 2, 2014, at 2:08 PM, Les Hall <[hidden email]> wrote:
>
> OK, here it is with a copyright statement.  Have fun!  I fixed the comment at the top a bit too.  
>
> Les
>
>
> <STLviewer.pde>
>> On Nov 2, 2014, at 12:56 PM, tp3 <[hidden email]> wrote:
>>
>> Brad Pitcher wrote
>>> I don't think that is necessary. Without a license it is automatically
>>> public domain. I would love to see something like this for Google
>>> cardboard.
>>
>> I'm pretty sure that's not the case.
>>
>> Public domain is not even possible in some countries. I'm in Germany and our
>> law does not allow public domain at all. So I'm using CC0 from creative
>> commons in case I'd like to get something similar to public domain.
>>
>>
>>
>> -----
>> -- Torsten
>> --
>> View this message in context: http://forum.openscad.org/stereoscopic-OBJ-viewer-tp10056p10066.html
>> Sent from the OpenSCAD mailing list archive at Nabble.com.
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Chow Loong Jin
In reply to this post by Qbert
On Sun, Nov 02, 2014 at 12:02:25PM -0600, Les Hall wrote:
> Felipe, there are a few techniques for stereoscopic viewing.  They all rely on one simple principle which is presenting a slightly different image to the right and left eye.  The shutter glasses time a left/right display with a left/right LCD shutter; the red/cyan or other color glasses use color to do this, the split view glasses have little prisms on the lenses and dual images.  All of these can be implemented in OpenSCAD if desired.  
>
> The TV’s that work without glasses use a technology that I am not very familiar with at all.

I believe it uses something like those fancy multi-image rulers (the kind that
show you a different image depending on angle) to present different images to
the eyes. I reckon all of that magic will be handled by the television side of
things, and OpenSCAD would just need to be able to somehow send 3D frames out,
though that'll probably require OS, hardware and driver support.

--
Kind regards,
Loong Jin

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Qbert
so in effect, we could put something akin to a Frenel lens, but in this case a grid of lines, each curved in cross-section, then program up some fancy pixel-distribution thingie and we could have 3D with no glasses - that would rock!  I wonder if one could 3D print such a thing?  I have a 3D printer and in a few days some clear ColorFabb XT filament will arrive.  Shall we have a go at this?  

Les


> On Nov 2, 2014, at 9:31 PM, Chow Loong Jin <[hidden email]> wrote:
>
> On Sun, Nov 02, 2014 at 12:02:25PM -0600, Les Hall wrote:
>> Felipe, there are a few techniques for stereoscopic viewing.  They all rely on one simple principle which is presenting a slightly different image to the right and left eye.  The shutter glasses time a left/right display with a left/right LCD shutter; the red/cyan or other color glasses use color to do this, the split view glasses have little prisms on the lenses and dual images.  All of these can be implemented in OpenSCAD if desired.  
>>
>> The TV’s that work without glasses use a technology that I am not very familiar with at all.
>
> I believe it uses something like those fancy multi-image rulers (the kind that
> show you a different image depending on angle) to present different images to
> the eyes. I reckon all of that magic will be handled by the television side of
> things, and OpenSCAD would just need to be able to somehow send 3D frames out,
> though that'll probably require OS, hardware and driver support.
>
> --
> Kind regards,
> Loong Jin
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Qbert
OOps I’ve been posting the wrong source code for the viewer.  Please use this copy instead:  

Les




> On Nov 2, 2014, at 10:46 PM, Les Hall <[hidden email]> wrote:
>
> so in effect, we could put something akin to a Frenel lens, but in this case a grid of lines, each curved in cross-section, then program up some fancy pixel-distribution thingie and we could have 3D with no glasses - that would rock!  I wonder if one could 3D print such a thing?  I have a 3D printer and in a few days some clear ColorFabb XT filament will arrive.  Shall we have a go at this?  
>
> Les
>
>
>> On Nov 2, 2014, at 9:31 PM, Chow Loong Jin <[hidden email]> wrote:
>>
>> On Sun, Nov 02, 2014 at 12:02:25PM -0600, Les Hall wrote:
>>> Felipe, there are a few techniques for stereoscopic viewing.  They all rely on one simple principle which is presenting a slightly different image to the right and left eye.  The shutter glasses time a left/right display with a left/right LCD shutter; the red/cyan or other color glasses use color to do this, the split view glasses have little prisms on the lenses and dual images.  All of these can be implemented in OpenSCAD if desired.  
>>>
>>> The TV’s that work without glasses use a technology that I am not very familiar with at all.
>>
>> I believe it uses something like those fancy multi-image rulers (the kind that
>> show you a different image depending on angle) to present different images to
>> the eyes. I reckon all of that magic will be handled by the television side of
>> things, and OpenSCAD would just need to be able to somehow send 3D frames out,
>> though that'll probably require OS, hardware and driver support.
>>
>> --
>> Kind regards,
>> Loong Jin
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

ThreeDeeDisplay.pde (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Miro Hrončok
How do I even run this? Doesn't seem complete to me. Thanks
Miro Hrončok

Telefon: +420777974800


2014-11-03 6:55 GMT+01:00 Les Hall <[hidden email]>:

> OOps I’ve been posting the wrong source code for the viewer.  Please use this copy instead:
>
> Les
>
>
>
>
>> On Nov 2, 2014, at 10:46 PM, Les Hall <[hidden email]> wrote:
>>
>> so in effect, we could put something akin to a Frenel lens, but in this case a grid of lines, each curved in cross-section, then program up some fancy pixel-distribution thingie and we could have 3D with no glasses - that would rock!  I wonder if one could 3D print such a thing?  I have a 3D printer and in a few days some clear ColorFabb XT filament will arrive.  Shall we have a go at this?
>>
>> Les
>>
>>
>>> On Nov 2, 2014, at 9:31 PM, Chow Loong Jin <[hidden email]> wrote:
>>>
>>> On Sun, Nov 02, 2014 at 12:02:25PM -0600, Les Hall wrote:
>>>> Felipe, there are a few techniques for stereoscopic viewing.  They all rely on one simple principle which is presenting a slightly different image to the right and left eye.  The shutter glasses time a left/right display with a left/right LCD shutter; the red/cyan or other color glasses use color to do this, the split view glasses have little prisms on the lenses and dual images.  All of these can be implemented in OpenSCAD if desired.
>>>>
>>>> The TV’s that work without glasses use a technology that I am not very familiar with at all.
>>>
>>> I believe it uses something like those fancy multi-image rulers (the kind that
>>> show you a different image depending on angle) to present different images to
>>> the eyes. I reckon all of that magic will be handled by the television side of
>>> things, and OpenSCAD would just need to be able to somehow send 3D frames out,
>>> though that'll probably require OS, hardware and driver support.
>>>
>>> --
>>> Kind regards,
>>> Loong Jin
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> [hidden email]
>>> http://rocklinux.net/mailman/listinfo/openscad
>>> http://openscad.org - https://flattr.com/thing/121566
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
>
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Qbert
It is a source code file for the language Processing.  I can compile an executable for you if you wish or you can get Processing from www.processing.org and run it from within Processing.  If you would like an executable, I’ll need your OS as Mac, PC, or Linux.  

Les


On Nov 3, 2014, at 12:17 AM, Miro Hrončok <[hidden email]> wrote:

How do I even run this? Doesn't seem complete to me. Thanks
Miro Hrončok

Telefon: +420777974800


2014-11-03 6:55 GMT+01:00 Les Hall <[hidden email]>:
OOps I’ve been posting the wrong source code for the viewer.  Please use this copy instead:

Les




On Nov 2, 2014, at 10:46 PM, Les Hall <[hidden email]> wrote:

so in effect, we could put something akin to a Frenel lens, but in this case a grid of lines, each curved in cross-section, then program up some fancy pixel-distribution thingie and we could have 3D with no glasses - that would rock!  I wonder if one could 3D print such a thing?  I have a 3D printer and in a few days some clear ColorFabb XT filament will arrive.  Shall we have a go at this?

Les


On Nov 2, 2014, at 9:31 PM, Chow Loong Jin <[hidden email]> wrote:

On Sun, Nov 02, 2014 at 12:02:25PM -0600, Les Hall wrote:
Felipe, there are a few techniques for stereoscopic viewing.  They all rely on one simple principle which is presenting a slightly different image to the right and left eye.  The shutter glasses time a left/right display with a left/right LCD shutter; the red/cyan or other color glasses use color to do this, the split view glasses have little prisms on the lenses and dual images.  All of these can be implemented in OpenSCAD if desired.

The TV’s that work without glasses use a technology that I am not very familiar with at all.

I believe it uses something like those fancy multi-image rulers (the kind that
show you a different image depending on angle) to present different images to
the eyes. I reckon all of that magic will be handled by the television side of
things, and OpenSCAD would just need to be able to somehow send 3D frames out,
though that'll probably require OS, hardware and driver support.

--
Kind regards,
Loong Jin
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Chow Loong Jin
In reply to this post by Qbert
On Sun, Nov 02, 2014 at 10:46:26PM -0600, Les Hall wrote:
> so in effect, we could put something akin to a Frenel lens, but in this case a grid of lines, each curved in cross-section, then program up some fancy pixel-distribution thingie and we could have 3D with no glasses - that would rock!  I wonder if one could 3D print such a thing?  I have a 3D printer and in a few days some clear ColorFabb XT filament will arrive.  Shall we have a go at this?

I'm afraid that you're not going to have good results with any sort of
FFF/FDM-printed material. I haven't printed XT before, but I understand that
total internal reflection happens quite a lot at the layer-joints, which is why
they advocate a relatively large layer height, which then messes up your Z
resolution, and top surface (lenses have to be sloped after all).

Some have managed to print lenses with some of those photo-curing resin
(SLA/DLP) printers, and I think that's probably the only way you're going to get
a 3D-printed lens for now.

--
Kind regards,
Loong Jin

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Qbert
Loong Jin,

Thank you for your insights as to the best way to do this lens-making.  My printer i FFF/FDM (not sure what those acronyms mean), so it would not work very well - but could it work poorly?  I mean, just for a prototype could I reduce the resolution to 100 pixels across the whole 2k pixel screen and maybe one pixel per 250 micron layer vertically?  

I would print the lens vertically (would need stabilizers on the sides and raft on the bottom) in order to approximate the curvature well.  Is this possible, even in a crude as mud form?  

Les
p.s. i can code the software too, just need to know the profile of the lens (circular, paraboic)?




> On Nov 3, 2014, at 12:44 AM, Chow Loong Jin <[hidden email]> wrote:
>
> On Sun, Nov 02, 2014 at 10:46:26PM -0600, Les Hall wrote:
>> so in effect, we could put something akin to a Frenel lens, but in this case a grid of lines, each curved in cross-section, then program up some fancy pixel-distribution thingie and we could have 3D with no glasses - that would rock!  I wonder if one could 3D print such a thing?  I have a 3D printer and in a few days some clear ColorFabb XT filament will arrive.  Shall we have a go at this?
>
> I'm afraid that you're not going to have good results with any sort of
> FFF/FDM-printed material. I haven't printed XT before, but I understand that
> total internal reflection happens quite a lot at the layer-joints, which is why
> they advocate a relatively large layer height, which then messes up your Z
> resolution, and top surface (lenses have to be sloped after all).
>
> Some have managed to print lenses with some of those photo-curing resin
> (SLA/DLP) printers, and I think that's probably the only way you're going to get
> a 3D-printed lens for now.
>
> --
> Kind regards,
> Loong Jin
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

Felipe Sanches


On Mon, Nov 3, 2014 at 11:03 AM, Les Hall <[hidden email]> wrote:
p.s. i can code the software too, just need to know the profile of the lens (circular, paraboic)?


I would guess it is just a zig-zag...

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

minuti
In reply to this post by Qbert
The kind of lens you're looking to make is called a Lenticular lens. See http://en.wikipedia.org/wiki/Lenticular_lens.
Reply | Threaded
Open this post in threaded view
|

Re: stereoscopic OBJ viewer

minuti
In reply to this post by Felipe Sanches
Felipe Sanches wrote
Actually, I've been wondering about these modern stereoscopic television
sets. I wonder what's the kind of hdmi video one must send to the TV to
produce the 3d images. It is probably a matter of generating frames with
the double of the tv screen x-resolution containing 2 perspectives of the
3d object.
Based on my cheap wal-mart 3D TV, there's a few modes that the display can interpret as 3D, you just need to set which kind of image is coming in. The most common, I'm pretty sure, is side-by-side, which places the left and right frames right next to each other as one big image, like instead of 640x480x2 it's 1280x480. There's also top-bottom, and interlaced in which the odd lines are left-eye and the even lines are right-eye, or maybe the other way around. There's probably more specialty formats too.

Felipe Sanches wrote
But then... this is not something the application would do.
Instead, that would be a job for the graphics card driver. No doubt,
applications would have to have some kind of API to send 3d data to the
driver. I guess that would be wrapped into the OpenGL context.
I think it's something done in part by the application. You have to specify things like interocular distance to get the stereoscopic effect right, otherwise you get things like http://xkcd.com/941/. There's got to be OpenGL stuff for it too, but I'll bet that part gets really platform-specific.

Felipe Sanches wrote
Anyone here has any idea on the actual way to code these things? It would
be nice to make openscad, blender, freecad, and other 3d modeling/rendering
programs benefit from that.
FreeCAD actually already has it, but I've never gotten it to look right. I'd be surprised if blender didn't have it, considering camera positioning is such a huge part of the software.
12