![]() |
UV Unwrapping in Blender 2.59 - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: UV Unwrapping in Blender 2.59 (/thread-10783.html) Pages:
1
2
|
RE: UV Unwrapping in Blender 2.59 - Rapture - 10-17-2011 (10-17-2011, 04:41 AM)Acies Wrote: Have you "triangulated" the model? That might be the issue with the texture. Saving in .dds is the optimum choice. As for the weird rotation: Have you centered the model in blender (at pos x=0, z=0) and centered its pivot point?Ok thanks, I got the model to show in the ModelView. A couple of questions, incase any of you can answer them quickly while I try to figure them out. 1. I have done Object > Apply > Scale + Location & Rotation. It has not completely removed the problem of it rotating around a circle, and the grid being way lower than where the Stone Cup is in the ModelView. I'm also not sure by what you mean by its "pivot point"? 2. My Stone Cup does not have the texture that I gave it, instead it has the texture that the default ground has when you open a model in ModelView. The options Material Textures are all greyed out also. I tried replaced the tga with a dds, but that didn't seem to help. RE: UV Unwrapping in Blender 2.59 - Your Computer - 10-17-2011 In Blender, the part where the axises cross paths is basically the same position where the axises in the perspective view of the model editor cross paths. You'd want the bottom edge of the mesh to be centered there. After aligning it there, apply location again. For the texture issue, do you have a .mat file that points to the texture that the mesh is mapped to (in the same directed as the .dae file)? RE: UV Unwrapping in Blender 2.59 - Rapture - 10-17-2011 (10-17-2011, 06:51 AM)Your Computer Wrote: In Blender, the part where the axises cross paths is basically the same position where the axises in the perspective view of the model editor cross paths. You'd want the bottom edge of the mesh to be centered there. After aligning it there, apply location again.Ok, thanks I got the material working. But the rotation, location isn't working properly. I aligned the model to the X & Y axis. And then did the Apply > Rotation, even checked all 3 at the far left to be sure. Still has the same problem? ![]() ![]() RE: UV Unwrapping in Blender 2.59 - Your Computer - 10-17-2011 All objects viewed in the ModelView will almost always appear to be floating. Rotation of the object in the level editor and model editor is based on the origin of the mesh. Where you currently have the origin of the object (which is the center of those axis arrows) is where you want it to be to make it easier to place down in the level editor. RE: UV Unwrapping in Blender 2.59 - Rapture - 10-17-2011 (10-17-2011, 04:04 PM)Your Computer Wrote: All objects viewed in the ModelView will almost always appear to be floating. Rotation of the object in the level editor and model editor is based on the origin of the mesh. Where you currently have the origin of the object (which is the center of those axis arrows) is where you want it to be to make it easier to place down in the level editor.I didn't really understand that, but I got it into the Level Editor and it shows up in the game. I've been going into the Model Editor, added its body attachement thing, changed its properties, and it User Defined variables to match closely to the Amensia's plate. But it won't work properly in-game, it still acts like a static object (its passable, including all props). ![]() Is their anything else I'm missing? RE: UV Unwrapping in Blender 2.59 - Acies - 10-17-2011 Try increasing the max angular speed and max linear speed above 0. RE: UV Unwrapping in Blender 2.59 - Your Computer - 10-17-2011 Blender 2.59 does not export the mesh names into COLLADA node names. Without the mesh having such a name, the engine won't be able to attach the body to the mesh. Go to http://wiki.frictionalgames.com/hpl2/third_party_tools/3d/blender#notes_on_blender_25 and read the part on how to manually add names to your mesh in the .dae file. RE: UV Unwrapping in Blender 2.59 - Rapture - 10-17-2011 (10-17-2011, 06:08 PM)Your Computer Wrote: Blender 2.59 does not export the mesh names into COLLADA node names. Without the mesh having such a name, the engine won't be able to attach the body to the mesh. Go to http://wiki.frictionalgames.com/hpl2/third_party_tools/3d/blender#notes_on_blender_25 and read the part on how to manually add names to your mesh in the .dae file. Ok, following its directions Code: Exporting of object names is also not currently supported in Blender 2.5. This may cause some issues when creating your own entities from your custom models. When attaching a body to your model in the Model Editor of Amnesia and the object doesn't have a name, the game will not be able to properly attach the model to the body. This may result in half of the model located at the exact center of the map, while another part having been properly attached to the model's body. The current workaround is to edit the .dae file and manually add names to your meshes. Under <library_visual_scenes>, each mesh from your model will be represented by a node tag. Simply edit the node tag by adding a name attribute with the value being the object's desired name. It wasn't specific if whether I should do it to each Mesh. So I just did it only to the Cylinder. Spoiler below!
It does not make the name "StoneCup" appear in the nametag for the Model. ![]() What am I still messing up on? ![]() RE: UV Unwrapping in Blender 2.59 - eliasfrost - 10-17-2011 Actually you don't have to give it a name for it to work in-game. For me, I can add bodies to models without the model having a name, BUT I recommend that you name them just in case you should run into problems. Just to let you know. The issue here is that you can't grab it? Even though you have assigned the Object -> Grab subtype? Make sure that the staticphysics box is unchecked in the entity properties in the level editor. RE: UV Unwrapping in Blender 2.59 - Your Computer - 10-17-2011 (10-17-2011, 06:51 PM)Rapture Wrote: It wasn't specific if whether I should do it to each Mesh. So I just did it only to the Cylinder. You only have to manually add the names in for the objects you are going to be attaching a body to. BTW, you should consider removing lights and cameras from the scene in Blender to keep the .dae file cleaner. If deleting the generated .msh file doesn't refresh things, then you may have to re-import the object into the model editor after applying changes to the .dae file. |