why do my object files look weird when imported to Unity? - unity3d

I have made some heart models on medical software Materialise Mimics and have exported them as .obj files because the software doesnt support exporting as .fbx.
I've tried other Unity developed programs with the exact same models and they look really good, but I dont know what they've done to process the files.
I'm quite new to unity and have tried following some guides on making materials and shaders, but nothing seems to work.
Thanks!
Object file in 3D viewer
Object file directly imported to Unity
Object file with Material added

I think the model's normals got inverted. Try using a double sided shader like this https://gist.github.com/naojitaniguchi/62ccf37c801ea55517b7 (not mine) and see if it's works
I hope it do

Related

When importing .fbx files into unreal engine, all of the textures just become a white base color. How can I fix this?

This is how the files look look like in the content browser:
https://i.stack.imgur.com/DJugN.png
This is how the textures look like in the material graph:
https://i.stack.imgur.com/5IksN.png
I have followed several tutorials and never get the same results as them (i.e. object imported with textures.)
I have the same issue with all file formats which unreal engine supports.
All the objects I tried were free 3D I downloaded online.
Does anyone have a solution to this?

How to modify parts of 3D model imported in Unreal Engine?

I need to find the parts of a 3D model imported in Unreal Engine through fbx importer in order to change something (e.g. a texture, a color, etc.) using Unreal Engine and C++.
I was already able to do so with other open source libraries (e.g. OpenSceneGraph) using the Visitor design pattern to find a pointer to the part and then modifying it but I don't yet know how to do so in Unreal Engine.
Does exist a class to analyze an imported model to find parts? Or is it better to use another approach to modify textures or color of an imported 3D model (e.g. import the parts of the model in an independent manner)?
Generally people reccomended to start poking around the engines FBXImport class since you'll have to homeroll your own FBX conversion code to do anything other than say, change the material during runtime (obvsiously), assuming you mean changing the geometry or such things of an asset thats already been imported.

Photogrammetry: Software to modify/correct details in 3D objects

I started to work with 123D Catch and Blender a while ago. I made some photos and created 3D object in 123D Catch. Next step is to put it into Unity.
But before it I need to correct some details (some edges have inappropriate shape, colour is missed in some places etc).
I tried to import this 3D object into blender but I couldn't upload texture automatically (I watched some tutorials about mapping, but exaples are easy and my object has complicated construction).
Can anyone reccomend me a software where I can correct basic stuff like egdes, shape or colour easly?
Thank you a lot.
When downloading the models the textures are included as 1 or more
image files.
you can edit them in any image manipulation software (e.g. Gimp or Photoshop)
When opening the model in blender
make shure that you use file>import>obj
and turn on textured mode :
Mapping is not neccesary as the UVs are contained in the model alredy.
After editing the shape you can
export the model via file>export>obj or just drag the .blend file into your assets and let Unity convert it automtically.
Before you use your model in unity you should consider reducing its geometry/detail as the generated models can be very high poly.
For that purpose, I can recommend "Meshlab"
Further reading: http://www.shapeways.com/tutorials/polygon_reduction_with_meshlab

.fbx Model grayed out can can't be edited

I have models created with 3D Studio Max.
When I save as .FBX and import into Unity 3D they become grey. What's the reason of this and how can i solve it?
Also i have huge troubles with performance of model on mobile. What's the best approach to get app faster?
When I save as .FBX and import into Unity 3D they become grey. What's the reason of this and how can i solve it?
I've gone through the same issue when importing the following 3D Data Visualization model
The model was created using Cinema4D and exported as .fbx.
When i imported into Unity using drag and drop, I got the following result
As we can see from looking at the Inspector (image above) the material is grey and can't be edited, the textures were not imported. The materials of the default assets cannot directly be edited but there's a way to go around it.
I've created a new material (right click in assets > Create > Material)
Gave it a new name (green) and changed Albedo to green.
And dragged the material to the cube
The end result now looks like expected
Also i have huge troubles with performance of model on mobile. What's the best approach to get app faster?
It can be tricky to develop mobile VR apps but the game window has an info panel that displays useful live information (Use Stats button in the Game window to enable it)
There we can read how many SetPass calls, Batches and polygons are being drawn. Aim for 50 SetPass calls, that's a good number accordingly to Unity experts.
About optimizing performance, some very good developers already explain in detail how to optimize your scenes. I suggest the following links
Understanding VR Performance
Profiler window
1) all models gray- this means the texture was lost in the import. You can create materials and drag them onto the mesh. But Unity can import your max files directly, you dont have to export to .fbx. Maybe if you try that your textures and materials will be setup automatically.
2) performance on mobile- can be various causes. maybe too much detail in your models. Or more likely too many drawcalls, or maybe too heavy cpu upsage . hard to say. the unity docs have pointers on optimizing for mobile.

Unity 3D importing

I used to code in c# using Xna then I saw Unity 3D engine and I downloaded latest version installed correctly started development of my game but suddenly when I was importing my animated character Unity 3d blocked my pc ! I noticed that my keyboard goes off when that happened and I cant move arrow or call task menager I can only restart pc ! So brother and sisters help me on my way .
Model files that are placed in the Assets folder in your Unity project are automatically imported and stored as Unity assets.
A model file may contain a 3D model, such as a character, a building, or a piece of furniture. The model is imported as multiple assets. In the Project view the main imported object is a Model Prefab. Usually there are also up to several Mesh objects that are referenced by the Model Prefab.
A model file may also contain animation data which can be used to animate this model or other models. The animation data is imported as one or more Animation Clips.
What I understand in your question is that whenever you try to import assets into unity it makes trouble.
Try to place them in the folder in your drive and then run the project in Unity.
The normal path of Unity project is C:\Users\Public\Documents\Unity Projects
From what I understand; Your computer is spazzing out when you're trying to import Animated 3D characters into Unity 3D
I have faced a similar problem.
The solution I believe might work is :
Create the appropriate folders inside of unity. Assets > Models
Outside of unity, place the OBJ file for the models into your c:\Users\Public\Documents\Unity Projects\Your Project or wherever it might be, in the Assets\Models folder.
Then when you're inside unity, it should be in there without any issues.
That should do the trick.