[x3d-public] Sphere subdivision in to X3DV4 standard

John Carlson yottzumm at gmail.com
Sat May 30 20:36:36 PDT 2020


One thing I haven't tried is modifying the IFS in the vertex shader.  Hmm.
There would still be unwanted edges, I think.

I'm basically looking for a combination between a Sphere and an IFS.

John

On Sat, May 30, 2020 at 10:17 PM John Carlson <yottzumm at gmail.com> wrote:

> No one's changing the radius in X3D.  I'm warping the sphere mesh in a
> vertex shader based on other parameters passed to the shader.
>
> If this is "not allowed,"  I will kindly say "go ____ yourselves" to the
> Web3D consortium.  Money and effort spent better elsewhere (on PlayCanvas).
>
> Of course, I understand most of this is possible with an IndexedFaceSet.
> It just seems extremely slow compared to my current solution (I've tried
> IFS).
>
> If you've missed the revolution in computer graphics dawdling over
> web/VR/AR/XR, search for "real-time ray tracing" or check out the
> PlayStation5 and Unreal 5 demos.
>
> I'm not changing the subdivision or radius field in X3DOM, to make that
> clear.  I have no desire to do that.  I just need a good mesh to pass the
> shader.  Is that so hard to grant?  One that is fully connected (no edges)
> is particularly useful.
>
> John
>
> On Sat, May 30, 2020 at 9:33 PM Joseph D Williams <joedwil at earthlink.net>
> wrote:
>
>>
>>    - … during models lifetime
>>
>>
>>
>> So much is true, please notice the access type of the field.
>>
>> If it is initialize only, then it is set when the node is initialized or
>> replaced.
>>
>> This has been used as a clue that the browser has to completely redraw
>> the node if the field is changed.
>>
>> Of course the sphere’s shape can be altered by xyz scaling in the parent
>> transform so you can change the shape to most anything without a hole but
>> not the initialized radius in parent space or the number of points in the
>> shape without redrawing it.
>>
>> Thanks,
>>
>> Joe
>>
>>
>>
>>
>>
>> *From: *John Carlson <yottzumm at gmail.com>
>> *Sent: *Saturday, May 30, 2020 3:47 PM
>> *To: *J. Scheurich <mufti11 at web.de>
>> *Cc: *X3D Graphics public mailing list <x3d-public at web3d.org>
>> *Subject: *Re: [x3d-public] Sphere subdivision in to X3DV4 standard
>>
>>
>>
>> Surely you can apply transforms such that the radius changes?
>>
>>
>>
>> But according to the X3D standards, a sphere may not change its single
>> parameter (radius)
>> during models lifetime.
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200530/5a62e31d/attachment.html>


More information about the x3d-public mailing list