6,976 questions
0
votes
0
answers
18
views
How can I create clouds in THREE.js?
I'm not asking anyone to build me anything; I'm mainly focused on how this is normally done. If anyone already has something built that they'd like to show me how they did it, then that would be great....
0
votes
1
answer
79
views
NiceGUI and Image Flicking during brighness adjustment
I would like to know why image flicking while adjust it's brightness during adjustment. here is my script:
from nicegui import ui
from PIL import Image, ImageEnhance
import io, base64
original_image = ...
Best practices
0
votes
0
replies
31
views
Nested Navigation Not Working in AutoRoute
I’m trying to navigate between nested pages using AutoRoute, but I’m unable to route to child pages or go back using AutoRouter.of(context).back().
I have an Authentication module with multiple nested ...
-1
votes
0
answers
139
views
Y-axis rotation in python [duplicate]
So I was trying to make a 3d engine from scratch in Python when i tried to rotate the plane. All axes were fine as predefined rotations in 3d space, but when updating rotation in the code, only the x ...
Advice
0
votes
6
replies
182
views
How to make a GUI library in C++
I have wanted to make a GUI library so that I can use it in my own video game that I am making and maybe in the future have it be used for other things like software. I wanted to ask where to start ...
-3
votes
1
answer
44
views
Auto converting typed math to Latex/Mathjax [closed]
I use a learning management system from my coaching classes, and due to copyrighted material, I can't share screenshots here. However, I'm attempting to convert typed math to Latex/Mathjax math ...
0
votes
0
answers
43
views
Rendering issue with procedural world generation in Godot 4
I have a really weird issue with rendering chunks in my Godot 4 (4.3.1) world generation implementation, when zooming really close, some chunks start to disappear (but they are still 100% loaded, ...
1
vote
0
answers
61
views
Render Texture Triangle From Vertexes and Uvs
I'm attempting to render out part of a spritesheet to a new standalone texture. I have the triangles, vertexes and uv coords of my sprite but my code only correctly renders the first triangle not the ...
0
votes
0
answers
29
views
What is the most efficient method to create lines that change their points often in PIXI.js?
I need to create lines in PIXI.js that have their points changed often (specifically for musical crescendo lines). These lines may take any points the user gives which means that drawing them using ...
0
votes
0
answers
89
views
DrawText inside a foreach cycle with SkiaSharp
I'm working with SkiaSharp library and I write this main code for the text's rendering:
private void SendText(OggettoLayout oggetto, SKCanvas canvas, float dpi, bool antialiasingOff)
{
...
1
vote
0
answers
56
views
How to suspend the rendering thread in UE4?
The mobile platform I'm using in my current UE 4.27 project has low performance, so I'm considering whether I can pause the rendering thread and release the rendering resources in the scene when the ...
0
votes
0
answers
47
views
How to filter a curve to prevent overlap of segments during rendering
I have a sequence of points in 2d that are rendered as a thick line by using quads.The quads are formed by extruding the curve around its center line in the normal direction.
The figure is showing a ...
2
votes
0
answers
132
views
Why isnt the Pixel turning yellow
Im using SFML 3.0 and want to draw a window and whenever i click my left mouse button inside the window i want to draw sand for example, so a yellow pixel should appear but it doesnt work, no color ...
2
votes
0
answers
36
views
Eclipse BIRT PDF Report Not Rendering Sora Font in Spring Boot 4 Web App
I'm facing a major issue with Eclipse BIRT. Our management team has created a report that works fine and pulls the correct data. However, when I integrate it into our web application, the fonts do not ...
0
votes
2
answers
77
views
Information from API Call not getting rendered in ReactJS dropdown option
I have a Drop Down with Code:
<select
name="AssetCategory"
value={formData.AssetCategory}
onChange={(e: React.ChangeEvent<...
1
vote
1
answer
83
views
State changes are very slow
This is a notes app that will use microphone to write notes. Everything is working great but state changes are very delayed. When the MicButton is pressed, the icon should change instantly, but it ...
1
vote
2
answers
74
views
Matplotlib Zorder not respected between Bar and Grid, why?
My Matplotlib version is 3.7.2
Here is a code where gridlines zorder > bars zorder:
import matplotlib.pyplot as plt
import numpy as np
# Sample data
x = np.arange(4)
y1 = [5, 7, 3, 6]
y2 = [4, 6, ...
1
vote
1
answer
115
views
Vulkan complains about invalid VkFramebuffer handle
I'm currently working on my Vulkan renderer and I'm trying to implement ImGUI. I use 2 separate render passes. One for the "main" rendering of my scene and one for DearImGUI. But here comes ...
1
vote
2
answers
67
views
PDF-Matrix operation shifting the coordinate system
Can someone explain me a special PDF matrix transformation? I just can't figure it out.
I have the following content stream of a PDF:
q
q
1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 cm
q
1 0 0 -1 0 841....
0
votes
0
answers
36
views
Angular 18 - scrolldown trigger for component On View change
I am building a discord-like instant messaging chat app and I am looking for a solution to scroll down to the bottom of a components view in a "channel" component. The component contains ...
1
vote
0
answers
69
views
Swift/Metal pipeline issues with Vertex/Normal data getting passed to shader
This is long, please bear with me.
I'm learning to use Metal. I have a simple scene that renders instanced meshes. I use MDLplane,MDLbox or MDLsphere to create the mesh. These meshes have normals and ...
0
votes
0
answers
36
views
How do I get CMake to generate the Xcode file described in this tutorial?
In the Creating A 3D Application With Hydra Rendering tutorial on the Apple Developer website, on the last step where I execute this command: cmake -S ~/Users/macuser/...
0
votes
0
answers
29
views
Dark Theme Brightness Inconsistency Between Main Window and New Windows
I'm experiencing a significant brightness discrepancy between the main VS Code window and any new windows opened via Ctrl+K O, especially when using dark themes like GitHub Dark High Contrast. This ...
0
votes
0
answers
27
views
SoHandleBoxDragger bounding box flickers when one side thickness is less than 50cm
I am quite new to Open Inventor and I am trying to create a very thin bounding box where thickness along an axis can be as small as 1cm.
My scenegraph is as follows:
root (SoSeparator) -> mySep (...
1
vote
2
answers
71
views
Speeding up Rendering of R 3D-Surface plot using plotly
In R, I have a list with n×m matrices. From that, I want to create a plotly plot in R-Shiny, where each matrix is its own surface, and the value of the matrix give the z value of the surface on a ...
0
votes
0
answers
34
views
Running aitviewer on remote server headless mode
I'm running aitviewer on a remote linux server with no GUI, in headless mode and in the documentation it's recommended to use
export DISPLAY=:0.0
Xvfb :0 -screen 0 640x480x24 &
but I cannot ...
5
votes
1
answer
112
views
Fragmented Progressive Rendering Artifact
I'm developing a fractal explorer in C++ using SFML and std::thread to render the Mandelbrot set on the CPU with progressive display. The goal is to leverage multiple cores by dividing the image into ...
0
votes
1
answer
84
views
Check if React Native screen has completed rendering
I have made a React Native app. In this app, I have made a footer. This footer has been added to each screen using the App.js file:
function ScreenWithFooter({ "component": Component, ......
0
votes
1
answer
52
views
Why doesn't React update my image URL event after adding in a key to trigger a re-render
So here is my code:
<img src={currentQuestion?.GIF_URL} key={`${GIF_URL}-${currentIndex}`} alt='gif' style={{margin: '0 auto'}} />
As you can see I've added in a key to tell React to trigger a ...
2
votes
1
answer
121
views
Why is my Stippled Line Code (C99/SDL2) not working properly?
A few weeks back i was prototyping something in SDL2 (using SDL Surfaces) to make stippled lines for my app PGM. I did conplete the code; At first I assumed it was working as intended but when i ...
0
votes
1
answer
54
views
Rendering a React Component Dynamically via Buttons in Nextjs15
Here is a brief description of the structure of the problem. I have a main navbar (Navbar), some links (NavLinks), and a side panel (this is rendered inside Navbar to make things easier).
// Navbar....
0
votes
0
answers
52
views
Bindless Uniform Variables
I am implementing a 3d renderer in OpenGL.
Here is how you would render some 3d models:
Renderer3D.begin(camera);
Renderer3D.setShader(shader_1);
Renderer3D.render(model_1, transform_1);
Renderer3D....
1
vote
1
answer
310
views
Translucent material not affected by post process in Unreal Engine 5
I'm trying to figure out why my translucent material doesn't get affected by post process material in Unreal Engine. Is there a way to override this?
I've tried checking the Custom Render Depth Pass ...
0
votes
0
answers
55
views
blurred circles in Raylib-cs
I wrote some code in C# and Raylib-cs. It should do this: When you do a click, there should be drawn a circle and a line between the center of the circle and the actual mouse position. When you do ...
1
vote
0
answers
55
views
How can I organize code in window loop in SFML?
I am working on my small University project. I've done optimisation of rendering Mandelbrot Set and now I want to add testing function which will be change position of the Set and check fps. So I ran ...
0
votes
1
answer
131
views
Draw each rendered scanline in windowed raytracer? [closed]
I'm refactoring a raytracer to have a window pop up that shows each scanline produced instead of having to wait for the ppm image to be rendered and open it with some ppm viewer.
I've been advised to ...
0
votes
1
answer
86
views
Angular component is not showing up(or rendering) in the elements [closed]
I am new to the Angular JS , and I have been trying to make a ecommerce website in the Angular. My component
<app-products-list/>
is not showing up in the elements of the browser.
app.component....
1
vote
1
answer
235
views
TypeError: Cannot read properties of undefined (reading 'traverse') in VTK.js when trying to render an image in React
I'm working on a project using React and VTK.js, and I'm encountering an error when trying to render a medical image using vtkRenderWindow and vtkRenderer. The error I am getting is:
TypeError: Cannot ...
0
votes
1
answer
98
views
cannot get uploaded image to render when calling it from a file path stored in a database
Below is what I see when I run my code.
Thymeleaf code I am using:
<div>
<img th:scr="@{/uploads/${image}}" alt="Uploaded Image" width="200px" height="...
1
vote
3
answers
189
views
Parallelized ray tracer is slower than single thread version
i'm writing a raytracer based on the popular raytracing in a weekend series.
i've tried to parallelize it by dividing the image in slices and give each thread a portion of the image to render:
void ...
1
vote
1
answer
85
views
Struggling to make a C# Script to find chunk render priority in Minecraft-esque Unity game
I've been following a tutorial on how to make a voxel game in Unity. I've followed it through but it seems the tutorial came to an end after it described how to do very basic rendering.
The way my ...
2
votes
1
answer
88
views
How to rasterize an implicit function
For minecraft building, I am rasterizing some shapes.
How to simulate a shape with blocks. There are many shapes, such as circular rings, ellipsoids, hyperbolic circular towers, etc. Of course, the ...
1
vote
1
answer
82
views
How do I render in a SVG file with gi-cairo and Haskell [closed]
I'm making a program to render several drawings in PNG and SVG formats with Haskell and gi-cairo.
I managed to render my drawing in a PNG file with :
import GI.Cairo.Render
import GI.Cairo.Render....
0
votes
1
answer
111
views
Differentiable Environment Map Failing Backpropagation in Mitsuba 3.6.4
I'm trying to set up a scene in Mitsuba 3 where I optimize an environment map parameter, emitter.data. This seems like it should be possible given their caustics optimization tutorial and the fact ...
1
vote
1
answer
25
views
Angular: data not rendering correctly
people.
I have a Angular application which I am integrating with a node.js server. It works like this:
A service is injected in the component
The component calls the getAccountData() function from ...
0
votes
0
answers
42
views
How to set height & width in pm4py's graph visualization?
If I use the Python package pm4py, I get a nice graph visualization. However, the size is quite small in terms of height, and I want to change it. The code so far:
from pm4py.visualization.bpmn import ...
0
votes
0
answers
38
views
NextJS triggers the parent fetching when not needed
Project structure
as shown in the image this is my project structure, I have a person page and a Friday-prayers page nested inside it, in the person page there is a data fetching that happens to get ...
1
vote
1
answer
259
views
How to Fix Incorrect Unity Color Rendering in Web Version of Game?
I am struggling with incorrect color rendering in the web version of my game.
It looks fine on Windows, like this:
But on the web, it looks like this:
I'm using Unity 6, and by default, it uses the ...
2
votes
1
answer
289
views
Jetpack Compose Painter draw text
In my Jetpack Compose Android app, I used to have a "letter icon" Drawable that basically just draws some text. Now I'm trying to migrate that Drawable to a Compose Painter, but I can't find ...
0
votes
1
answer
76
views
Vue Component Renders Twice On Page
In my HomeView component I'm importing the AsideCTA component:
<template>
<TheHero />
<TheServices />
<TheBundles />
<AsideCTA title="Kontakta oss!" url=&...