1
vote
0answers
48 views

How to extract the texture from an image onto a mesh?

(preamble: I think this fits either here or SO with computer vision tag, I chose gamedev because I think you guys are probably really good with textures and meshes, but tell me if my decision was ...
1
vote
0answers
41 views

How can I go about testing games on a console

I was wondering how I could play a game I've made on a console (PS3). I don't want to sell it or anything I just want to test it for now, also do I still have to do that whole registration thing to do ...
1
vote
0answers
70 views

Multi-layered tilemap

I need to be able to efficiently render a tilemap which can be constructed this way: There is one non-transparent base layer Then there can be 3 partially-transparent layers on top of it. Each tile ...
1
vote
0answers
40 views

Browser game - small models with tileable textures vs one big model and one big texture

I am few years behind in terms of browser capabilities. I plan to combine 3D with pixel art, and I am going to use Unity to make a browser based game. I have made a stage that is one model and has ...
1
vote
0answers
50 views

How do I port a simple 2D Monogame to MacOSX

I have made a simple Windows Monogame project (using the DirectX template). What are the steps to port my game over to MacOSX? If I need to change my Monogame project so that it uses a OpenGL ...
1
vote
0answers
70 views

Transformed Vertices have wrong Z Axis

For quite some time I've been working on my open 3D game engine, to learn how this stuff works. You can see the full codebase relating to my problem here on GitHub. I'm using an OpenGL 3.3 Core ...
1
vote
0answers
67 views

error in post a screen shot of game scores with Android Intent in LIbgdx game

I want to post a screen shot of my game on social apps. I have developed this game using Libgdx framework. I have created an interface in Core class. Here is its Intent share specific code. ...
1
vote
0answers
85 views

Calculate Orbit Path/Ellipse given mass, velocity, and distance (2body)

Calculate and draw the path of an orbit in a 2 body problem given the mass, current velocity, and distance of both bodies? We're working in Unity and will be using the default rigidbody.mass to start ...
1
vote
0answers
60 views

Monogame 3.3 SoundEffect play Freezes

After using Monogame 3.3 with Xamarin Android, SoundEffect.Play method freezes the game. I try to convert wav files 8bit mono, 16bit mono no changes. This error on Samsung T101 android 4.0.3 but ...
1
vote
0answers
81 views

tex2Dlod to limit max mip level to use for a texture (atlas)

I'm developing a 3D multitexturing terrain engine in C# on Monogame (XNA) plateform. I would like my engine works on Windows XP or upper, so on DirectX 9c minimum. Monogame allow me to build a DirectX ...
1
vote
0answers
33 views

Integrating specular, diffuse reflection and refraction

I am implementing an MLT bidirectional path tracer. I have a problem integrating diffuse, specular reflection and refraction. 1) The first problem is diffuse and specular reflection. Diffuse ...
1
vote
0answers
85 views

Rigging Skinning of human skeleton skin mesh scanned by MRI

I have successfully developed a system in Qt/C++ for human musculoskeletal mocap simulations. I can run asf, amc, bvh motion capture files and can visualize the joint transformations. I even simulated ...
1
vote
0answers
38 views

Query regarding a quad tree implementation for spherical terrain

I am having some difficulty conceptualising how a quadtree would be used to implement a spherical terrain system. I currently have a spherical terrain system working, without any form of ...
1
vote
0answers
53 views

Why is my partially transparent image blitted fully opaque?

I have a part in my program that should display the currently playing song's name for the first 4 seconds, then fade out. Even though Surface.get_alpha() returns expected results, the image still does ...
1
vote
0answers
44 views

SharpDX - Character Skinning Different in Windows Phone 8.1 Emulator and Real Device

I have an engine written using SharpDX, that can load a character mesh and animation stored in a FBX file, then it renders a scene and animates a character. It is written as an Universal Windows Store ...
1
vote
0answers
25 views

How do I find the intersection point from the Expanding Polytope Algorithm?

I've successfully implemented a 2D version of the GJK and EPA algorithms which gives me correct collision information, including collision normal and penetration depth. What it doesn't give me ...
1
vote
0answers
45 views

Alternative to world/terrain editing with jmonkey

I have been studying Java for almost a year and have been trying to develop a game using jMonkey. I have tried Unity before but since I only know Java I decided to go with jMonkey. My problem is that ...
1
vote
0answers
110 views

Directx 11 full screen

I build simple directx 11 application in c++ that draw square to screen. Also check in the end of the program when I close the last peace of directx the number of free reference. This work great in ...
1
vote
0answers
42 views

Why do I get glitchy graphics when drawing scene with scene2D?

I'm trying to display a simple text for a menu UI using scene2D, but for some reason nothing is being displayed here. The screen displays pure black. public class ScreenMenu implements Screen { ...
1
vote
0answers
53 views

How can I hide an object for one eye for the unity oculus rift DK2 platform?

I am trying to build a game for my son for the Oculus Rift DK2 to help treat his lazy eye using Unity. I need objects that: Appear only to his left eye Appear only to his right eye Appear for ...
1
vote
0answers
37 views

2D Polygon Collision push direction with large polygons

I have a collision detection/resolution implementation that uses the Separating Axis Theorem. Detection and such works perfectly fine, as well as resolution for most objects/shapes in my game. ...
1
vote
0answers
70 views

Recreating iPhone Home Screen in Unity

I am trying to recreate a UI menu that has functionality similar to the iPhone's home screen: If a user drags anywhere on the menu (including on a button), it should drag the whole page left/right ...
1
vote
0answers
57 views

Calculate the rest length of a box2d distance joint

Given the length of a distance joint along with its frequency and the mass of the bodies involved, is it possible to determine the final rest length? I'm only interested in the vertical axis if that ...
1
vote
0answers
63 views

Sprite outline based on light position in UE4

I have simple sprite (for example black box) and I like to add to it outline (red line on example image) but based on light direction. I know UE4 use deffered renderer, so I cant access to lights, but ...
1
vote
0answers
79 views

Unity3D + Kinect V2 | How to detect people when they are standing side to device

I can't detect people when they are standing/walking side to device. I have used Miscrosoft's library for Unity3D to kinect and it works perfect when somebody stands direct front to Kinect device - ...
1
vote
0answers
74 views

Glow shader limited by the texture area

I'm working on a glow shader (for 2D engine Futile relying on Unity). It works OK but the effect is limited by the texture area. Except from adding a lot of empty pixels around the textures (which ...
1
vote
0answers
48 views

Confused About My Code Suggesting The Normal Matrix Is Equivalent To The ModelView Matrix

I'm learning environment mapping in OpenGL by following this page. In his vertex shader, the author calculates the vertex normal in eye space with the following code: nEye = vec3(viewMatrix * ...
1
vote
0answers
52 views

My “puck” model object falls right through the “table” model in jMonkeyEngine

So I am trying to learn jMonkey, I have understood everything so far, and I thought I understood how to make objects solid, so things can't go through each other. When I create my Collision shapes, I ...
1
vote
0answers
109 views

Recursive backtracking sometimes missing a tile?

I have a basic recursive backtracking alghorithm for a maze. It pretty much works but ocasionally leaves some tiles in the corners untouched. This is the recursive function: void ...
1
vote
0answers
82 views

Using Box2D in LibGDX, is there a reason a fixture set to be a sensor would only -sometimes- detect a collision?

I am working on a 2D game in LibGDX. Currently, I am testing interactions between a player's weapon and enemies - in particular, a sword and an enemy monster. The player has a hurtbox and the sword ...
1
vote
0answers
65 views

Different Screen Sizes and Camera in Unity

Now I know that no matter what the screen size is the camera will keep its height, so no worries about that. My question is, is there a way to manipulate the camera, either its orthographic size, or ...
1
vote
0answers
47 views

OpenGL enabled Java game not detected by Fraps

Recently I found out that I could enable OpenGL hardware acceleration in my java game with the line System.setProperty("sun.java2d.opengl", "True"); Initial tests showed a big boost in performance. ...
1
vote
0answers
323 views

Unity 5 - Cloth Constraints

I'm trying out the new Version of Unity 3D (5.0.0.4f) and figure out whats new, whats possible now. My experience with Unity 4 free is also just a little. Anyway I work with the "new" cloth component ...
1
vote
0answers
24 views

Specular intensity not imported from Blender into Unity

For my current project I'm using diffuse materials for my models in Blender but I do not want any Specular Intensity so I've set that to 0. Yet in Unity there is still a specular highlight and the ...
1
vote
0answers
29 views

Update Based Animation Position Values?

Is it possible to control the key-frame/sample value or the time based position in the animator? I’ve set a global float that identifies the rotation of an object on its Y axis and I would like the ...
1
vote
0answers
94 views

How do I Animate a character in Unity3D (Animator)?

first of all, I am new to Programming and Unity, but I want to create a simple game with Unity3D. I am using the StandardAssets (character) where all animations are included, but I dont get how to ...
1
vote
0answers
48 views

Need to boost the number of simultaneous players in single (existing) game with Unity3d

I have created a turn based multiplayer game (with Unity3d) in which three teams battle to finish constructing a cake before one another. The game mostly targets on entertaining kids at certain ...
1
vote
0answers
52 views

Generate a large data structure using a compute shader

I know that RWTexture2D Result; void CSMain (uint3 id : SV_DispatchThreadID) { Result[id.xy] = float3(1,2,3); } will result in an texture containing the numbers 1,2,3 however I'm ...
1
vote
0answers
28 views

Can a local UDK server have two clients connected locally?

To do some basic testing on players interacting with other players I would need to have at least two players in my world. My solution is to run the server from my computer, then run two clients. When ...
1
vote
0answers
30 views

postprocessing shader destroying viewport on linux?

Basically I implemented gamma correction into a q3 based game to get rid of the annoying SetDeviceGammaRamp. On windows and macosx everything works fine, but on linux it draws garbage. It looks like ...
1
vote
0answers
46 views

Security of Unity Rpc calls

Im just starting to code my game in unity and have been reading up that rpc calls are not validated and can run havoc on the server. For example a modified client can connect to your server and just ...
1
vote
0answers
49 views

Unreal Engine 4 Error 2738

I am having trouble installing UE4 on my computer. I keep getting Error 2738 as I start the installation and can't find a fix. Even Microsoft Fix It 50842 won't work. I've attempted to re-download ...
1
vote
0answers
56 views

Proper joystick input processing

Take for example, the Xbox One controller. XInput returns joystick input along 2 axis (x & y). I'm not sure if the hardware just measures voltage across 2 axis or not, I'm not very knowledgeable ...
1
vote
0answers
41 views

How do I recognize squares, rectangles … (like in TwoDots)?

I currently working on a small mobile game. Not a clone of TwoDots(!) but I need to recognize patterns like they do and I use the game as an example. How the game works? Players have to connect dots. ...
1
vote
0answers
69 views

Efficiently rendering tiled map on OS X

I'm writing an original (top-down) SimCity clone in Swift and attempting to use SpriteKit as the basis for the game. However, I am running into performance issues when rendering and animating the tile ...
1
vote
0answers
103 views

How do I implement realistic recovery from weapon recoil?

I want to create an equation determining how fast a gun recovers back to its center after it has fired. I have a weapon system functioning based on constants (recoil amount, bullet spread, etc.) ...
1
vote
0answers
46 views

Performance issues with different types of uniform buffer

I've tested different buffer layouts, because I'm confused about some performance issues. That are my test buffer (OpenGL 4.1, GLSL 410, GT 750M, MacBook Pro): Test #1: Using fixed struct buffer with ...
1
vote
0answers
73 views

Equivalent to Draw() method in Unity project?

I have been using xna/monogame before this. So I read tutorials about unity, made some classes, loaded some sprites, everything "seems" to be going good, but I can't figure out how to add things into ...
1
vote
0answers
203 views

How can I resize the Unity Facebook SDK's login dialog to fit my vertical phone screen?

I have a Facebook-login button for my iOS game, but Facebook's login panel is entirely too big: The panel is cut off on both sides. It allows for input, but I cannot see most of it. My aspect ratio ...
1
vote
0answers
76 views

Unity sprites are no longer batched after the object rotates/moves

With Unity 5 and access to the profiler, I'm running our game through some stress tests so I can find where our performance issues are. While testing having 1024 units on the screen with 4 selection ...

15 30 50 per page