Новый способ рипа моделей из Sketchfab
-

Posts: 3
hryapacow,
Не понял ваш ответ.
Вообщем есть файлы
file.osgjs
model_file.bin
model_file_wireframe.bin
папка с текстурами тоже есть
на данный момент могу конвертировать из этого 3D модель например OBJ но текстуры ненатягиваются на неё Болие конкретно можете написать как это сделать ?6 February 2022 - 17:22 / #11 -
Так сами текстуры у вас есть. Тоесть теряете где то UV (текстурные координаты). Может при импорте из file.osgjs . Я импортирую вот этим методом https://www.mokairui.com/opensource/ru/61509209e406a467e6219777.html
Или может просто при экспорте из блендера в obj не устанавливаете UV ?6 February 2022 - 20:00 / #12 -

Posts: 1
Может кто помочь выгрузить модельку пистолета ?
https://sketchfab.com/3d-models/bule-roseneros-revolver-devil-may-cry-5-50cf6e17
651d41ffbcdaec702c141490
Выдает ошибку VM3488:26 Uncaught ReferenceError: i is not defined
at :26:14
хотя делаю все по инструкции11 February 2022 - 00:58 / #13 -

Posts: 1
Делаю все по инструкции. Как я понял нужно поставить точку останова напротив This._xhr и t (). Первый вопрос после того как вставлю перву и последнюю точку, нужно после перезагружать страницу? И второй вопрос - где в какой строке находится файл где можно его переименовать для сохранения? У меня танцы с бубном сейчас
13 February 2022 - 14:11 / #14 -

Posts: 3
Для людей которые делаю инструкции типа
1.Берёте курицу
2.Берёте нож
3.Разделываете курицу
4.Ставите курицу в духовку
5.Готовите до готовности
Должен быть отдельный котёл в аду.
Если смогу разобраться в этом треше и получу результат, сделай нормальный гайд и выложу.Post editedSituativno 17 February 2022 - 17:1817 February 2022 - 17:17 / #15 -

Posts: 13
Hello, Logaxfi. I'm getting this error when ever I paste and press enter after on this code :VM15867:1 Uncaught EvalError: Identifier 'downloadBlob' cannot be declared with 'var' in current evaluation scope, consider trying 'let' instead at eval (eval at <anonymous> (ba4b9d9343ffc505d1acb8af1e00a5f0-v2.js:formatted:38529:29), <anonymous>:1:1) at M.<anonymous> (ba4b9d9343ffc505d1acb8af1e00a5f0-v2.js:formatted:38529:29) at Worker.onmessage (ba4b9d9343ffc505d1acb8af1e00a5f0-v2.js:formatted:38474:40) eval @ VM15867:1 (anonymous) @ ba4b9d9343ffc505d1acb8af1e00a5f0-v2.js:formatted:38529 onmessage @ ba4b9d9343ffc505d1acb8af1e00a5f0-v2.js:formatted:38474
And yes I copied the whole code from top to bottom. Any help?19 February 2022 - 17:45 / #16 -

Posts: 13
Edit : Nevermind. I manged to figure it out =D19 February 2022 - 18:18 / #17 -
достаю все 3 файла, меняю бинз на бин и все равно блендер пишет ошибку скрипта,что не так?
кстати у кого в хроме консоль выдает ошибку поменяйте var на let в начале19 February 2022 - 19:33 / #18 -

Posts: 13
Simpler Step by Step Instructions :
1. Download the textures with "dump_sketchfab_model.exe" (If you're on Windows)
2. Open the Page of the Model (Where It can be seen in the 3D Viewer)
3. Press F12
3*.Goto "Source".
4. Press the "{}" Icon. To Format the Code.
5. Find the following string : "this._xhr =".
6. Insert a BreakPoint at the exact line of this code.
7. Reload the Page (CTRL+R).
8. Go to the Console Tab.
9. Insert this code :let downloadBlob, downloadURL; downloadBlob = function(data, fileName, mimeType) { var blob, url; blob = new Blob([data], { type: mimeType }); url = window.URL.createObjectURL(blob); downloadURL(url, fileName); setTimeout(function() { return window.URL.revokeObjectURL(url); }, 1000); }; downloadURL = function(data, fileName) { var a; a = document.createElement('a'); a.href = data; a.download = fileName; document.body.appendChild(a); a.style = 'display: none'; a.click(); a.remove(); }; downloadBlob(i, 'file.osgjs', 'application/octet-stream');
10. Press "Enter" and Save the file.
11. Reload the Page (CTRL+R)
12. Skip the Break Point with the Blue Arrow (Triangle)
13. Insert this code :let downloadBlob, downloadURL; downloadBlob = function(data, fileName, mimeType) { var blob, url; blob = new Blob([data], { type: mimeType }); url = window.URL.createObjectURL(blob); downloadURL(url, fileName); setTimeout(function() { return window.URL.revokeObjectURL(url); }, 1000); }; downloadURL = function(data, fileName) { var a; a = document.createElement('a'); a.href = data; a.download = fileName; document.body.appendChild(a); a.style = 'display: none'; a.click(); a.remove(); }; downloadBlob(i, 'model_file.binz', 'application/octet-stream');
14. Press "Enter" and Save the file.
** The Loading (Blue Bar) Should be half way through now **
15. Go Back to the "Source" tab.
16. Find "t()".
17. Insert a BreakPoint at the exact line of this code.
18. Reload the Page (CTRL+R)
19. Click twice on the Blue Arrow (Triangle) then twice again and then twice again. (6 Times according to the Instructions by loganxfi but actually works in 4 i.e. Until the Model Loads).
20. Goto the "Console" Tab.
21. Insert this code :let downloadBlob, downloadURL; downloadBlob = function(data, fileName, mimeType) { var blob, url; blob = new Blob([data], { type: mimeType }); url = window.URL.createObjectURL(blob); downloadURL(url, fileName); setTimeout(function() { return window.URL.revokeObjectURL(url); }, 1000); }; downloadURL = function(data, fileName) { var a; a = document.createElement('a'); a.href = data; a.download = fileName; document.body.appendChild(a); a.style = 'display: none'; a.click(); a.remove(); }; downloadBlob(i, 'model_file_wireframe.binz', 'application/octet-stream');
22. Press "Enter" and Save it.
23. Open Portable Blender (Provided in the downloads)
24. Press "ALT+P" and then browse the folder where all three of the files are located (file.osgjs, model_file.binz and model_file_wireframe.binz).
25. Click "Import".
26. Export as .obj or what ever you prefer.
27. Profit!
Edit : Typo.Post editedPRemBh0i 19 February 2022 - 23:4819 February 2022 - 23:38 / #19 -

Posts: 13
@loganxfi
Is there a PolyCount limit in fetching a .bin file?
I'm trying to fetch this model :
Link to the model
and I get these files :
But when I try to Import file.osgjs in BlenderPortable I get this :LINES Traceback (most recent call last): File "starter.py", line 1767, in openFile parser=Parser() File "starter.py", line 1760, in Parser osgParser(filename) File "starter.py", line 1723, in osgParser mesh.draw() File "C:\Program Files (IO)\Sketchfab Model Fetching\BlenderPortableSketchfab\App\Blender\.blender\scripts\newGameLib myLibr aries\meshLib.py", line 670, in draw self.addFaces() File "C:\Program Files (IO)\Sketchfab Model Fetching\BlenderPortableSketchfab\App\Blender\.blender\scripts\newGameLib myLibr aries\meshLib.py", line 588, in addFaces self.indicesToTriangleStrips(indiceList,matID) File "C:\Program Files (IO)\Sketchfab Model Fetching\BlenderPortableSketchfab\App\Blender\.blender\scripts\newGameLib myLibr aries\meshLib.py", line 822, in indicesToTriangleStrips f1 = indicesList[id] IndexError: list index out of range
Does IndexError: list index out of range means that the file is too big for the Script to load?
Thanks.Post editedPRemBh0i 20 February 2022 - 14:1020 February 2022 - 14:08 / #20

