3D Game Programming All in One- P29

30 462 0
3D Game Programming All in One- P29

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Polycount Game development articles, resources, and tutorials. http://www.planetquake.com/polycount Prefabland Freeware 3D models source. http://www.ejoop.com/pfl Programmers Heaven Programming articles, resources, and tutorials. http://www.programmersheaven.com Psionic 3D Design 3D modeling resources. http://www.psionic3d.co.uk SourceForge.net Open Source software development Web site; large repository of Open Source code. http://sourceforge.net Steering Behaviors for Autonomous Characters Paper by Craig Reynolds. http://www.red3d.com/cwr/steer Wotsit's Format Programming articles, resources, and tutorials. http://www.wotsit.org Game Development Web Sites 747 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. This page intentionally left blank Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. 749 Game Development Tool Reference Appendix C A ll of the tools listed in this appendix are for Windows platforms. Some of the listed tools are available also for the Macintosh and Linux systems. For more information on Macintosh and Linux game development tools, see Table C.1 and Table C.2. Table C.1 Linux Tool Sources on the Web Site Link Linux Game Development Center http://lgdc.sunsite.dk Linux Game Tome http://www.happypenguin.org Tucows/Linux http://download.tucows.com/perl/Linux.html Table C.2 Macintosh Tool Sources on the Web Site Link iDevGames http://www.idevgames.com/ Mac's Heaven http://www.mac-heaven.com/ Tucows/Macintosh http://download.tucows.com/perl/Mac.html Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Shareware and Freeware Tools Modeling Blender 3D modeling Multiplatform: Windows, Linux, Irix, Sun Solaris, FreeBSD, or Mac OS X. Free software: Open Source/GPL. http://www.blender3d.org gmax 3D modeling Stripped-down version of 3ds max. Requires exporters to be useful. Free. (Caveat: Few exporters are available; exporter developers must pay a very high fee.) http://www.discreet.com/products/gmax Hammer/Worldcraft 3D modeling—maps or levels Worldcraft (later renamed Hammer) was written for creating Half-Life maps. Free to be used only for creating Half-Life levels or for use by developers using the Torque Engine. Plug-ins available for Torque .DIF format. Windows only. http://collective.valve-erc.com/ MilkShape 3D 3D modeling Supports Torque using exporter plug-in. Windows only. INCLUDED ON COMPANION CD http://www.swissquake.ch/chumbalum-soft Appendix C ■ Game Development Tool Reference750 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. QuArK 3D modeling—maps or levels Originally written for creating Quake maps (QUake ARmy Knife). Supports Torque .DIF format. Windows only. INCLUDED ON COMPANION CD http://dynamic.gamespy.com/~quark Image Editing Paint Shop Pro Image editing Fully featured image processing, painting, and editing tool. INCLUDED ON COMPANION CD http://www.jasc.com Programming Editing Tribal IDE Text editing and debugging Integrated debugger-editor written specifically to work with Tribes 2 and Torque. Useful to have around for debugging. http://depot.gamerzcore.com/ UltraEdit-32 Text editing Includes project and workspace features as well as macros. INCLUDED ON COMPANION CD http://www.ultraedit.com Shareware and Freeware Tools 751 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Audio Editing SoundEdit Pro Audio editing and sound processing Allows manual editing of sound files and conversion between many types. $39.95 http://www.rmbsoft.com/sep.asp Audacity Audio editing and sound processing Allows manual editing of sound files, recording, and wave manipulation. INCLUDED ON COMPANION CD http://audacity.sourceforge.net/ UVMapper 3D UV texture mapping utility Allows user to completely remap the model textures of a Wavefront (obj) model. INCLUDED ON COMPANION CD http://www.uvmapper.com Retail Tools 3ds max 3D modeling Popular commercial 3D modeling software for Windows. $3,000 (Price is approximate—may vary according to reseller and discount eligibility.) http://www.discreet.com Appendix C ■ Game Development Tool Reference752 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Adobe Photoshop Image editing Popular fully featured image processing, painting, and editing tool. $649 http://www.adobe.com Corel Painter Image editing Popular commercial paint program for Windows. $299 (Price varies—sometimes lower with special offers.) http://www.corel.com Deep Paint 3D Image editing Popular commercial paint program for Windows. $995 http://www.righthemisphere.com Deep UV 3D UV texture-mapping utility Fully featured commercial product targeted to professionals. $649.99 http://www.righthemisphere.com Maya 3D modeling Popular commercial 3D modeling software for Windows. $1,999 to $6,999 (Price depends on product set.) http://www.alias.com Retail Tools 753 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Poser 3D animation editing Fully featured commercial product with rendering and automated tools. $249 http://www.curiouslabs.com GNU General Public License The software packages Audacity and QuArK, listed in this appendix and included on the companion CD, are distributed under the terms of the GNU General Public License (GPL). Please review the license agreement on the CD before downloading and using the software. Appendix C ■ Game Development Tool Reference754 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. 755 QuArK Reference Appendix D C hapter 17 described how to use QuArK to create some structures. This appendix contains reference material for using QuArK, as well as details about how to use map2dif, the utility with Torque that's used to generate Torque DIF files. The Map Editor When you launch QuArK, you immediately get the QuArK Explorer window. This is your jumping-off point from which you can get to the various main features of the program. The most important feature of QuArK is the Map Editor, which you have already encoun- tered, shown in Figure D.1. tip Whenever you see the text "Press F1 for help" in the hintbox at bottom left of the window, you can press F1 and get a larger hintbox that gives some information about the item under the cursor. These hints are especially useful if you are new to QuArK and you have forgotten the function of some visible feature in the window. Press F1 to get a quick hint to refresh your memory. Move your mouse out of the hintbox to make it disappear. Remember our previous sidebar discussion of structures vs. interiors and maps vs. rooms in Chapter 17? After all the terminological torture, it boils down to either a part of, or the entire, 3D world in which you play your games. So in the context of developing our game for Torque, we use QuArK to make structures or interiors. In the context of QuArK as a non-specific development tool, we make maps or rooms. The difference lies in how you use them. Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. The remainder of this chapter is about how to use many of the features of QuArK. We will stick to the QuArK terminology so that the words here match the words in the program. A map is made out of mathematical polyhedrons in 3D space. As mentioned earlier, these are also called brushes. Brushes will present in your game as a wall, floor, ceiling, furni- ture, or anything with a fixed collidable 3D shape. Weapons, lights, and other entities are not made out of brushes, and you cannot use the Map Editor to build their shape. note A polyhedron is a solid figure bounded by plane polygons or faces. Cubes and pyramids are specific variants of the polyhedron. QuArK has a formidable array of features, and an equally formidable menu bar. In this section we can make them a bit less formidable with tables for each menu describing their functions. The File menu, as shown in Figure D.2, is pretty much your stan- dard File menu with some QuArK-specific features. Table D.1 contains an itemized description of the menu. Appendix D ■ QuArK Reference756 Figure D.1 The Map Editor. Figure D.2 File menu. Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. [...]... selected and If selected Determines whether selected icons should be displayed in blue or brown 3D View Select 3D viewer If you have a 3Dfx-compatible 3D acceleration graphics card installed, QuArK will use it to speed up drawing in 3D windows If you don't have one, you must select Software only Entities in 3D Whether or not QuArK should draw entities (3D models) in the 3D windows Team LRN Configuration... new free-floating 3D edit window using the OpenGL standard 3D graphic library In QuArK v5.10 it is also the only way to preview (colored) light effects (Silicon Graphics' OpenGL drivers for Windows: http://www berkelium.com/OpenGL/sgi-opengl.html.) Draws, in wireframe mode, all lines in the map, even those that can't be seen simultaneously in all map views Draws, in wireframe mode, gray lines for those... If you have selected Software only in the 3D viewer, then here is where you can adjust how fast the software renderer should be able to draw things in the 3D window, while standing still and while walking/moving around Mouse sensitivity These values control the mouse sensitivity when using a mouse to move the camera in the 3D views Keyboard settings Instead of using the mouse to move around with (which... standard movement keys when the 3D window is active, or redefine them to suit your needs It is highly recommended that you know how to move around in 3D window using the keys Keyboard movement dynamics Change these values if you feel that moving around using the keys isn't quite fast or slow enough You must experiment a bit to find a setting that you like using OpenGL Settings in this folder are only usable... origin spawnflags color string (default "") pos (default is 0,0,0) int: animation flags color (default is 1,1,1) alarm_type falloff1 falloff2 speed steps ingpong bool (default is 0) int (default is 10) int (default is 100) int (default is ?) int (default is 0) bool (default is 0) origin alpha_level pos (default is 0,0,0) int (default is ?) name path_name trigger[0-7]_name string (default is "") string... you were holding down the Ctrl key all the time Delete unused faces Unless you know what you're doing, keep this selected at all times Dig in 3D views To see what a digger or negative polyhedron will do to your level in the 3D windows, keep this selected Hide faces in tree Select this if you do not want to be able to expand polyhedrons showing their faces in the Tree view If you are working with shared... detail_number min_pixels geometry_scale light_geometry_scale detail collision vehicle_collision portal ambient_light bool: Pass ambient light (default is 0) target name origin string (default "") pos (default 0,0,0) origin target state_index falloff_type pos (default 0,0,0) Light Emitters light_emitter_point falloff1 falloff2 falloff3 light_emitter_spot origin pos (default is 0,0,0) target state_index falloff_type... once they are in view Changes all map views to show polyhedrons with their applied textures and alignment It will also show 3D models of entities, if QuArK can find the 3D representation Creates a new free-floating 3D edit window An "eye" with an angle handle will be shown in the map views to illustrate from where the camera sees the world You can actually edit polyhedrons in the 3D window as well... tool (Paint Shop Pro), 296–297, 517 alGetString() function, 669 Numerics 1st PPOV (First-Person Point-of-View) games, 3 3D Cafe Web site, 743 3D objects coordinate systems, 90–91 overview, 89 shapes, 94–95 transformation, 95–98 3D sounds, 559 3D Today Magazine Web site, 743 3Dup.com Web site, 743 3rd PPOV (Third-Person Point-of-View) games, 3 Team LRN 774 Index Align Tracks Together command (Audacity... color alarm_type falloff1 falloff2 distance1 string (default "") Scripted Lights light_omni light_spot origin distance2 color (default is 1,1,1) bool (default is 0) int (default is 10) int (default is 100) int: Inner distance (default is 10) int: Outer distance (default is 100) Animated Lights light_strobe name origin target spawnflags color1 string (default "") pos (default is 0,0,0) int: animation flags . http://dynamic.gamespy.com/~quark Image Editing Paint Shop Pro Image editing Fully featured image processing, painting, and editing tool. INCLUDED ON COMPANION. Site Link Linux Game Development Center http://lgdc.sunsite.dk Linux Game Tome http://www.happypenguin.org Tucows/Linux http://download.tucows.com/perl/Linux.html

Ngày đăng: 08/11/2013, 00:15

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan