The Lego Project CG Workshop - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

The Lego Project CG Workshop

Description:

Create an interactive Lego modeling application. In the application we will be able to: ... Lego Modeling ... Lego Modeling Continued: Taking objects apart. ... – PowerPoint PPT presentation

Number of Views:70
Avg rating:3.0/5.0
Slides: 25
Provided by: Ala774
Category:
Tags: lego | project | workshop

less

Transcript and Presenter's Notes

Title: The Lego Project CG Workshop


1
The Lego ProjectCG Workshop
  • the lego modeling project
  • summer 2005

2
The Goal
  • Create an interactive Lego modeling application.
  • In the application we will be able to
  • Create Lego bricks.
  • Create Lego models.
  • Color and texture them.
  • Save them as 3D meshes.
  • And anything else you can think of!!!

3
Examples
4
Examples
5
How do you do that?
  • Use graphics APIs (OpenGL or DirectX) for
    rendering and modeling.
  • The user will have
  • Modeling Controls
  • Camera Controls
  • Lights
  • Textures
  • ...
  • Use whichever GUI you want.

6
  • Modeling using Lego bricks.
  • Creating different Lego bricks.
  • Textures and colors.
  • Exporting 3D models.

7
Introduction
  • Interactive modeling
  • UI Design.
  • Mouse and keyboard controls.
  • Real time rendering
  • Render using graphic library
  • Visual quality lights, textures, materials
  • Interactive frame rates (fast)

8
Requirements
  • No A.I.
  • Friendly UI
  • Mouse control the user drags objects with the
    mouse to valid locations
  • Camera control the camera can navigate to view
    the model from different directions.

9
Modeling
10
Brick Creation
  • Define height and width values for a brick and
    use them to define the bricks.
  • Define bottom and top attach points.
  • Define additional brick planes (e.g. roof bricks).

1h x 3w x 2w
Roof bricks have additional planes
11
Lego Modeling
  • Bricks are attached to each other and become
    objects that can be placed and attached.
  • objects can be dismantled into smaller objects
    and bricks.

12
Lego Modeling
  • Lego bricks are placed in the world using
    translations and 90o rotations in Tetris Mode.

13
Modeling Applications
  • Classical modeling applications usually have
    multiple views (top, front, perspective...).

14
Coloring and Texturing
15
Coloring and Texturing
  • Assign each brick a color (material).
  • Give the user the ability to apply texture
    mapping to the model.

Cheating is allowed up to a point ... ask me when
you get to this part.
16
Coloring and Texturing
  • Drawing directly on the objects. A simple paint
    brush like application. The drawing will be onto
    a texture that will be applied to the object.

17
3D model exporting
18
3D models
  • Save the outer (visible) part of the model as a
    3D mesh in one of the standard file formats (obj
    file format).
  • These models
  • can be used with
  • any standard
  • 3D application.

19
Administrative Stuff
20
Administrative Stuff
  • Next week each group will present its initial
    approach to problem.
  • After 4-5 weeks (beginning of August), the groups
    will present their initial implementation and
    progress report.
  • At the end of the semester each group will
    present their application.

21
Administrative Stuff
  • Each group can be of 2-3 students. Groups of 3
    have to make a more impressive project (add more
    features, nicer user interface...)
  • Part of the grade will depend on the performance
    of the application (interactivity and usability)
    which will be relative to the other groups.

22
How to Approach the Project
  • Build the scene
  • Basic rendering.
  • Lights.
  • Camera controls.
  • ...
  • Lego modeling
  • Brick data structure.
  • Controls.
  • Snapping.
  • ...

23
How to Approach the Project
  • Lego Modeling Continued
  • Taking objects apart.
  • Attaching objects
  • ...
  • Brick Editing
  • Create new bricks.
  • Export them to the modeller.
  • ...

24
How to Approach the Project
  • Extract the 3D Model.
  • Texturing and Modeling
  • Add texture mapping.
  • Create a simple drawing interface.
  • Add the drawing as textures.
  • ...
Write a Comment
User Comments (0)
About PowerShow.com