Giter Club home page Giter Club logo

dpo-cook's Introduction

Smithsonian DPO Cook

3D Model/Geometry/Texture Processing Server.

Important

This is alpha software under active development. Breaking changes can happen anytime, without prior notice. You are welcome to experiment with the software, but please understand that we can't provide support at this time.

For questions, issues and bug reports, please open an issue on Github.

Introduction

Processing 3D meshes can be tedious. For tasks such as mesh decimation, creation of UV coordinates, map baking, and file conversion, dozens of tools are available. There is currently no "one size fits all" solution. Often it takes a lot of time and patience to find a chain of tools which work nicely together.

The Cook service simplifies the processing of 3D model, mesh, and texture data by providing a simplified interface for about a dozen of the most widely used processing tools. Tools are abstracted into tasks. For example, mesh decimation is available as a task with a unified set of parameters, regardless whether it is executed using tool A or B.

The Cook executes on recipes. A recipe is a JSON document describing a processing workflow, where a set of files is processed by multiple tools. Recipes offer "intelligent branching": depending on the outcome of one tool, it can decide what to do next. If a recipe fails on a task using tool A, it can simply decide to try again using tool B.

Recipes are controlled by a set of global parameters. Instead of entering the same information again and again for each tool to be executed, parameters are defined once and then automatically fed to each involved tool.

Web API, web UI and CLI

Currently, the Cook can be operated in three ways:

  • Restful web API
  • Web-based user interface
  • Remote command line interface

The remote CLI is no longer part of this repository. You can find it here: https://github.com/Smithsonian/dpo-cook-cli.git

Documentation

This project, including its documentation, is under active development.

Questions / Comments / Issues

Please open an issue and we will respond ASAP.

Contributions

We welcome any contributions to the project. Please open a PR for any bug fixes and open an issue for any major changes or feature ideas.

Feature Requests

Given that the Smithsonian 3D team has limited resources, our implementation of new features will be limited to those that are directly aligned with the strategic goals and objectives of the institution. We are, however, happy to accept and review any PRs for functionality that will add value for our community at large.

dpo-cook's People

Contributors

gjcope avatar framefactory avatar ghalusa avatar jlee139 avatar

Stargazers

Olga Dmitricenko avatar  avatar Kevin Luecke avatar  avatar  avatar Jonathan Chemla avatar Jeff Cook avatar  avatar aP avatar bfrederick avatar Gianni Hong avatar Frozen Forest Reality Technologies avatar Nir Zilberman avatar  avatar Nina I. Ramos avatar Luca Junge avatar Jim Chan avatar Miles Peyton avatar Max Fritzhand avatar shg avatar  avatar OftenGuy avatar Ethycs avatar  avatar  avatar Romain Janvier avatar  avatar Nour Malaeb avatar Markus Lanxinger avatar  avatar Riccardo Gagliarducci avatar Satish Goda avatar Deke Kincaid avatar Claudia Zimmer avatar Michael B. Johnson avatar Lars van der Bijl avatar Christian Korneck avatar  avatar Michael Amos avatar Karan Pratap Singh avatar Heisenberg avatar jx.li avatar Perry avatar  avatar ૮༼⚆︿⚆༽つ avatar Luis Sebastián Huerta avatar  avatar Christian Martin avatar  avatar  avatar Tina Phillips avatar Mike Staub avatar Jeremy Guillette avatar Baires Learn avatar  avatar  avatar Luobin Wang avatar  avatar Alexei Matveev avatar Mary Chester-Kadwell avatar Greg avatar Ethan Watrall avatar Max Reeder avatar Jon Blundell avatar  avatar  avatar  avatar James Hurlbut avatar Ryan Baumann avatar Daniel Pett avatar  avatar

Watchers

Larry Kevin avatar Daniel Davis avatar James Cloos avatar  avatar  avatar Januzs Woyciechowsky avatar  avatar  avatar  avatar  avatar Satish Goda avatar Jon Blundell avatar  avatar

dpo-cook's Issues

Possible to hook other applications on to Cook?

Sorry if this a nooby question, I'm still much of a novice.

What I wanted to try was to create a mesh with Neural Radiance Fields and plug that into the cook pipeline replacing the normal photogrammetry steps. Is it possible to have cook extend into other non-sanctioned applications? (By changing the config, or even manually coding paths). Or would I need to manually give Cook the exported 3d-model and only let it be able do the post-processing work?

version of RapidCompact

Which version of RapidCompact do you actually use for cook?
As far as I know is the recommended 1.6.0 v still no longer supported by the new token system by DGG.
Thank you.

NPM build exit 0

Hi having some issues installing and running - I have followed the instructions precisely, but I am getting an error 0 when I go to build. I also tried the npm rebuild option too, but this has not solved the issue.

Below is the bash terminal output. Can you give me a hint as to what could be the problem?

Thanks!

2021-04-07T23_36_21_513Z-debug.log

hkows13@tekhkows13 MINGW64 /d/3dCook/dpo-cook (master)
$ npm install

[email protected] install D:\3dCook\dpo-cook\node_modules\node-sass
node scripts/install.js

Cached binary found at C:\Users\hkows13\AppData\Roaming\npm-cache\node-sass\4.14.1\win32-x64-83_binding.node

[email protected] postinstall D:\3dCook\dpo-cook\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[email protected] postinstall D:\3dCook\dpo-cook\node_modules\apidoc\node_modules\nodemon
node bin/postinstall || exit 0

[email protected] postinstall D:\3dCook\dpo-cook\node_modules\node-sass
node scripts/build.js

Binary found at D:\3dCook\dpo-cook\node_modules\node-sass\vendor\win32-x64-83\binding.node
Testing binary
Binary is fine

[email protected] postinstall D:\3dCook\dpo-cook\node_modules\nodemon
node bin/postinstall || exit 0

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\pm2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\nodemon\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\mocha\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\apidoc\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 1307 packages from 732 contributors and audited 1314 packages in 23.896s

86 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

hkows13@tekhkows13 MINGW64 /d/3dCook/dpo-cook (master)
$

hkows13@tekhkows13 MINGW64 /d/3dCook/dpo-cook (master)
$ npm run build

[email protected] build D:\3dCook\dpo-cook
concurrently "npm run build-server" "npm run build-client"

[0]
[0] > [email protected] build-server D:\3dCook\dpo-cook
[0] > tsc -b source/server
[0]
[1]
[1] > [email protected] build-client D:\3dCook\dpo-cook
[1] > cd source/client && webpack && cd ../..
[1]
[1] i 「atl」: Using [email protected] from typescript
[1] i 「atl」: Using tsconfig.json from D:/3dCook/dpo-cook/source/client/tsconfig.json
[1] i 「atl」: Checking started in a separate process...
[0] libs/ff-react/source/ManipTarget.tsx(10,73): error TS2307: Cannot find module '@ff/browser/ManipTarget' or its corresponding type declarations.
[0] libs/ff-react/source/OrbitManip.ts(10,72): error TS2307: Cannot find module '@ff/browser/ManipTarget' or its corresponding type declarations.
[1] i 「atl」: Time: 1549ms
[1] Hash: feb6202b58012d514257
[1] Version: webpack 4.46.0
[1] Time: 8524ms
[1] Built at: 08/04/2021 09:36:15
[1] Asset Size Chunks Chunk Names
[1] main.css 9.75 KiB main [emitted] main
[1] main.css.map 18.4 KiB main [emitted] [dev] main
[1] main.js 1.43 MiB main [emitted] main
[1] main.js.map 1.69 MiB main [emitted] [dev] main
[1] Entrypoint main = main.css main.js main.css.map main.js.map
[1] [../../libs/ff-browser/source/fetch.ts] D:/3dCook/dpo-cook/libs/ff-browser/source/fetch.ts 4.38 KiB {main} [built]
[1] [../../libs/ff-browser/source/parseUrlParameter.ts] D:/3dCook/dpo-cook/libs/ff-browser/source/parseUrlParameter.ts 1.02 KiB {main} [built]
[1] [../../libs/ff-core/source/Commander.ts] D:/3dCook/dpo-cook/libs/ff-core/source/Commander.ts 2.81 KiB {main} [built]
[1] [../../libs/ff-core/source/uniqueId.ts] D:/3dCook/dpo-cook/libs/ff-core/source/uniqueId.ts 1.07 KiB {main} [built]
[1] [../../libs/ff-react/source/ComponentFactory.ts] D:/3dCook/dpo-cook/libs/ff-react/source/ComponentFactory.ts 787 bytes {main} [built]
[1] [../../libs/ff-react/source/DockController.ts] D:/3dCook/dpo-cook/libs/ff-react/source/DockController.ts 11.1 KiB {main} [built]
[1] [../../libs/ff-react/source/DockView.tsx] D:/3dCook/dpo-cook/libs/ff-react/source/DockView.tsx 3.27 KiB {main} [built]
[1] [../../libs/ff-react/source/FlexContainer.tsx] D:/3dCook/dpo-cook/libs/ff-react/source/FlexContainer.tsx 1.99 KiB {main} [built]
[1] [../../libs/ff-react/source/FlexItem.tsx] D:/3dCook/dpo-cook/libs/ff-react/source/FlexItem.tsx 1.13 KiB {main} [built]
[1] [../../libs/ff-react/source/Label.tsx] D:/3dCook/dpo-cook/libs/ff-react/source/Label.tsx 669 bytes {main} [built]
[1] [../../libs/ff-react/source/LineEdit.tsx] D:/3dCook/dpo-cook/libs/ff-react/source/LineEdit.tsx 1.8 KiB {main} [built]
[1] [./main.scss] 50 bytes {main} [built]
[1] [./main.tsx] 2.12 KiB {main} [built]
[1] [react] external "React" 42 bytes {main} [built]
[1] [react-dom] external "ReactDOM" 42 bytes {main} [built]
[1] + 402 hidden modules
[1] Child mini-css-extract-plugin ../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!main.scss:
[1] Entrypoint mini-css-extract-plugin = *
[1] [../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./main.scss] D:/3dCook/dpo-cook/node_modules/css-loader/dist/cjs.js!D:/3dCook/dpo-cook/node_modules/sass-loader/dist/cjs.js!./main.scss 29.4 KiB {mini-css-extract-plugin} [built]
[1] + 2 hidden modules
[1] npm run build-client exited with code 0
[0] npm ERR! code ELIFECYCLE
[0] npm ERR! errno 2
[0] npm ERR! [email protected] build-server: tsc -b source/server
[0] npm ERR! Exit status 2
[0] npm ERR!
[0] npm ERR! Failed at the [email protected] build-server script.
[0] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[0]
[0] npm ERR! A complete log of this run can be found in:
[0] npm ERR! C:\Users\hkows13\AppData\Roaming\npm-cache_logs\2021-04-07T23_36_21_477Z-debug.log
[0] npm run build-server exited with code 2
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: concurrently "npm run build-server" "npm run build-client"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hkows13\AppData\Roaming\npm-cache_logs\2021-04-07T23_36_21_513Z-debug.log

Generating Downloads Recipe: Material name in MTL file does not match OBJ

When generating downloads the full resolution OBJ package has the incorrect material name defined in the MTL file. For example: the OBJ references 'usemtl m1' while the MTL references 'newmtl theobjectmainname'.

This only seems to be the case with the full resolution package as the lower resolution 150k OBJ package has the correct names/references.

Error: Cannot find module 'C:\Users\P70080737\dpo-cook\server\bin\index.js'

Hello...so I have been doing all the initial steps, but run into this error every time I try to run the server with npm run server.

npm run server

[email protected] server
node server/bin/index.js

node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module 'C:\Users\P70080737\dpo-cook\server\bin\index.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

What could be the reason for this?

Hello! I have an issue with framework. Help me, please.

Hello!
I have done all steps from the "Getting sterted" manual, but every time when i am trying to launch server it crashes. Could you tell me, please, how to repair it? Here the listing from CMD bellow.

C:\1DMod\dpo-cook>npm run server

[email protected] server C:\1DMod\dpo-cook
node server/bin/index.js

_________ .__ __ .__ .__ ________ ________
/ / _____ ||/ |_| | __________ ____ ||____ ____ _____ \_____
_____ \ / | \ \ | \ / / _ \ / | _ \ / \ ( < | |
/ \ Y Y \ || | | Y \
( <> ) | \ |/ __ | | \ / | `
/
______ /|_| /||| || /___ >/|| /__(___ /| / /___ /_______ /
/ / / / / / / / /


Cook 3D Processing Server

Clients loaded: 2

C:\1DMod\dpo-cook\source\server\utils\jsonLoader.ts:69
return validate(filePath);

Error: failed to validate 'C:\1DMod\dpo-cook\server\tools.json': data['InstantMeshes'].version should NOT be shorter than 1 characters
at C:\1DMod\dpo-cook\source\server\utils\jsonLoader.ts:59:19
at Object.validate (C:\1DMod\dpo-cook\source\server\utils\jsonLoader.ts:69:12)
at new TaskManager (C:\1DMod\dpo-cook\source\server\app\TaskManager.ts:47:46)
at new JobManager (C:\1DMod\dpo-cook\source\server\app\JobManager.ts:139:28)
at new ProcessingServer (C:\1DMod\dpo-cook\source\server\app\ProcessingServer.ts:78:27)
at Object. (C:\1DMod\dpo-cook\source\server\index.ts:41:16)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] server: node server/bin/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Антон\AppData\Roaming\npm-cache_logs\2021-11-29T19_07_46_812Z-debug.log

problem with ImageMagick

I have a problem getting ImageMagick work.

Maybe it is an problem of the correct path:
in the tools.json is the correct path "D:\voyager_cook\Tools\ImageMagick-7.0.8-Q16",
but in the log file (see below) is wirtten "D:\voyager_cook\ImageMagick\ImageMagick-7.0.8-Q16"
Where comes the incorrect path from?

eg.
2021-08-20 16:10:31 INFO Task 'ConvertImage' started
GET /clients/6867a59e-0ec5-411d-a93e-4f8cd9098823/jobs/00277651-d4d0-becb-b9c9-d110cc23eb54 200 437 - 0.741 ms
2021-08-20 16:10:32 DEBUG Task 'ImageMagick' convert: UnableToOpenConfigureFile `delegates.xml' @ warning/configure.c/GetConfigureOptions/699.
2021-08-20 16:10:32 DEBUG Task 'ImageMagick'
convert: UnableToOpenModuleFile 'D:\voyager_cook\ImageMagick\ImageMagick-7.0.8-Q16\modules\coders\IM_MOD_RL_PNG_.dll': No such file or directory @ warning/module.c/GetMagickModulePath/675.
2021-08-20 16:10:32 DEBUG Task 'ImageMagick'

What can I do?
Thanks.

how to start the first job after instaling cook?

I have installed the cook environment.
Now I want to start a first job, but I have no idea how to do?
What are the first steps I have to do for this?

Is there an easys step by step tutorial for beginners to start a recipe?
Thank you.

Have to manually install PyMeshLab with python v3.9 on windows 10/11?

When doing fresh install and build on Windows 10/11, PyMeshLab isn't installed with python v3.9

can fix by running

"C:\Program Files\Python39\python.exe" -m pip install pymeshlab

this is using the Python 3.9.13 x64 installer.

Windows 11 v10.0.22621 Build 22621

Output from Cook Server with PyMeshLab error before manually installing PyMeshLab:

INFO  Task 'DecimateMesh' started
GET /clients/6867a59e-0ec5-411d-a93e-4f8cd9098823/jobs/e46efa1a-a3e9-244c-924a-5ab45eaffc65/report 200 28448 - 1.142 ms
DEBUG Task 'Meshlab' file written: '_meshlab_yS9FkkBPUXdv.mlx'
GET /clients/6867a59e-0ec5-411d-a93e-4f8cd9098823/jobs/e46efa1a-a3e9-244c-924a-5ab45eaffc65 200 489 - 0.589 ms
DEBUG Task 'Meshlab' Traceback (most recent call last):
DEBUG Task 'Meshlab'
File "C:\Software\DPO\dpo-cook-2018\server\scripts\MeshlabExecuteFilter.py", line 2, in <module>
DEBUG Task 'Meshlab'
    import pymeshlab
DEBUG Task 'Meshlab'
ModuleNotFoundError: No module named 'pymeshlab'
ERROR Task 'Meshlab' tool 'Meshlab' exited after 0.08 seconds - ERROR: (1) Tool Meshlab: terminated with code: 1
ERROR Task 'DecimateMesh' terminated with error after 00:00:01.110
ERROR Task 'Recipe' terminated with error after 00:00:01.159

npm Build Issue

On a clean install I get the following error when I try to build the program:

 J:\dpo-cook> npm run build

> [email protected] build J:\dpo-cook
> concurrently "npm run build-server" "npm run build-client"

[0]
[0] > [email protected] build-server J:\dpo-cook
[0] > tsc -b source/server
[0]
[1]
[1] > [email protected] build-client J:\dpo-cook
[1] > cd source/client && webpack && cd ../..
[1]
[1] J:\dpo-cook\node_modules\webpack-cli\bin\cli.js:93
[1]                             throw err;
[1]                             ^
[1]
[1] TypeError: Cannot convert undefined or null to object
[1]     at Function.keys (<anonymous>)
[1]     at Object.<anonymous> (J:\dpo-cook\source\client\webpack.config.js:39:22)
[1]     at Module._compile (J:\dpo-cook\node_modules\webpack-cli\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
[1]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
[1]     at Module.load (internal/modules/cjs/loader.js:977:32)
[1]     at Function.Module._load (internal/modules/cjs/loader.js:877:14)
[1]     at Module.require (internal/modules/cjs/loader.js:1019:19)
[1]     at require (J:\dpo-cook\node_modules\webpack-cli\node_modules\v8-compile-cache\v8-compile-cache.js:161:20)
[1]     at WEBPACK_OPTIONS (J:\dpo-cook\node_modules\webpack-cli\bin\utils\convert-argv.js:114:13)
[1]     at requireConfig (J:\dpo-cook\node_modules\webpack-cli\bin\utils\convert-argv.js:116:6)
[1]     at J:\dpo-cook\node_modules\webpack-cli\bin\utils\convert-argv.js:123:17
[1]     at Array.forEach (<anonymous>)
[1]     at module.exports (J:\dpo-cook\node_modules\webpack-cli\bin\utils\convert-argv.js:121:15)
[1]     at J:\dpo-cook\node_modules\webpack-cli\bin\cli.js:71:45
[1]     at Object.parse (J:\dpo-cook\node_modules\webpack-cli\node_modules\yargs\yargs.js:567:18)
[1]     at J:\dpo-cook\node_modules\webpack-cli\bin\cli.js:49:8
[1]     at Object.<anonymous> (J:\dpo-cook\node_modules\webpack-cli\bin\cli.js:366:3)
[1]     at Module._compile (internal/modules/cjs/loader.js:1133:30)
[1]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
[1]     at Module.load (internal/modules/cjs/loader.js:977:32)
[1]     at Function.Module._load (internal/modules/cjs/loader.js:877:14)
[1]     at Module.require (internal/modules/cjs/loader.js:1019:19)
[1]     at require (internal/modules/cjs/helpers.js:77:18)
[1]     at Object.<anonymous> (J:\dpo-cook\node_modules\webpack\bin\webpack.js:156:2)
[1]     at Module._compile (internal/modules/cjs/loader.js:1133:30)
[1]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
[1]     at Module.load (internal/modules/cjs/loader.js:977:32)
[1]     at Function.Module._load (internal/modules/cjs/loader.js:877:14)
[1]     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
[1]     at internal/main/run_main_module.js:18:47
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! [email protected] build-client: `cd source/client && webpack && cd ../..`
npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the [email protected] build-client script.

I tried resetting and installing npm over again to no avail.
I'm probably missing something obvious but I would appreciate any help.

Thanks in advance.

UV unwrap in RhizomeUV failing to fully unfold models in web-multi

###Issue
RhizomeUV fails to unfold some patches correctly. Many times these areas appear to be relatively simple/flat

###Steps to recreate
Run a master model migration job for #5431119 - Bell Telephone or #10966713 - Abraham Lincoln Mills Life Mask

Bell Telephone:
Screen Shot 2019-12-19 at 4 45 15 PM
bell 1
bell 2

Lincoln Mills Life Mask
Screen Shot 2019-12-19 at 4 46 09 PM
lincolnmills1
lincolnmills2

###Note
Ran in to this issue while processing a Lincoln hand model and a model of a closed book as well out side of Concierge with remeshing turned on. All seemed like relatively simple geometry compared to something like the VZ model, which is why I'm raising it as an issues.

Recipe history clears on machine reboot

Currently when the machine running cook restarts, recipe histories attached to user IDs are cleared. This can be frustrating when work is lost (or at least hard to find) after the machine unexpectedly restarts.

Tools for Cook

Hi I was wondering if it would be possible to upload the tools that are used in cook since it seems that some of them are not available

npm run build-server exited with code 2

Hi,

first of all thank you for this great tool. I was just trying to build it on my local machine but was running into some issues.

npm install seemed to install all the packages but once I did a npm run build it exited with the following errors:

[0] libs/ff-react/source/ManipTarget.tsx(10,73): error TS2307: Cannot find module '@ff/browser/ManipTarget'.
[0] libs/ff-react/source/OrbitManip.ts(10,72): error TS2307: Cannot find module '@ff/browser/ManipTarget'.
[0] npm ERR! code ELIFECYCLE
[0] npm ERR! errno 2
[0] npm ERR! [email protected] build-server: tsc -b source/server
[0] npm ERR! Exit status 2
[0] npm ERR!
[0] npm ERR! Failed at the [email protected] build-server script.
[0] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[0]
npm ERR! A complete log of this run can be found in:
[0] npm ERR! C:\Users\test\AppData\Local\npm-cache_logs\2021-01-21T05_22_07_178Z-debug.log

xNormal in "bake" recipe fails on obj files created by RizomUV (LIBRIZOMUV)

xNormal in "bake" recipe hangs up when the models used (Either sourceMeshFile and/or preDecimatedUnwrappedTargetFile) is an obj files created by RizomUV (LIBRIZOMUV). The "bake" recipe successfully completes when the same file is imported and exported from Meshlab, and the exported file is then used instead.

It looks like the main difference is that while they both contain vt lines, the MeshLab created file has a "usemtl" section, while the RizomUV created file does not, see attached.

After the recipe is run "xNormal_debugLog.txt" only states

Mon Jan 31 12:54:36 2022 -> Can't create a Direct3D object instance... Is DirectX 9.0c well installed?

MorseTelegraphKey-20k-diffuse-webthumb.jpg
MorseTelegraphKey-unwrapped-webthumb-RizomUV.zip
MorseTelegraphKey-unwrapped-webthumb-MeshLab.zip

no such file or directory

I cannot find .env file in "source/client" folder when i run "npm run build-client".

"source/client/webpack.config.js"
image

image

".gitignore"
image

-- ERROR: Error: The parameter 'WorkingSetPrimType' is not recognized. -RizomUV

I wanted to use the unwrapping feature of RizomUV but every time I run the recipe it give me this error ''-- ERROR: Error: The parameter 'WorkingSetPrimType' is not recognized." inside Rizom.

In the tool section of Rizom inside Cook (RizomUVTool.ts) there is a constant called Content with the line ZomSelect({PrimType="Edge", Select=true, ResetBefore=true, WorkingSetPrimType="Island"... (Rest of code)'

I tried removing the WorkingSetPrimType section to see what it changed but the exact same error still continued.

So I went I digging in Rizom's documentation and I found out that WorkingSet and PrimType are both separate parameters. PrimType='Islands' is correct (Or the values ''Vertex''', ''Edge'', "Triangle'', ''Polygon'') but WorkingSet expects "Visible", "Selected", "Flat", "NotFlat". But after changing the line in RizomUVTool.ts to have it include the fixed parameter it doesn't update the error. Inside Rizom it keeps saying that the given script includes the incorrect line even though I checked everywhere for any appearance of that line. I'm kinda stuck because I don't understand why Cook keeps passing the wrong line of code to Rizom.

Any help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.