Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

2366 Excellent

About dpadam450

  • Rank

Personal Information

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. "but I also need to work as much as possible to earn money. " (sorry but that means get a full time job). I gave relevance to the fact that several professional coworkers fund their indie games with full time jobs.
  2. From the original post: get a job. I know so many people that work at game companies and still go home at night to work/fund their personal projects. I know 4 coworkers plus myself do this.
  3. dpadam450

    Texture lagging

    Your shader isn't setting output.tex = . Not even sure what we are looking at with your model or the texure, probably because you never gave the pixel shader a valid texture coordinate
  4. Let's look at your portfolio real quick: Metal Deer? What is this? I press a button and random objects move? Kevo? I can jump onto platforms with an underlying game engine that already supports physics and assets? These 'games' look like basic framework demos anyone can make in about 9 minutes. If you want to stand out, make something cool that you can talk about what you did. That is nothing impressive. It also says "We" so I don't know who worked on it or what. Your initial website navigation is confusing and not personal to you. Not even sure what that really is. Simplest way to get a job is to make a decent game demo and put up a video of it. Nobody will want to download and play games.
  5. Have you tried the full pipline with a single triangle or quad with a texture on it? Rotate the uv's 90 degrees and see if it still works... You have to step by step debug this. There are lots of things that could go wrong. Start with something very simple. As stated, we don't know what we are looking at. Get a simple normal map and simple geometry and figure it out. I've had to do the same types of things in my project.
  6. You can copy the final image to a buffer. Render the water plane converting the 4 coordinates to screenspace so that the water plane matches the final texture exactly. Then run a distortion image to distort the underlying objects. This can be as simple as a black and white texture that is a noise texture and you can offset the current pixel by the noise texture amount. As long as you keep depth testing on etc, it will only distort pixels where water renders. Honestly, it depends on what technique you want to mimic. I would look at some games or youtube water rendering demos and see which one is easiest that you like.
  7. Since a point such as a one-pixel peak is not a surface, but a point: You should perform the surface normal calculation I said. If you want the accurate peak normal to point at the sky, it would be averaging the surrounding pixles. That's how per-vertex normals are calculated for a mesh, same thing would apply here.
  8. First, understand that an engine can be a simple while() loop that polls for input and moves and object and draws it. You can build upon that and continually build new features and decide to refactor when you need to. I wouldn't worry about organizing the perfect way to do it up front. I could post a long reply, but if you are starting your own engine from scratch, just implement the features you need/want to work on. Get it working and keep building new features. From an advance standpoint, typically the renderer is on it's own thread. It will have positions/locations stored outside of what positions game/physics have. When a new rock is spawned that doesnt move, you could tell the renderer "here is an object, the 3d mesh it belongs to, and the location". For something like a moveable character, the gameplay/physics thread will have some kind of pointer/handle to be able to tell the render thread "hey that object, this is where it is now". Things like that. Render class, Camera class, Camera could do the rendering, you can render shadows from camera or the main players view from a camera. You just have to start somewhere. If you just want to learn rendering tricks and shaders, then work towards that.
  9. Sorry that is (right - current) = vector, (upper - current) = vector. Cross the two.
  10. Not sure what I am looking at. I see the shadow wrong but what is the giant beam going up. Looks like a strange height map or something. Also odd, you are calculating normals without using the actual current pixel, just the surrounding ones. I would take the current pixel and sample the right pixel and upper pixel only and use that to calculate the normal and tangents. I think if you cross the right sample with the upper sample, you will get a more proper normal.
  11. I didn't down vote, but UV's can go to the edge and further. Again, there is no limit to UV space. It just wraps around unless you request to clamp to edge.
  12. dpadam450

    Distance Fields

    I guess if you generate them per instance and pre-compute the distances offline it would make sense. Each instance would have a unique 3d volume.
  13. dpadam450

    Distance Fields

    I briefly looked at some of the material, what I'm wondering is for a screen-space pixel: How does a pixel determine what distance field volumes are overlapping it that need to be raycasted against for doing AO? Does it have reference to all DistanceField volumes and is doing a computer shader with a BSP tree or something?
  14. dpadam450

    Distance Fields

    http://advances.realtimerendering.com/s2015/DynamicOcclusionWithSignedDistanceFields.pdf I get the idea that they are using for the distance fields, they are essentially a 3d texture/volume with varying resolution per object, but how are they used/rendered? Are the cubes rendered? How/when/where does a shader evaluate them. Is it a fullscreen shader?
  15. dpadam450

    oscillating a 2D object in opengl

    glVertex3f(x1 + r1 * cos(t), y1 + r1 * sin(t), 0.0); You may want to read up a bit more on openGL and how transforms work, glLoadIdentity(), glRotatef(), glScalef(). You shouldn't be recalculating vertices this way.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!