2
votes
0answers
103 views

Execute a trigger after research is complete

I'm making a map where I want to destroy a building when it finishes researching a certain ability. How do I create a trigger that accomplishes this?
2
votes
0answers
413 views

glFramebufferTexture2D gives corruption with cube map textures

I am using glFramebufferTexture2D with cube map textures but it gives corruption in texture. draw_cube() function works perfectly when i draw that on default framebuffer. GLenum ...
2
votes
0answers
344 views

Friction due to gravity in an impulse based physics engine

In my physics engine, I'm using impulses to solve collisions. I'm basing all calculations on these equations: impulse = desired_velocity_change * mass impulse = force * time friction_force <= ...
2
votes
0answers
458 views

Per fragment lighting with OpenGL 4.x tessellated model

I'm experienced with OpenGL 3+. I'm dabbling with tessellation shaders and have now got to a point where I have a nicely tessellated teapot/plane demo (quick look here) As can be seen from the ...
2
votes
0answers
278 views

How do I use the morpher modifier in 3dsmax to morph into several targets simultaneously?

I have a 3D-Face from Facegen here including all necessary phenomes' positions. But these targets are separated into upper, lower teeth, sock and eyes. How do I combine them for the face to morph into ...
2
votes
0answers
674 views

Rotation of viewplatform in Java3D

I have just started with Java3D programming. I thought I had built up some basic intuition about how the scene graph works, but something that should work, does not work. I made a simple program for ...
2
votes
0answers
139 views

Light on every model and not in the whole scene

I am using a custom shader and try to pass the effect on my Models like that: foreach (ModelMesh mesh in Model.Meshes) { foreach (ModelMeshPart part in mesh.MeshParts) { ...
2
votes
0answers
141 views

Is there a way to export 3D objects with animation from Blender or any other app into OpenGL ES 1.1 code?

The problem is that all the examples I've found are obsolete or iOS/Android specific and not "pure" OpenGL ES 1.1. If anyone can provide me with a good example/tutorial/book it would be very much ...
2
votes
0answers
534 views

ECS, databases, XML and serialization

My entity/component/system engine is coming along quite nicely; I have two very different apps working on the same executable. (One 2-d scroller, one 3D Asteroids-type game). In the interest of ...
2
votes
0answers
238 views

Get Specific depth values in Kinect (XNA)

I'm currently trying to make a hand / finger tracking with a kinect in XNA. For this, I need to be able to specify the depth range I want my program to render. I've looked about, and I cannot see how ...
2
votes
0answers
226 views

Vertex Normals, Loading Mesh Data

My test FBX mesh is a cube. From what I surmise, it seems that the cube is on the extreme end of this issue, but I believe that the same issue would be able to occur in any mesh: Each vertex has 3 ...
2
votes
0answers
302 views

What are the document grid settings in inkscape for making an isometric tilemap for tiled?

I am using inkscape to create a isometric tilemap. What settings do I need on the grid in document properties in inkscape to make it match up to a 64 x 32 grid in tiled?
2
votes
0answers
518 views

5.1 sound in Unity3d 3.5

I'm trying to implement 5.1 surround sound in my game. I've set Unity's AudioManager to a default of 5.1 surround and loaded in a 6 channel audio clip that should play a sound in each of the different ...
2
votes
0answers
712 views

changing body type without change of center of mass

I have an box2d project with some bodies in it, which move around without any user interaction. But if the user selects one of the bodies, he should be able to move it around just like he wants to. ...
2
votes
0answers
220 views

How do I acknowledge collisions with volumes in UDK?

As part of creating a stealth system, I've decided to place volumes over light sources as a first step. The idea being that when a pawn walks into one of those volumes, it will be logged. How can I ...
2
votes
0answers
306 views

Kinect User Silhouette Shader

I have this usermap from kinect's depth data (size is 320x280) and i want to display it on my game. The problem, of course it's ugly (first image) and i want to have beautiful effect like in the ...
2
votes
0answers
730 views

Geometry Shader and Stream Output with Directx11

I am having trouble trying to send verticies generated in the Geometry Shader to Stream Output. What I am trying to accomplish is to generate verticies from the Geometry Shader and store them to a ...
2
votes
0answers
95 views

What is the most effective way to create a set of collision points for an aribitrary 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 ...
2
votes
0answers
3k views

XNA Screen Manager problem with transitions

I'm having issues using the game statemanagement example in the game I am developing. I have no issues with my first three screens transitioning between one another. I have a main menu screen, a ...
2
votes
0answers
374 views

Normal maps in 3dsMax - OgreMax - how to view associated tangent vectors?

Reading this post I found out that 3dsMax might not use the same tangents when rendering normal mapped objects. In my case, I was using Ogre and OgreMax to analyze results and they were very ...
2
votes
0answers
1k views

AndEngine Making Chase Camera Follow Player

I am playing around with the AndEngine Race Game example. I am trying to make the camera follow the car as the player moves around. The Tile Map is larger than the player's screen but the camera ...
2
votes
0answers
379 views

How can I export a model using the CAT bone system into XNA?

Has anyone successfully used the CAT bone system in 3ds Max and exported the file into XNA? If so, what was your method of doing so? There are a number of methods of doing this, apparently, but the ...
2
votes
0answers
1k views

Interactively edit UV mapped, textured mesh in Cinema 4D without distorting texture?

I'm fairly new to Cinema and I'm building a rigged flat (2d) character out of illustrated pieces. I want the meshes to have an efficient number of polys but sufficient resolution where they'll bend ...
2
votes
0answers
458 views

Rotating camera changes directional light depth map, and changes 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 ...
1
vote
0answers
8 views

Why is Libgdx's HexagonalTiledMapRenderer adding extra space?

Why are there large spaces between the hexes when rendered by HexagonalTiledMapRenderer? The tiles ARE black boredered, but that doesn't account for all the extra space. I was also able to get them ...
1
vote
0answers
48 views

Should I bake all textures to a texture atlas in a game level?

I'm writing my own game engine using Java/OpenGL. I'm creating levels in Blender 3D and exporting them in a custom file format. I'm not going to be auto-generating any terrain - everything is going ...
1
vote
0answers
18 views

SoundEffect.Play and SoundEffectInstance.Play do not work

I am having issues playing a music file in MonoGame. The problem is, an old version worked fine, but I lost it to corruption. Basically, I create an instance, call instance.Play, and hear nothing. I ...
1
vote
0answers
38 views

How do I go from world coordinates (X/Y) to tile coordinates?

So, I've got this game rendered in fake isometric view with the following code for generating the mesh: _x = x + ( y & 1 > 0 ? 0 : 0.5 ); _y = y * 0.25; ADD_VERTICES( [ _x-0.5, _y, ...
1
vote
0answers
22 views

Why is my Box2D Body only colliding with one type of Object after a new level has been built?

So developing for an android mobile game, using Android Studio and developing for the API 17, with Box2D implemented. FIRST LEVEL For some reason, one the first level everything is running okay: ...
1
vote
0answers
15 views

Unity - drawing halos behind everything else

I would like it so that the halos created by the draw halo parameter in spotlights are drawn behind all other meshes etc, currently it does this very weird thing where halos are sliced in half by ...
1
vote
0answers
17 views

Why does interactive cloth not appear in game view in unity5 Pro?

I used interactive cloth fir flags in unity5 Pro version and it appears in scene view but does not appear in game view while playing. What can I do for that please somebody help me out?
1
vote
0answers
21 views

Vbo 3d triangle opengl w/ LWJGL

So i am using lwjgl, took me about 4 hours of hard work to achieve triangle rendering and vbos, now i want to render a triangle in 3d space. I know you have to use projection matrices. But when i have ...
1
vote
0answers
6 views

cocos2d-x: Cache draw

I'm drawing a circle using DrawNode. Is there a way to cache that drawing into Sprite or put it to SpriteFrameCache for later use? Because drawing the circle again each time might slow the game down. ...
1
vote
0answers
35 views

Set Render Target usage

I am using Unity and I have some difficulties about understanding the way Set Render Target works and how it can behave with the shaders. Is it possible to render a shader pass in multiple render ...
1
vote
0answers
15 views

Inverse kinematic joint limits

I want to limit the joint angle of my character. I have just one issue i can't get the value of the joint limits of the human -i search about max, min angle of each joint in x and y but i can't get ...
1
vote
0answers
20 views

The animation state could not be played because it couldn't be found!

If I try to use animation.Play() or have Play automatically ticked in the inspector on the animtion object, it gives me the follwing error: The animation state could not be played because it couldn't ...
1
vote
0answers
12 views

Problem to change window view dragging the mouse

I'm having a bad time trying to change the window view by dragging the mouse. I can precisely do that with the method: void PlayScreen::MenuView(sf::RenderWindow& window) { while ...
1
vote
0answers
29 views

convert mouse coords to zig-zag isometric

I was wondering, how do I convert mouse coordinates to zig-zag isometric coordinates? I already know how to convert to isometric using the Diamond approach, so I just need to know about the zig-zag ...
1
vote
0answers
13 views

OpenGL (lwjgl) Frame Buffer Object GL_COLOR_ATTACHMENT Not Being Written To

I am currently developing a deferred renderer for my game engine and I have to output multiple textures from my shader to my GBuffer. I have been struggling with getting multiple outputs from the ...
1
vote
0answers
12 views

My Directional light lights the floor of my cave but not the ceiling (concave mesh)

I am developing a small demo with Meshes created from a vertex map. When i put a hole in the mesh (making it concave) the physics work fine but the directional lightning only lights one part of the ...
1
vote
0answers
28 views

Climate / weather generation on 3d hex map

I am working on 3d hex map game. I am aiming to dynamical generate map (as new players joins). To make the map realistic I am looking for some climate/weather models which possibly I could use so that ...
1
vote
0answers
17 views

Is it possible to have a SoA Vertex Buffer in DirectX 11?

Hi! I'm wondering if it is possible to structure a Vertex Buffer in a SoA approach like this { x1, x2, x3 . . . xn, y1, y2, y3 . . . yn, z1, z2, z3 . . . zn } instead of the traditional AoS ...
1
vote
0answers
34 views

Save game on Android keeps disappearing

my company has developed an Android game using Cocos2D-X. Game works quite well except that for some unknown reason, save games keep disappearing. Users report that they play the game for several ...
1
vote
0answers
17 views

LibGDX: How to detect remote button press for Android TV?

On Android TV, I need to be able to detect the remote control centre button to start the game. I tried: if (Gdx.input.justTouched() || Gdx.input.isKeyJustPressed(Input.Keys.SPACE) || ...
1
vote
0answers
23 views

LibGDX on Android TV

Anybody wrote games for Android TV using LibGDX? What is the mapping of the remote control? Can we use the game controller with LibGDX? Thanks!
1
vote
0answers
25 views

How to add 3D Sprite on tmx file background using Cocos-2dx?

We have been working on sample game, wherein we want to show 3D sprite on .tmx file(background). But 3D sprite is never shown up, though we tried setting tileMap->setGlobalZOrder(-1). Following is ...
1
vote
0answers
16 views

How do i change the vertical fit of a constant size fitter?

How do i change the vertical fit of a constant size fitter? For example changing vertical fit from min size to unconstrained. Is it posible to do this?
1
vote
0answers
69 views

Creating random nebulae for scrolling space background

If you've ever seen a picture of space, you'll most likely see that there is some kind of pretty nebula in the background. I would like to find out how I could create random, semi-realistic looking ...
1
vote
0answers
21 views

Havok Physics : “hkQuaternionf not normalized/invalid!” when hkpWorld::stepMultithreaded()

today I want to ask a question about Havok Physics 2012. My havok version is 2014.1.0-r1 (x86 SIMD version), and I'm using Visual Studio 2012 on Windows 8. My problem is, that once I add a rigid ...
1
vote
0answers
49 views

How do you fix wobbling shadow edges?

I've implemented an omni-directional shadow map and I've noticed a rather unwanted behaviour on the shadows. It seems like when the angle between the occluded points and the light source is really ...

15 30 50 per page