WebGL ripping of a model from sketchfab

Post questions about game models here, or help out others!
DarthTrekkie
ultra-n00b
Posts: 4
Joined: Tue Sep 18, 2018 2:31 pm

Re: WebGL ripping of a model from sketchfab

Post by DarthTrekkie » Thu Oct 04, 2018 2:58 am

Well, I guess the reason I don't understand python and how to rip is I "Mac"... I guess I'm outta luck. still hoping that someone can help me with ripping this starship. thank you!

https://sketchfab.com/models/f629d33553 ... e1db00580e

JJC86
ultra-n00b
Posts: 1
Joined: Thu Oct 04, 2018 10:02 am

Re: WebGL ripping of a model from sketchfab

Post by JJC86 » Thu Oct 04, 2018 10:07 am

M0fD wrote:If only ripping sketchfab was that simple...

I'm a bit busy so I can't rip models at the moment but i can rip you one.

Hello, i was wondering if u could maybe help me with my project, I'm trying to build dual set joysticks from the ground up, and I need some1 to help me get a a 3d file to print the sticks to make the molds ... if u can rip it I'll thk u 4 ur help!

https://sketchfab.com/models/80c3a632b1 ... 7a6c/embed 8D

medwed
advanced
Posts: 73
Joined: Fri Sep 03, 2010 8:45 am
Has thanked: 30 times
Been thanked: 13 times

Re: WebGL ripping of a model from sketchfab

Post by medwed » Fri Oct 05, 2018 1:22 am

Hi :) Blender does not open the file file.osgjs.ys for me.Some models open correctly.Can you do it for me in 3d? I do not care about UV and textures.Only model .Big THANX!

___https://sketchfab.com/models/84b4c052bfaf46c0b4ce2c02afeccb52

episoder
mega-veteran
mega-veteran
Posts: 186
Joined: Fri Oct 16, 2015 8:05 pm
Has thanked: 3 times
Been thanked: 80 times

Re: WebGL ripping of a model from sketchfab

Post by episoder » Fri Oct 05, 2018 3:07 pm

medwed wrote:Hi :) Blender does not open the file file.osgjs.ys for me.Some models open correctly.Can you do it for me in 3d? I do not care about UV and textures.Only model .Big THANX!

___https://sketchfab.com/models/84b4c052bfaf46c0b4ce2c02afeccb52
why the ys file? this won't open anywhere. to get the model you gotta export the model after you imported the osgjs. is that not obvious?

medwed
advanced
Posts: 73
Joined: Fri Sep 03, 2010 8:45 am
Has thanked: 30 times
Been thanked: 13 times

Re: WebGL ripping of a model from sketchfab

Post by medwed » Fri Oct 05, 2018 3:56 pm

episoder wrote:
medwed wrote:Hi :) Blender does not open the file file.osgjs.ys for me.Some models open correctly.Can you do it for me in 3d? I do not care about UV and textures.Only model .Big THANX!

___https://sketchfab.com/models/84b4c052bfaf46c0b4ce2c02afeccb52
why the ys file? this won't open anywhere. to get the model you gotta export the model after you imported the osgjs. is that not obvious?
I wrote it bad.Should -file.osgjs. However, Blender does not open the model :(

Image

episoder
mega-veteran
mega-veteran
Posts: 186
Joined: Fri Oct 16, 2015 8:05 pm
Has thanked: 3 times
Been thanked: 80 times

Re: WebGL ripping of a model from sketchfab

Post by episoder » Fri Oct 05, 2018 4:44 pm

medwed wrote:I wrote it bad.Should -file.osgjs. However, Blender does not open the model :(

-snip-
check the console then and tell 'us' what the error is. guessing this, i'm somewhat certain the script path is not working. if you use the package i set up, you gotta start blender with the bat file that's inclu. that should usually always work to boot root it with the correct relative ('internal') script path i saved/defaulted. :)

medwed
advanced
Posts: 73
Joined: Fri Sep 03, 2010 8:45 am
Has thanked: 30 times
Been thanked: 13 times

Re: WebGL ripping of a model from sketchfab

Post by medwed » Fri Oct 05, 2018 6:22 pm

I'm too stupid for Blender...Other models open correctly only with this I have a problem.Can anyone download this model for me?Thx.

Image

User avatar
nnnobbbody
n00b
Posts: 15
Joined: Sun Apr 03, 2016 9:19 am
Location: EUSSR
Has thanked: 6 times
Been thanked: 12 times

Re: WebGL ripping of a model from sketchfab

Post by nnnobbbody » Sat Oct 06, 2018 12:43 am

episoder wrote:
medwed wrote:I wrote it bad.Should -file.osgjs. However, Blender does not open the model :(
I have absolutely no fucking idea what I'm doing but at least I got past the first error.
Babby's first python edit, don't judge ¯\_(ツ)_/¯

Also weird:
There are EXACTLY 0 to 256 meshes in the scene (which also means model is incomplete). Importer script limitation?

Image
~~~ "To learn who rules over you, simply find out who you are not allowed to criticise" ~~~

medwed
advanced
Posts: 73
Joined: Fri Sep 03, 2010 8:45 am
Has thanked: 30 times
Been thanked: 13 times

Re: WebGL ripping of a model from sketchfab

Post by medwed » Sat Oct 06, 2018 9:39 am

nnnobbbody wrote:
episoder wrote:
medwed wrote:I wrote it bad.Should -file.osgjs. However, Blender does not open the model :(
I have absolutely no fucking idea what I'm doing but at least I got past the first error.
Babby's first python edit, don't judge ¯\_(ツ)_/¯

Also weird:
There are EXACTLY 0 to 256 meshes in the scene (which also means model is incomplete). Importer script limitation?
You have already succeeded in something :) I wonder where the problem lies. Thank you for your willingness to help :)

User avatar
nnnobbbody
n00b
Posts: 15
Joined: Sun Apr 03, 2016 9:19 am
Location: EUSSR
Has thanked: 6 times
Been thanked: 12 times

Re: WebGL ripping of a model from sketchfab

Post by nnnobbbody » Sat Oct 06, 2018 12:33 pm

medwed wrote:You have already succeeded in something :) I wonder where the problem lies. Thank you for your willingness to help :)
Thanks :)

Since Blender 2.49 supports more than 256 scene objects and 512 materials (I actually tested this), I think the problem lies with the importer stopping at 256 meshes for some reason (built-in limitation? variable accidentally out of bounds?)

If I knew where in the script it actually addresses which mesh number it's importing, we could modify the script to skip the first 256 and import the next 256 etc. And then we could somehow combine the two scenes.

Or get rid of the limitation entirely. But I only have some C++ knowledge, so we need a proper python programmer or somebody who actually knows what he's doing.

It would be cool if we could find the original author somehow, he'd know... but there's no signature or name in the scripts and I assume it's somebody in that Russian forum, but my Google Translate only goes so far.
~~~ "To learn who rules over you, simply find out who you are not allowed to criticise" ~~~

medwed
advanced
Posts: 73
Joined: Fri Sep 03, 2010 8:45 am
Has thanked: 30 times
Been thanked: 13 times

Re: WebGL ripping of a model from sketchfab

Post by medwed » Sat Oct 06, 2018 1:20 pm

It would be great ! I am hopeful for the future :) Best wishes and thank you for Your time

episoder
mega-veteran
mega-veteran
Posts: 186
Joined: Fri Oct 16, 2015 8:05 pm
Has thanked: 3 times
Been thanked: 80 times

Re: WebGL ripping of a model from sketchfab

Post by episoder » Sat Oct 06, 2018 1:46 pm

nnnobbbody wrote:Since Blender 2.49 supports more than 256 scene objects and 512 materials (I actually tested this), I think the problem lies with the importer stopping at 256 meshes for some reason (built-in limitation? variable accidentally out of bounds?)

If I knew where in the script it actually addresses which mesh number it's importing, we could modify the script to skip the first 256 and import the next 256 etc. And then we could somehow combine the two scenes.

Or get rid of the limitation entirely. But I only have some C++ knowledge, so we need a proper python programmer or somebody who actually knows what he's doing.

It would be cool if we could find the original author somehow, he'd know... but there's no signature or name in the scripts and I assume it's somebody in that Russian forum, but my Google Translate only goes so far.
it supports more then 256. i imported a 1000+ puzzle before. about recoding... i get the structure of the osgjs, the blender api not so much. problem for me is to get to filter the 'command' strings and hierachy aka the tree, aka the brackets efficiently or at all. text file parsing is not my forte. :|

User avatar
nnnobbbody
n00b
Posts: 15
Joined: Sun Apr 03, 2016 9:19 am
Location: EUSSR
Has thanked: 6 times
Been thanked: 12 times

Re: WebGL ripping of a model from sketchfab

Post by nnnobbbody » Sat Oct 06, 2018 9:02 pm

episoder wrote:it supports more then 256. i imported a 1000+ puzzle before. about recoding... i get the structure of the osgjs, the blender api not so much.
Hmmmm...
You are right. It does support more than 256 models. I have 1077 here, I should have double-checked.
Image

Sooo... you think perhaps the importer is simply dropping the meshes where the boneParent.matrix somehow starts off or becomes invalid, and it being 0-256 (technically 257) meshes is just a coincidence?

In other words, my shoddy fix treats the symptom, not the cause :(

So, a true fix would mean gotta fix the script somewhere higher up the chain for boneParent.matrix to not become invalid in the first place?
~~~ "To learn who rules over you, simply find out who you are not allowed to criticise" ~~~

sashafox
ultra-n00b
Posts: 1
Joined: Wed Oct 10, 2018 6:03 pm

Re: WebGL ripping of a model from sketchfab

Post by sashafox » Wed Oct 10, 2018 6:12 pm

Could someone please rip this model for me?
https://sketchfab.com/models/6ba9f8ce5f ... c0fb875174
Thank you!

DarthTrekkie
ultra-n00b
Posts: 4
Joined: Tue Sep 18, 2018 2:31 pm

Re: WebGL ripping of a model from sketchfab

Post by DarthTrekkie » Fri Oct 12, 2018 3:44 am

DarthTrekkie wrote:Well, I guess the reason I don't understand python and how to rip is I "Mac"... I guess I'm outta luck. still hoping that someone can help me with ripping this starship. thank you!

https://sketchfab.com/models/f629d33553 ... e1db00580e

anyone? Please?

Post Reply