Comments (15)
@Doprez Committed the update for embedded texture!
from stride.
Ah ok, seems like the new importer is missing a step of extracting textures from the FBX file. I dont think that would be part of the model not appearing correctly but at that may at least explain the textures not getting imported in the current version.
from stride.
@Noah7071 is this just missing or a special case for this model file?
Oh yes for the case texture embedded, unlike FBX sdk there isnt auto setting in Assimp to rip embedded files. Have to generate texture image file traversing pixel by pixel. Checking in the fix shortly!
from stride.
You're a legend! I can either mark this as closed now or we can wait for the PR to close it.
from stride.
Thanks @Doprez , best mark it closed and open new if somethin else!
from stride.
Yes, there's PR of this #2163
from stride.
Im going to reopen for now so we can track it once it gets merged. It does seem fixed from Noahs example but just needs to be in master.
from stride.
Seems like it may be a path issue based on the image below:
and this check here cant find the textures causing the above error.
private static void ImportTextures(IEnumerable<string> textureDependencies, List<AssetItem> assetReferences, Logger logger)
{
if (textureDependencies == null)
return;
foreach (var textureFullPath in textureDependencies.Distinct(x => x))
{
if (!File.Exists(textureFullPath))
{
string texName = Path.GetFileNameWithoutExtension(textureFullPath)??"<unknown>";
logger.Error($"Texture with name {texName} not found");
continue;
}
var texturePath = new UFile(textureFullPath);
var source = texturePath;
var texture = new TextureAsset { Source = source, Type = new ColorTextureType { PremultiplyAlpha = false } };
// Create asset reference
assetReferences.Add(new AssetItem(texturePath.GetFileNameWithoutExtension(), texture));
}
}
from stride.
@Noah7071 is this just missing or a special case for this model file?
from stride.
Thanks for sharing this @Doprez. Wheres this particular model Emily_jumpinng! ? The link you shared isn't opening for me.
from stride.
Oh weird, try this https://www.turbosquid.com/3d-models/emily-blender-2157992
from stride.
Oh lol sorry I apparently added the hyperlink without adding the actual link
from stride.
Did you already make the PR?
from stride.
Ah but that was already merged, I think it will need a new one for your commit to take effect.
from stride.
Should be fixed from @Noah7071 repo, I pulled it in this PR #2246
from stride.
Related Issues (20)
- Clean Install - NuGet - Stride.Core.Assets.CompilerApp.exe fails - NuGet conflict HOT 3
- Scope based editor window system HOT 4
- UI Page Will Crash if a Slider is added to a Canvas panel
- How to make android start full screen display HOT 1
- Non-existing shader crashes Game Studio HOT 1
- AssetCompiler error on multi-project configuration HOT 7
- How to get latest version? HOT 3
- Duplication of Entith with List<T> variable crashes editor
- Android emulator startup texture setup crash HOT 4
- DebugPhysicsShapes not rendering in layers other than group0+ flickering
- Compilerservices File Scoped doesnt work
- [Docs] README.md updates
- Editor Scene Hierarchy Memory Leak HOT 1
- Projects with graphics level 9 1 and level 9 graphics compositor crash at startup HOT 4
- Overflow Exception when getting SoundInstance position
- Current Stride.Native.targets file prevents from using modern NET MSBuild
- Can't load assets when the root asset/folder name has # prefix HOT 4
- OpenGL ES 2 support dropped without official notice
- Potential skin/bone animation bug
- Rename "Down" input methods for clarity from "Pressed" (e.g. IsKeyDown, IsMouseButtonDown etc.) HOT 3
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 stride.