| Model-editor in QuArK Updated 09 Jul 2012 | Upper levels: - QuArK Information Base - 1. Introduction to QuArK

1.6. Model-editor in QuArK | [ Prev - Up - Next ]

The model editor is the secondary part of QuArK. A model can represent a number of things depending on the game it is being created for. It can be an object like a prop, a table or chair. It can be a structure such as a door or an entire building. It can even be the terrain in a map. But typically a model is a character used to play in the game itself. The model editor lets you view, change and manipulate these kind of game models for the formats that QuArK's Model Editor supports. Basically, a model is made out of a mathematical mesh consisting of individual triangular faces in 3D space. Each face of a model has three vertexes which can be moved, in 3D space, to form the shape of the models mesh. The entire mesh is then "Skinned" using a texture image file such as a .pcx, .jpg, .tga or some other format that the editor will support. The "Skin-view" page of the editor is used for this skinning process, where there is another set of vertexes of the "unwrapped" model mesh and their vertex handles that are used to move this flat mesh of the model over the texture image changing the projected image position of the texture on the model's 3D mesh and giving the model its final appearance. The Skin-view page works a bit differently then the editor's views do, based on the fact that it has no actual triangles. Only what is known as view.handles, view being the view displayed on the Skin-view page itself. Another big difference, at this time, is that unlike all of the other views of the editor which are in a list of its editor.layout.view, the Skin-view page view is never actually added (appended) to that list, on a permanent bases, making it pretty much isolated from the rest of the views of the editor. Because of this I needed to create a global in the quarkpy\mdlhandles.py file called SkinView1 that can be used, when needed, to call that view when the Skin-view page is open. It does seem to be added periodically when the mouse cursor is actually somewhere within the Skin-view page view.

Sections

- 1.6.1. Overview (09 Jul 2012)

- - Overview (09 Jul 2012)
- - Selection & Navigation Methods (13 Sep 2007)
- - Hintbox (09 Jul 2012)

- 1.6.2. QuArK's Model Structure (27 Jul 2009)

- - Components of a Model (27 Jul 2009)
- - The Model's Mesh(s) (26 Apr 2007)
- - The Skin-view Mesh(s) (27 Jul 2009)

- 1.6.3. How to Write Model Importers & Exporters (25 May 2011)

- - What Makes Up a Model Component (27 Jul 2009)
- - Writing QuArK Elements into the Code (09 Dec 2008)
- - Writing the Start Function of the Code (25 May 2011)
- - Writing the File Processing of the Code (28 Jul 2008)
- - Creating a Component in the Code (25 May 2011)
- - About the Python Struct Module (28 Jul 2008)
- - Adding Bones & Their Structure (25 May 2011)
- - Adding Specifics Page & Menu Items (28 Jan 2009)
- - Bones & Their Matrixes (10 Aug 2009)

- 1.6.4. Menubar (30 May 2011)

- - File menu (27 Jul 2008)
- - Layout menu (26 Apr 2007)
- - Edit menu (28 May 2011)
- - Toolboxes menu (26 Apr 2007)
- - Search menu (27 Mar 2011)
- - Commands menu (28 May 2011)
- - Toolbars menu (28 May 2011)
- - Options menu (30 May 2011)
- - Help menu (28 May 2011)

- 1.6.5. Right Mouse Button (RMB) Menus (30 May 2011)

- - Tree-view RMB menus (30 May 2011)
- - Editor Views RMB menus (30 May 2011)
- - Face RMB menu (12 Sep 2007)
- - Vertex RMB menu (05 Dec 2007)
- - BBox RMB menu (26 May 2011)

- 1.6.6. Tool-palettes (01 Mar 2011)

- 1.6.6.1. Animation tool-palette (14 Oct 2009)
- 1.6.6.2. Display tool-palette (24 Aug 2007)
- 1.6.6.3. Editing Tools tool-palette (01 Mar 2011)
- 1.6.6.4. Movement tool-palette (29 Oct 2007)
- 1.6.6.5. Object modes tool-palette (17 Nov 2007)
- 1.6.6.6. Paint Modes tool-palette (19 Mar 2008)
- 1.6.6.7. View Selection tool-palette (01 Mar 2011)

- 1.6.7. Userdata panel (01 Mar 2011)

- - Components (01 Mar 2011)
- - Skins folders (01 Mar 2011)
- - Skin Textures (01 Mar 2011)
- - Bounding Boxes (01 Mar 2011)
- - Bones (01 Mar 2011)

- 1.6.8. Misc tools (01 Mar 2011)

- - New item (01 Mar 2011)
- - Trashcan (01 Mar 2011)
- - Undo/Redo (01 Mar 2011)
- - New BBox sub-group (01 Mar 2011)
- - New Skins sub-group (01 Mar 2011)

- 1.6.9. Data-displays (26 Jul 2009)

- - Tree-view (hierarchy-view) (18 Nov 2008)
- - Specifics/Args-view (26 Jul 2009)
- - Skin-view (29 Oct 2007)

- 1.6.10. Skin-view page (03 Mar 2011)

- - Overview (15 Sep 2007)
- - Selection & Navigation Methods (29 Oct 2007)
- - Functions & RMB Menus (05 Dec 2007)
- - Importing Skin Textures (03 Mar 2011)

- 1.6.11. Editing Elements (25 May 2011)

- - Bones System (26 Jul 2009)
- - Bounding Boxes (25 May 2011)
- - Bound Frames (25 May 2011)
- - Tags System (16 Oct 2009)

- 1.6.12. Vertex Coloring and Weights (27 Jul 2009)

- - Vertex Coloring (27 Jul 2009)
- - Vertex Weights (27 Jul 2009)

- 1.6.13. Exporting Model Formats (28 Jan 2011)

- - .ase format (27 Jan 2011)
- - .lwo format (27 Jan 2011)
- - .mdl format (27 Jan 2011)
- - .md2 format (27 Jan 2011)
- - .md3 format (28 Jan 2011)
- - .md5mesh format (28 Jan 2011)
- - .md5anim format (28 Jan 2011)
- - .ska format (28 Jan 2011)
- - .skb format (28 Jan 2011)
- - .tan format (27 Jan 2011)

Copyright (c) 2009, GNU General Public License by The QuArK (Quake Army Knife) Community - http://quark.sourceforge.net/ | [ Prev - Top - Next ]