The projection tag has no usage guidance.
0
votes
0answers
8 views
Is there a sane and aggravation free way to project textures onto an animated model?
I'm trying to figure out exactly how to project textures onto an animated model. I've taken a look at L4D2's wound's white paper. But their method doesn't exactly explain how they went about this.
I'...
0
votes
1answer
28 views
How would you design a transformation matrix to project absolute coordinates to any orthographic projection desired?
I am attempting to make an RTS based on AoE II HD Edition. I want to have ease of control by designing a transformation matrix given any style of projection I want.
This is a good example of what I ...
0
votes
1answer
53 views
Hemisphere Projection
I came across the following segment of code that is supposed to project an image on a hemisphere:
void main(void)
{
vColor = aColor;
vec4 pos = uModelViewMatrix * vertex;
float lenxy = ...
1
vote
1answer
35 views
Project 3d lines onto plane
I'm trying to wrap my head around coordinate projection, and can't seem to solve the problem I am having. Here is an illustration of it:
The cubes represent 3d space, and the 2 red lines represent ...
2
votes
0answers
36 views
Projector does only affect model
I'm working on a simple selection of a RTS unit. Therefore I used a projector to display a circle on the ground around the unit.
But it happened, that the circle is only displayed on the head of the ...
0
votes
1answer
51 views
LibGdx, I moved ShapeRenderer projection matrix, but shadered waves did not move
I am use Libgdx with ShapeRenderer to draw rect and shaders passed to ShapeRenderer, to draw a waves. In game I made pseudo-parallax effect by changing projection matrix in SpriteBatches. But in ...
0
votes
1answer
17 views
How to transform a spherically-projected render into a perspective projection?
Suppose that you have a projection obtained by mapping spherical coordinates to a texture; example:
What is that projection called?
Is it possible to "fix" such texture so that it becomes a regular ...
1
vote
1answer
213 views
libGDX - Why do I have to use camera.setToOrtho what does it do?
I am very confused about camera matrices and I don't know where to start my studying. Maybe I have to study OpenGL, but I don't know C++ ...
Ok so I have a camera, Box2d world and a Box2d body.
...
0
votes
1answer
28 views
How to find a point of taking into account the distortion of the projection
I can not find the material that will help me to implement the algorithm of coordinate transformation based on the distortion of the projection.
I am creating a code recognition algorithm (similar to ...
2
votes
0answers
35 views
DirectX 11 - Problem with low resolution decals
I'm trying to add a decal system in my DirectX engine but i'm facing some problems with the quality of the textures projected. Every other no decal texture look fine, but these ones look really bad.
...
0
votes
0answers
43 views
Quad not rendered correctly after window resize
I have a orthographic camera. With the help of this camera i'm able to render a quad onto the screen using screen-cordinates.
Using the camera i perform the zoom in/out on specific mouse position ...
1
vote
1answer
41 views
How do I take 2D ballistic trajectory planning and apply it to 3D?
I am currently using this formula
speed = sqrt((gravity.y*target.x^2)/(2*cos^2(angle)*(target.y - target.x*tan(angle)))
provided by DMGregory as an answer for my question here to determine the speed ...
2
votes
1answer
112 views
How to render multiple projections of an object?
I want to display multiple projection of an object on the same screen. The projection should also change as the body rotates, kind of a dynamic projection of the body.
I am trying to make a character ...
23
votes
3answers
2k views
Conveying a claustrophobic atmosphere in cavalier oblique projection
I need your collaborative knowledge in finding the best way to graphically represent a scene in a manner that would suit a SNES-era rôle-playing game. I've chosen to represent the game in what I'm ...
2
votes
1answer
85 views
Setting oblique projection to data visualization
I'm developing a small application using Directx intended to plot frequency spectra data in a waterfall plot. It should look like this:
So far, I managed to created most of the chart components(axes,...
1
vote
0answers
96 views
Control frustum near and far clip plane sizes in a Projection Matrix
I'm trying to achieve a dolly zoom effect.
My first try was the obvious one, the original "zoom in & dolly out" technique, which works nicely.
Except that there are cases which this is not ...
0
votes
1answer
94 views
Projection Matrix Breaks My Rectangle
This is my vertex shader, shown below.
#version 330 core
in vec3 a_position;
in vec4 a_colour;
// FOV = 70, near plane = 0.1, far plane = 1000
const mat4 u_projection = mat4(
1.428148, 0.0, 0.0,...
3
votes
0answers
93 views
Filling Closed Shapes
Game Engine : Unity 5.1
Developing on Windows 7
Hello,
I am using Vectrosity to draw some some shapes on screen run time. I also need to fill these shapes and none of them are really trivial shapes. ...
0
votes
0answers
67 views
glOrtho and VBO
I'm trying to send triangles to OpenGL using screen coordinates. Using the deprecated glBegin and glEnd I could just set up an orthographic projection and use screen-space coordinates as the triangles/...
1
vote
1answer
127 views
Replicating a worldspace sphere on screen space
I have quite some struggle with a post processing shader that I'm working on.
I use Unity, and I have a shader in which I want to, in screen space as part of post processing, render a sphere that ...
3
votes
1answer
129 views
Problems with converting from Screen Space to World Space
I have an unproject function I've written, which takes in x and y values between -1 and 1, and a z value between 0 and 1 (0 is near plane, 1 is far plane). I create a vector off of this, and multiply ...
4
votes
0answers
73 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 ...
0
votes
0answers
25 views
Projection type/camera angle in Alien Soldier
I am trying to build a 2D game similar to Alien Soldier from oldies (Sega Genesis). The problem I am having is with assets.
What kind of projection/camera angle does the Alien Soldier use for it's ...
1
vote
1answer
833 views
How to get UV coordinates for sphere (Cylindrical Projection)
I have created one sphere and I want to map onto it a texture map. But I want first to project my map texture to cylinder and then to sphere.
So I want to create a function which takes as parameter ...
0
votes
1answer
60 views
Projection type used in videogames
I'm trying to create a web application, to display 3D objects on canvas. To represent the 3D object I'm using an array of Points (from application's point of view, a Point - is just an object ...
3
votes
1answer
79 views
How do I convert 3D vertices and faces to 2D shapes?
I'm assuming all the math is done with projection matrices from linear algebra, but I don't yet understand how they work, and haven't found much information on them.
What I'm mainly curious about is ...
1
vote
0answers
33 views
How to use GetViewProjMatrix().TransformVector(LineDirection) in UE4?
I try to project a 3D vector (a direction, not a position) in screen space, but it does not return satisfying results:
FVector LineDirectionOnScreen =
EdMode->ViewMatrices.GetViewProjMatrix()....
1
vote
0answers
41 views
Construction of perspective matrix
Is it possible to Construct a perspective matrix by multiplying a perspective transformation with a parallel projection ?
I want a perspective projection in 2D space which is calculated by ...
1
vote
1answer
67 views
seamless stereographic projection
i have been struggling with this problem on and off for a few years now - making a seamless stereographic projection texture mapping on a sphere where the two halves of the sphere use the projection ...
0
votes
1answer
87 views
Issue creating a dynamic seemless cube map
I have a function for building a cube map, given a location in space. I also have a system for displaying cubemaps (either loaded from images or given as a texture handle), and they work fine and are ...
1
vote
0answers
37 views
Perspective projection math help?
I have points X,Y,Z and have a camera at Cx,Cy,Cz. Assuming the camera is not rotated and is facing the -Z direction and is at 0,0,0. What would the math be for projecting the X,Y,and Z values onto ...
0
votes
2answers
103 views
3d projection help?
I've been wanting to know how to do 3d projections.
Can someone explain how i can use this to find the position for x and y on the 2d plane that is 600 * 600 pixels.
4
votes
1answer
1k views
How do I convert a panorama image into a skybox?
I have two panoramas (1, 2) that are the same but are shaped a little different.
I don't care which one, but how should I go about converting them into a Skybox? I was looking for something like ...
16
votes
1answer
2k views
What projection is this?
Could someone tell me what this projection is called?
It's as if you are looking at an object from directly above it and then smear it up and left equally. Only the one dimension seems to be true ...
0
votes
0answers
63 views
Perspective projection
I'm studying Perspective projection in a computer graphics course and i'm really confused about a detail. The study material says there are 3 cases:
Case 1: View plane parallel to the xy plane and ...
1
vote
1answer
76 views
Does projection take place before clipping in the rendering pipeline?
At first I thought clipping happens before projection since new vertices may be added and the output of projection is in NDC which is 2D.
However after a lot of googling, I found that some articles/...
9
votes
4answers
628 views
How do I correctly project a point behind the camera?
I am making a 3D game in which I put an exclamation marker above points of interest.
In order to find out where in the 2D screen should I put my marker, I am manually projecting the 3D point where ...
0
votes
1answer
387 views
How to draw 2d above 3d scene?
I have an OpenGL(3.3)+GLEW application.
I want to draw a black vertical rectangle at the left side of the window for writing some information on it, like fps (I use GLEW function for drawing text).
...
0
votes
1answer
790 views
How do 3D games create the illusion of depth?
How do libraries like OpenGL convert three dimensional coordinates into the two dimensional pixels we see on our screens? I'm not talking about the 3DS or games that require 3D glasses, but rather the ...
0
votes
1answer
55 views
Projectile Shoot three at a time
In my game there is a bird flying and on touch it throws different artifacts projectile downwards. And these artifacts should hit the containers moving right to left on the screen. Now if user keeps ...
5
votes
2answers
549 views
How can I achieve a pseudo-3D camera effect like this?
I am trying to achieve a pseudo-3D camera effect similar to this:
I have gotten the following results using a 3D camera and billboards:
I am now running into the following problems:
In the first ...
3
votes
2answers
1k views
What is Clash of Clans projection called?
What is Clash of Clans projection (it doesn't seem to be isometric! enter image description here )
photo from here
2
votes
2answers
5k views
What is the difference between an orthographic and oblique projection?
They both seem to be a parallel projection. I know that the angles of axes of viewing differ based on the type of orthographic projection (eg, an isometric projection has equal angles for all the axes)...
2
votes
1answer
175 views
Why does the projection matrix transform object points into a unit cube in computer graphics?
This semester I both took a computer vision and a computer graphics seminar. But only now before the exams I realize that there seems to be a fundamental difference between projection in both topics.
...
0
votes
1answer
605 views
Distortion problem with perspective projection
For various reasons – partly educational, partly technical – I'm writing a 3D game engine from scratch, using OpenGL 3.0; aiming for Core Profile, eventually, so of course I'm using a custom matrix ...
0
votes
0answers
142 views
Perspective Projection Far Plane Not Clipping?
I've just discovered that far away objects in my world don't seem to clip like they should with a perspective projection matrix.
When I fly far away from my main landscape, so that I am much more ...
2
votes
2answers
267 views
How to calculate a 3D orientation from 2D vanishing lines on an image?
Let say I have a image that represent a 3D scene. I did not have the 3D camera orientation of that scene (left, up and forward vectors) and i'd like to calculate it.
On that picture, I draw the ...
0
votes
1answer
178 views
Perspective Projection - Drawing Lines
So I sort of understand the math behind projecting 3d points onto a 2d plane. It's just some simple dividing and multiplication of distances. However I can't seem to wrap my head around projecting ...
0
votes
1answer
208 views
GameObject is only rendered when it has a negative z scale
I have an orthographic camera that looks like this:
I create 2d polygonal meshes that have uniform z values in their vertices. I use Camera.ViewportToWorldPoint() to map these viewpoint vertices to ...
0
votes
1answer
141 views
Scaling world - projection, view or separate matrix?
I am currently writing a simple 3D space visualisation program.
Things get loaded into it from a simple XML file, which contains positions and sizes of objects in space, so you can put basically any ...