Comments (10)
i think last time i encountered something similar was due to the normals of the faces being inverted
im not sure how i can fix this
from objmc.
you can try to use recalculate outside normals in blender.
if some faces can't be resolved by that mayb look into this https://blender.stackexchange.com/questions/7910/what-is-non-manifold-geometry
from objmc.
I thought the same so I made sure that wasn't the case, normally when your faces are inverted you can see the other side of the model but in my case, it's fully transparent, you can enable backface culling in Blender and see that the faces aren't inverted.
from objmc.
I ran into a similar problem with one of my models, actually it's because the faces aren't modeled correctly. The easiest and fastest way I found to solve the problem is to triangulate all the faces (CTRL+T on blender)
from objmc.
they didn't want to triangulate the faces bcos it doubles face count.
anyway it's not the faces that are inverted but the normals. did you try recalculating normals?
from objmc.
I did and then I flipped them just for sanity's sake to make sure that wasn't the case.
@Daminator4113, What did you do for the model to show up like that in Blender? Mine shows up normally but perhaps what you did could be a clue on what's wrong with it, if something is.
from objmc.
If you mean transparency, it's just a visual option :
And I don't think the problem is from flipped normals, I don't know how to explain, but this glitch appears when the faces is not correct (like my example with a useless vertice).
If you look closely on the weapon model, you will see a lot of incorrect faces, for example :
from objmc.
if some faces can't be resolved by that mayb look into this https://blender.stackexchange.com/questions/7910/what-is-non-manifold-geometry
yeah those vertices make normals unresolvable. maybe try the link i sent yesterday to resolve the invalid vertices/edges/faces
from objmc.
I found the problem, it appears that objmc doesn't like ngons, when I specifically use tris or quads everything works but if some part of the mesh is an ngon Minecraft doesn't render it.
Would it be possible to add support for ngons in the future?
Ngons provide the fewer faces possible with quads second and tris having the most faces as expected, that's also the reason why everything got fixed when I triangulated the faces.
from objmc.
minecraft does not have ngons. when creating custom models in vanilla you can only add quads that are made of two tris.
from objmc.
Related Issues (20)
- sodium shader support mod HOT 7
- Error when putting files in obj-mc HOT 2
- Feature req: scaling with display entities HOT 1
- I have this error Error: mismatched obj face count 4.42% HOT 1
- Objmc says "permission denied" when I tried to start the program (not opening it) HOT 4
- How can I get a model on a block, not an item? HOT 2
- Block model rotations HOT 2
- Models do not render with Sodium installed HOT 7
- Objmc is not working with custom model data HOT 3
- Long models and shaders HOT 1
- Playing animations backwards HOT 1
- Make objmc support at least 1 shader for high-quality rendering :) HOT 6
- Convertation does'nt work HOT 1
- Why is my car looks weird ? HOT 2
- indexerror HOT 1
- Incompatibility with 24w06a HOT 2
- Yes, again... Models are invinsible HOT 2
- When import a model with animation, other items lost texture and get a green/white/black texture HOT 6
- r1w21 HOT 1
- gui doesn't have join feature
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 objmc.