20,755 questions
-5
votes
0
answers
33
views
Threejs shadow not rendered properly [closed]
Why shadows are not rendered properly and there are gradient like issues
const light = new DirectionalLight(tint, 2.5);
light.position.set(-20, 90, 4);
const helper = new CameraHelper(light.shadow....
-4
votes
0
answers
33
views
Guys i am stucked on ubuntu... whenever i try to run gpu on rent they just give the error of gpu not found [closed]
Using Theano with GPU on Ubuntu 14.04 on AWS g2
I'm having trouble getting Theano to use the GPU on my machine. When I run: /usr/local/lib/python2.7/dist-packages/theano/misc$ THEANO_FLAGS=floatX=...
0
votes
1
answer
69
views
Implement effect of 3d card tilting
I want to achieve the effect of card tilting. When the mouse pointer approaches one corner of the card, this corner of the card will tilt downward. The current problem is that the card is not ...
0
votes
2
answers
59
views
How to create a cricket score ticker like this and populate it with API data in a React app? [closed]
When I was watching a live sports broadcast (cricket) on TV, I noticed an overlay showing match details with beautiful graphics and animations. It really caught my eye, and I’d love to build something ...
-1
votes
0
answers
18
views
Gaming minicomputer [closed]
I am interested in learning from anybody with experience owning one of those new mini computers about 4“ x 4“ x 2“. I’ve seen a few of those and even recommended one for one of my neighbors. But ...
1
vote
2
answers
93
views
How can I optimize three.js the rendering of a gltf model? I tried 4 ways, but the result is the same
I'm trying to find a way to optimize three.js . I have a gltf tree model with 2144 triangles. I am adding 1000 trees to the scene in different ways.
I clone the tree in a simple loop.
I use ...
2
votes
1
answer
82
views
How to shorten the length of a .Net C# System.Windows.Shapes.Line at runtime?
Before I illustrate my question with words please imagine a 2D square on a screen. In the center of that square is an archer with a bow.
In every corner of the square is a target. When a point on a ...
1
vote
1
answer
131
views
How to draw rounded joints (concave and convex) in a PictureBox?
I'm trying to set up a progressbar with a picturebox, it has 4 colors and has rounded corners and centers. I've already managed to set up the picturebox with the colors and rounded corners, but I can'...
-1
votes
2
answers
67
views
Switch text mode to video mode in assembly
I have a project I am doing in assembly. I am making a kahoot style quiz game in x86 assembly, running it in DOSBox.
I made the entire thing with no graphics but I need to make it with graphics so I ...
1
vote
0
answers
45
views
How to correctly add point light and reflection values in an ray tracing system?
I'm working on a small ray tracing project and I'm trying to add a point light system to my rendering engine. Here's an excerpt of my main ray_color function, which calculates the color of a ray based ...
-1
votes
1
answer
48
views
Depth-based scaling of image from 3D camera
I am trying to draw a cross-section of an object based on the depth image taken by a 3D camera (IFM O3D312).
The camera is looking down towards a flat surface. The image of the surface without any ...
-1
votes
1
answer
48
views
Why is my projection matrix being optimized by glsl?
If I have the following shader sources:
// vertex shader
#version 460 core
layout (location = 0) in vec2 inPos;
layout (location = 1) in vec2 inNorm;
uniform mat3 proj;
layout(binding = 0, std430) ...
-1
votes
0
answers
59
views
Theories on Pixels & Normal vector relation
I have the normal vector of a Triangle but then i got the smooth normals of that exact triangle as well because smooth normals make triangles link seamlessly with other polygons. But on the surface of ...
1
vote
1
answer
69
views
Bad precision creating dxf file
I am working in an App for creating a Contour (Layer ar3pkt) that is a result of fitting ARCs and LINEs in the original Contour (Layer contour). The Layer (approx) is an intermediate step, that you ...
0
votes
0
answers
19
views
Cache-Friendly Scene Graph Storage for Hierarchical Transforms
Context
I am optimizing hierarchical transformation updates in a scene graph. My goal is to minimize cache misses during the parent-child transform propagation.
A common object-oriented scene graph ...