Questions tagged [rendering]
Rendering refers to a computer program formatting data for display or printing.
6,849
questions
0
votes
0
answers
8
views
How to copy luma and chroma values from a decoded vp9 frame buffer (yuv 420 format)?
While decoding and rendering a vp9 movie (encoded in yuv 420), I see the movie is rendered in greenish shade.
I verified that the source movie is fine and also the decoding seems fine.
I have a ...
0
votes
0
answers
21
views
Unity Artifact on some android devices when create texture with a specific material effect rendered on it
To create a texture with a certain material effect applied on it, I do something like this:
public Texture2D source;
public Material material;
public static void Create(...
0
votes
1
answer
36
views
Is tessellation unpredictable?
I'm working on a 3D renderer/game engine in Vulkan. I'm currently considering using GPU tessellation for terrain rendering using heightmaps (as well as being interested in how tessellation can be used ...
0
votes
0
answers
15
views
re rendering is making the file chosen on an input field to null in Livewire Laravel
I am stuck in an issue. I have a step form in which on each next I check the the data on the livewire component and move to next step but when I go back then the input html tags becomes empty. ...
0
votes
1
answer
21
views
open3d dynamic point clouds rendering issue
I have to render a dynamically acquired point cloud. The pointcloud is segmented into objects that are rendered individually as geometries. Whenever an existing object moves, its geometry is updated. ...
0
votes
1
answer
16
views
Getting multiple and duplicate values after maping an array prop and then passing the maped value as prop to another component in React
I am using React with material ui and I am getting this strange bug.
I have a parent Orders page, and then passing an array of orders to the orders component like this:
<PendingComponent
...
0
votes
0
answers
10
views
Is my method practicable to remove shadow acne in dynamic light's rendering?
So I’m currently learning things about shadows , e.g. CSM and shadow bias . Although it seems UE5 had already fixed the shadow acne issue to a certain extent , and it’s able to avoid it completely by ...
0
votes
0
answers
14
views
in unity in the scene it works but in the build I cant see the weapon why?
Here is the Main cameraenter image description here
and Here is the Weapon camera I made to avoid clipping:
enter image description here
1
vote
1
answer
22
views
Why Computed component is not re-rendering?
I am using legend state and trying to explore this. And I didn't understand why the <Computed></Computed> component is not re-rendering on state change.
Here is my code.
import {Computed, ...
0
votes
0
answers
15
views
Why are all the obj's loading only on the last element/scene Three.js
My script is attached below, I am repurposing three.js webgl - multiple elements for loading actual obj's files. Best way I can put this question is "Why are all the obj's loading only on the ...
0
votes
0
answers
32
views
Openlayers: Rendering stuck - Unable to print PDF with higher resolution
I am trying to use the openlayers example to print the PDF & it is working for lower resolution prints.
I am trying to fit the map to a certain polygon extent:
` map.setSize(printSize);
...
0
votes
1
answer
52
views
Rust and WASM - How to block or sleep for X seconds without preventing Canvas redrawing?
I've coded my game for an embedded system. I made a wait function that runs a loop and breaks after some specified milliseconds.
However, on browser environment, the canvas does not redraw during the ...
-1
votes
0
answers
14
views
When click see more button the components are rendering outside of screen, how to render them in screen? [closed]
I have a bunch of emoji cards. I show them 16 by 16. There is a see more button under the first 16 cards. It's show correctly when any of them in the screen. But it's render out of the screen when ...
-2
votes
1
answer
36
views
Why my modal doesn't render on the screen when I click on image?
I wrote a simple implementation on React that include an array of Projects.
Eeach projects has is own properties.
I wrote a modal that everytime someone click on an image it has to render on the ...
0
votes
0
answers
24
views
Unity URP, how to disable MSAA in a custom renderpass?
I have a custom render pass. I re-render the entire screen overriding a few renderer layers with different materials. This new RT is then blitted through a material that uses this new colour data to ...
0
votes
0
answers
11
views
How to render only a single cell in MUI datagrid column?
I already worked with MUI datagrid and used renderCell to set special functionality for all the cells in a specific column. How can I render only a single cell in a MUI datagrid column?
0
votes
1
answer
10
views
Does a script with async attribute execute on a separate thread or the same thread as the HTML parser in JavaScript?
using defer or async attribute on a script tag causes it to be downloaded on a separate thread so that HTML parsing is not blocked. But once the script is downloaded, for async attribute, it will ...
-1
votes
1
answer
20
views
How do i remove the spining issue, semi transparent clone image when my cricket ball is in motion
I'm experiencing an issue in my 2D cricket game where the ball appears with three semi-transparent ball images when it's thrown and in motion in 2D space. It seems like the ball texture creates three ...
0
votes
0
answers
16
views
react rendering proplem with map
let pendingdatafilterd = data.map((itm, i) => {
const [status, setStatus] = useState(itm.status);
if (status == 'pending') {
return (
<div key={i} >
<div>{...
-2
votes
0
answers
23
views
I have question about OCR and rendering tasks on PDF files using R code
I have tried running various codes, but the text and images do not appear in their original positions correctly.
I initially tried to solve this problem using LaTeX code, but when I viewed the output, ...
1
vote
0
answers
39
views
Pyvista Challenges, Not Showing Continuous Scale And Rendering is Obfuscated
Newcomer to Pyvista and stackoverflow.
I'm running into issues with the color scale and rendering using Pyvista.
Here's the code, mostly boilerplate from the Pyvista documentation:
import numpy as np
...
0
votes
1
answer
24
views
Pass counter value from child component to parent component
There is a child component. There are buttons with weights on it. The load can be selected, or the choice can be removed. The weight of each load is added to the previous one.
Chlld-component:
<ul ...
0
votes
0
answers
23
views
Why is my grid not redrawen when the camera moves?
I tried to make an infinite grid in godot and I don't understand why this isn't working.
When the camera moves, the grid moves in the other direction (which is normal) but doesn't redraw lines to the ...
0
votes
0
answers
36
views
MIS path tracing got brighter image
I am currently implementing a Path tracer, and I want to implement the Multiple importance sampling which use two distributions (Light and BRDF) at each bounce to evaluate direct lighting
This is my ...
0
votes
0
answers
15
views
Make current VSCode indentation *look* like another
I am working in a repository that, among some formatting rules, applies 2 spaces indentation to js files, but I prefer longer indentations like 4 spaces.
In VSCode, we can convert the indentation size,...
0
votes
2
answers
20
views
How do I make a script tag render all the time in react
I have given a
tag from a software company that makes online reservation for restaurants.
normally you just paste the script tag in a wordpress article. But now i build my website with vite-React ...
1
vote
0
answers
31
views
Display [x, x] grid with [y, y] size in Processing
I have a 2d array, let's say [500][500]. I want to render that array onto a [200][200] grid, where I will render each pixel from the second array onto my computer.
How do I render my [500][500] grid ...
0
votes
0
answers
21
views
In vue 3 is possible inject html code with directives obtained from an ajax request and have it recognize them?
I am currently working on a page that we are updating from jQuery to Vue 3.
The page comes from the server with content rendered in a specific container and makes Ajax requests on demand to display ...
0
votes
0
answers
28
views
Is there a way to use MathJax in Rust documentation?
If I'm writing an mdBook, I can put:
[output.html]
mathjax-support = true
in my book.toml file. Since Cargo's documentation uses mdBoook, I'd expect there's a way to add mathjax-support in a Cargo....
0
votes
1
answer
21
views
ReactNative - Keyboard Closes due to rerender - Unable to update or type values due to rerender of an array update
Could someone please review this code? I'm encountering issues with updating the values in the textboxes. When there's a value already present in NEW_ITEM_CNT, I'm unable to type or update it. Even ...
0
votes
0
answers
42
views
How can I fix my canvas since it isn't rendering the spline file?
my spline scene does not render like supposed to after following the steps in the spline docs, anyone know why?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=...
1
vote
0
answers
47
views
Improving unidirectional path tracer convergence
I implemented a non-naive unidirectional path tracer inside my software.
My scene has only one light(the sun). After 1 hour of rendering(2000 samples/pixel) I get this result::
Is there a way to ...
0
votes
1
answer
27
views
Home page isn't rendering in the app although I think my code is correct. the one who can show the mistake will be so helpful to me
I am trying to render the HomePage using react Router and it didn't work. I've stuck in this problem for two days. Your support will be greatly appreciated. I tried so many times to resolve this ...
0
votes
0
answers
37
views
why is this function not returning a renderbox
I was trying to get the height of the widget using rendering box But I don't know why the right side function is not returning renderbox. I new to flutter. Plese help me
final RenderBox box = ...
1
vote
1
answer
37
views
Can I solve this OpenGL problem with the depth/stencil buffers
I'm trying to render meshes with the points and edges as black lines and points, similar to a modeling engine like blender. I have 3 separate draw routines to draw points, lines, and faces (each face ...
0
votes
1
answer
63
views
Rendering and displaying math equations and formulas in C# .NET desktop application
My goal is to render and display mathematical equations, the source written in LaTeX format, within the C# desktop application.
What are the capable templates, libraries, packages, or methods ...
1
vote
1
answer
92
views
If I pass a server component to a client component via the children prop, will it be rendered on the client?
In the NextJS docs, it says here that all child components and modules imported into a client component are considered part of the client bundle. However the docs also say that you can interleave ...
0
votes
1
answer
51
views
Does using React context API force entire app to render on client in NextJS 13? [duplicate]
In NextJS 13, I know that providers such as those used with the React context API can only be rendered in client components. I also know that the components within a client component (either child ...
0
votes
2
answers
36
views
ReactJs double render
When I try to refresh page it prints "1" twice.
But I'm not using any useState or variable update or state change I think.
Can you tell me where I'm wrong?
import "./styles.css";
...
0
votes
0
answers
13
views
ReactJs Complex Sidebar with nested components and state management
I am using reactJs with Mui to implement a portal for a unity project that creates metaverses, I have a floating sidebar that will contain all the elements and objects for the user to use and ...
0
votes
0
answers
13
views
Cube does not perfectly fit in square camera in orthographic view
I am trying to render a cube in this isometric view, but with a square camera it does not want to fit completely. There is either free space or I would have to not render a chunk. How would I make it ...
0
votes
0
answers
28
views
Android webview issue whilst playing cached video (Codec?)
We are trying to play a video in android WebView, but are unable to play it.
In the logcat we find warnings and errors about missing or unsupported mime profiles/codecs.
The video stutters every once ...
0
votes
1
answer
44
views
Why is res.render not working after post request?
I've been trying to fix this for a while now. The problem is actually when I send a post request via the fetch api and then catch it with the post request in the node js file it should normally render ...
0
votes
1
answer
17
views
what the difference of PBR(physically-based-rendering) and volume rendering?
I have konw:
Volume Rendering: We know the focal point of the camera, and the connection between the focal point and the pixel can create a ray.
We can sum the colors of all points on this ray to ...
0
votes
1
answer
19
views
How to prevent wall trim-sheets seams in Unity 3D URP?
Please take a look at the image. I have two planes touching, and I want to avoid seams in URP.
What is the best practice to mitigate this problem?
I tried, changing A-Aliasing in URP settings, and ...
1
vote
0
answers
46
views
Rendering error in Android's image view by using custom made png file
I have a very strange error related to custom image Views in Android using self-made png files. This error might be difficult to debug. Still I just wanted to ask you guys here before not using the ...
0
votes
0
answers
33
views
React app does not re-render a child component if it was added dynamically
We are developing a chatbot. Some steps should be able to be repeated, so some steps should be added dynamically. We found the following solution (simplified version)
Chat messages are stored in ...
0
votes
2
answers
30
views
Don't understand SwiftUI Text layout
I want to output some text on all 4 sides of the view. This is my code:
var body: some View {
Spacer()
Text("AA BB CC DD EE FF GG HH")
Spacer()
HStack {
...
0
votes
0
answers
27
views
How to implement an auto refetch react-query but only trigger re-rendering when the query source changes value for Shopify authenticated fetch
I am looking for a way to use react-query's useQuery to implement automatic refetching while not triggering react re-rendering unless the fetch source data actually changes.
The use case for this is ...
1
vote
1
answer
28
views
Flutter: child widget not rebuilding with parent widget using InheritedWidget
I was just following along with this video on setting up a state management system in flutter using the "InheritedWidget" https://www.youtube.com/watch?v=LFcGPS6cGrY&t=1307s and ran into ...