POV-Ray : Newsgroups : povray.binaries.utilities : Online files converter Server Time
12 Oct 2025 04:14:49 EDT (-0400)
  Online files converter (Message 16 to 25 of 95)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Bald Eagle
Subject: Re: Online files converter
Date: 28 Sep 2025 18:00:00
Message: <web.68d9aedfc90893361f9dae3025979125@news.povray.org>
yesbird wrote:

> Bill, first of all please check if your browser supports WebGL:
> https://webglreport.com/

Brave supports WebGl1



Sometimes this is the result of older video drivers being rejected by the
browser. Try updating your video drivers if possible.

Also check out Get WebGL, or try installing the latest version of Chrome, or
Firefox.


> Then select _console_ tab after pressing F12 and look for
> errors there.

three.module.js:29414 THREE.WebGLRenderer: A WebGL context could not be created.
Reason:  Could not create a WebGL context, VENDOR = 0x8086, DEVICE = 0x0412,
GL_VENDOR = Google Inc. (Intel), GL_RENDERER = ANGLE (Intel, Intel(R) HD
Graphics 4600 Direct3D9Ex vs_3_0 ps_3_0, igdumdim64.dll -10.18.14.5180),
GL_VERSION = 10.18.14.5180, Sandboxed = yes, Optimus = no, AMD switchable = no,
Reset notification strategy = 0x8252, ErrorMessage = BindToCurrentSequence
failed: .
onContextCreationError @ three.module.js:29414
three.module.js:29414 THREE.WebGLRenderer: A WebGL context could not be created.
Reason:  Failed to create a WebGL2 context.
onContextCreationError @ three.module.js:29414
three.module.js:29414 THREE.WebGLRenderer: A WebGL context could not be created.
Reason:  Could not create a WebGL context, VENDOR = 0x8086, DEVICE = 0x0412,
GL_VENDOR = Google Inc. (Intel), GL_RENDERER = ANGLE (Intel, Intel(R) HD
Graphics 4600 Direct3D9Ex vs_3_0 ps_3_0, igdumdim64.dll -10.18.14.5180),
GL_VERSION = 10.18.14.5180, Sandboxed = yes, Optimus = no, AMD switchable = no,
Reset notification strategy = 0x8252, ErrorMessage = BindToCurrentSequence
failed: .
onContextCreationError @ three.module.js:29414
three.module.js:29414 THREE.WebGLRenderer: A WebGL context could not be created.
Reason:  Failed to create a WebGL2 context.
onContextCreationError @ three.module.js:29414
three.module.js:28990 THREE.WebGLRenderer: Error creating WebGL context.
WebGLRenderer @ three.module.js:28990
three.module.js:28980 Uncaught Error: Error creating WebGL context.
    at new WebGLRenderer (three.module.js:28980:13)
    at init (main.js:50:14)
    at main.js:316:7
main.js:267 Uncaught TypeError: Cannot read properties of undefined (reading
'setSize')
    at onWindowResize (main.js:267:12)



> Many thanks for testing, wishing well :).

Many thanks for writing, and wishing you and everyone else the best in these
crazy times.

- BW


Post a reply to this message

From: Bald Eagle
Subject: Re: Online files converter
Date: 28 Sep 2025 18:05:00
Message: <web.68d9b07dc90893361f9dae3025979125@news.povray.org>
yesbird wrote:

> This is the point for discussion: should converter change
> object's coordinates or just repack then into other format ?
> I guess, this is the editor's function.

I would say it depends on what the user wants.
Blindly converting from one format to another, the computer doesn't "know".

> Maybe, it will be better just position the camera to look at object
> and set acceptable zoom ?

I mean, that's fine for default behaviour, however I'd provide the option to
center in either of the two ways I suggested.

> In attachment: 'hand', loaded into C4D.

So here we have a "part" of what if likely a bigger object / assembly.
It would make sense that it is positioned in relation to the other parts, and so
changing that deletes that very carefully specified position.

Having a coffee mug 100 units in the air and WAY off center doesn't make a lot
of sense.  We'd want to fix that obvious problem so that it doesn;t have to be
accounted for every time we instantiate the mesh, so it would get centered, with
y=0.

For other meshes, where having the center of the object at the origin would make
more sense from a rendering / modeling standpoint, then that would also be a
valid option.


But only the human user can look at that and know for sure.

- BW


Post a reply to this message

From: yesbird
Subject: Re: Online files converter
Date: 28 Sep 2025 18:41:57
Message: <68d9b9b5$1@news.povray.org>
On 29/09/2025 00:55, Bald Eagle wrote:
> Brave supports WebGl1
> 
> × This browser supports WebGL 2, but it is disabled or unavailable.
> 
> Sometimes this is the result of older video drivers being rejected by the
> browser. Try updating your video drivers if possible.
> 
> Also check out Get WebGL, or try installing the latest version of Chrome, or
> Firefox.
...
> Reason:  Failed to create a WebGL2 context.

Looks like WebGl1 is insufficient for Three.js and it wants WebGL2.
Did you tried it with Opera ?

"Don't give in without a fight" :).
-- 
YB


Post a reply to this message

From: yesbird
Subject: Re: Online files converter
Date: 28 Sep 2025 19:25:11
Message: <68d9c3d7$1@news.povray.org>
On 29/09/2025 01:02, Bald Eagle wrote:
> 
> I would say it depends on what the user wants.
> ...

I absolutely agree with all your statements, let's collect
user's opinions and then make decisions about further development.

The only question I have: how to inform the maximum number of 'povers'
about this service ?
-- 
YB


Post a reply to this message

From: Bald Eagle
Subject: Re: Online files converter
Date: 28 Sep 2025 19:35:00
Message: <web.68d9c5f6c90893361f9dae3025979125@news.povray.org>
yesbird wrote:

> Looks like WebGl1 is insufficient for Three.js and it wants WebGL2.
> Did you tried it with Opera ?


Looks to be the same thing.
Tried enabling a thing in Brave to allow WebGL2, but that didn't work.

I'll give it a whirl in Edge since I already have the Win11 spyvirus on my
laptop.

- BW


Post a reply to this message

From: yesbird
Subject: Re: Online files converter
Date: 28 Sep 2025 19:59:50
Message: <68d9cbf6$1@news.povray.org>
On 29/09/2025 02:34, Bald Eagle wrote:
> 
> I'll give it a whirl in Edge since I already have the Win11 spyvirus on my
> laptop.

Beg me pardon, but why not Chrome or Firefox ?
-- 
YB


Post a reply to this message

From: Bald Eagle
Subject: Re: Online files converter
Date: 28 Sep 2025 20:05:00
Message: <web.68d9cc3bc90893361f9dae3025979125@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> I'll give it a whirl in Edge since I already have the Win11 spyvirus on my
> laptop.

Looks good.
Got the teapot when the webpage loaded.
Took maybe 30 sec to convert the ghost.

(slick future feature would be to use a url, and convert from inside a zip.)

mesh.inc autosaved to my downloads folder.
object is called "model"
Not centered at origin
No inside_vector defined

After finding my object with min_extent, translating and rotating
it seems to work fine.

:)

Thank you, Sergei.

- BW


Post a reply to this message


Attachments:
Download 'ghostmesh.png' (18 KB)

Preview of image 'ghostmesh.png'
ghostmesh.png


 

From: Bald Eagle
Subject: Re: Online files converter
Date: 28 Sep 2025 20:20:00
Message: <web.68d9cfd8c90893361f9dae3025979125@news.povray.org>
yesbird wrote:

> Beg me pardon, but why not Chrome or Firefox ?

Thou hast no need for begging for anything, least of all a pardon.

I simply don't have those installed on any of my machines.

I do have "LibreWolf", but many sites don't like the signature of that.

- BW


Post a reply to this message

From: yesbird
Subject: Re: Online files converter
Date: 28 Sep 2025 20:37:25
Message: <68d9d4c5$1@news.povray.org>
On 29/09/2025 03:00, Bald Eagle wrote:
> Looks good.
> Got the teapot when the webpage loaded.
> Took maybe 30 sec to convert the ghost.
> 
> (slick future feature would be to use a url, and convert from inside a zip.)

YES! I am glad that finally you win.

But 30 sec is toooo looong for such small model, I am getting result in
2-3 sec, but there is ocean between us :).

Possible solution: I can open github repository and you will be able to
install this service on more accessible server.

> Thank you, Sergei.

You are always welcome, now I am start thinking about spline
editor for POV-Ray, based on this example:
https://threejs.org/examples/webgl_geometry_spline_editor.html
-- 
YB


Post a reply to this message

From: Bald Eagle
Subject: Re: Online files converter
Date: 28 Sep 2025 21:30:00
Message: <web.68d9e010c90893361f9dae3025979125@news.povray.org>
yesbird wrote:

> You are always welcome, now I am start thinking about spline
> editor for POV-Ray, based on this example:
> https://threejs.org/examples/webgl_geometry_spline_editor.html

Yes, I am certain that such a thing would be useful.

Ed Hynan wrote
https://web.mit.edu/povray_v3.7.0a/epspline.pdf
a while back,

and there was the PointWriter project

And someone had a spline workshop, IIRC.

Tor Olav Kristensen (TOK) has a lot of spline stuff on github

Jerome Grimbert (Le Forgeron) has his hgpov38 project that uses a wide variety
of splines

And I made a big list for jr of all the different spline types

So there's certainly a lot of things that could keep you busy  ;)

- BW


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.