Comments (2)
I suppose that is because the UE does not support the color format of the .obj files that we saved. To fix it, you can try to convert the .obj files to .glb using this code snippet.
from pygltflib import GLTF2, Material, PbrMetallicRoughness
obj = GLTF2().load(obj_path)
obj.meshes[0].primitives[0].material = 0
obj.materials.append(Material(
pbrMetallicRoughness = PbrMetallicRoughness(
baseColorFactor = [1.0, 1.0, 1.0, 1.0],
metallicFactor = 0.,
roughnessFactor = 1.0,
),
emissiveFactor = [0.0, 0.0, 0.0],
doubleSided = True,
))
obj.save(glb_path)
Optionally, you can visualize the textured obj in Meshlab.
from era3d.
Thank you for your prompt reply! It works!
from era3d.
Related Issues (20)
- "TypeError: unsupported operand type(s) for /: 'str' and 'int'" when executing code at .\mvdiffusion\data\single_image_dataset.py, line 182 HOT 7
- xformers error HOT 6
- Please be more informative about that only HF repo works HOT 2
- unexpected noisy normal generated on side view and boundary
- problem installing reconstruction tool
- I want to adjust Advanced Options HOT 1
- Question about Cross-domain Att HOT 4
- The problem of the mesh being mirrored left and right HOT 1
- Instant-NSR Mesh Extraction 失败,我是windows平台
- Can I run the Python app. py on Windows? HOT 1
- This is a very good work. May I ask what the camera intrinsic parameter matrix and fovy are corresponding to the six images generated? HOT 2
- Refine obj import to blender, color attribute not found HOT 6
- I wonder if we can generate 3D models HOT 2
- The shape of the character in the image is not correctly captured. HOT 1
- Can we use free viewpoint? HOT 1
- WARNING: Requirement 'xformers-0.0.23.post1-cp39-cp39-manylinux2014_x86_64.whl' looks like a filename, but the file does not exist ERROR: xformers-0.0.23.post1-cp39-cp39-manylinux2014_x86_64.whl is not a supported wheel on this platform. HOT 1
- IndexError: The shape of the mask [1, 64, 64] at index 1 does not match the shape of the indexed tensor [1, 360, 360, 3] at index 1
- Can I create additional images from another angles ? HOT 9
- position embeddings inconsistency HOT 1
- Why are the resulting objects flatter, less round, and have white patches on their sides?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from era3d.