LDraw.org Discussion Forums

Full Version: Lego Universe is now free - another source of parts?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Lego Universe is now available as a free download.

http://universe.lego.com

I had some fun playing this with my kids this week :-)
Some of the control panels in the game are quite similar to the GUI in Lego Digital Designer

It has it's own 3D rendering engine. From reading around it looks like it's based on GameBryo???

I'm wondering if it maybe another possible source of LDraw parts e.g.
- 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

Bye for now

Reuben
reuben@pearse.co.uk
=====================================
Download 3D Lego models and other resources from:
http://www.pearse.co.uk/lego
=====================================
Hey Reuben,

Lego Universe is not running on my system Sad; but the games from TtGames are. And there are many new - but I think mostly custom - parts. E.g. the head of Boss Nass or the head of a Bith or an Ithorian (all Star Wars).

Here is a sample of raw data that might be usefull for an official part:
Minifig Head Top, SW Bib Fortuna: 44363.dat.

Rolf
Hi Rolf,

You're right - Lego Universe requires relatively high spec graphics capabilities.

Thanks for posting the SW Bib Fortuna head part. I previewed this in MLCad and it looks good. What process did you use to obtain the raw data and convert to a DAT file?

Can some other authors take a look at this part to validate/certify as I'm not sure what the next steps would be to make this an unofficial/official part. Thanks

Here's the Peeron link for the part that Rolf is referring to:
http://www.peeron.com/inv/parts/x578

Reuben
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
Thanks for the info. I'm curious as to where you find the mesh information - directly in the game files, or did you use a tool like 3DVia Printscreen?

One tool I've looked at before is Watto Studio Game Extractor - this allows you to investigate and extract 3D models from games files. The latest list of supported games includes the following Lego titles:
Lego Bionicle Heroes
Lego Digital Designer
Lego Loco
Lego Racers
Lego Rock Raiders
Lego Star Wars 2

more info here:
http://www.watto.org/extract/games.html

Cheers

Reuben
Reuben, Can you share with us this program?
Hey,

you are welcome. The Game Extractor came across my way, too. Long time ago... Wink

I have written some tools that can extract information directly from the game files. I have access to all games that were released after Lego Star Wars (included) except for Lego Indiana Jones 2, since I do not own it.

I also tried 3DVia Printscreen on Lego Star Wars 2 with success; but only inside the cantina.

Rolf
Are you able to share the tools that you've written? I'm sure others would find them useful.

I would be happy to make them available on my website - I'm already hosting download areas for a number of other LDraw related tools (Nils Schmidt's LDraw Pattern Creator and Rolf Redford's LdrDat2DXF andLdrDat2Obj tools). See the following links for details:

http://www.pearse.co.uk/lego/links/ldrawpatterncreator
http://www.pearse.co.uk/lego/links/ldrdat2dxf

Perhaps you could email the programs to me - reuben@pearse.co.uk

Cheers

Reuben
Hey,

I am sorry, but it is not that easy. The files are stored in archives which needs to be extracted first. Almost each game has an individual format to store the meshes. Inside the graphic files there are often different quality layers for one part and there are often more parts in one file. Etc.

My tools just help me to extract the vertices and triangle information, and the textures. I have (almost) one tool for each format and they are not userfriendly or in a shareable state (at least not yet).

The results of the tools are good but needs to be filtered, joined, rotated, scaled and so on. If there is a parts author, who needs some raw data to start with, to create a part for the parts tracker, I am willing to share.

I would like to share some custom (raw) parts. But I have no idea how to name the files. There are no numbers available Wink.

By the way: Are parts or models form the games official parts or official models?

Rolf
Maybe this might be of use - http://aluigi.altervista.org/papers/bms/ttgames.bms . I have no experience of it myself.

Chris
Pages: 1 2