rendering

PDF rendering issues on iPad

Hi there, I have two questions related to handling PDF rendering on iPad/iPhone. First I'm getting some strange issues when rendering PDF page with CGPDF functions on iPad. Strange, because everything works quite fine on iPhone, but on iPad I'm getting lots of error messages related to PDF, i.e. like below invalid stream length 9785;...

XNA to render 3D video (fixed FPS!)

Hi, i have to develop an application in wich the final step is to export a video (or a single frame) of a 3D animation generated by my software calculating the user input parameters. I want to use XNA and for this. i need that the software can export FIXED FPS video (or also all single frames of the video separately). It's not a matter...

Uncover the inner workings of the Telerik RadEditor

I have an issue using the Telerik RadEditor control where the data I've input within the text box part of the control disappears after a page PostBack. The data which the control stores still persists because we can save the data (e.g. in a database) from the control on a subsequent PostBack. But, just the display of this data doesn't ...

Tips for progressive rendering of HTML from locally loaded file?

We're using the customer's default browser to display locally generated HTML files in a preview mode. The files are between 0.5M and 2.5M in size. These files do not progressively render in any of the top 5 Windows browsers (Chrome, FireFox, IE, Opera, and Safari). In other words, when we try to load these files, the browser window displ...

Algorithm to only draw what the camera sees?

I'm making a 3D FPS with OpenGL and here is the basics of how it works. The game is a 3D array of cubes. I know the location of the player's current cube, aswell as the camera x,y,z and I know the x, y, z rotation of the camera too. Right now I just make a square around the player and render this and then add distant fog. The problem tho...

Free vector coordinates for fonts?

I'm having big issues with cross platform font rendering. The line height, the font width, the letterspacing and everything you can think of is different all the time. Even on the same platform with different settings of font smoothing the result is different. For my application i need to be able to scale up the text and still have just ...

Flex tree view with wrapped text on nodes

Guys, I've spend hours searching for a way to put one paragraph of text in one tree node in Adobe flex. How can I do it? I created a simple tree view but the text is cut after the right border. So I tried to create a tree renderer. In the renderer I specified width=100 and the text wrapped. But the height of the nodes was not being cal...

SVG Glyphs in Pyqt

How do I render glyphs in pyqt using the svggraphicsItem? ...

Notification when rendering a Visual in WPF is complete

Is there a way to get notified (e.g., by an event) when a Visual has been (re-)rendered? Basically, I would like to take a screen shot whenever a Visual's appearance has changed. I assume the rendering thread is taking care of this in the background. I am trying to avoid grabbing a screen shot periodically since I am only interested in...

What is the Android rendering lifecycle?

There's a decent amount of information out there on the Activity lifecycle. But I'm surprised how difficult it is to find a comprehensive description of the rendering lifecycle. By that I mean the order and rules by which a tree of nested activities, views, and drawables get to be sized and drawn to the screen, and the points at which ...

Z ordering geometry

I'm making a game that is entirely made of cubes. I notice that when I walk forward it runs lightening fast, but if I rotate the player in the opposite direction, its cripplingly slow. So what I did is ordered based on angle, but I still get some angles that are a bit slow. Here is how I did it: I basically reverse iterate in certain an...

Culling techniques for rendering lots of cubes

I am working on a personal learning project to make a Minecraft clone. It is working very well aside from one thing. Similar to Minecraft, my terrain has lots of cubes stacked on the Y so you can dig down. Although I do frustum culling, this still means that I uselessly draw all the layers of cubes below me. The cubes are X, Y and Z orde...

Hadoop and 3d Rendering of images

Hi, I have to make a project Distributed rendering of a 3d image. I can use standard algorithms. The aim is to learn hadoop and not image processing. So can any one suggest what language should I use c++ or java and some standard implementation of a 3d renderer. Any other help would be highly useful .. ...

Building/Rendering a geographical-like (shaded?) relief map from data points in a matrix of cells

I have a 2D "map" of items in discrete cells (some cells having no items). Each item has a mutual "relationship" level with every other item -- the higher the relationship level, the more related they are. I ran a simple self-organizing map algorithm (each item tends to drift towards items that they are more related to), so the map is ...

[iPhone] Rendering animation to movie

Hi @ll I have a serious problem with Core Animation in combination with the AV Foundation. I want to render the animation of several UIImages to a movie file. The animation of the images should only be the change from one image to the next, just like shown here http://appsamuck.com/day2.html. But I don't want to display this animation ...

MVC RedirectToAction from one controller to another - View is not displayed issue

I have a controller in which is do some checks. If for one reason or another and exception occurs I want to display the error messages in another view in another controller. This is how my exception handler looks catch (Exception ex) { string infoMsg = "Delete the user and recreate is with an appropriate username...

Will an iframe render in quirks mode?

I'm working on setting up a page and am having difficulty with getting it to look well across browsers (actually just IE, as it renders properly for mozilla and webkit). I'm wanting to rule out quirks mode before seriously considering old IE bugs fixed since IE6. The container page has a declared doctype, however the iframe code does not...

Odd glitch causes content to move when hovering over an image

I have a problem with my site in Internet Explorer 7/8/9. Here's how I reproduce it: Go to http://pieterdedecker.be/. Hover over the fourth icon under "Programming: software and sites". Slowly move the mouse towards the thumbnail with the candles. When the mouseover is triggered, the image moves down a couple of pixels. Here's the od...

Rendering text with javascript in a loop - browser goes unresponsive

I have a piece of javascript that loops a number of times calculating stuff and it is supposed to output some text to screen every iteration, but instead it goes away for a long time and flushes everything at once to screen. There probably are known tricks to get the thing to iteratively update rather than hanging onto the output then f...

How do I Z-sort triangles for a 3D engine?

I'm building a small 3D engine for a game I'm working on. I've got my basics sorted: textured triangles with backface culling. However depth sorting is proving to be a difficult problem. I'm calculating the face Z by averaging out the 3 points that make up the triangular face. The longer faces sometimes overlap the smaller faces since ...