OpenGl Graphics Package - How To Use In .net

Jan 31, 2009

i want to do a graphics project in Vb.net but have to use OpenGl Libraries . How do i download compatible OpenGl package and how to use them in my .net code.

View 3 Replies


ADVERTISEMENT

Rendering Graphics Efficiently - DirectX - Graphics Card And Use Of DirectDraw Or OpenGL

Sep 23, 2011

We have a GIS application that has some performance issues. It creates and sends an image to a web browser. We start with a Bing Maps imager, add complex polygons (complete with transparent fill), save the finished image as a PNG, and send it to the browser.

The idea has come up that we could possibly install a graphics card and use DirectX or OpenGL to improve performance. I believe this would be the case even though we ultimately generate an image instead of sending the data the the screen. I believe our processes could still make use of the API and the hardware acceleration it provides. Our process is not unlike what CGI film makers do to render individuals frames of a film, though we simply render a single image and send it, as opposed to the hundreds of thousands of images needed for a single CGI film.

So my question is: would a powerful graphics card and use of DirectDraw or OpenGL provide us a worthwhile performance boost? It can take us 20-30 seconds to render a more complex map. Which is a long time to wait on a web page...

View 10 Replies

Loading Output From Package Out Of A Local Package Error

Mar 24, 2010

I am trying to run the application created in the example at [URL] The code errors at the line dtsDataReader = dtsCommand.ExecuteReader(CommandBehavior.Default)
the error is A requested parameter does not exist in the package. I have checked everything that i can think of in the package Also when I try to run the package using the dtexecui utility I two errors "Error: SSIS Error Code DTS_E_PRODUCTLEVELTOLOW.

[Code]...

View 1 Replies

VB2010 Use An Application To Package All Files Together Into A Setup Package

Feb 26, 2011

I am wanting to use an application to package all my files together into a setup package. I have tried InstallShield 2011, but when i click on Visual Basic .net wizard, it tells me I do not have Visual Studio.NET installed on my system. I am currently using VB2010 Express How can I fix this... or is there a better application available for packaging?

View 2 Replies

Run 2008 SSIS Package - Click A Button And Have A SSIS Package Execute?

Apr 14, 2011

I created a simple VB application in Visual Studio 2010.My computer, which I am using to create the program, is Windows 7 Pro, and SQL Server 2008 is running on a Windows Server 2008 Enterprise, which I have full access to.

I want to click a button and have an SSIS package execute.I looked around on the Internet and found examples, but they do not seem to work for me.I try to add a reference, Microsoft.SqlServer.ManagedDTS.dll, as a few sites advise, but it is not listed when I go to PROJECT>ADD REFERENCE.

I also type:

Imports Microsoft.SqlServer.Dts.Runtime but all I get is a squiggly green line, which when hovered over states "Namespace or type specified in the Imports 'Microsoft.SqlServer .Dts.Runtime' doesn't contain any public member or cannot be found." Below is some code I copied from one of the websites and pasted in my button click event (the path is correct), but a get blue squiggly lines under "Package" and "DTSExecResult":

Dim pkgLocation
As String
Dim pkg As
New Package[code]....

What can I do to make the SSIS package run when I click the button on the Windows application a created?

View 8 Replies

Add Opengl To My Program?

Feb 24, 2009

I want to add opengl to my vb.

View 2 Replies

How To Do OpenGL Within A VB .NET Environment

Feb 17, 2012

I was trying to learn how to do openGL within a VB .NET environment and it seems that the Tao framework or OpenTK is recommended with OpenTK having a higher recommendation so that is what I chose to try using. Since I am brand new to this, I am trying to just draw a simple box, triangle, or anything really so that I can understand it all before making more complex things. I have been unsuccessful at this so far so I will list in order what I have done so far and hopefully someone here can help me correct it or provide a new example just so I can draw a simple shape.

1) I installed OpenTK using opentk-2010-10-06.exe

2) In a new project I added the references to OpenTK.dll and OpenTK.Compatibility.dll

3) I added the control (opentk.glcontrol.dll)

4) I added the actual control to my form.Using some examples online I added the rest:

5) I wrote my references in:

Imports OpenTK
Imports OpenTK.GLControl
Imports OpenTK.Platform

[code]....

The above results in no display?

View 2 Replies

Drawing A Line In VB With OpenGL

Nov 6, 2010

I was wondering if anyone could steer me to any good references to using OpenGL in vb.Net? I wanted to try a simple line drawing test to start off with, and came across many old discussions about using CsGl or the Tao Framework. But I could not get CsGL to import into Net2008 (the Add Reference window simply could not see the DLL that was clearly there when using Windows Explorer). And although I could get Tao to import OK, and found portions of one person's project, I figured that somehow the GL window he was referring to had to first be set up as a GL object (new class?).In addition, all the OpenGL books I have looked at only discuss OGL with respect to some version of C.From what I have gathered, you need a connector between vb.Net and the opengl32.dll libraries and that is what CsGL and Tao are about. But the edumucation resources seem very few.

View 13 Replies

Installing DirectX Or OpenGL On VB?

Sep 13, 2011

I wanted to install visual Basic or C++ (but Basic really seems easyer to use) with DirectX or OpenGL but I can't get it to work!I've tried Visual Basic Express 2008 and 2010 and i'm getting the same type of errors...

-> Directx

When I try this program [URL]with VB I either get

with 2008 : just a red cross on a blank screen

with 2010 : an unlimited waiting time, and when i click i get an error message that tells me to continue waiting, im forced to CTRL -ALT - DEL to shut down VB.

-> OpenGL:So i've tried a lot of times! they tell me that it's already installed on windows so i don't need any installation but then VB gives me alot of errors, telling me that some part of code isnt recognized!!

i've tried tutorials with Csgl or Tao, but none seem to work...I already got some knowlege of OpenGL but not DirectX, so could anyone please tell me which one does work on my computer and is best for creating a graphics window inside an API that i create, for instance a mob maker?

View 15 Replies

OpenGL : Library Not Found

Apr 6, 2011

how to write program based on OpenGL in VS? cause when i begine debugging ,it says library not found..

View 13 Replies

OpenGL Save Render For Later Use?

Oct 9, 2010

I render a complex shape in OpenGL which requires a lot of calculations, is there anyway to export that to a state like a model that can be opened again later given you wont edit it again?

I can't create them outside the program (with something like Blender) since the shape is computed when the program starts. The render then gets translated, rotated, drawn over, etc. Note, that I don't need to edit the shape though, but I do want it in a 3D state so saving an image isn't an option.

View 2 Replies

Use OpenGL In Visual Basic?

Aug 3, 2010

i heard OpenGL is 3D and it can be used in visual basic for models and games. Now i dont know if OpenGl is a contol or coding script. But i want to know how to make a simple model in OpenGl in visual basic.

View 9 Replies

Using OpenGL In Visual Basic 2010?

Jan 4, 2011

I am trying to create a tool to make terrains for my game and would like to develop it in Visual Basic Express 2010. I want to use OpenGL but am having trouble.1. Will VB support OpenGL 3.x or higher?

View 6 Replies

Windows - Displaying Textures In OpenGL In XP Vs 7

Nov 12, 2010

I am running into the strangest problem that I just can't place my finger on. I've been developing an application in VB.net for the last couple months in Windows 7. The program involves some basic OpenGL drawing and animation with basic shapes (squares and circles) and basic textures mapped onto pointlists. The time has come to distribute the program to another machine. On some machines though, I encounter problems when I'm drawing textures. I know that openGL is still functional because drawing basic squares and circles still occur, the textured objects are the only things missing.

[Code]...

View 2 Replies

Drawing A Billboard Quad At Point In OpenGL

Sep 3, 2010

I'm working on a game engine, and I want to be able to draw a billboarded (i.e. rectangular to the screen) quad with the center-bottom of the quad being determined by a single point.

View 1 Replies

Error C2661 And C2227 [openGL In VB2008]

Jun 22, 2010

i have to do a college project on this platform so i decided to learn open GL. while working with glui i am facing some problems. i downloaded glui-2.36. I thought of starting with the example1 (code added at bottom of the post) that was included in source folder of glui-2.36. i am using VB.net 2008 When i build the project it gives me 3 errors:

error C2661: 'GLUI_Checkbox::GLUI_Checkbox' : no overloaded function takes 3 arguments
error C2661: 'GLUI_Spinner::GLUI_Spinner' : no overloaded function takes 3 arguments
error C2227: left of '->set_int_limits' must point to class/struct/union/generic type

Here is cpp code:

#include <string.h>
#include <GL/glui.h>
/** These are the live variables passed into GLUI ***/
int wireframe = 0;

[code]....

View 1 Replies

OpenGL - Animation Stuttering When In Full Screen?

Oct 19, 2010

I'm currently running into a problem regarding animation in OpenGL. I have between 200 and 10000 gears on the screen at a time all rotating. When the window is not in maximized view, my CPU runs at about 10-20 % consistently. No spikes, no stuttering in the animation, it runs perfectly smooth regardless of the number of gears on screen. When I maximize the window though, everything falls apart. My CPU maxes out, I begin getting weird spikes in CPU usage, the animation begins stuttering as a result, and it just looks really ugly, even when I have only 200 gears on screen.

My animation technique looks like this:

While Animating
Calculate current rotation angle based on a running timer
draw Image
call glFlush()
End While

I'm using the Tao framework in VB.net. I'm not performing any other calculations other than the ones to calculate the rotation angle mentioned above and perform a few glRotateD and glscaleD in the method to draw the image.

In addition, I guess I was under the impression that regardless of the window size in an orthographic 2-dimensional drawing that is scaling on resizing of the window, the drawing time would always take the same amount of time. Is this a correct assumption?

Note that I've seen the animation run perfectly smooth at full screen before. Every once in awhile, OpenGL will decide it's happy and run perfectly at full screen using between 10-20% of the CPU (same as when not maximized). I haven't pinpointed what causes this though, because it will run one time perfectly, then without changing anything, I will run it again and encounter the choppiness. I simply want to pinpoint what causes the animation to slow down and eliminate it.

I've run a dot trace on my program and it says that the swapBuffers method is using 55 % of my processing time even though I'm never explicitly calling the method. Is the method called by something else that I can eliminate, or is this simply OpenGL's "dead time" method to limit the animation to 60 fps?

View 1 Replies

Make A OpenGL Overlay With VB 2008 Express Edition?

Sep 28, 2011

make a openGL overlay so for an examplei play a game and when i click shift + tab then the game will fade and my application will be seen but without minimizing the game

View 3 Replies

Rendering Opengl Into A Visual Basic 2010 Picture Box

Jul 26, 2011

Does anybody know how I can render openGL into a Visual Basic 2010 picture box?If you havent already done so please delete the abusive posts that responded to my original enquiries. I have decided to start a new thread on this subject rather than in an existing thread because it's more convinient for me.

View 9 Replies

Use OpenGL In Visual Studio 2010 32 Bit Installed On Windows 7 64 Bit?

Dec 25, 2011

i have installed visual studio 2010 32 bit on my new computer which have windows 7 64 bit. Everything seems ok. But now I try to learn how to draw some spheres with movement. I have tried to install openGL2 but it does not work or said that it does not fit with 64 bit, or it works only with VC.

Could any one, please, give me a short introduction to install and use open GL in vb.net 2010 installed on windows 7 64 bits ?

View 3 Replies

Interface And Graphics :: E.Graphics.Drawstring Length Overflow Page?

Nov 19, 2010

Im working on a project that needs to print a report of one client.Everything went smooth untill i came across my multiline input text data.When i display it in the PrintPagePreview the text go's outside my page. Even when im printing it only the halve of my text is displayed. I googled and looked everywhere but i can't get a clear fix for it.

[Code]...

View 3 Replies

Interface And Graphics :: Passing Bitmaps & Graphics To Subroutines As Arguments

Jan 22, 2011

I used to program with Visual Basic 6, so I have alot of old programs that I'm updating, plus I'm learning the new VB2008 methods. I'm writing a program that replaces the old "BitBlit" function which is no longer supported by Visual Basic 2008. It involves three picture boxes, one holds the sprite bitmap, a second holds the mask (silhouette) of the sprite bitmap, and a third has a background image.

[Code]...

View 3 Replies

Interface And Graphics :: System.Drawing.Graphics.DrawString On Other Window?

Aug 14, 2009

drawing text on a window which is not the current form's window.I remember doing this in Win32 api with getwindowdc(handle) to obtain a DC for the Window, then textout() on the DC.

View 2 Replies

Interface And Graphics :: Creating A Class Holding Some Graphics?

Jan 12, 2011

Ok, I want to create a class that will handle a special rectangle graphic.In my form, I want to have two of these special rectangles. So, basically, I need two instances of that class in my form, right?I manage to initialize two, alright. But, how exactly am I supposed tomanage drawing/graphics etc in a class, and the results to be displayed in my form?

View 13 Replies

Interface And Graphics :: Error - Graphics Paths For Designing

Oct 29, 2008

Using graphics paths for designing...but am getting an error when trying to add a shape to : _shapelist.add(createshape())

It says : Value of type 'system.drawing.drawing2d.graphicspath' cannot be converted to '1-dimensional array of system.drawing.drawing2d.graphicspath'

View 2 Replies

Graphics & RedrawWindow API, Clearing Graphics On The Desktop?

Sep 27, 2010

[code]...

ok, i know the code is a little rough, but it should be good to give you an idea of what im trying to do, if not i will still explain.simply draw 2 lines one from left to right, another from top to bottom, intersecting through the tip of the mouse.ok, theres no problem there the lines draw perfectally the way i want them.... BUT! now heres the issue im having.i cant get rid the previous lines.i did a bit of good old "Google'ing" and ran across a few links that all pointed me to the ReDrawWindow API, so i tried (as you can see in the above code) but i just cant seem to get it worked out.

View 5 Replies

Interface And Graphics :: Draw On Tabpage's Graphics?

Jan 19, 2011

So I decided to make my famous tile selector project, but instead of drawing in a form's graphics, do it inside a tabpage.Well, I managed to get it working, but it seems to... flicker.Normally, setting the form's DoubleBuffered property to True would help a lot there, but apparently, the tabpage has no such property.

When I invalidate the tabpage, I draw two images and fill one rectangle.Following past advice, those two images were created before, just once, and are stored in a variable so I don't create them every time I invalidate the tabpage.

View 1 Replies

Interface And Graphics :: Save Graphics As Png With Transparency?

Aug 1, 2010

Ok I have this: This makes a sub called 'graphicspaint' then writes "demo version" to a picturebox1

Code:
Imports System.Drawing
Imports System.Windows.Forms

[code]......

View 8 Replies

Interface And Graphics :: [VB2010] - Some Graphics Effects?

Dec 5, 2011

i whant do my own shadow effect. i can do the shandow. but how can i plus 2 bitmap images(1 above the other)?

View 15 Replies

Use OpenGL In Visual Studio 2010 In Visual Basic Project?

Jan 15, 2012

I want to use "OpenGL" in my project. Is it possible to associate it with "Visual Basic" application developed in Visual Studio 2010? If yes then how can we do it.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved