WebGL ripping of a model from sketchfab

Post questions about game models here, or help out others!
User avatar
M0fD
mega-veteran
mega-veteran
Posts: 172
Joined: Sat Nov 01, 2014 10:05 pm
Location: Les Gobelins
Has thanked: 17 times
Been thanked: 26 times

Re: WebGL ripping of a model from sketchfab

Post by M0fD » Wed Aug 08, 2018 2:34 pm

nnnobbbody wrote: Either I don't know how to view them (because Blender is an absolute heap of trash and I had to watch three tutorials just to figure out how to select objects, apply textures and set my weld vertices radius), or the script can't do it...
You don't say, I use Blender only for extration. I prefer 3ds max.
1. Ninja Ripper doesn't work with Sketchfab

2. Don't distribute the extraction method

3. Three models only

4. No buyable models


ImageImage

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 » Wed Aug 08, 2018 2:56 pm

nnnobbbody wrote:...what about vertex colors. I've bumped into two models that don't have textures, only vertex colors.
got links? gotta check them out. and see where in the script or api the vcolors are bound. :)

and, well, i use this old version only for extraction too, until i get a model exported that can be worked with in the recent one.

User avatar
M0fD
mega-veteran
mega-veteran
Posts: 172
Joined: Sat Nov 01, 2014 10:05 pm
Location: Les Gobelins
Has thanked: 17 times
Been thanked: 26 times

Re: WebGL ripping of a model from sketchfab

Post by M0fD » Wed Aug 08, 2018 8:29 pm

episoder wrote:got links? gotta check them out. and see where in the script or api the vcolors are bound. :)
In sketchfab search bar, enter "vertex-color".
1. Ninja Ripper doesn't work with Sketchfab

2. Don't distribute the extraction method

3. Three models only

4. No buyable models


ImageImage

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 » Thu Aug 09, 2018 1:10 am

ofc. i indeed found something. this isn't really an easy task tho. finding data relations isn't a problem, string file demangling is tho. i'd rather binary then parse descriptor text. the script is a lil nasty string test routine. the color array isn't handled at all. i can't find the api documentation to add the color array to the blender mesh either tho. :?

may not be possible to get in the near future. :D

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 » Thu Aug 09, 2018 7:52 pm

episoder wrote:may not be possible to get in the near future. :D
Thank you very much for looking into this! Don't worry, take your time. Better later than never.
I'm backing up all the source files anyway.
M0fD wrote:You don't say, I use Blender only for extration. I prefer 3ds max.
Also a 3DSMax user here.

However, I did notice that I'm saving myself a lot of hassle by cleaning up the model in Blender first. 3DSMax gets stuck for half an hour welding the vertices, but Blender manages it in seconds. I'm saving myself a few steps.
Also I'm grabbing all kinds of models that look interesting and fun to explore, I keep them in Blender format, I'll only export them when I actually need them, so having them fully set up is kinda nice.
~~~ "To learn who rules over you, simply find out who you are not allowed to criticise" ~~~

User avatar
M0fD
mega-veteran
mega-veteran
Posts: 172
Joined: Sat Nov 01, 2014 10:05 pm
Location: Les Gobelins
Has thanked: 17 times
Been thanked: 26 times

Re: WebGL ripping of a model from sketchfab

Post by M0fD » Thu Aug 09, 2018 9:07 pm

nnnobbbody wrote:
However, I did notice that I'm saving myself a lot of hassle by cleaning up the model in Blender first. 3DSMax gets stuck for half an hour welding the vertices, but Blender manages it in seconds. I'm saving myself a few steps.
Also I'm grabbing all kinds of models that look interesting and fun to explore, I keep them in Blender format, I'll only export them when I actually need them, so having them fully set up is kinda nice.
Everybody have is own methods. 3DS max is not perfect but with some scripts and plugins I can managed it and the import of model is much more fastier.
But yeah, better have the model in blender format that in osgjs files :mrgreen:.

As for the script, even in PLY there is no vertex color coordonates, unfortunately.

[EDIT] Ninja Ripper keep the vertex color from the ripped object even if it's deformed. Maybe we can use it somehow.

[EDIT2] It's alive !! (It works.)
Last edited by M0fD on Sat Aug 11, 2018 12:08 am, edited 1 time in total.
1. Ninja Ripper doesn't work with Sketchfab

2. Don't distribute the extraction method

3. Three models only

4. No buyable models


ImageImage

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 Aug 10, 2018 11:38 pm

M0fD wrote:
nnnobbbody wrote:As for the script, even in PLY there is no vertex color coordonates, unfortunately.

[EDIT] Ninja Ripper keep the vertex color from the ripped object even if it's deformed. Maybe we can use it somehow.
Ehh... yeh. I looked up PLY. Is this really useful? Another wrapper of code? The colors aren't that hard to track in the descriptor.

Code: Select all

                    },
                    "VertexAttributeList": {
                      "Color": {
                        "UniqueID": 12,
                        "Array": { 
                          "Float32Array": { 
                            "File": "model_file.bin.gz",
                            "Size": 96,
                            "Offset": 96
                          }
                        },
                        "ItemSize": 3,
                        "Type": "ARRAY_BUFFER"
                      },
                      "Normal": {
                        "UniqueID": 11,
                        "Array": { 
                          "Uint32Array": { 
                            "File": "model_file.bin.gz",
                            "Size": 96,
This attribute streams for color and even the normal aren't handled, read or added to the mesh. This is the code that gotta be added. I'm struggle reading the syntax and nodocu tho. Also. You'd really consider mashing and reading a rip file in this blender script to fill the data? Or post rip editing meshes to get the colors? That seems just fucked up and kinda pointless. The plain data is in the files. Just somebody who knows this blender py version gotta code the handling of it. I can't code anything from this. A hassle. That's about it, afaisee. :)

User avatar
M0fD
mega-veteran
mega-veteran
Posts: 172
Joined: Sat Nov 01, 2014 10:05 pm
Location: Les Gobelins
Has thanked: 17 times
Been thanked: 26 times

Re: WebGL ripping of a model from sketchfab

Post by M0fD » Sat Aug 11, 2018 12:08 am

episoder wrote:Also. You'd really consider mashing and reading a rip file in this blender script to fill the data? Or post rip editing meshes to get the colors?
Well it works so... not pointless but if you have a better idea, be my guest.
1. Ninja Ripper doesn't work with Sketchfab

2. Don't distribute the extraction method

3. Three models only

4. No buyable models


ImageImage

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 » Sun Aug 12, 2018 11:03 am

Btw, sorry to ask but can anyone PM me a functional browser script for the selection process?
It's very annoying to have to do everything manually.
~~~ "To learn who rules over you, simply find out who you are not allowed to criticise" ~~~

jcvite
ultra-n00b
Posts: 6
Joined: Wed Jun 27, 2018 8:20 am

Re: WebGL ripping of a model from sketchfab

Post by jcvite » Fri Aug 17, 2018 9:03 am

100/5000
Good evening, I hope and can help me with the extraction of the following model, I would appreciate it very much

https://sketchfab.com/models/d809ec01e6 ... d6b7b0e438
https://sketchfab.com/models/df6c39f802 ... 2908b2715f
https://sketchfab.com/models/0f7fa50fed ... 01713e73c9

Swagsy
n00b
Posts: 13
Joined: Thu Aug 23, 2018 3:30 pm
Has thanked: 2 times

Re: WebGL ripping of a model from sketchfab

Post by Swagsy » Thu Aug 23, 2018 3:37 pm

Guys!! I had success!! I finally ripped the model I wanted from Sketchfab!!! (:
So my tip is to download 2 versions of Ninja Ripper - the newest one, and some other ones
Then download some browsers and start testing! That's what I did and it finally worked on the newest version Ninja Ripper x86 (1.7.1) and Internet Explorer 32 bit, even though I have 64 bit computer.
The first time I tried D3D11 wrapper which ripped 3 texture files and shaders but it froze my pc and I got that You PC ran into a Problem and needs to restart error.
After that I tried D3D9 on Internet Explorer, used Textures and Forced Ripping (Didn't try ALL option cuz that's what crashed my pc) and it worked! I got lots of textures and rip files! This is what I ripped: https://sketchfab.com/models/4a66360f2a ... 5534/embed
Good Luck everybody! Ripping from Sketchfab still works! :]

Edit: Just tried ALL option on D3D9 and it worked without crashing my pc

User avatar
M0fD
mega-veteran
mega-veteran
Posts: 172
Joined: Sat Nov 01, 2014 10:05 pm
Location: Les Gobelins
Has thanked: 17 times
Been thanked: 26 times

Re: WebGL ripping of a model from sketchfab

Post by M0fD » Thu Aug 23, 2018 3:59 pm

Seems that ie is usefull after all.

But did you tried to convert rip files in 3D model ? Cuz yes you can have rip files, but they have not a good shape so try that and tell us later.
1. Ninja Ripper doesn't work with Sketchfab

2. Don't distribute the extraction method

3. Three models only

4. No buyable models


ImageImage

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 » Thu Aug 23, 2018 4:21 pm

Swagsy wrote:Guys!! I had success!! I finally ripped the model I wanted from Sketchfab!!! (:
So my tip is to download 2 versions of Ninja Ripper - the newest one, and some other ones
Then download some browsers and start testing! That's what I did and it finally worked on the newest version Ninja Ripper x86 (1.7.1) and Internet Explorer 32 bit, even though I have 64 bit computer.
The first time I tried D3D11 wrapper which ripped 3 texture files and shaders but it froze my pc and I got that You PC ran into a Problem and needs to restart error.
After that I tried D3D9 on Internet Explorer, used Textures and Forced Ripping (Didn't try ALL option cuz that's what crashed my pc) and it worked! I got lots of textures and rip files! This is what I ripped: https://sketchfab.com/models/4a66360f2a ... 5534/embed
Good Luck everybody! Ripping from Sketchfab still works! :]

Edit: Just tried ALL option on D3D9 and it worked without crashing my pc
How to instal Internet Explorer 32 in 64 system ?

Swagsy
n00b
Posts: 13
Joined: Thu Aug 23, 2018 3:30 pm
Has thanked: 2 times

Re: WebGL ripping of a model from sketchfab

Post by Swagsy » Thu Aug 23, 2018 6:10 pm

M0fD wrote:Seems that ie is usefull after all.

But did you tried to convert rip files in 3D model ? Cuz yes you can have rip files, but they have not a good shape so try that and tell us later.
I'm gonna try to convert them now

Swagsy
n00b
Posts: 13
Joined: Thu Aug 23, 2018 3:30 pm
Has thanked: 2 times

Re: WebGL ripping of a model from sketchfab

Post by Swagsy » Thu Aug 23, 2018 6:12 pm

medwed wrote:
Swagsy wrote:Guys!! I had success!! I finally ripped the model I wanted from Sketchfab!!! (:
So my tip is to download 2 versions of Ninja Ripper - the newest one, and some other ones
Then download some browsers and start testing! That's what I did and it finally worked on the newest version Ninja Ripper x86 (1.7.1) and Internet Explorer 32 bit, even though I have 64 bit computer.
The first time I tried D3D11 wrapper which ripped 3 texture files and shaders but it froze my pc and I got that You PC ran into a Problem and needs to restart error.
After that I tried D3D9 on Internet Explorer, used Textures and Forced Ripping (Didn't try ALL option cuz that's what crashed my pc) and it worked! I got lots of textures and rip files! This is what I ripped: https://sketchfab.com/models/4a66360f2a ... 5534/embed
Good Luck everybody! Ripping from Sketchfab still works! :]

Edit: Just tried ALL option on D3D9 and it worked without crashing my pc
How to instal Internet Explorer 32 in 64 system ?
I have Windows 10 and it was already installed on my computer. It was in Program Files (86x) so it has to be 32 bit. Just look for a folder called Internet Explorer in Program Files 86x. Seems like Internet Explorer is useful for once in my entire life :up:

Post Reply