Questions tagged [renderer]

A renderer is a software construct that accepts and transforms information so that it can be displayed in a given medium.

A renderer is a software construct that accepts and transforms information so that it can be displayed in a given medium.

930 questions
7
votes
1 answer

ApplicationStatus class E/SysUtils﹕ ApplicationContext is null in ApplicationStatus

From time to time I am receiving this error in LogCat: E/SysUtils﹕ ApplicationContext is null in ApplicationStatus Does anyone knows about ApplicationStatus class? I am not having it in my project It occurs when I am fast render textures in openGL
Eu Vid
  • 653
  • 1
  • 8
  • 21
7
votes
2 answers

Draw 2 scenes in the same canvas - three.js

I want to have 2 scenes with a camera added to each and I want them to be painted in the same canvas (but not to divide this canvas). I curently use 2 renderers that paint in the same canvas element, but my problem is that the second renderer…
ThanosSar
  • 532
  • 6
  • 20
7
votes
1 answer

Three.js - What's the most effective way to render a WebGLRenderTarget texture?

Problem I've gotten to a point in my project where I'm rendering to WebGLRenderTargets and using them as a textures in my main scene. It works, but it seems like I'm having it do a lot more work than it needs to. My generated textures only need to…
rrowland
  • 2,734
  • 2
  • 17
  • 32
7
votes
2 answers

How to center items in a Java combobox

Is there a method for a combobox in Java that will center the items in the combobox? I tried this but it didn't work: myCombobox.setAlignmentY(CENTER_ALIGNMENT); Thanks!
AndroidDev
  • 20,466
  • 42
  • 148
  • 239
6
votes
1 answer

SwingX JXTable: use ColorHighlighter to color rows based on a "row object"

I'm using JXTable and I know how to do this based on DefaultRenderers for JTable, but I want to know how to do it in a way that's JXTable-friendly based on HighlighterPipeline. I have a list of objects displayed in a table, and each row represents…
Jason S
  • 184,598
  • 164
  • 608
  • 970
6
votes
1 answer

How to make HTML-inputs visible on my site with the render-function using TS?

I have been trying to get my renderUserList to work when I submit a new Person to the array and display it in a table row. To test that it does render from the start I added a first person to the array from the get-go. When I console log the array…
Roaling
  • 77
  • 5
5
votes
3 answers

Cross-platform renderer in OpenGL ES

I'm writing an cross-platform renderer. I want to use it on Windows, Linux, Android, iOS. Do you think that it is a good idea to avoid absolute abstraction and write it directly in OpenGL ES 2.0? As far as I know I should be able to compile it on…
runnydead
  • 618
  • 1
  • 7
  • 17
5
votes
2 answers

Dual color JComboBox text

In Swing is there any way to have two colors for single option? I mean, if I have a option, say Show only cities [Alt+C] in JComboBox, I want Show only cities text in one color and [Alt+C](hotkey) in another color. Similarly, I have JList, Which…
Ahamed
  • 39,245
  • 13
  • 40
  • 68
5
votes
1 answer

JTable disable Checkbox in Cell

Hello I have a JTable And i want to grey out all the disabled checkbox cells i tried with a custom renderer checking isEnabled() and then changing the background color but still not workin. Any suggestions? thanks!!!
Yannis Assael
  • 1,099
  • 2
  • 20
  • 43
5
votes
1 answer

Angular Renderer2 listen - cannot attach to touchstart and mousedown

I am trying to create a listener on a component attached to either mousedown (for desktops) and touchstart (for mobile) this.renderer.listen(this.el.nativeElement, 'mousedown touchstart', (event: any) => {} However, when I run it like above it…
Dawid Adach
  • 749
  • 5
  • 27
5
votes
0 answers

Background sticky concurrent mark sweep GC freed block main thread

Every time I press home button to exit any app on my phone, the following log will be appeared after one or two second. Then my app stuck one second. I/art ( 6911): Background sticky concurrent mark sweep GC freed 49911(5MB) AllocSpace objects,…
Jerome
  • 1,749
  • 1
  • 14
  • 40
5
votes
2 answers

Funding for MathML rendering library

I have an unfinished MathML rendering library written in C++. I ceased development a few months ago due to lack of time. The library [still] uses the TrueType version (unsupported) of the STIX fonts beta [version 1.0 of the STIX fonts (OpenType…
MAthlonX3
  • 51
  • 4
5
votes
3 answers

VTK: setting transparent renderer background

I am allowed to define the backgroundColor of a renderer by calling renderer = vtk.vtkRenderer() renderer.SetBackground(0,255,0) [![enter image description here][1]][1] My question: Is it possible to set the opacity of the background ? You can…
user2463728
  • 309
  • 3
  • 12
5
votes
2 answers

Circle approximations using Bezier curves

I have 2 questions about bezier curves, and using them to approximate portions of circles. Given the unit circle arc (1,0)->(cos(a),sin(a)) where 0 < a < pi/2, will it result in a good approximation of this arc to find the bezier curve's control…
CromTheDestroyer
  • 3,616
  • 3
  • 20
  • 26
5
votes
2 answers

Unity Resources.Load vs as Sprite

I've tried to change the image of my object with this code (used as Sprite cast): GetComponent().sprite = Resources.Load("GameObjects/Tiles/Hole") as Sprite; It did not work, however this worked (used…
Ferenc Dajka
  • 1,052
  • 3
  • 17
  • 45