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
3
votes
1 answer

Render the shadows once for all

Given the cost of shadow casting, i was wondering if there is a feature or a possible/experimental way to render a shadowmap only once in three.js (even in webgl), for static objects positionned dynamically (ex: a procedural city). So the result can…
Mouloud85
  • 3,826
  • 5
  • 22
  • 42
3
votes
1 answer

Resizing Window when using EffectComposer

I found this fiddle a mounth ago and I implemented it succesfully. It works like a charm except a specific scenario. If I resize the window, from very small to large, it becomes really obvious that the camera Projection Matrix doesn't get updated.…
Adrian Moisa
  • 3,923
  • 7
  • 41
  • 66
3
votes
1 answer

"GL_HALF_FLOAT" with OpenGL Rendering and GLSL

I am programming an OpenGL renderer in C++. I want it to be as efficient as possible and each vertex/normal/UV tex coord/tangents/etc to take up as little memory as possible. I am using indexes, line strips, and fans. I was thinking that 32bit…
user3397315
  • 67
  • 1
  • 6
3
votes
1 answer

what's the difference between calling render and leaving the implicit render run?

I'm developing my api where I would like to have everything presented as Json. In the controller I have: def index @items = Item.all end which renders the following:
Don Giulio
  • 2,946
  • 3
  • 43
  • 82
3
votes
1 answer

JXTreeTable in combination with TreeCellRender and selectedBackground with ColorHighlighter

I' m trying to set a custom selectionBackground to rows in a JXTreeTable. This works if I'm not setting a custom TreeCellRenderer. If I set it additionally like in my example the selectionBackground of the text of the node is the default one. Any…
user4022746
3
votes
1 answer

Changing the color of a pixel in a XTK Renderer2D

Currently, I display a .dcm file using XTK in a Renderer2D. Is it possible to change the color of some pixels in this renderer ? Thank you in advance :)
user2363392
  • 95
  • 1
  • 7
3
votes
1 answer

How to set tooltip in TreeCellRenderer?

I am stuck with setting a tooltip to one of my JPanel added to the node in a JTree. This question could be similar to JTree node's changable tooltip but not entirely. I am also using JTree populated with some (custom) nodes. Each node contains a…
ParagJ
  • 1,566
  • 10
  • 38
  • 56
3
votes
2 answers

How to render an image to a JTable cell

I want to apply a renderer on a cell of my JTable, to do so I created a class named myRenderer : import java.awt.Component; import javax.swing.ImageIcon; import javax.swing.JTable; import javax.swing.table.DefaultTableCellRenderer; public class…
Simo03
  • 273
  • 3
  • 10
  • 21
3
votes
0 answers

achartengine - Chart line doesn't sit on the coloured region if a point goes above the visible region

I have made a simple Line graph with the lower region coloured. FillOutsideLine fill = new FillOutsideLine(FillOutsideLine.Type.BOUNDS_ALL); fill.setColor(getResources().getColor(R.color.graph_green)); …
boyfromnorth
  • 958
  • 4
  • 19
  • 41
3
votes
1 answer

Create reuseable UI componets with MVC

I am in the phase of building a rendering framework for rendering my models in different formats. My idea is the following: public class ResidenceRendererShort : IRender { public string Format() { return "short"; } …
janhartmann
  • 14,713
  • 15
  • 82
  • 138
3
votes
1 answer

cropping text lines in a jtextpane-based jtable cell renderer

i'm using a JTextPane as a cell renderer in my table (so i can control color, font, size and links easily). the problem is that lines get wrapped when the cell's get too small to contain the full text. i know the number of expected text lines in…
Asaf
  • 2,480
  • 4
  • 25
  • 33
3
votes
1 answer

Highcharts custom renderer chart and tooltip

Our idea was to draw a waterfall chart with unregular widths. We achieved this chart style by rendering rectangulars to the corresponding data points (visible in fiddle for demonstration purposes). Moreover, we want to add a tooltip and make this…
user2285607
  • 177
  • 1
  • 3
  • 11
3
votes
1 answer

Batching arbitrary vertex data in OpenGL batch renderer

I'm making a 2D batch renderer in OpenGL inspired by the XNA/MonoGame interface, but I've run into a small design problem and I'm looking for some input. Currently, you can submit vertex data in four general ways: void Render(const Sprite&…
NordCoder
  • 403
  • 1
  • 7
  • 21
3
votes
2 answers

How to customise rendering of a ToolStripTextBox?

I like the ToolStripProfessionalRenderer style quite a lot, but I do not like the way it renders a ToolStripTextBox. Here, ToolStripSystemRenderer does a better job IMO. Now is there a way to combine both renderers' behaviour to use system style for…
ygoe
  • 18,655
  • 23
  • 113
  • 210
3
votes
1 answer

commandButton inactive after ajax rendering

I have a problem with these two commandButton : Join and Leave. I want to hide Join if I click on leave and vice-versa. When I put ajax on false, there is no problem (but all the page is refresh and I don't find this optimal). But when ajax attribut…