• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Porthos

Members
  • Content count

    115
  • Joined

  • Last visited

Community Reputation

210 Neutral

About Porthos

  • Rank
    Member
  1. An Open Source 3D Model Viewer I just released: open3mod. Supports 30+ file formats, including Collada, OBJ, STL, FBX, BLEND, 3DS, X, MD5 ... and does export to STL, DAE, OBJ and some others, which may make it useful if you want to get some ancient 3D model into e.g. STL for your printing. It is backed by Open Asset Import Library (also known as assimp), which I've been co-working on for a couple of years.   Supports split view, multiple open tabs. animation playback and deep insight into the scene hierarchy. Also, you can fix missing textures on the fly.   Full list of supported file formats   Download at open3mod.com   [attachment=22311:shot1.png] [attachment=22312:shot2.png] I've been working on this on and off for about two years. It has never been a priority, but it continuously distracted me from other stuff, so I figured it was time for a first release. Feel free to share! Any feedback welcome.?
  2. Would be great to see the relevant pieces of your code. Bye, Alex
  3. Consider using an existing file format, such as Collada, Obj, 3DS whatever suits your needs. Also, nothing speaks against the .X format if you have a working exporter and importer for it - after all, it's just your data pipeline. As long as it works, no one cares how old your file formats are. I recommend using a library such as http://assimp.sourceforge.net to do the model loading for you.
  4. Assimp reads MD2 as well (amongst many other formats), but it does not currently support vertex animations. If you don't need those, it might be useful for you.
  5. Try to flip the y coordinate of the UVs (y=1.f-y). That's a typical issue with DirectX, which chooses the opposite UV convention than Assimp. Note that you can configure Assimp to do this for you early in its pipeline by specifying the aiProcess_FlipUVs flag in addition to your existing setup. Bye, Alex
  6. >> 1. How does it work? How do you implement a script? By compiling it into bytecode, then execute it in a virtual machine within the process. That's done by the runtime library of the scripting language of your choice, you don't need to care of it. Simply use the API the language provides. >> 1. What type of occasions demand scripting? When should you use it? For everything that is no performance-critical, because scripting languages typically provide a much faster workflow and are less error prone.
  7. I'm going to talk with the author of Assimp.net. However, this subproject is not required for running the Assimp library from C/C++, it's totally independent. >> I have a question before updating to the latest version of Assimp: are there any world shocking changes made to it? I mean, will I be able to use Assimp the way I'm using it now or has the base functionality and/or structure changed? No breaking API changes, everything should just work fine. Most of the changes since the last prebuilt package went into the Collada loader, so you might profit a lot from updating.
  8. First of all, thanks for all recommendations of Assimp :-) Unfortunately, wiegje85 is right about at least one fact: for a few days, Assimp's SVN head was broken, but it should be fixed now ... right now, I did a clean checkout and it compiled perfectly for me, both with vc8 and vc9. I didn't check with gcc yet, however. No missing files at least - maybe you're missing boost? - this can be avoided by using the -noboost project configs. It would be great if you could retry compiling latest SVN-Assimp. Please contact me if it still doesn't work! And my final two cents regarding Collada: it would be a great format, but it's over-engineered by at least 3 magnitudes. I'm not sure whether the latest spec defines extensions to support Klingonian coordinate systems, but I wouldn't be surprised if they existed :-) -- Alex
  9. Yes, a C# port is pending, but they guy working on it didn't do anything in the past few months. I don't think there's much more than empty units with some (outdated) data structures. So far, you would probably need to do the API port yourself if you wanted to use it :-) >> think I would use this library, but how can I access it's methods/classes You'd need the Assimp data structures redeclared in C#, and a binding to copy the native data structure to the managed one. I haven't much experience with .NET, so I can't say how difficult that would be. Definitely less difficult than writing a few loaders on your own :-) Bye, Alex
  10. I don't know much of SlimDX, but you could try to integrate the Assimp library. It supports loading of .X files, along with several other formats (around 25). Beware, I'm one of its developers so I might be biased here :-) And it's native C++, a C# port is now pending for a long time. >> Later I also want to use skinning and animations, is this possible with .x? Yes, .X supports skinned meshes. Another possibility is the Doom3 MD5 format. >> And do I have to write a loader for binary and text based .x files? There's even a third kind of X files, ZIP compressed. >> Are there different "versions" of the .x file format? X is not really well-defined and (afaik) not versioned, writing your own loader is generally a bad idea. You'll need to workaround several faulty exporters, ... Bye, Alex
  11. Hi, Assimp has some nice models in its repository (here). x/dwarf.x, x/Wuson.x and especially md5/bob.md5 should be suitable for your purposes. Be sure to use the latest Assimp SVN version for best .. ehm ... loading experience :-) If that's not enough for you, I can provide some animated MD5 and X files either collected from various sources on the internet or made by friends, all tested with Assimp but naturally not intended for public use. Alex
  12. Hi, Assimp's output data is already suitable for rendering with OpenGL. The coordinate system is right-handed and the face order *should* be counter-clockwise. The most important thing: understand the output data structure of the library before you start coding. There are no tutorials yet because Assimp is still in beta stadium (I assume you're using beta 1). However, as Thomas said already, the documentation should tell you everything you need to know. First of all you need to get Assimp running. Then you should find a configuration (postprocessing steps, config options) that fits best to your needs (performance vs. quality tradeoff). Then I'd suggest you to start implementing code to render Assimp meshes (aiMesh). After that you should have no problems implementing and understanding the rest of Assimp's data structure. --- Alex PS: If you want more features and better format support but a possibly less stable version take the current SVN version of Assimp. Any feedback is highly appreciated. [Edited by - Porthos on October 19, 2008 5:09:58 PM]
  13. OpenGL

    Try LodePNG. It is extremely easy to use, although not as fast as LibPNG. If you want to support many image formats at once, try DevIL. -- Alex
  14. OpenGL

    First of all, please stop to post the same question in two subforums as you did now and as you've done for your question regarding 3ds. (Skeletal) animation: md5, collada, x Static: collada, 3ds, obj, x, ...
  15. Take a look at lib3ds or ask google with keywords like "3ds loader c++" or "3ds file format". You will find much! Using google is often a good way to solve problems ... >> But i also want know if its probable to get texture >> coordinates from .3ds file ? 3ds supports one texture coordinate set, yes. --- Alex