| Model-editor in QuArK Updated 03 Mar 2019 | Upper levels: - QuArK Information Base - 1. Introduction to QuArK

1.5. 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.5.1. Overview (03 Mar 2019)
  - - Overview (03 Mar 2019)
  - - Selection & Navigation Methods (05 Apr 2018)
  - - Hintbox (05 Apr 2018)
- 1.5.2. QuArK's Model Structure (05 Apr 2018)
  - - Components of a Model (05 Apr 2018)
  - - The Model's Mesh(s) (05 Apr 2018)
  - - The Skin-view Mesh(s) (05 Apr 2018)
- 1.5.3. How to Write Model Importers & Exporters (05 Apr 2018)
  - - What Makes Up a Model Component (05 Apr 2018)
  - - Writing QuArK Elements into the Code (05 Apr 2018)
  - - Writing the Start Function of the Code (05 Apr 2018)
  - - Writing the File Processing of the Code (05 Apr 2018)
  - - Creating a Component in the Code (05 Apr 2018)
  - - About the Python Struct Module (05 Apr 2018)
  - - Adding Bones & Their Structure (05 Apr 2018)
  - - Adding Specifics Page & Menu Items (05 Apr 2018)
  - - Bones & Their Matrixes (05 Apr 2018)
- 1.5.4. Menubar (05 Apr 2018)
  - - File menu (05 Apr 2018)
  - - Layout menu (05 Apr 2018)
  - - Edit menu (05 Apr 2018)
  - - Toolboxes menu (05 Apr 2018)
  - - Search menu (05 Apr 2018)
  - - Commands menu (05 Apr 2018)
  - - Toolbars menu (05 Apr 2018)
  - - Options menu (05 Apr 2018)
  - - Help menu (05 Apr 2018)
- 1.5.5. Right Mouse Button (RMB) Menus (05 Apr 2018)
  - - Tree-view RMB menus (05 Apr 2018)
  - - Editor Views RMB menus (05 Apr 2018)
  - - Face RMB menu (05 Apr 2018)
  - - Vertex RMB menu (05 Apr 2018)
  - - BBox RMB menu (05 Apr 2018)
- 1.5.6. Tool-palettes (05 Apr 2018)
  - 1.5.6.1. Animation tool-palette (05 Apr 2018)
  - 1.5.6.2. Display tool-palette (05 Apr 2018)
  - 1.5.6.3. Editing Tools tool-palette (05 Apr 2018)
  - 1.5.6.4. Movement tool-palette (05 Apr 2018)
  - 1.5.6.5. Object modes tool-palette (05 Apr 2018)
  - 1.5.6.6. Paint Modes tool-palette (05 Apr 2018)
  - 1.5.6.7. View Selection tool-palette (05 Apr 2018)
- 1.5.7. Userdata panel (05 Apr 2018)
  - - Components (05 Apr 2018)
  - - Skins folders (05 Apr 2018)
  - - Skin Textures (05 Apr 2018)
  - - Bounding Boxes (05 Apr 2018)
  - - Bones (05 Apr 2018)
- 1.5.8. Misc tools (05 Apr 2018)
  - - New item (05 Apr 2018)
  - - Trashcan (05 Apr 2018)
  - - Undo/Redo (05 Apr 2018)
  - - New BBox sub-group (05 Apr 2018)
  - - New Skins sub-group (05 Apr 2018)
- 1.5.9. Data-displays (05 Apr 2018)
  - - Tree-view (hierarchy-view) (05 Apr 2018)
  - - Specifics/Args-view (05 Apr 2018)
  - - Skin-view (05 Apr 2018)
- 1.5.10. Skin-view page (05 Apr 2018)
  - - Overview (05 Apr 2018)
  - - Selection & Navigation Methods (05 Apr 2018)
  - - Functions & RMB Menus (05 Apr 2018)
  - - Importing Skin Textures (05 Apr 2018)
- 1.5.11. Editing Elements (05 Apr 2018)
  - - Bones System (05 Apr 2018)
  - - Bounding Boxes (05 Apr 2018)
  - - Bound Frames (05 Apr 2018)
  - - Tags System (05 Apr 2018)
- 1.5.12. Vertex Coloring and Weights (05 Apr 2018)
  - - Vertex Coloring (05 Apr 2018)
  - - Vertex Weights (05 Apr 2018)
- 1.5.13. Exporting Model Formats (05 Apr 2018)
  - - .ase format (05 Apr 2018)
  - - .lwo format (05 Apr 2018)
  - - .mdl format (05 Apr 2018)
  - - .md2 format (05 Apr 2018)
  - - .md3 format (05 Apr 2018)
  - - .md5mesh format (05 Apr 2018)
  - - .md5anim format (05 Apr 2018)
  - - .ska format (05 Apr 2018)
  - - .skb format (05 Apr 2018)
  - - .tan format (05 Apr 2018)

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