Lego Universe is now free - another source of parts?


Re: Lego Universe is now free - another source of parts?
#4
Hey Reuben,

as you have mentioned yourself, there are two ways to get the raw data:

Quote:- extract 3D models information from [Lego Universe client] install files
- use something like 3DVIA Printscreen to capture the 3D information whilst the game is running

The meshes are either composed of triangle-stripes or of simple triangles. A triangle is composed of three vertices and each vertex has a normal. Some vertices are defined multiple times but with different normals. I wrote a program that use this informations to generate the lines and optional lines between the triangles.

If there are two triangles next to each other, they have two common vertices (red). If these vertices have the same normals, you can generate an optional line (blue) between them. For the control points you can use each third (not common) vertex of the triangles (green line).

[Image: olineSample1.png]

If the normals of the common vertices differ, you can generate a normal line (blue) between them.

[Image: lineSample1.png]

I hope this is understandable. The algorithm does not look for quads and if there are planar adjacent triangles there is even so an optional line between them.

Rolf
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Lego Universe is now free - another source of parts? - by Rolf Osterthun - 2011-09-20, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)