08-11-2013, 02:55 PM
Custom Mesh Extrusion Problem
|
I Did another test... I opened and saved the provided Curved mesh (TunnelMesh) in GameDraw and the result gives the same wrong mesh extrusion.
08-11-2013, 03:15 PM
08-11-2013, 06:06 PM
Thank you all for reporting this and for the example file. I'll look into this bug and report back here.
Jake
08-11-2013, 06:09 PM
08-12-2013, 11:07 AM
I don't have blender, so the import failed.
But I did some tests with the other meshes and all meshes are missing triangles (at least when I add them to my project. Does they have triangles in your project?). The custom mesh extruder needs either triangles or a nonclosed edge list (like a line). I edited a standard primitive cube in GameDraw, detached a face and saved it. Resulting mesh looked right (4 verts, 2 tris) and worked. The mesh extruder also extrudes along the z-axis, so I made sure my example face is on the X/Y plane. I opened my TunnelMesh in GameDraw and saved it, again I got triangles and everything worked like expected. I don't have a clue how the triangles got corrupted, maybe you have?
08-12-2013, 11:12 AM
(08-12-2013, 11:07 AM)Jake Wrote: I don't have blender, so the import failed. Hmm I'm not sure about the GameDraw thing since I don't have it (I hope SJM Tech can chime in) but the blender meshes I used did have triangles as seen in my first screenshot. Could you try the Quad mesh included in Unity? Have you downloaded and tried the example from SJW Tech? I'm using Unity 4.2.0f4, perhaps this is the issue? If you could share a new mesh you created I could try if it works when imported.
08-12-2013, 12:17 PM
Ok, found the issue. I created a quad mesh in Unity 4.2 and copied it into my develop project (Unity 3.5.7). This resulted in a mesh without triangles. I'll repeat my tests in 4.2 now...
08-12-2013, 12:24 PM
(08-12-2013, 12:17 PM)Jake Wrote: Ok, found the issue. I created a quad mesh in Unity 4.2 and copied it into my develop project (Unity 3.5.7). This resulted in a mesh without triangles. I'll repeat my tests in 4.2 now... Ah! Glad you could reproduce the error. I wonder why Unity changed the way it handles mesh data in 4.2.
08-12-2013, 03:24 PM
(08-12-2013, 12:24 PM)Kriechgebuesch Wrote: Ah! Glad you could reproduce the error. I wonder why Unity changed the way it handles mesh data in 4.2.Working with Unity for so many years now, nothing suprises me anymore The bad thing is that I don't have any statistics about my customers, not even an email address or any opportunity to make a survey. I would drop Unity 3 instantly, but I'm worrying about loosing customers. Supporting multiple versions is a pain... Regarding the custom mesh errors: Extrusion is done in two steps: finding edge loop(s) and extruding them. Looks like the sorting inside the edge detection is causing the trouble. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Incorrect mesh alignment after extrusion on curved path | Thinkurvy | 10 | 21 |
04-17-2024, 10:57 AM Last Post: _Aka_ |
|
Adjust radius of generated mesh via script? | Shackman | 1 | 4 |
03-26-2024, 01:12 PM Last Post: _Aka_ |
|
Connections Problem | Juton | 3 | 16 |
03-06-2024, 10:41 AM Last Post: _Aka_ |
|
How to attach custom components to output | Sacryn | 3 | 7 |
02-23-2024, 09:42 AM Last Post: _Aka_ |