[x3d-public] status of spherical movie textures taken from 360 cameras

John Carlson yottzumm at gmail.com
Fri Sep 17 19:08:04 PDT 2021


I think the video is 854x480, but it’s shown twice in X3DOM.

John

On Fri, Sep 17, 2021 at 7:55 PM Nicholas Polys <npolys at vt.edu> wrote:

> For phones
> Webgl texture size limit is
> think
> Is 4096 x 2048
>
>
> On Fri, Sep 17, 2021, 8:42 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> My files are rendering black textures on iPhone.   I’ll probably end up
>> switching to mp4
>>
>> On Fri, Sep 17, 2021 at 7:37 PM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> I got the fishes on my phone, but pool backgrounds are black.
>>>
>>> John
>>>
>>> On Fri, Sep 17, 2021 at 7:06 PM Nicholas Polys <npolys at vt.edu> wrote:
>>>
>>>> Neat!
>>>> Try a radio button here for MP4
>>>> The seam is visible but maybe the source
>>>> drone video
>>>> test... Mostly works ;-]
>>>>
>>>> http://metagrid1.sv.vt.edu/~polys/Forestry2020/Plot%2038/Plot38.html
>>>>
>>>> Comments welcome!
>>>>
>>>>
>>>>
>>>> On Fri, Sep 17, 2021, 7:34 PM John Carlson <yottzumm at gmail.com> wrote:
>>>>
>>>>> Using MovieTexture with canvas did not work.   Texture is better.
>>>>>
>>>>> John
>>>>>
>>>>> On 9/17/21 6:22 PM, John Carlson wrote:
>>>>> > Updates;
>>>>> >
>>>>> > Mapping from .ogv to MovieTexture looks good.
>>>>> >
>>>>> > Drawing on a canvas mapped to a Texture looks not so good. I may try
>>>>> > to make the texture a MovieTexture
>>>>> >
>>>>> > Check it out!
>>>>> >
>>>>> > John
>>>>> >
>>>>> > On 9/17/21 5:46 PM, John Carlson wrote:
>>>>> >> This problem has come up 2-3 times, so I decided to provide an
>>>>> >> example for everyone to work off of:
>>>>> >>
>>>>> >> Point 1:  Texture mapping looks really good on the sphere, but
>>>>> >> there's no animation.
>>>>> >>
>>>>> >> Point 2:  Canvas mapping to a sphere does not work, AFAICT
>>>>> >>
>>>>> >> Point 3:  Canvas drawing from video seems to work when you pause
>>>>> the
>>>>> >> video
>>>>> >>
>>>>> >> Point 4:  Video plays fine in video tag.
>>>>> >>
>>>>> >> I will point the open issues to this example:
>>>>> >>
>>>>> >> https://coderextreme.net/BigBuck/work.html
>>>>> >>
>>>>> >> On 9/17/21 3:43 PM, John Carlson wrote:
>>>>> >>> I'm planning on getting a 360 degree camera and placing my
>>>>> >>> flowers/roses/rhodonea/orbits in a scene with a 3D textured sphere
>>>>> >>> as background.  I'm looking for some experts in the field of
>>>>> mapping
>>>>> >>> 360 degree textures to spheres. I might not only put scenes inside
>>>>> >>> spheres, I might deform spheres, and layer a 360-degree texture
>>>>> over
>>>>> >>> the deformed spheres.
>>>>> >>>
>>>>> >>> I've done a bit of work mapping .mp4's to spheres, so I might have
>>>>> a
>>>>> >>> leg up on the problem if I can find those examples.
>>>>> >>>
>>>>> >>> I don't know if there's still outstanding issues with x3dom and
>>>>> >>> texturing mp4s.  Here's the Big Buck Bunny Movie reference I might
>>>>> >>> use to put into a PBR Next rendering of my rhondonea:
>>>>> >>> https://en.wikipedia.org/wiki/Big_Buck_Bunny.  I hope I can do
>>>>> both
>>>>> >>> my rhodonea as shapes and the .mp4s or whatever the 360-degree
>>>>> >>> format is in X3DOM or X_ITE.   Currently, I'm planning a Three.JS
>>>>> >>> implemenation to get PBR Next features.
>>>>> >>>
>>>>> >>> Hopefully none of this will be super complex, and we might get a
>>>>> >>> X3DOM or X_ITE implementation as a result of learning how to
>>>>> >>> accomplish the task in Three.JS.
>>>>> >>>
>>>>> >>> Anyone with spherical background experience would be wonderful, I
>>>>> >>> have 6-sided box background experience.
>>>>> >>>
>>>>> >>> I guess I'll go analyze the PBR Next example in Three.JS.
>>>>> >>>
>>>>> >>> Thanks!
>>>>> >>>
>>>>> >>> John
>>>>> >>>
>>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210917/82a72979/attachment-0001.html>


More information about the x3d-public mailing list