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

Leo Oz

Members
  • Content count

    13
  • Joined

  • Last visited

Community Reputation

84 Neutral

About Leo Oz

  • Rank
    Member
  1. [quote name='MrOMGWTF' timestamp='1347556918' post='4979782'] First, render your model to a texture. Vertex shader: [code] // Authors : Sinje Thiedemann, Niklas Henrich, // Thorsten Grosch, Stefan Mueller varying vec3 P; void main() { // Transform atlas texture coordinate into NDC gl_Position = vec4((gl_MultiTexCoord0.xy * 2.0) - vec2(1.0), 0.0, 1.0); // Pass world-space position to fragment shader P = (gl_ModelViewMatrix * gl_Vertex).xyz; } [/code] Frag shader: [code] varying vec3 P; void main() { // Store world-position in atlas texture gl_FragColor = vec4(P, 1.0); } [/code] Then, for each pixel, to something like this: [code] foreach pixel: addVoxelAtPosition(pixel.color); [/code] Got it? [/quote] Man, I got it, thanks. But how can I use voxel data in program code? Do you read my question? I asked about "c# structure class to store voxel data and be able for further using in code". Capish?
  2. [quote name='MrOMGWTF' timestamp='1347549272' post='4979746'] Make sure your model has uv coordinates. Render your model to a texture. Set each vertex position to its vertex coordinates. Set each vertex color to its position. For each pixel, create a voxel at the position from pixel's color. [/quote] man, I don't catch what you have in mind! Could you show me class structure?
  3. [quote name='Hodgman' timestamp='1347547471' post='4979734'] The above 3 links all have public source code, is that useful? [/quote] Voxelizer is useful, but there is used octrees. I wish realization included arrays.
  4. Man, It will be good if you give any reference or fresh idea. Capish?
  5. [quote name='6677' timestamp='1347476053' post='4979416'] [quote name='PlatinumOz' timestamp='1347292881' post='4978611'] Guy, thanks, but it's not exactly what I need. [/quote] Its exactly what you ASKED for. You never gave us any indication of language, IDE, API or anything. You were given exactly what you asked for [/quote] Man, thanks, agree, It's now right of me. But take it easy man.
  6. [quote name='DracoLacertae' timestamp='1347483978' post='4979454'] Look up the Sparse Voxel Octree. It's probably the best way to squeeze voxel data down to a reasonable size. What's your end goal of the project? What do you want to use the distance fields for? [/quote] DracoLacertae, thanks so. I'm planing to use distance field for definition distance between objects. It's very difficult to build distance field for Sparse Voxel Octree, 3D array is more better I think. If you have another mind about it, please, post me material reference.
  7. No, man. I don't need rendering voxelized object. I need structure of voxelizard object in program code, for exapmle, type - array of byte.
  8. Guy, thanks, but it's not exactly what I need. Because I'm programming in Visual Studio, and maximum what I wish get it's a API or some dll. I need array or grid of voxels as result for further using in my program, not only for rendering and visualization purposes. Do you know any good AP, included functionality using 3D voxel model fields? Thanks one more time.
  9. Come on, ladies and gentlemen !
  10. Guys, I need your advise ))
  11. Good afternoon! Please, tell me, how can I convert a 3D mesh model to a voxel field array? Thanks.
  12. Hello, everybody! The 3D scene consist of 20 objects based on polygonal model structure. I wanna convert polygonal objects to voxel data structure (i think it's array 3D map) . And voxel objects will be used for constructing distance field of all environment world. Please, tell me, do you have any ideas about using API to convert polygonal mesh to voxel structure for further using in code (not rendering) or any algorithms and methods? Thanks.
  13. Hello, everybody! The 3D scene consist of 20 objects based on polygonal model structure. I wanna convert polygonal objects to voxel data structure (i think it's array 3D map) . And voxel objects will be used for constructing distance field of all environment world. Please, tell me, do you have any ideas about using c# structure class to store voxel data and be able for further using in code or any algorithms and methods? Do you know any API or wrap that could realize this functionality? Thanks.