1
vote
0answers
17 views

glTexSubImage3D throws GL_INVALID_ENUMERATION on NVIDIA

I'm having problems when using the following statement on different GPUs: glTexSubImage3D(target, 0, 0, 0, 0, width, height, layers, format, type, NULL); on ...
-1
votes
1answer
40 views

Can I use my phone's gpu as an external gpu for my laptop?

My phone is Sony Xperia XZ1 Compact which has Adreno 540 as gpu. My laptop's gpu is NVIDIA GeForce 940MX 4GB which seems to be much worse than my phone's gpu. My PC's OS is Ubuntu 16.04.
2
votes
0answers
44 views

Should direct illumination and path tracers render the same scene equally bright?

I am using the book Ray Tracing from the Ground Up by Kevin Suffern to build my first ray tracers in Java. Based on the theory, I expected that direct illumination and simple path tracers render the ...
0
votes
0answers
17 views

How to convert a .tif file -with elevation encoded- to another image format?

I'm having .tif files that need to be converted to grayscale .jpg/.jpeg or .png. The grayscale denotes terrain height. When opening a .tif file, only geographic information is visible, for example ...
0
votes
0answers
8 views

Open Stereoscopic Player Full screen in second monitor

I'm trying to create a WinForm application with C# programming language that opens a media file in Stereoscopic Player while clicking a button after choosing a file path through an openFileDialog ...
0
votes
0answers
14 views

Fitting poly (N-)gon to non-square image

I have a list of non-empty pixels in an image, and I want, for a given N, to find an N-gon which contains the most of those empty pixels and the fewest empty pixels. How would I go about doing this?
0
votes
0answers
28 views

What is the use of effect files?

I am reading Real Time Rendering and getting confused by something called effect files. From what I understand, it is like a library of pre-written shaders so instead of writing my own shaders for a ...
-2
votes
0answers
26 views

Research/projects that intersect image processing with geometry-based computer graphics

The following link (https://www.quora.com/What-is-the-difference-between-computer-graphics-and-image-processing) describes the difference between image processing and computer graphics as being ...
1
vote
1answer
33 views

drawing NURBS: knots, multiplicity, divide by zero?

I'm trying to grasp how NURBS curves work. I think I understand the principle, but I'm unsure about the formula. Here, I base myself on this course. From a DXF file, I got the following parameters: <...
0
votes
0answers
34 views

Help LOD:ing a tiled 3D model of a city

I have a 3D model of a city, divided into ~7000 adjacent tiles, taking up close to 100 GB in total, including fbx files and textures. I want to convert this into a model with different levels of ...
0
votes
1answer
34 views

Bresenham's Algorithm not drawing horizontal lines

I'm getting started with graphics and I'm having trouble implementing the Bresenham's algorithm. Now, I know that my implementation is incomplente, but I can't see why it doesn't make horizontal lines(...
1
vote
0answers
27 views

How to apply scale, translate, rotate with different origin and get new rectangle coordinates

I was reading other questions in this topic but I couldn't apply any viable solution to solve my use case. I have a crop area described with two dimensions (cropWidth, cropHeight) I can easly compute ...
1
vote
1answer
62 views

Why does skinny triangle is avoided in triangulation algorithm?

I recently learned about Delaunay triangulation algorithm.. This algorithm prevents the generation of skinny triangles.. I haven't really seen any good explanation of why we don't want skinny ...
-1
votes
0answers
34 views

What are the major/not-so-major (academic) subareas of computer graphics? [on hold]

Feel free to list any subject which has at least some connection to computer graphics and has at least one academic paper published on it. (Apologies, I didn't know what tag to use.)
0
votes
1answer
44 views

Where should the ray origin be put in perspective camera ray tracing?

Where should the ray origin be put in perspective camera ray tracing? The following gives a picture of the ray tracing in the perspective camera setting: http://www.cs.cornell.edu/courses/cs4620/...
1
vote
1answer
46 views

Are w3.org docs correct?

I'm referring to this section: https://www.w3.org/TR/compositing-1/#simplealphacompositing Considering the formula co = Cs x αs + Cb x αb x (1 - αs) the docs state ...
0
votes
0answers
35 views

How to compute size of OpenGL's image buffer?

I am trying to retrieve OpenGL's color buffer with the following code. My program is crasing in the line that makes the call to glReadPixels() apparently image.data ...
0
votes
0answers
29 views

Should I jump straight to DirectX 12 or is it better to start from DirectX 11 given some OpenGL experience?

I've been studying OGL and developing an engine on it for about 2 years now. I'd like to port this engine to Windows/DirectX eventually, but, before I start, I'd like to ask for advise from people who ...
-2
votes
0answers
28 views

Is it the graphics card or something else? [closed]

I have an HP Envy with an integrated Intel(R) HD Graphics 630 graphics. At some point I intended to upgrade the video card and some other things however I am having a few issues and believe I need to ...
0
votes
0answers
30 views

Dragging an object on a plane with respect to the camera

this is a long description but I hope the solution is simple: I have a 3D pointCloud with a vtk box (displayed at 0,0,0) and I want to drag the box on the XY plane with my mouse cursor (Zero movement ...
0
votes
0answers
16 views

how feature detection benchmark ROC is constructed and what it is really mean?

How to construct ROC curve with the values of recall and 1-precision for benchmark dataset. What really a graph of ROC means that is how a curve is formed?
1
vote
0answers
40 views

How Skia uses OpenGL backend?

Skia 2D's one notable backend in OpenGL, but how does it work under the hood to render? Say, we need to draw an anti-aliased circle. Does Skia: make a quad (using 2 triangles) and paint the circle ...
1
vote
1answer
40 views

Drawing a plane super-imposing over another plane

I wish to draw a plane (A building's floor in this case) over a canvas plane (assume the plane is smooth). The planes are drawn as QUADS. The problem is that both plane are located at the same height....
1
vote
1answer
107 views

how to render colored glass object?

I want to know how to deal with the color of object,Should i use diffuse reflection on the surface?
1
vote
0answers
17 views

How do I interpret the format of the .flame files used by apophysis?

I pulled a .zip file from https://www.deviantart.com/clairejones/art/Apophysis-Starter-Flames-V-67029474 and the file I was interested was the .flame file which ...
0
votes
0answers
45 views

Hard edges appearing in voxel cone tracing (how to remove them?)

I am generating shadows using a voxel pyramid (commonly called voxel cone, although I hate that term). Some of my shadows come as expected, however some are very strange. For example in this image: ...
2
votes
1answer
21 views

Image saved as DDS with 16f format in photoshop has strange FOURCC text

I am analyzing the hex code for DDS files which are compressed via Nvidia's dds plugin in photoshop. I noticed something strange when having a 16 bit float file. This is the dialog: When I look at ...
4
votes
1answer
95 views

Deriving blur from real optical formulae

Looking at the Wikipedia page for Circle of Confusion, and at such posts as this one, I completely understand how to calculate the values for near, far, focal planes and hyperfocal distance. I am also ...
0
votes
0answers
24 views

Problem with imageStore to 3D texture on old AMD card

I've been updating an old project that does Marching Cubes using compute shaders, and it fails on my laptop with an old AMD GPU (7670M). After investigating a bit, I found the problem is with writing ...
0
votes
0answers
67 views

Changing coordinate system from texelFetch to textureLod is breaking the algebra

I have a scene rendered using texelFetch() and I am trying to modify the shader to use textureLod() instead. This is the image generated with texelFetch: When I try to change the shader to use ...
0
votes
0answers
56 views

OpenGL - Fit High/Low Resolution Image/Texture to a particular size Window

Consider a ray tracer written in OpenGL and using GLFW as a window toolkit. There are basically 2 options to display the ray-traced image. 1) Create a RenderBuffer ...
1
vote
0answers
51 views

Voxel cone tracing artifacts (what causes them and how to solve them)?

I am trying to generate soft shadows using voxel cone tracing. Which gives me the next images: In the first image you can see an artifact of a sequence of horizontal shadows alternating with ...
1
vote
0answers
41 views

How exactly do soft shadows get generated using a voxel cone tracing rendering technique?

Let's assume we have voxelized a scene, and all of our materials have an opacity level of 1. The reuslt would then look like: If we raytraced the final volume that gets generated after rasterization. ...
0
votes
0answers
12 views

Customize a HTML5 video player [closed]

In the image, the video that has its half (upper and lower) is changed. How do I get back to normal in real time using codes? I have a website, and in it a video player with a youtube video. As in ...
1
vote
2answers
58 views

How to convert from glBegin() and glEnd() to VBOs?

How to convert from glBegin() and glEnd() to VBOs (Vertex Buffer Objects)? I found a simple example here: ...
4
votes
2answers
97 views

What is OpenGL's paradigm?

OpenGL is not object-oriented, but more like "switches you turn on"? Like ...
0
votes
0answers
13 views

Merge multiple Point Clouds into a single 3D object

I am testing the Intel RealSense D435 camera and have been able to create multiple Point Clouds (.ply) of a certain object. Each Point Cloud is taken in a different viewing angle of the object. Now I ...
1
vote
0answers
78 views

Handling shadow acne for dynamic surfaces

My path-tracer is generally fine and gives good output for regular test scenes, but I've noticed dense fireflies and dark speckles over fractal surfaces. The noise disappears if I render without light ...
0
votes
0answers
28 views

How to render an image, given SVBRDF parameters (normals, diffuse/albedo, roughness, etc.), using any tool / technology?

I am new to Computer Graphics domain. Currently, I am working on extracting Spatially Varying BRDF parameters given a single photograph of the planar material. So far, I have managed to extract ...
2
votes
1answer
60 views

Importance Sampling in Unreal Engine Formula Derivation (Irradiance term)

I am currently trying to understand IBL in Unreal Engine, and there are so much things that I don't understand about the formula. Unreal approximate the specular term of shading equation by doing ...
0
votes
1answer
60 views

Self intersection artifacts in 3D image raytracing

I am developping a voxel raytracer for global illumination. I have been successful in multiple aspects but there is a problem I am not sure how to solve. The model works as most other Voxelization ...
0
votes
0answers
10 views

Sharing a MTLCommandBuffer across multiple MTKViews

I am using MTKViews for select UI elements inside of my UIKit app. I have a central metal controller that does something somewhat like this: ...
0
votes
1answer
15 views

Texture units parameters in OpenGL

I am writing a procedural terrain renderer for OpenGL. To shade the terrain I use multitexturing, that is 4 material textures and a blend map which distributes them across the terrain (encoded in RGBA)...
1
vote
1answer
49 views

Why does DirectX use COM pointers and interfaces?

I have a rudimentary understanding of COM and I know that its main purpose is to enable interoperability between programs written in different languages. However I dont understand why that is useful ...
0
votes
0answers
50 views

Smooth interpolation between quaternions

I have an array of quaternions representing a few orientations that my object has to go through. I am looking for a solution to smoothly interpolate between them such as the right mesh in this video. ...
1
vote
1answer
39 views

Controling order of execution of a (compute) shader on an array of vertices (data) in Vulkan

Is it possible to force Vulkan to execute a shader on vertices (data) in a semi-consecutive manner? For example, if the data passed to the shaders as a binary tree, shader would process it one layer ...
0
votes
0answers
8 views

Stacking vertex rotations around different axes of rotation

I have a binary tree, each node being a vertex with a 3D coordinate. I have to traverse the tree in a way to rotate each child node around an axis going through it's parent. The catch is that every ...
1
vote
2answers
42 views

If a 3D scene is rendered onto a hemispherical display, will there still be warping near the edges?

When a 3D scene is rendered to a 2D display, the image is distorted near the edges of the display. If a 3D scene is rendered onto a hemispherical display, will there still be warping?
0
votes
0answers
45 views

Least painful way of porting OpenGL renderer from Mac to Windows

Can experienced people advise me some tools/approaches for porting my OpenGL engine from Mac to Windows? I've been developing a renderer using C++ as much as possible, but the 'tool' part is written ...
3
votes
1answer
78 views

How to avoid slowdown with 25-30 students running simple GPU kernels on 4 GeForce GTX 650 Ti s?

So I'm teaching crash-course in CUDA that teaches students how to write good GPU code (CUDA 7.5 in this case). They kernels they will be running will do matrix multiply on 2048x2048 floating point ...

15 30 50 per page