15 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Doogledude123

I have a custom class which extends JPanel and overrides the paintComponent() method. Here's what that looks like: @Override protected void paintComponent(Graphics g) { if(redrawRequested) { g.setColor(ETCH_BACKGROUND_COLOR); g.fillRect(0, 0, owner.getAppWidth(), owner.getAppHeight()); redrawRequested = false; } g.setColor(Color.BLACK); g.fillRect(pointX, pointY, PIXEL_SIZE, PIXEL_SIZE); } The same custom class also implements KeyListener. I am …

Member Avatar for JamesCherrill
0
420
Member Avatar for Doogledude123

So I know in a Tile Based game its more effecient to have static final instances of each tile, then populate your array with those instances. But what about Rendering? You have to pass the position that tile should be rendered into your method you use for rendering. Is there …

Member Avatar for JamesCherrill
0
171
Member Avatar for Sumith Asanka

Hi Guys I have a user control created , when i drag and drop it to the form designer, it gets this (error redering control, the file was not found)but it is inside the same project, how to avoid this ? thanks regards sumith

0
190
Member Avatar for CaffeineCoder

OK, so I've been Googling this as well as looking for previous posts. I have a .NET site that has some classic ASP still in it (who knows why or who did that). On the old server, the ASP would execute normally. On the new server, however, the ASP code …

Member Avatar for CaffeineCoder
0
293
Member Avatar for Labdabeta

Hello, I can get OpenGL to render 3D scenes to the screen, but I want to render them to a pixel array. Basically I want some magical code to fill in the blanks for this code segment: int width=500; int height=500; uint32_t *colours=new uint32_t[width*height]; //Magic code! glBegin(GL_TRIANGLES); //other drawing stuff, …

Member Avatar for Labdabeta
0
5K
Member Avatar for Labdabeta

Hello, I was partaking in the global game jam (where you have to try to make a game in 48 hours). I got my game pseudo-finished, but I cannot get it to render the scene properly. Here is the code related to the rendering: Code for opengl initialization: glClearColor(0.5f,0.5f,0.5f,1.0f); float …

Member Avatar for Ketsuekiame
0
263
Member Avatar for notconfirmed

Hello, I develop a simple script that capture the product using .net WebBrowser control. this is the link http://www.groupon.cl/descuentos/multiple-locations/desde-39900-por-8-sesiones-de-depilacion-ipl-en-axila-rebaje-de-bikini-con-opcion-a-zona-facial-en-estetica-carola-rodriguez-hasta-90-off I have a problem in getting the time in jquery count donw control. Please help me to find a solution. Regards, jeffrey

Member Avatar for cursedbustah
0
257
Member Avatar for Robert955

Hello, for my Game I used this tutorial from riemers for automatically scalling graphics relative to the current resolution of the game window: http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series2D/Resolution_independency.php If I change from the baseSize to another resolution the Mouse position gets messed up, I have a custom cursor on (int)ms.x, (int)ms.y but when I …

0
129
Member Avatar for walid86

i'm using [CODE]using (Graphics g = Graphics.FromImage(bmp)) { //Set quality to High g.CompositingMode = CompositingMode.SourceCopy; g.CompositingQuality = CompositingQuality.HighQuality; g.SmoothingMode = SmoothingMode.HighQuality; g.InterpolationMode = InterpolationMode.HighQualityBicubic; g.TextRenderingHint = TextRenderingHint.AntiAliasGridFit; g.PixelOffsetMode = PixelOffsetMode.HighQuality; g.TextRenderingHint = TextRenderingHint.AntiAliasGridFit; panel1.DrawToBitmap(bmp, new System.Drawing.Rectangle(0, 0, 2480, 3508));[/CODE] to draw the contents to an image, but the quality of …

Member Avatar for walid86
0
362
Member Avatar for walid86

i need to print all the contents of my panel to an image. Everything works, except the Rich Text Box's.. I've checked online and i can't get my head around the code as it is fairly advanced. is there any 3rd party components that have this function? i managed to …

Member Avatar for walid86
-1
234
Member Avatar for georgeoshardo

So I'm starting up a render farm for UDK and After Effects, and I have about 8 computers at the moment. One of them is a Dell Dimension 2350, and I cannot get the Ethernet to work on it. I've installed this driver: [url]http://support.dell.com/support/topics/global.aspx/support/kcs/document?c=us&cs=19&l=en&s=dhs&docid=DSN_D4A6B1A87E7D2BBBE030A68F27285798&isLegacy=true[/url] Didn't work. I've installed this one: …

Member Avatar for georgeoshardo
0
253
Member Avatar for ShadowScripter

Hi, I've noticed some websites don't display their content until everything's been processed, downloaded and ready for render. The result is images [B]DO NOT[/B] render after download, so there're no images popping up everywhere on the page while the page is processing its next request, but wait until it's done …

0
136
Member Avatar for benny2010

Hello does anybody know how to scale a sprite or image to fit the whole render window? at the moment i have my checkers board but its in one corner of the window and i want it to fit the window entirely would be a great help :)

Member Avatar for myk45
0
185
Member Avatar for Resnymph

Hello, I have created an application that passes a Handle of a panel to a DLL which is then used for creating a DirectX or OpenGL render window, all of which works fine. I wish to duplicate what is rendered in the panel elsewhere (basically multiple render windows all rendering …

Member Avatar for Resnymph
0
141
Member Avatar for Frank0051

Note: I'm using a JList as an audio playlist. I was wondering if there was a way to automatically update a custom ListCellRenderer. Basically I ask is because within my ListCellRenderer I have an isPlaying item that will change the color of the object in my playlist that is playing, …

Member Avatar for stultuske
0
501

The End.