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

mahendragr

Members
  • Content count

    25
  • Joined

  • Last visited

Community Reputation

100 Neutral

About mahendragr

  • Rank
    Member
  1. Awesome, thanks for the reply, i solved it! [quote name='Kian' timestamp='1315425357' post='4858780'] You can see that 256*256 = 65536. So to scale your values, first multiply the index by 256, to get the new locations for the actual values you are certain about. So your value at position 3 in the first array ends at position 768 in the second array. This leaves rather large gaps between the values, however. How to fill them depends on how much computational power you want to spend, and what appearance you want the output to have. I'll give an example with smaller sets below: first array (size 4) -> resulting array (size 8) We multiply the indices by 2 array[0]= 0.5 -> 0*2 -> newarray[0]= 0.5 array[1]= 0.3 -> 1*2 -> newarray[2]= 0.3 array[2]= 0.7 -> 2*2 -> newarray[4]= 0.7 array[3]= 0.1 -> 3*2 -> newarray[6]= 0.1 We know the positions of the original values, but we have gaps for the values newarray[1,3,5,7]. The quickest method would be to use the value of the previous element in the array. So newarray[1]=0.5, newarray[3]=0.3 and in general newarray[x]=newarray[x-1], when x is odd. You can also do linear interpolation, where the value at each point is the midpoint of the values at each side. So for x=odd, newarray[x]=(newarray[x-1]+newarray[x+1])/2. Depending on how smooth you want the output to look, you can go with quadratic or higher order interpolations. You should look up interpolation of you're not sure how to do it. [/quote]
  2. I have an array, whose size is 256. This array has elements which are in 0 to 1 range. Now, i need an array whose size should be 65536, where each element should be interpolated or scaled from the original array of 256 values. Some kind of mapping where, lets say, 10 values from the original image should match to more number values in the bigger array. Is it doable?
  3. Hi all, I have a weird situation with kd-trees. I have implemented a kd-tree for volume rendering, which is also used for load balancing in a cluster-like environment. For example if there are two machines, each machine gets a part of the tree starting from the root and renders its portion. However, when i detect a load imbalance, i move the subdivision plane in the kdtree so that the machine which is slower gets less number of leaves(which contain the data), the problem now is, when i move the sub-division plane, i have two new bboxes, which are inturn divided again(which i dont want to happen as i save the old leaves based in its bbox and reuse them to prevent data reloading). My question is, how should i stop my tree from being subdivided again into smaller chunks, which are less than the leaf size
  4. Hey, thanks for the link tachikoma, looks interesting.
  5. Hello guys, Thanks for your suggestions, i'm actually reading some papers and found out global illumination in the voulmetric lighting to be interesting. Is there any work done on out of core rendering of large medical data sets, say like 8gb or more size??, and is there any research on compression/de compression algorithms for these huge data sets??, it would be really nice if someone with volume rendering experience replies.
  6. Hello all, I'm a student studying in a university in germany, i'm about to start my thesis and thinking about volume rendering domain. Can one tell me where i can find the latest research topics on volume rendering?, my professor wants some ''new'' work in the field, i already proposed him a GPU cluster based volume rendering, but he isnt happy with that, so it would be really nice if somebody points me to new-latest topics in volume rendering, Thanks and regards
  7. @cignox1 well actually i want to have a distribution (whose variance is known) around the view direction, this is what i wanted to know, how to center this distribution around my view direction
  8. Hello guys, I have a weird situation now, i'm trying to implement BRDF for my raytracer. This is my situation : Given : outgoing direction of ray incoming direction of ray normal color at that point variance of the gaussian lobe and I want to : implement BRDF by centering a gaussian normal distribution around the reflection direction for perfectly specular reflection question is : how to center the gaussian distribution!
  9. @superVGA Yes i got you. The reason why i dont want to generate all the rays at once is that i'm trying to write a function which is then called inside a loop in some other function.
  10. sorry, my intention of pasting the code was to make myself clear. I dont see a reason to interpolate. I JUST want to return a single ray (knowing camera properties and knowing the pixel co-ordinates etc).
  11. CRay CPinholeCamera::GenerateRay(RealType x, RealType y, RealType rWidth, RealType rHeight) const { /* (right, up, view) vectors are given m_rFocalLength contains the distance from the eye point to the image */ double pi = 3.14159265; CRay ray; RealType fovx,fovy; VectorType3 dir; ray.SetOrigin(m_v3Eye); fovx = pi/4; fovy = rHeight/rWidth * fovx; u = ((2 * x) - rWidth) / width * tan(fovx); v = ((2 * y) - rHeight) / height * tan(fovy); dir = (); // what should dir have here dir.normalize(); ray.SetDir(dir); return ray; }; Thanks for your reply..here is my code..
  12. Hello guys, Sorry if this is a repost. But i didnt find a proper solution/answer for my question. I want generate rays for my ray tracer. I have the following in hand : 1.Up/right/view vectors of my camera 2.origin of my camera 3.(x,y) - the pixel co ordinates. 4.width and height of my image plane. 5. distance from camera to image plane. I know i shud use field of view, but i'm not able to figure it out. i can set the origin of the ray ray.origin(cam_origin); but i have to set the direction of my camera (how to do it?!)
  13. Thank you, I'll try that book!
  14. Hello guys, any good literature/good book suggestions for sub-division concepts (including surfaces)..the siggraph material is good, but its not in detail..any other suggestions??
  15. hmm..so u say i'm on a right path if'm willing to get into the programming aspect of game development?