Questions tagged [rendering]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
164 views

Should an entity know how to render itself or is it renderers job to figure out how to draw an Entity?

If I have a graph which consists of nodes like this: class Graph { public: ... int32_t width(); int32_t height(); const Node * getNode(int32_t height, int32_t width)...
user avatar
  • 161
1 vote
1 answer
138 views

Server side rendering of third party updated html components

Say I am wanting to include a third party HTML component in my site... I know that I can simply include a <script> tag to pull in the component on the client's side; however because I do not ...
user avatar
0 votes
1 answer
145 views

What could cause a bug to be "Person-Dependent"?

This is quite theoretical, and I hope it's the right SE site. A couple of years ago I worked at a company using Maya 2014 (I think that was the version) with a couple of other 3D Artists. Eventually ...
user avatar
  • 109
6 votes
2 answers
195 views

How does the Arabic typographic layout system work at a high level?

I have some Arabic content that is justified according to western conventions. I justified it because it is justified in ancient sources: However, the way Arabic text justification works is by ...
user avatar
  • 2,412
3 votes
1 answer
106 views

What's the prefer way to construct a personal blog render system, SSR or prerender or anything else?

I am building a personal blog system. The system is more like a platform, means that not only the admin, but all registered users can post their blogs. We've decided that using markdown as the blog's ...
user avatar
1 vote
2 answers
819 views

Is JavaScript added and executed in parsing or in rendering?

As far as I know, each webpage is created in a two stage process, initiated by a webserver request and ended in a webserver response: Parsing: markup (Say HTML) is executed as is, or created by ...
user avatar
-1 votes
1 answer
89 views

What is the best unit of measurement for drawing with user scripts?

I want to make an android app that allows you to write scripts to draw stuff. Like text, buttons, images... using opengl. Now, if i have a function that draws an image like this: drawImage( ...
user avatar
  • 119
3 votes
1 answer
2k views

3D Rendering Engine architecture for multipass rendering

I'm implementing a simple 3D rendering engine for my game, I'm using DirectX11. I created a simple architecture for the rendering engine, with a central rendering system (RenderingSystem class, a ...
user avatar
  • 181
3 votes
1 answer
161 views

How to efficiently render objects in a database?

My application is similar to a very simple CAD program. The user can create and modify a database of several thousand, simple 3D objects (e.g. cubes and spheres). Each object has a position, ...
user avatar
4 votes
2 answers
159 views

Unit testing a software renderer, dealing with coupling due to speed issues

Unit testing is something I love now after forcing myself to do it in projects (and doing it at work) after seeing the massive rewards it offers down the road when refactoring and ensuring things work ...
user avatar
  • 356
3 votes
3 answers
1k views

How is rendering a Word document different from rendering a website? [closed]

Now, it doesn't necessarily have to be Word — for ease of comparison, let's use ODT, which is based on XML — which is pretty similar to HTML. That would, to my mind, make rendering an ODT ...
user avatar
  • 248
1 vote
2 answers
252 views

Finite Element Shader

I am working on a geometric wrapper for a space jet exhaust impingement solver. A key part of the solution is determining what the jet can "see" and therefore hit. My model is grouped with nodes or ...
user avatar
  • 111
1 vote
1 answer
182 views

Efficient 2d per pixel lighting on Android [closed]

I am trying to create a simple 2d game to learn on my own. My current task is creating a lighting scheme. My goal is to make the screen appear dark except where I create lights. I have a light class ...
user avatar
  • 13
2 votes
1 answer
834 views

Would one use a 2D Gaming Engine for a desktop application?

I am thinking about a library that I could use for a program to create presentations but I am not sure what one could/should use for a task like that. What first came to my mind are 2D Gaming Engines ...
user avatar
6 votes
1 answer
1k views

How do browsers paint a render tree to the screen?

I'm interested in building a browser-like rendering engine. I understand a bit about how OpenGL and GUI toolkits work. But how do browsers actually put pixels on the screen? Are they like software ...
user avatar
2 votes
1 answer
2k views

How and when should I design a simple mark-up language parser? [closed]

I want to write a simple markup language with its rendering engine. First, I am not completely sure when I should try this... I am only 12... But I am competent in C++ having learned through the Web ...
user avatar
2 votes
1 answer
107 views

Which layer should order the columns shown to the user when using MVC?

Say you want to render a table with five columns, but you want the order of the columns to be different depending on some specific parameter. This would be very easy to accomplish if the model sets ...
user avatar
-2 votes
2 answers
577 views

Why not a standard rendering engine to solve cross browser problems [closed]

Why do browsers use different rendering engines, this causes the problem I hate the most "make your HTML/CSS compatible with all major web browsers". Why don't they use one rendering engine as a ...
user avatar
11 votes
1 answer
4k views

How does font rendering actually work?

I realize that I know essentially nothing about the way fonts get rendered in my computer. From what I can observe, font rendering is generally made in a consistent way throughout the system. For ...
user avatar
  • 5,315
3 votes
1 answer
263 views

Is it possible to use RubyGnome2's/QtRuby's HTML renderers to make UI for a Ruby script?

I'd like to make a graphical user interface for my script, instead of running it from the console. I'm aware there's a wealth of UI libraries for Ruby, but I'm quite familiar with HTML and CSS and I'd ...
user avatar
  • 31
17 votes
6 answers
17k views

Rails - Does using partials slow views rendering?

I'm having performance issues on a Rails 3.1.0 application, now I've done dome changes on my queries with AR and so but views still takes too many time to render, I've divided the views, loops and so, ...
user avatar
  • 283
0 votes
1 answer
2k views

What's the best practice for rendering a different GSP template based on the type of object in a collection?

Let's say I have a collection that is setup in my controller, named "things." In this collection is a heterogeneous assortment of objects. Let's say some are of type "Thing" and some others are of ...
user avatar
  • 510