11
votes
0answers
395 views

Ogre PSSM Grass Receiving Shadows

So I made the switch to Ogre3D (v1.7) and using PagedGeometry. What I'm trying to do is make a simple scene with a terrain, some trees and grasses. In a nutshell, I would like to achieve this kind of ...
9
votes
0answers
300 views

Load ads in splash screen?

I have some ads that take a very long time to load. I was wondering it it is possible to have them load while the use was in the splash screen. I have looked at this answer: ...
7
votes
0answers
110 views

Dual Contouring - Finding the feature point, normals off

I am following this tutorial to implement Dual Contouring http://www.sandboxie.com/misc/isosurf/isosurfaces.html My data source is a grid 16x16x16; I traverse this grid bottom to top, left to right, ...
7
votes
0answers
244 views

How to cache resources in my homebrew rendering system

Background: I am designing a simple 3D render system for an entity component system type architecture using C++ and OpenGL. The system consists of a renderer and a scene graph. When I finish the ...
7
votes
0answers
477 views

Variance shadow maps don't want to render properly

I've implemented VSM (and also ESM) in my engine but results are for me not as I expected and saw in many examples published on network. I set filtering of shadow maps to GL_LINEAR but when I compare ...
6
votes
0answers
193 views

Entity component system - game progression

I'm quite new to game development (but not to programming) and I'm trying to figure out what would be the best way to handle inter-world communication. What I mean is this: I've been reading about ...
6
votes
0answers
314 views

SSAO and normal issues

I'm using a SSAO alghorithm called "SAO", seen here: http://graphics.cs.williams.edu/papers/SAOHPG12/ I'm currently having issues with "smooth" normals, for example when using normal/height maps. To ...
6
votes
0answers
205 views

SVG—rendering performance

I have created a jump'n'run browser-game based on SVG. The »World« grew large (~80px * ~20000px, before scaled to viewport height) and rendering went slow. In consequence I included a range searching ...
5
votes
0answers
35 views

Learning how to make imposters manually in Unity - how to render an object to a texture not what camera sees?

I am trying to learn the most performant way to make an imposter in Unity manually - not using pre-fabricated solutions. My first guess is that it should be achieved by using RenderTexture and a ...
5
votes
0answers
88 views

Diamond-Square algorithm output is random and noisy

I have implemented a rough interpretation of the Diamond-Square algorithm in C++ to create some semi-realistic fractal terrain, but the output just seems like a random y value at each point rather ...
5
votes
0answers
88 views

How do I run functional tests against my Unity3D game?

Context I am continuing some legacy code for a game in Unity3d, and I want to write some functional tests meant for regression, to ensure I don't break things when implementing new things or when ...
5
votes
0answers
275 views

How to make animals Playable in Skyrim

I have some experience with the Skyrim Creation Kit, and have made some small mods. I am really interested in creating new races, and have already made a mod that allows the player to create an old ...
5
votes
0answers
80 views

How can I record voice through using Kinect camera as the microphone?

Originally I intend to use kinect camera as the device for voice communication. But at least now I want to use it as the input device for recording a voice and play that voice in the same pc. How can ...
5
votes
0answers
82 views

OpenGL: Frame partially jumps back and forth

I'm working on a project with SDL and OpenGL. The game works great on Windows, Linux, OS X and iOS. However, the Android version is showing a problem on my phone in particular. I have tested another ...
5
votes
0answers
146 views

How do i find the circumsphere of a tetrahedron?

I'm looking for the most minimized equation to find the center coordinates and the radius of a tetrahedron circumsphere given four 3D points. What I found on the internet mainly deal with the circum ...
5
votes
0answers
478 views

How can I compensate for camera rotation changing PCSS penumbras?

I am implementing PCSS and I am using a directional light. The directional light volume is clamped to the camera frustum (as is typical with directional lights). So when the camera rotates, the ...
4
votes
0answers
97 views

Implementing proportional navigation in 3D

Good afternoon guys, a = N * λ' * V is the formula for the commanded acceleration required to hit the target, where N is the proportionality constant, λ' is the change in line of sight and V is ...
4
votes
0answers
53 views

Collisions between players in multiplayer racing game

I'm creating a simple racing game (spaceships, no gravity) using p2.js, phaser and node.js. What I have done: Client receives world state from server: extrapolate other players based on latest ...
4
votes
0answers
37 views

Why Can't I duck reverb on the mix bus in Unity?

i'm surprised there is so little documentation on this issue. But i'm trying to duck the audio on all the mix buses in Unity so that you can clearly hear the VO of the game. Now it works great except ...
4
votes
0answers
71 views

Depth of Field Blur - Weighted sampling?

I've been studying Intel's fantastic article titled "An investigation of fast real-time GPU-based image blur algorithms" (here), where-in they state that Gaussian blur would need to be customized for ...
4
votes
0answers
49 views

Spherical Area Lights do not match reference

So I'm adding spherical area lights to my application, and comparing my results with mitsuba, I am getting some differences (left is my approach, right is mitsuba - a pathtraced reference): What I ...
4
votes
0answers
43 views

Irradiance Map ( Irradiance environment map)?

As irradiance map is generated for every possible normal for all the texels in environment map (as every texel act as a light source) so that we can look up irradiance map, based on normal of fragment ...
4
votes
0answers
57 views

Google Play Services and COPPA Compliance

I hesitated to ask this question here, since i'm not sure there is a definitive answer (but there can be, maybe i missed it). I'm implementing Google Play Services for a game on Android target at all ...
4
votes
0answers
66 views

How do I align the cube in which shadows are computed with the view frustrum? (“View Space aligned frustum”)

Short and concise: Given 8 world space positions that form a cube of arbitrary size, position and orientation and given an arbitrary light direction. How do I compute the View and Projection matrix ...
4
votes
0answers
98 views

XNA Shader working different on different PC's

I am working on a game in C#/XNA which uses custom shaders for drawing. When the code is compiled on my machine it works perfectly on all computers I tested, but when my team member tries to compile ...
4
votes
0answers
75 views

Draw Edges in OpenGL

I use blender game engine, and blender use openGL for graphics. How can I draw lines around all 3D objects? Would this be a job for a filter? Mainly, I want my end result to look drawn. I found this: ...
4
votes
0answers
129 views

AI using character controller makes unwanted change to it's y position

The enemy parent object does not have any colliders except for the character controller. It starts out with y = .57 and immediately jumps to y=1.6355 because of my call to CharacterController.Move(.) ...
4
votes
0answers
121 views

Is there a way to determine Android physical screen size?

We're currently porting our games to Android, and would like to be able to release a universal build for tablets and phones. Is there a way to determine the actual screen size or DPI in order to ...
4
votes
0answers
92 views

Conceptual question regarding Belief-Desire-Intent agent

I've been researching the Belief-Desire-Intent model and the way they used it in the original Black and White Game(which is the same, but they also defined decision trees as opinions). I have a ...
4
votes
0answers
88 views

How to draw Shadow Volumes in one draw call?

I've got a simple app that draws 3D cubes using instance rendering and I'm implementing Shadow Volume. Each cube's vertex, uv, normal and index data are statically stored in 4 vertex array buffers. On ...
4
votes
0answers
127 views

Can a sprite be rendered with thickness in Unreal Engine?

Is there a convenient way to have a 2D pixel art image with transparency (not partial) rendered with a thickness in Unreal Engine? Paper2D does exactly what I want, except it's a flat plane. I'm able ...
4
votes
0answers
127 views

How to create a White Hot thermal camera?

I'm very new to Unity and at this point I don't even really know what questions to ask to move forward with what I want to do. My end goal is the ability to switch between a standard color view, a ...
4
votes
0answers
182 views

smoothly recenter view over time

I'm currently using the Google Cardboard SDK for Unity to build a fighter pilot simulator. What I'm currently trying to do is recenter the view(CardboardHead) smoothly over time when the user looks ...
4
votes
0answers
250 views

How much is atomicAdd slower than an atomic counter?

I am considering replacing an atomic counter in my shader code with a SSBO an atomicAdd operation. What I need to know is the difference in performance of these two. I know the atomic counter executes ...
4
votes
0answers
439 views

Ashikhmin-Shirley model implementation: ugly result

I am trying to implement the Ashikhmin-Shirley model using these formulas: This is the GLSL 1.2 fragment shader code: uniform vec4 materialAmbient, materialDiffuse, materialSpecular; uniform ...
4
votes
0answers
123 views

How can I create a set of collision points for an arbitrary mesh?

In my project I am working on automatically deforming an arbitrary mesh with respect to another arbitrary mesh, within the context of user generated content, similar to this deformer being developed ...
3
votes
0answers
14 views

Automatic audio segmentation and find the most energetic segments

What algorithm can be used for audio segmentation? I want to divide song to segments and find the most energetic segments (begin and end in seconds). It is needed for the rhythm-game. Examples: ...
3
votes
0answers
69 views

Tick frame: update order problems

Sorry, it's a bit long story but I hope you can help me. First of all: I have an entity class called SceneObject. The SceneObject has components (eg. RenderableMesh, Camera) and transformation data ...
3
votes
0answers
16 views

Imported Blender .fbx model appears transparent

I exported a model that i made in blender to a .fbx file. I imported it to Unity and, as you can see in the image, one arm of my character appears transparent. I already have the normals pointing ...
3
votes
0answers
46 views

“UObject” has no member “BeginPlay”

so I loaded up UE4 to work on a new project. I created 2 C++ classes, one for a bullet, one for a canon. Upon loading into Visual Studio 2015 I immediately get the error "UObject" has no member ...
3
votes
0answers
60 views

Particle-system in the GPU in Unity: how to load/store data from/to a texture in the shader?

I have been implementing a simple GPU-based particle system in Unity, for my current game. The setup is indeed not very elaborated: the shader receives a set of coordinates passed trough the position ...
3
votes
0answers
49 views

Oculus Rift on Motion Simulator Platform

I currently develop a VR environment for an existing (physically) large motion simulator platform. The user can sit on this motion platform and gets accelerated and tilted to induce the feeling of ...
3
votes
0answers
63 views

How to await async operations / coroutines?

I'm looking for a generic / reusable way to wait for coroutines and asynchronous operations to finish in Unity 5, similiar to C#5's await keyword. The simplest way I can think of is something like ...
3
votes
0answers
123 views

Everything is set to Bounciness 0 - Why am I still bouncing?

I am creating a platformer where rather than manipulating the character to get them from the beginning of the level to the end, you manipulate the world. Thus, when you want to make the character ...
3
votes
0answers
32 views

UE4 - Viewport mouselook always on

Does anyone know how to set mouselook to always on instead of having to click and hold the RMB? I would press and hold a different hotkey to "disengage" mouselook and allow object selection. I was ...
3
votes
0answers
17 views

RWTexture3D in Compute Shader on Intel HD 4000

I'm having some weird issues running a Compute Shader with DirectX 11 on an Intel HD 4000 GPU. The goal is to write different shapes into a DXGI_FORMAT_R32_FLOAT 3D Texture with a size of ...
3
votes
0answers
25 views

How to activate GearVR Menu in my own Unity-Apps?

So in normal GearVr-Apps, which you can download from the marketplace, you can activate the GearVr Menu to control brightness etc. with a long click on the back button. But this does not work for all ...
3
votes
0answers
76 views

getting an error while building the Game in an Android Phone

I placed an Admob Plugin in my game. Then I import gamedonia SDK for facebook connection and Push notification. in editor its working fine. While compailing it in an Android Phone it generate an ...
3
votes
0answers
61 views

How to create a seamless 5D noise function?

I would like to create a seamless 3D Texture, I have read that it's doable with a 5D noise function but I can't find any implementation and the math is over my head here. How can I create a 5D noise ...
3
votes
0answers
58 views

Easing towards stepped value

I'm currently developing this rhythm game in lua (on top of a c++ engine) and I'm having trouble keeping a steady playhead position for the song currently playing. The playhead position that the ...

15 30 50 per page