• 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.

Archived

This topic is now archived and is closed to further replies.

Jankey

3D Objects Mantpulaton ...

4 posts in this topic

i am Writing a 3D Editor ... for this i wanna ADD und SUBTRACT 3D Objects from Each other ... and the Function OR, it is all logical ... and if you now ACAD ... there are these Functions ... should look like this .. void Add3DObject(Object &one , Object &two , Object &result); does anyone have Logical Algorithims for this or a good link? ... o haver searched .. but did''nt find somthing -...
0

Share this post


Link to post
Share on other sites
You''re talking about "boolean" operations on solids. Tricky. Damned tricky. And I don''t mean to frighten you. Every hear of ACIS? That''s the solid modeling engine used in ACAD. Made by Spatial Technology (www.spatial.com). We actually have a license to use it here in some of our software. We started implementing our own boolean operation to cut arbitrary holes in terrains (holes defined by polyhedra), but our version was not robust after quite a bit of development, and we reverted to ACIS. How tricky is it to do boolean operations on solids? To give you an idea, Spatial has invested tens of *millions* of $ since the mid 1980''s to develop ACIS. And they''re still doing a good deal of R&D each year to make it better and faster.

Other commercial alternatives to ACIS are Parasolid (www.parasolid.com), SHAPES (www.xox.com), and SMLib (www.smlib.com). None are cheap by any stretch of the imagination.

Have you investigated constructive solid geometry (CSG) versus boundary representation (B-rep) for your engine? Do you want to support non-manifold geometry? (NO, if you''re just dealing with solids---closed surfaces).

It could take you a long time to dig into and implement the math for doing booleans. If you''re just dealing with closed polyhedra, it actually gets much easier, but still not trivial.

FORTUNATELY, there may be some implementations out there that you can use for free, for non-commercial use. Here are tools that I''m aware of:

http://www.cs.technion.ac.il/~irit/
http://www.cs.unc.edu/~geom/CSG/boole.html

You may also want to check out the following book, which comes with source code (variable names in German, I believe):

"Open Geometry: OpenGL + Advanced Geometry" by Georg Glaeser, ISBN 0387985999.

I don''t want to discourage you from working to implement the boolean operations yourself. I think it would be FANTASTIC if you were to go that route. You''d learn a hell of a lot about geometry and it''d be a great accomplishment. So, therefore, good luck!

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
0

Share this post


Link to post
Share on other sites
I Know it is really Complicated ... but i need it ...
______________________________________________________________
It could take you a long time to dig into and implement the math for doing booleans. If you''re just dealing with closed polyhedra, it actually gets much easier, but still not trivial.
______________________________________________________________

Yes i yust only work with closed polyhedrals, do you know i
can calculate if an obeject is a closed one? ( it would be really helpful ...

thx for the links ... its a small help but better than nothing ..

mfg J@n
0

Share this post


Link to post
Share on other sites
This seems like a good place to start a search. Search for Constructive Solid Geometry and that will produce a list of referances. The ones where Doc is a link are available online. The rest are referanced by articles that are online. It may take a bit of digging to find precisely what you want online, but you should be able to find a good deal of valuable information that will save you alot of trial and error.
0

Share this post


Link to post
Share on other sites
It *is* simpler when you''re dealing with closed polyhedra. The commercial solid modeling engines actually deal with solids that have arbitrary curved bounding surfaces, and some of them (i.e., SHAPES) even treat non-manifold geometry.

The two code references I provided, IRIT and BOOLE are implementations that may be useful to you. The search engine that LilBudyWizer provided may also be useful. It might point you to technical papers that you can download.

The "Open Geometry" book I mentioned actually contains some good detail on an actual algorithm for doing booleans on closed polyhedra, in chapters 7 and 8.

There is also another book:

"CAD/CAM Theory and Practice," by Ibrahim Zeid, ISBN 0-07-072857-7

This book discusses the representation of solids in some detail, but doesn''t really reveal a usable algorithm.....

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
0

Share this post


Link to post
Share on other sites