AlexF

Member

5

166 Neutral

• Rank
Newbie
1. Playing lego

[quote name='Aressera' timestamp='1348469869'] check out this guy's work: [url="http://graphics.stanford.edu/~pmerrell/"]http://graphics.stan....edu/~pmerrell/[/url] [/quote] This is pretty awesome. I think I'll have a look into it.
2. Playing lego

(This is a repost from my blog right here: http://nighttimedeve...9/its-done.html) It's done. It's over. I turned in my bachelor thesis. Life has me back. Yea, last post was a month ago. Sorry about that. But between my application for an awesome job in a german games company and my bachelor thesis there was no time for nothing. So let's talk business. Though my bachelor thesis is done my project is not. But I haven't told you about all the features that went into it yet anyway. Last time I really talked about the project I told you about the street generation system. Then I told you how to find lots in that streetsystem. Today I'm gonna talk about making buildings. And thats really simple. Our buildings will only consist of blocks. Not in the minecraft kind of way tho. For the buildings I chose a very geometric architecture style. The art deco style will serve us just right for this. Of course to create a foudation for our geometry we will use the L-Systems again. I won't make any friends if I post the definition of the L-System here again. I think most readers will understand it as "cryptic formulas". All you need to know is, that we take the bounding box of a building at the beginning then split it up and shrink parts of it, so it stays in the bounding box. We can use this by utilizing parametric L-Systems that use two vectors as parameters. Those vectors define the minimal and maximal point of a box. In the end we have a long string that is defining a lot of boxes. There also have to be different kinds of boxes. So the L-System knows how it may change them during the generation process... in the picture on the right you can see how the bounding box (green block on the left) gets split up. The different colors mark the different types of blocks. When we parse our string with the instructions for the building we just create geometry data for a lot of boxes. Oh, and don't forget that you should use different textures for the roofs. Just with one type of buildings your end result may already look something along the lines of this: If I think about it, this is a bad example picture because you cannot see any buildings up close. But I'm too lazy to take a new screen now. XD That's all folks. Till next time
3. Maximum intersections between view frustum and grid

Hi guys, currently I'm a little at a loss. I've got something like a grid (rows x columns) of bounding boxes. They are something along the line of 200 x 200 x 400. Now I'm trying to find a function that gives me the maximum numbers of intersections a view frustum of a given size can have with the bounding boxes of that grid. I can also go so far as to neglect the near plane. So i just use a pyramid that has the far plane as its base area and the distance from the camera to the far plane as its height. (I'm looking for this because I need to reserve resources for the maximum number of bounding boxes in the view frustum) I would be very grateful for any ideas you might have.
4. UrbanGenesis WIP Video Online

(This is a repost from my blog right here: http://nighttimedevelopment.blogspot.de/2012/08/urbangenesis-wip-video-online.html) Okay guys, I just uploaded the first video of the project to YouTube. I thought you might wanna check it out: [media][/media] I'll create a blog post about the techniques to create the buildings in the video very soon, so stay tuned.
5. Gamescom 2012

(This is a copy of my original post right here: http://nighttimedevelopment.blogspot.de/2012/08/gamescom-2012.html) So, this was a pretty busy week for me. I finally finished the coding part in my Bachelor thesis and my personal website went online. Check it out at http://www.alexander-frey.de. And then there was Gamescom! Living only a short 2 hours ride from cologne I sure didn't miss it. Last year me and my girlfriend went there for two days. First day only for press and business and second day for everyone. This year we decided only to go for the business day. But, phew, we were busy. Other than checking out the cool new stuff that's getting released or in development I was making sure to leave some job applications at a few developers booths. That was quite exciting since some of those guys even took the time to talk to me a bit about the culture of their company and how they fared themselves getting into the games industry. Anyway I had a blast doing this. Sadly I wasn't as overwhelmed by the entertainment area this year. Somehow I had hoped to get a glimpse of DOTA2 and Guildwars2 before their release. I found a small GW2 booth with no possibility to check out their latest changes to the game. Didn't even find a trace of DOTA2. Firefall though looked very promising and fun. Another funny thing is the development of the League of Legends/Riot booth over the last 3 years. In 2010 it was somewhere hidden in the dining hall in a shared booth with some other games. In 2011 they had a pretty crowded normally sized booth directly in front of the entrance to the ESL area. This year they almost had half a hall to themselves it seemed. Great progress guys. Keep it up. Okay guys, next time I'll write about the creation of some really simple yet cool LOD buildings using L-Systems that need no time to implement.

7. Game Engine Programming in XNA

I think you also have to remember what C# is lacking compared to C++. If you wan't to do a [b]real[/b] game engine a big part of it is that system layer with memory management and the likes. There you need direct memory manipulation. I think it might work for a game engine for small and fun games but you lose a lot of performance next to C++ engines I guess
8. Collision Detection between non-axis aligned rectangular prisms

I don't know if I remember correctly but with 2 OBB don't you have to check 15 axis? 3 normals of the first box, 3 normals of the second box and all possibly cross products between the normals of the the two boxes? 3 + 3 + 3 * 3. Maybe I'm overlooking something. You seem to have a good grasp of that stuff, maybe you can explain?
9. Knowing position of object ahead of time

[quote name='alvaro' timestamp='1342097376' post='4958380'] You can isolate the code that does the simulation of how the ball moves and run it forward until it hits the ground. That's probably the best way to do it. [/quote] That is probably the most computing time intensive way if you do the whole simulation. The movement of the ball is really simulated through the integration of its position. Usually through a differential equation of second degree (velocity and acceleration). Instead of running the whole simulation you just have to compute to the time step when the Y coordinate becomes 0.
10. Starting my journal here.

Hey, this will actually be a mirrored journal from my Blogger blog. So if you are interested in older posts check out http://nighttimedevelopment.blogspot.de/ [color=#1B3B66][font=Arial, Tahoma, Helvetica, FreeSans, sans-serif]Today, I won't be writing about procedural content generation. [/font][/color][color=#1B3B66][font=Arial, Tahoma, Helvetica, FreeSans, sans-serif] Currently I'm preparing for my last exam named "Game programming". It handles topics like nav-graphs, behavior trees, quaternions, resource management and differential equations. So I don't have a lot of time working on my bachelor thesis. But it is almost done anyway. I'm a little behind with my description in my postings.[/font][/color] [color=#1B3B66][font=Arial, Tahoma, Helvetica, FreeSans, sans-serif] So for the time after my exam and especially for when I'm finished with my bachelor thesis I am looking for some skilled people for a small game project based on some techniques used in my thesis. I have a very vague idea of the game but I'm very sure it will be done for the PC and the Xbox using XNA.[/font][/color][color=#1B3B66][font=Arial, Tahoma, Helvetica, FreeSans, sans-serif] So, I'm looking mainly for artists. But also if you are a game designer or a programmer that is interested in joining up with me for a small indie title. [/font][/color][color=#1B3B66][font=Arial, Tahoma, Helvetica, FreeSans, sans-serif] So what will the game be about. It will be a first or maybe third person adventure/puzzle game. When I was little I loved to do those labyrinth puzzles in kids magazines. I want to blow some action into this kind of puzzle game and place a character in a 3D environment in such a labyrinth. Additionally to finding his way out of the maze he also has to evade some kind of monster. He cannot shoot or fight the monster... he can only run away from it and trick its AI (kinda like in Pacman). There could be more gimmicks for the player like marking positions for his orientation or portals through walls.[/font][/color][color=#1B3B66][font=Arial, Tahoma, Helvetica, FreeSans, sans-serif] The labyrinth could rotate sometimes making creating new dead ends and new passage ways. [/font][/color][color=#1B3B66][font=Arial, Tahoma, Helvetica, FreeSans, sans-serif] Infinite possible mazes could be created by procedural content. [/font][/color][color=#1B3B66][font=Arial, Tahoma, Helvetica, FreeSans, sans-serif] So again: if you're interested in joining up please message me or write me an email. [/font][/color]
11. Profiling project with procedurally generated content

Hello everybody, this is my first post in these forums and i already come to you with a problem. So, I'm writing a program for my thesis on procedural content generation in games for my university. Right now the program creates a bunch of objects which hold vertex data of ground squares as well as a seed. As these come into view (implemented view frustum culling) some string is created based on the random seed of the ground square object through a parametric L-System. Then based on that string a lot of street elements are created which hold the vertex data(DynamicVertexBuffer) of the streets on the ground square. When the square leaves view the street elements and therefore the vertex data is destroyed again. Now to the actual problem. When those ground squares come into view the "game" stops for like half a second to a second and goes on then (although not showing me any problems with frames). Naturally I thought there must be a problem with the creation of the vertex data during the update method. But profiling showed me that most of the time is spend in the Draw() method and Update() doesn't seem at all critical. I also downloaded the cpu profiling program Very Sleepy and profiled the game. Which showed me that the process spends a lot of time in Kernel32 waitForSingleObject or waitForMultipleObjects. So I'm pretty new to this. I cannot even say whether this means the game is CPU or GPU bound. If you have any clues for me I'd be very grateful. so long AlexF