Hi, I'm trying to draw many lines on the screen at the same time using OpenGL line strips and performance is slow, and it was suggested I use a vertex buffer. I'm new to vertex buffers - do I need a new one for each line I want to draw, or do I use a single buffer for all of the lines (they are not necessarily connected to each other)? A...
I have a HTML button. I have tried to render a tooltip on it based on the "title" attribute of the button and it doesn't render. Mainly because it's disabled.
I then tried wrapping the button in a span and setting the "title" attribute of the span.
Hovering over the button that is wrapped in the span still has no effect. The tooltip ...
Hello Experts,
I know this kind of question must have been asked here before but by searching I didnt find a solution:
My question is: What are the best Java libraries to "fully download any wepage and render the built in JavaScript(s) and then access the rendered webpage (that is the DOM-Tree !) programatically and get the DOM Tree as...
I would like to render websites to an image (JPEG, PNG, PDF, etc.) from a server environment. I have seen a few implementations that use Xvfb but would like to see if there are any decent implementations that would work standalone without X of any sort.
Google Fast Flip seems to do a pretty decent job. I have seen this on a smaller scal...
Hi folks,
I'm working on a iPhone offline map project.
So i would like to generate the tiles directly in the iPhone, and I need to build a fast and efficient algorithm to render the tiles.
Do you know some resources for that ? (I know some frameworks exist, like mapnik, but i need something as simple as possible, and i'll implement the...
The question
Is there a known benchmark or theoretical substantiation on the optimal (rendering speed wise) image size?
A little background
The problem is as follows: I have a collection of very large images, thousands of pixels wide in each dimension. These should be presented to the user and manipulated somehow. In order to improve ...
Hey guys
I have the following is really weird. Bassically when I view the source of the page everything looks fine but the page looks all wrong. So I decided to take a look at the source using firebug and firebug shows a very different story. But if I refresh the page the page looks fine and the source and firebug match up.
See below ...
I wonder since a long time what would be the best way to handle OpenGL FrameBuffer Objects (FBO).
Switching FBOs can be costly but defining new attachments too.
How do you do it fast ?
I hesitate between these 3:
1 FBO for everything, change attachment but don't switch between FBOs
1 FBO for each render target (size + format) in the ...
how do people deal with extra data needed to render a list.
eg I have a IList<User> Users that is a property on my viewmodel. However for each row in the user table, extra information needs to be displayed.
should i create a display model for User with the other properties included on it?
any ideas would be greatly appreciated?
...
I've been given a free choice of final project for my software development course, I'm quite interested in attempting a distributed programming task, My initial thought was to create a simple photon scattering renderer but I don't think I'd get far past rendering platonic solids and metaballs.
Any suggestions, or interesting areas I mig...
I don't know the rendered width of DIV or any of the buttons. How do I change the markup such that the buttons are rendered with a uniform (or as close as can be) distance between each of them?
EDIT: Also, the buttons should consume the full width of the DIV.
<div>
<asp:Button ID="Button1" runat="server" Text="Action1" />
<!--...
Sometimes the header of my website does not form properly when I first load a page.
Incorrect:
In the screenshot below the headings are inside the black horizontal line
After refreshing the page, there is space below the headings:
This issue has been seen on several pages, not just the one I have taken a screenshot of (http://...
I have ad tags (i.e. JavaScript) from several popular ad networks (AdSense, AdBrite, etc.) and I like to test them (basically make sure they render correctly) before adding them to my websites. I add the tag to a page, and end up loading the page several times on my dev box.
I noticed that after several refreshes on my dev box, the ads ...
I have a triangle in (u,v) coordinates in an image. I would like to draw this triangle at 3D coordinates (X,Y,Z) texture-mapped with the triangle in the image.
Here, u,v,X,Y,Z are all vectors with three elements representing the three corners of the triangle.
I have a very ugly, slow and unsatisfactory solution in which I (1) extract a...
Hi,
I'm designing a Canvas object which is been used to draw a BufferedImage of size 228x262 pixels.
That image is been drawn using Graphics2D.drawImage(...) method. I'm doing a pixel basis color manipulation within given offset ranges. A sample of the code below:
for( int i = frameOffset; i < colorClock; i++ ) {
rgb[i] = new C...
I have a WPF custom control that sometimes takes a while to render in some complex scenarios. I would like to be able to tell my custom control to show a placeholder image (e.g. "Please wait - rendering!") and then actually render the control in idle time (after input is processed).
I am thinking along the lines of having my custom cont...
For the following sample ordered list markup and CSS, IE7 is rendering the numbers alongside the bottom of the list item, whereas FF, Safari and Chrome are behaving as desired, with the numbers aligned alongside the top of the list item.
http://bit.ly/aCq5F5
Does anybody have any suggestions as to how to get IE7 to render with the same...
Hello all,
I have a DataTable with 20.000 row and 15 column. I need to create an ASP.Net Table, my code is similar to this:
//foreach Row in my DataTable do the following:
TableRow t2Row = new TableRow();
TableCell t2Cell0 = new TableCell(); t2Cell0.Text = Count.ToString(); t2Row.Cells.Add(t2Cell0);
...
I have something like this
<h1>
<a href="/" title="Home">Home</a>
</h1>
Very simple. IE, FF render it smoothly, underline works fine. Safari does this weird thing I've never seen before, it underlines "Home" only where the font serifs & curves DONT touch the underline, i.e. the letter "H" would get underline between the two "pillars...
I have a 3D model, composed of triangles. What I want to do is, given a point near to the model, I would like to color the model (triangles) to another color, say blue.
Right now, I have a bounding sphere about the model, and when the collision occurs, I just want to approximately color the portions of model from where the collision occ...