898 questions
0
votes
1
answer
31
views
C# Stubble API for processing json-based data with a mustache-based logic-less template fails to render output data properly
Here is some information about the technologies used in my application:
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Stubble.Core version 1.10.8 ( library used to apply Mustache &...
0
votes
0
answers
79
views
Implement a Custom Sampler in Mitsuba
I am trying to implement a basic custom sampler, and here is the code that I have been working with. As I attempt to render the scene, I encounter an error stating that the traverse() method is not ...
0
votes
0
answers
34
views
Why is coredump getting created when window is closed?
I'm using an electron(23.1.4) for my login screen. Once user logs-in the window will be closed. This is working as expected for most of the time, but sometimes its taking longer time to close the ...
0
votes
0
answers
38
views
How to render Netsuite suitelet as a PDF using scheduled script?
I have developed suitelet script to combine child suitelets in a iframe. I want to send generated suitelet as a pdf via email. I will appreciate an advice! Thanks.
Below is suitelet script:
I have ...
1
vote
1
answer
118
views
How can I display image in Godot with original colors?
Godot Version - 4.3
I’m encountering an issue with how Godot processes my PNG image. I have a map where each country is assigned a specific, unique color (e.g., France = #00bbd4, Italy = #ff3131, etc.)...
0
votes
1
answer
146
views
Constructing ComponentRenderer in Vaadin 24
I am trying to modify an application that was created 2.5 years ago with Vaadin 23.
I have upgraded to Vaadin 24.6.0 and got tons of compilation errors due to deprecation of multiple functions and ...
1
vote
0
answers
113
views
Flutter Web App does not render correctly on the mobile browsers
I have a Flutter web app that I am trying to host using Firebase hosting. On my first deployment, I identified that the app's look from the mobile and desktop browsers is very different. Reading some ...
0
votes
0
answers
64
views
Sprite Renderer tile from pivot
In Unity I have a Sprite Renderer set to tiled draw mode.
The import settings look like this (custom pivot, custom borders):
I'd like to reposition the renderer object dynamically (in the OnValidate ...
0
votes
1
answer
51
views
How do I render a shortcode inside HTML in wordpress?
I have a database of locations that includes the street address as well as latitude and longitude. I want to display a map based on the lat/long on each location's page. This is what I have, which I ...
-1
votes
1
answer
152
views
Dockerfile Not Found During Deployment to Render from GitHub Repository
I am trying to deploy my Spring Boot application to Render using a Dockerfile. My Dockerfile is located at the root of my project directory, but I am encountering an error during the deployment ...
0
votes
1
answer
41
views
Unity - Intersecting line rendering is broken in an orthographic camera
I have two lines created using the line renderer. They are the same length and position except for the Y values.
Line 1 positions:
start: (constStartX, 0.005f, constStartZ)
end: (constEndX, 0.001f, ...
1
vote
0
answers
74
views
How to have two identical windows in SDL2?
In my app I draw things and put sprites on a renderer, and I need to have two windows that show the exact same thing, from this renderer.
Is there a way I can do that ?
I tried things such as reading ...
0
votes
1
answer
108
views
Electron IPC Main webContents not sending data to Renderer
Using the docs from Electron's website, I cannot send simple data using mainWindow.webContents.send('send-data-channel', data).
I'm attempting to send a JSON file to the renderer using Node's fs ...
0
votes
1
answer
23
views
HTML Canvas displays incomplete frames. (React overhead)
I am currently making an HTMLCanvas2D engine for myself but as the title suggest occasionally the canvas displays unfinished Frames. There is no consistency to when or how often it does so. I assume ...
1
vote
1
answer
686
views
Unity: TextMeshPro 3D Object renders in different color than what it supposed to be
The main problem
So I'm making a little 2D game in Unity in a pixel style. I'm right now in the middle of making a cutscene when player gets any upgrade.
Problem is, I always used 3D TextMeshPro ...
1
vote
3
answers
1k
views
How to place the root div with React renderer?
I created a MainPage folder, inside of which I created a Main.js file. I want to display certain contents on my page with this. Even though I call Main.js in the App.js file, the content does not ...
0
votes
1
answer
257
views
Does React modal window always causes parent's re-render?
I have developed a modal window with React several times and have always faced the problem of re-rendering the parent component.
For example, I am currently using MUI and react-transition-group to ...
0
votes
0
answers
39
views
Black blur in threejs
I am rendering a scene in threejs.
Image
The image i am getting has black blurs .
I have added antialias and setPixelRatio but neither work
renderer = new THREE.WebGLRenderer({ antialias: true })
...
2
votes
1
answer
62
views
Why BasicComboBoxRenderer sets the text two times if the text does not exist or is empty with getPreferredSize()?
While working on something related on using this class, i found this piece of code:
public Dimension getPreferredSize() {
Dimension size;
if (this.getText() == null || this.getText().isEmpty())...
0
votes
0
answers
89
views
Electron renderer not communicating with main process
I have a small html on top of my electron app which has a input. I want to make it so that when i insert a url into it and press enter, url in my second BrowserView changes and loads that website. ...
0
votes
1
answer
77
views
Can't use low graphics in SDL
When I scale the window, SDL simply ignores the resolution I set and draw diagonals on my pixels.
It's SDL2, Im using SDL_RenderGeometry to draw my triangles.
Here's how I create the window:
static ...
0
votes
1
answer
48
views
How to render one component after deleteHandler on other component
this is my Blog Component
import { useEffect, useState } from "react";
import { Link } from "react-router-dom";
import { useAuthContext } from "../../hooks/useAuthContext"...
0
votes
0
answers
186
views
Unity trail renderer - minimum length
Is there a way to force the trail renderer to emit a short trail when standing still? Like a minimum length?
I tried to set the trailRenderer.time to different values, but that does not alter the ...
0
votes
1
answer
684
views
Is it possible to implement server side rendering with existing react application
React version - 18.2.0
Web URL : http://medicasapp.com/
Above application was developed in React JS and is already in live .We are unable to inspect Meta title and description, even though using react-...
0
votes
0
answers
75
views
Select a specific Overload in CheckboxRenderer.DrawCheckBox
In using the CheckBoxRenderer, ComboboxRenderer, TextBoxRederer, and ButtonReder, how do you set the ForeColor(for Text Color) and BackColor (for the Rectangle Box).
'For CheckBoxRender
Dim gl As ...
0
votes
0
answers
89
views
Conflict in showing the correct image in the right box in QML when using OpenGL renderer
In the code below, I have two webcams to capture images, which I send to a QML item implemented in a C++ class that inherits from the QQuickFramebufferObject class, and then the image is rendered by ...
1
vote
0
answers
858
views
Transparent Occlusion Shader in Unity URP
I am struggling to find a way to make a transparent surface occlude opaque meshes behind it for an AR app. Often times, this is used to make "floating door" animations, holes in the ground, ...
0
votes
1
answer
55
views
In threejs, is there a property on a scene or mesh that refers the renderer?
I want to pass a threejs mesh to another frameowork. From that mesh, I want to access the threejs canvas. This is available on the threejs renderer as the domElement property. So my question is - ...
3
votes
1
answer
60
views
Why does my ray traced diffuse lighting cut off sharply?
I've been following Ray Tracing In One Weekend in Javascript and have been doing well until it was time to implement diffuse lighting. After a lot of debugging, the output it produced didn't match the ...
1
vote
0
answers
240
views
Tangent calculation looks wrong
I'm loading an .obj file and I'm trying to manually calculate the tangents in order to use them to implement normal mapping. I'm using LearnOpenGL.com as a reference.
The tangents look wrong to me (...
3
votes
1
answer
484
views
How to Perform Recursive Rendering in Swift?
I want to accomplish recursive rendering in my SwiftUI app. This is desirable when rendering a very large array of data, and only a small portion of it needs to be updated during each View update. I ...
-1
votes
1
answer
414
views
Recursive Rendering in SwiftUI
My app draws dynamic complex graphics into SwiftUI Views. I understand that SwiftUI redraws Views when an observed variable changes, and that re-drawing a View deletes the existing View.
What I would ...
0
votes
0
answers
92
views
Unity gizmo outlines show doubles?
We are working with Unity 2020.3.8 and have set up custom outlines via Unity gizmos using the following:
public GizmoLine(Vector3 a, Vector3 b, Color color)
{
A = a;
B =...
4
votes
1
answer
236
views
Optimizing Pagination rendering
While looking at Pagination, the question of rendering complex pages arose. The API example, et al., typically specify a pageFactory that simply constructs a new control each time it is called. Indeed,...
0
votes
0
answers
59
views
How can i display HTML elements in gtkmm3 on Windows 10 and installing libraries using msys2?
I want to create this application in which I need a viewer for HTML and I've been trying for a long time but I just can't seem to get it.
I tried using webkitgtk2 but then i saw this post on Reddit in ...
0
votes
1
answer
320
views
ARKit: Rendering multiple anchors and nodes in didUpdate method
Trying to update two different nodes in renderer(_ renderer:didUpdate:for:) method for different anchors
looks like it let me update only one node, but I needed both:
ARFaceAnchor and ARMeshAnchor
How ...
0
votes
1
answer
156
views
How to make a tip showed up while hovering over list item in Vaadin 23
I have the following code in my Vaadin application:
public class TitleRenderer extends ComponentRenderer<Component, Book> {
@Override
public Component createComponent(Book book) {
...
0
votes
1
answer
765
views
Having problems with OnBecameVisible (sees through walls and is visible on scene view)
I'm trying to make a script that has an enemy chase the player only if the enemy is viewable by the player camera and the player hits the space key. I've been trying to use render.isVisible but run in ...
2
votes
1
answer
5k
views
Maui Handler, Confused at what to put inside of CreatePlatformView iOS
I have a custom view which previously was a Grid but I have changed its class inheritance to a View as this to me seems like the correct thing to do based on what I have read online.
This custom view ...
0
votes
1
answer
3k
views
Why is my shader working in the Scene View but not in the Game View (Unity) (Built-in Render Pipeline)?
So, i made a little unlit shader in Unity. I want the shader to display a circle at the center of the mesh. Here is the code :
Shader "Unlit/UnlitBasicShader"
{
Properties
{
...
1
vote
1
answer
386
views
Prevent Custom Renderer to render Exceptions in Django Rest Framework
I have written a custom Renderer that allows rendering nested json data as flat Excel files.
class ExcelRenderer(renderers.BaseRenderer):
"""Custom renderer for exporting XLS files&...
1
vote
1
answer
73
views
gganimate does not stop at the defined value
Update: Sorry I forgot to add the vector:
time=1:100
value = 1:67
fill = rep(max(value), 100-max(value))
I want to make an animated stacked bar, Here is my example:
library(tidyverse)
library(...
1
vote
0
answers
277
views
fullScreen() broken in Processing P2D when Windows is scaled
In Processing 4, with the renderer set to P2D, fullScreen() does not make the window fullscreen as expected if Windows scaling is set to anything other than 100% (for example at 125%, the window will ...
1
vote
1
answer
739
views
render_highquality from rayshader R package only rendering black .png image
I'm following this tutorial: https://www.youtube.com/watch?v=zgFXVhmKNbU&lc=Ugxj9Lfa6m7FfLaJlzN4AaABAg.9kn2A9lbmnP9kn2SD5s2vs In the video render_highquality function exports 3d plot successfully ...
2
votes
0
answers
166
views
How to fill in mediapipe landmarks using opengl es android
i have a landmarks for lips(i got from MediaPipe),
Currently, i created the triangle coordinated and then i tried triangle_strip, triangle_fan to fill the connected lines which i got from mediapipe.
...
2
votes
1
answer
2k
views
How to find for a text element, in react-test-renderer renderer instance?
I am trying to do the snapshot testing of my component.
the expectation is the component is rendered properly and then it's. compared against the previously saved snapshots.
import renderer from '...
0
votes
2
answers
7k
views
URP lights are not working in unity, they first worked
My project uses the URP lights that were well configured, but a while ago they stopped working, they even disappeared in the menu, the lights that are in the scene do not work and there is the ...
0
votes
1
answer
55
views
How change cave position of this line renderer
I am using the following code to draw a curved dotted line using a line renderer(Copied from the net). It's working but the curve is forming downward like a boat. I want to draw the curve in the ...
1
vote
1
answer
918
views
How generate the Renderer from a Maui element
I have a application where I need to extract the renderer from a Xamarin forms element, this is working fine Xamarin forms, I'm not sure how we can achieve this in MAUI, any inputs would be deeply ...
1
vote
0
answers
257
views
Enabling/disabling renderer multiple times changes appearance of second actor in pyVista
I am trying to enable/disable interacting with a pyvista.renderer by means of a callback function. This works fine when only one actor is present in the scene. In the example below, pressing 's' ...