Monday, 15 July 2013

unity3d - How to construct a dodecahedron and texture its sides -


I want to create a 3-dimensional model of a planet based on dodectron and represent each side a major texture The landscape and other material in that area (alternatively the split split in 12 pentagon would be better, but this is probably even more complicated.)

This is a game project that I want to do in Unity 3D I am but any way (in screenplay or free The 3D graphics tools) would be helpful.

I have already taken note of the geometry of the platic body and have tried to understand how to attract the Pentagon and then be considered an appropriate angle, or get a solution ready for it. , But so far I have not found any way.

After being somewhat negligible, I got an answer:

Step 1: Create a Pentagon in Blender

It is really very simple to create a cycle and reduce the upper part to 5. I actually went with a cylinder with the dimension X = 1, Y = 1, Z = 0.1, but the overall solution is similar to a flat Pentagon.

Step 2: Get it into Unity 3D

Unity 3D Import. Blonde files naturally, so I saved the .blend file to Pentagon and imported it as an asset in Unity 3D.

Step 3: Put the pentagon on a stick.

Later to rotate the pentagon around the center of Dodectron, I made a cylinder with dimension X in Unity 3D = 0.1, Y = 2, Z = 0.1 and I Putting the Pentagon as a thing object - exactly at the same end (Transform Y = 9, 75, 10 for my 3D-Pentagon if using that rebound and X = 9 to rotate the x cylinder) I have opposite ends Even for this, the pentagon's Cha Issues left side (transform = 9, 75 and X = 90, Z = 180 conversion) both at the same time half.

Step 3: Run around with rotation and scaling

Now I have duplicate and solider (attached pentagon) x = 63.435 (the edges of Dodden Between the angle between) and Y = 180 (facing so much edge each other) to get it right in the post. Now I have to find the correct scaling of the Pentagon to close the gap, which is very close to 15.275. Repeat with respective angles five times (multiplier of y = 180 +/- 72, angle between the two sides of the pentagon).

Done.


No comments:

Post a Comment