rendering

HDR Rendering Pipeline DIfferences

What's the difference between a typical HDR rendering pipeline and a normal rendering pipeline? (i.e. bpp differences? Some additional post processing step?) ...

Resources on basics of 3D model rendering

Maybe I've missed something, but I couldn't find any questions about this already. If anyone knows of any then it would be great if you could post the links. I know there's loads of massive opensource engines out there already that it'd be really easy to use, it's not a problem of needing one, but I don't like not knowing how the things...

Render a pdf file returned as part of a HTTP response in Adobe AIR

My requirement is to render a PDF file which is dynamically generated from a web server in an Adobe AIR application. The user posts some data to the web server. A PDF file is generated at the web server and is returned as the response with content-type : application/pdf I use URLLoader to post the request and handle the response. When...

What can one do about WPF render tearing of the UI?

To my disappointment I found out that one of the applications I'm working on renders rather poorly on certain computers. The UI static graphics and text suffer from a severe case of tearing without doing any kind of animations. This makes text unreadable and of course, the graphics look poor. I've noticed this problem on different comp...

3D is not rendering in WPF Application

I am trying to render 3D object using the below code. But when I run the application, nothing is displayed. It seems to be blank. Am I missing anything? <Page x:Class="SampleWpfApplication.DemoPage3" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="DemoPage3"...

DirectX alpha blending (deferred rendering)

I'm having a major issue which has been bugging me for a while now. My problem is my game uses a deferred rendering engine which makes it very difficult to do alpha blending. The only way I can think of solving this issue is to render the scene (including depth map, normal map and diffuse map) without any objects which have alphas. Th...

C++ shader question

Hello! Suppose I have some geometrical data and I wish to render it in wireframe mode. Obviously, this can be done using the API (for example, by setting some appropriate mode like D3DFILL_WIREFRAME in DirectX). But I was interested if that is possible to achieve using vertex / geometry / pixel shaders (combined, probably). Does some...

OpenGL: Render to FBO using multiple textures

Hi, I'm experimenting with a renderer. What I want is to write a color buffer and a normal buffer to two separate textures. I got that part figured out. However, the color buffer is supposed to be a combination of two textures. This should do the trick: glActiveTexture(GL_TEXTURE0_ARB); glEnable(GL_TEXTURE_2D); g_Tex->Bind(); glActiv...

Parent page gets reloaded when opening colorbox which renders partial returned from rails

A colorbox is launched with: $.colorbox({href:'appointments/admin_index'}); Which calls a controller that returns a partial ('admin_new'): respond_to do |format| format.html { render :action => "admin_new" } end This works in that the colorbox renders the correct partial, however it also causes the main page to partially reload a...

flex scrolling issue - hopefully simple problem

Hi I am having an issue with scrolling in flex. I am using a large canvas with a number of label objects. A lot of the labels are off-screen until the user scrolls down or up, this is unavoidable due to the amount of information that has to be displayed so I have considered alternatives to this in case anyone is thinking of any. What is ...

fullCalendar - Event title and detail

Hello I'm using the pretty fullCalendar jQuery plugin. I'd like to be able to have a title AND a detail on each event as in the screenshot below: Here the details are the participants for each session. (overflow hidden on the detail) ...

DirectShow BaseClasses - a video renderer class with video and input pin

Hello I couldn't find a suitable renderer class in BaseClasses that has 2 input pins - one for video and one for audio. Can anybody recommend/provide some code? Regards Dominik ...

I need to know when a VerticalPanel changes size

I'm using gwt-dnd to implement drag-and-drop functionality in my GWT program. To get scrolling to work right, I need <ScrollPanel> <AbsolutePanel> <VerticalPanel> <!-- lots of draggable widgets --> </VerticalPanel> </AbsolutePanel> </ScrollPanel> I have to manually set the size of the AbsolutePane...

Object movement choppy when frame rate is capped

I've been having some trouble with choppy movement of objects in a game. If the frame rate isn't capped, the game runs smooth. If I cap the frame rate at say, 60 fps, the movement is choppy. An object's movement looks like this... m_distance += m_speed * GetFrameTime() Where speed is in pixels per second, and GetFrameTime() returns...

RenderingTemplate for ListForm Type

I created a custom RenderingTemplate "viewInventory" copy of ListForm rendering template. It looks like below. Then I associated the Rendering Template to a content type (this is list type content type) EditFormTemplateName. But it seems the list is not even using this controltemplate because I put a vogus name for editformtemplatename a...

Relative performance of native C++ to Flash for pixel-pushing

I was trying to get a ballpark idea of how much slower Flash is at pure pixel-pushing 2D graphics than doing the same thing in SDL or other native library. For instance if I have a Flash/Flex app on a modern PC which each frame does a 2D loop and directly reads/sets every pixel, what equivalent PC would give the same performance for a na...

Problem rendering vanilla JavaScript in Ruby

Hi all, In My controller I am trying to render vanilla JavaScript but am getting an unexpected result. This is the code class UploadController < ApplicationController def index render :file => 'app\views\upload\uploadfile.rhtml' end def uploadFile render :js => "alert('Hello Rails');" post = Da...

typo3 problem with content templates rendering

Hi, I've got a strange problem connected with content rendering. I use following code to grab the content: lib.otherContent = CONTENT lib.otherContent { table = tt_content select { pidInList = this orderBy = sorting where = colPos=0 languageField = sys_language_uid } renderObj = COA renderObj { 10 = TEXT...

Can I retrieve the value of a standard input in ASP.NET?

I've created a custom server control in ASP.NET to render a standard checkbox and a hidden field like this: public class CheckAllBox : WebControl { private string checkboxClientID; protected override void OnInit(EventArgs e) { checkboxClientID = String.Format("{0}{1}chbCheckAll", base.ClientID, base.ClientIDSeparat...

Unprecise rendering of huge WPF visuals - any solutions?

When rendering huge visuals in WPF, the visual gets distorted and more distorted with increasing coordinates. I assume that it has something to do with the floating point data types used in the render pipeline, but I'm not completely sure. Either way, I'm searching for a practical solution to solve the problem. To demonstrate what I'm t...