VS 2010 - Mesh Viewer - Show A Generic Mesh And Texture ?

Jan 26, 2012

I am creating a script editor in vb for a game engine and all is fine with the editor, I just cannot for the life of me get a mesh viewer working. If you are familiar with Unity3d Editor, it has a small 3d viewport that simple shows the mesh associated with the asset script being created where you can click drag rotate the mesh to have a look at it with the selected textures applied.

I have spent many hours digging through msdn trying to figure out how to do this. All samples I find are done in c# none in vb. I have even used code converters with no luck. Bot sure what sdk(s) to use either. How to do it as in setting up a project that has a basid 3D viewport that will also applie selected textures to the mesh? Even if it is hard coded to show a generic mesh and texture, It should be enough for me to grasp how to set it up.

View 1 Replies


ADVERTISEMENT

Direct3D / Windows Mobile - Lighting / Shading - Mesh Appears Flat?

Mar 20, 2010

Im currently working my way through understanding direct3D with visual basic for windows mobile. So far I have managed to write a fairly decent engine that allows me to create and transform any number of 3D primitives and 2D sprites. However I cant seem to figure out how to get Direct3D to apply any sort of shading to my meshes. Regardless of what angle they are to the camera, or their position in 3D space, they remain a solid flat color on every single polygon of the mesh.

[Code]...

View 3 Replies

C# :: Code To Extract Center Curve (medial Axis Or Topological Skeleton) Of A Mesh Or Point Cloud?

Jun 27, 2012

I looked at several questions/answers posted already such as this one on a planar polygon but could not find one that explains results in 3D such as the one shown in this paper and this one on "point cloud skeletonization through Laplacian-Based Contraction" where this quadratic equation comes back in both.

View 1 Replies

Make A Very Advanced Picture Viewer (Editor - Zoom - Slide Show) In VB 2010 Express?

Aug 29, 2010

I Want A Picture Viewer With this Features : Editor, Zoom, Slide Show

View 12 Replies

VS 2010 - Picture Viewer Should Show A Flag And The Students Must Type What The Flag Is In A Text Box

Mar 26, 2012

with a college assignment. We are to make a program for a school class. It is on Flags of Europe. A Picture Viewer should show a flag and the students must type what the flag is in a text box. If it is correct it must say so in a label and display the next flag. I want it to add the correct answers the student got out of 10 flags.

View 4 Replies

Print Dialog Does Not Show Up In Crystal Report Viewer On 64 Bit Machine

Mar 25, 2010

I have a client, who is running Windows 2008 Server 64 bit. He is running our software, it has a built in crystal report viewer functionality. The print dialogue just wouldn't work no matter what. It worked on our 32 bit box and we verified it. I verified it on our 64 bit box, and the print dialogue didn't open either. I did some research online. And one suggestion is to set m_printDlg.UseEXDialog = True. I tried that, but that did not work either...

Here is the code snippet.
#Region " Methods "
Public Overrides Sub PrintReport()
' NOTE: Do not use bug in reportviewer
'MyBase.PrintReport()
Dim objRpt As ReportDocument = CType(Me.ReportSource, ReportDocument)
[Code] .....

View 1 Replies

Microsoft Report Viewer To Show Parent/child Data Such As Invoices Headers Followed By Invoice Details?

Mar 25, 2012

After several hours of searching the internet I could not find any Report Viewer tutorials that show a project that contains a parent/child report. I'm using rdlc report files.I can create a single report but we want to create a report that shows shows invoice header information followed by the invoice details followed by the next invoice header and details and so on.

If a sample project is not available, do you know of an online tutorial that shows how to do it?I saw something that might help on gotreportviewer.com about subreports, but it's in C# and not VB.Net so I could not figure out how it works.

View 1 Replies

Way To Texture A Triangle (2D)

Nov 24, 2010

Currently working on a 2D engine, not for gaming but for design software / visualisation for machines. So far it is comming along quite fine. I started to wonder if it were possible to draw a triangle and fill it with some form of a a texture, or even better a polygon and fill that with a texture.

I know that DX can do that for me :P but I am realy focussing on GDI+ at the moment.

View 1 Replies

Apply A Texture To Primitives In DirectX

Jun 14, 2009

i'm developing a simple 3D Cad Application that renders some created objects. I'm able to apply a color-based material to the objects but not to cover their surface with a texture, such as a bitmap. These are the two main code blocks of my application:

This code, creates the objects and creates materials for them. (To draw the objects, i'm using the Mesh class' methods):

objects(0) = Mesh.Box(device, obj.SizeX, obj.SizeY, obj.SizeZ)
materials(0) = New Material
materials(0).Diffuse = obj.Material
materials(0).Specular = Color.LightGray
materials(0).SpecularSharpness = 15.0F

View 1 Replies

Generated Bitmap With DX9 Texture Loader

Oct 6, 2009

I created a module for the functions to create a bmp by combining 4 bitmaps together and using a bump map. This part works. It's as soon as I try to save the bitmap to a memory stream I get an error.[code]

View 1 Replies

VS 2008 Use GIF Image That Was Added To Project For Texture Brush

Nov 14, 2009

In the project I'm working on I've been using some gif images to define one or more texture brushes. I have the images in a folder and I know how to define the texture brushes as follows.

[Code]...

Let's say I add the images as image files to my application using "Add Existing Item". Is there a way I can define the texture brushes with the images that have been added to the solution in that way and if so could you show me the exact code.

View 6 Replies

Is There A Concept Of "Generic Structure" Similar To Generic Collections, Generic Classes

Dec 16, 2009

We have migrated our Vb6 application to VB.NET using a third party tool. Now we are in a process of Refactoring and introducing object oriented concepts in the application.

In VB6, we were using structures in many places. As a part of introducing object oriented programming,

1. is it a good idea of changing all Structures to Classes? or Is there a concept of "Generic Structure" similar to Generic collections, Generic classes?

2. Can some one guide me any source containing guide lines or best practices for applications that are migrated to VB.NET from VB6 and implementing object oriented programmaing.

View 3 Replies

VS 2010 VNC Viewer With .NET App?

Mar 9, 2011

I have developing an application for our NOC to use at my company, and I would like to implement a VNC viewer. I have never coded this in .NET before. how to get started? All the examples I find, such as TightVNC or VNCSharp, are coded in C# and that is not a language I am familiar with. I am using Visual Studio Pro 2010 and programming in the Visual Basic.NET language.

View 1 Replies

Could Not Add Crystal Report Viewer V14 In 2010

Aug 3, 2010

I have created an crystal report to display the table details, and the report is complete.I could not find the crystal report viewer in the toolbox.Even though I tried adding the component but could not add it. view the crystal report in visual studio 2010.

View 22 Replies

No Report Viewer In 2010 Express

Feb 10, 2011

In my earlier post I failed to mention that my vb 2010 is the express edition. I know that report viewer is not included in the free edition. I downloaded the report viewer for vb 2010 redistributable and it installed fine. Where did it install to is another question, I can't find it anywhere. when I right click on the toolbar and select choose item, the report viewer doesn't show in the net frameworks components list.

View 9 Replies

VS 2010 RDL Files And Report Viewer

Jan 1, 2012

I have been provided with a series of RDL files and dataset specifications for each RDL report.I have successfully generated the proper data tables for each report specification but have not yet figured out how to successfully use the reportviewer in my application with the provided RDL files.Due to the large number of reports I will be working with I need to hard code the reportviewer instead of using the control in design mode.

View 2 Replies

VS 2010 Secondary Image Viewer

Feb 18, 2011

I am currently working with a program where the user is prompted to click certain points on a picture within the picturebox on my form. The issue is that some of the points need to be pretty precise and i want to give them controls to slide the points once they have clicked them. The method for sliding is fairly simple but i want to be able to graphically show it in a secondary picturebox.

[Code]...

View 21 Replies

Adding Visio Viewer 2010 To Toolbox?

Sep 22, 2010

I want to add a reference to Visio Viewer 2010 to my toolbox so I can add it to a Windows Form I am developing (not a web form). I went thru both the .NET and COM references to select the option, but it does not seem to be listed anywhere.

View 2 Replies

Visual Studio - Report Viewer & 2010?

Feb 15, 2011

In vs 2008 when opening a Report (rdlc) there was an option for Report Data Sources. I don't see this in vs 2010. How can I find it in 2010?

View 1 Replies

VS 2010 : VNC Viewer Implementation With Existing .NET Project?

Mar 9, 2011

I am currently developing a .NET app for the NOC here at my company and I would like to implement VNC so that we can use the app to remote control client pc's. I have never implemented VNC into app before and I am kind of at a loss of how to do it as all the examples I can find are in C++ or C#.

View 8 Replies

Make An Image Viewer In VB With Visual Studio 2010?

May 14, 2012

I want to make an image viewer in visual basic with Visual Studio 2010, but i have a little problem. I loaded an image into the program and i want to save it in another location but it didn't work. The image doesn't appear in location where i saved it. I attach a .doc with the code.

View 2 Replies

DB/Reporting :: Difference Between Microsoft Report Viewer And Crystal Report Viewer

Dec 28, 2008

These things look about the same to me. Is there any reason I should use one over the other?

View 5 Replies

.net - Can A Generic Version Of A Derived Class Override A Base Method Using The Generic Type

Apr 13, 2012

Consider:

Public MustInherit Class Column
Public ReadOnly Property ReturnSomethingUseful() As Object
Get
'return something useful

[code]....

But this gives the following error:

Public Overrides Function ParseValue(sValue As String) As Boolean'
cannot override 'Public Overridable Function ParseValue(sValue As String) As Object'
because they differ by their return types.

I accept that you can't do this, but I'd like to be able to preserve the semantics of what I'm. trying to do, which is to have an untyped version that deals with Object, but a typed version in derived classes that knows about the specific type T.

View 2 Replies

.net - Determining A Generic Type At Runtime In Non-Generic Class

Aug 14, 2010

I have a Journal that records entries for different types: Journal(Of ParentT)

[Code]....

View 2 Replies

Construct A Generic Interface Class With Generic Functions

Nov 25, 2011

I am trying to construct a generic interface class with generic functions. My goal was to use this to implement multiple worker classes for database interaction that have the same basic functionality. Each class will deal with different object for example, category, product or supplier but unless the the functions in the interface are generic that this won't work.This is the interface code that I have but I don't know if I have done it correctly. [code]

View 2 Replies

VS 2010 Generic Collection Queue?

Apr 16, 2011

Ok say I have this Dim MyQueueOfClients as new Queue (Of TcpClient) I also have two threads.

In thread one a TcpListener waits for connections then adds a connected TcpClient to MyQueueOfClients.

MyQueueOfClients.Enqueue (TcpClient)In thread two I then check to see if there are any Clients in MyQueueOfClients. If so I then remove them from the MyQueueOfClients.

MyTcpClient = MyQueueOfClients.Dequeue I think the question Im asking is this thread safe?

Can I Enqueue and Dequeue at the same time from different threads?

Well it helps if you read everything. I have just read this as well

A Queue(Of T) can support multiple readers concurrently, as long as the collection is not modified. Even so, enumerating through a collection is intrinsically not a thread-safe procedure. To guarantee thread safety during enumeration, you can lock the collection during the entire enumeration. To allow the collection to be accessed by multiple threads for reading and writing, you must implement your own synchronization.

View 4 Replies

IDE :: MODI Viewer - Add A "Microsoft Office Document Imaging Viewer Control 12.0" Control To A Form

Mar 29, 2009

I try to add a "Microsoft Office Document Imaging Viewer Control 12.0" control to a form and i'm getting the next exeption: An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I have try to register the next files which throws an exeption when I try to do it:

[Code]...

View 4 Replies

.net - Creating A Generic List Of A Generic Type

Jun 30, 2011

I am trying to create a list of a generic type in vb.net 2.0 framework.
This is the generic type definition:

Public Class GenericParamMap(Of T)
Public Sub New(ByVal pParamName As String, ByVal pPropValue As T)
mParamName = pParamName

[Code]....

The compiler does not allow a "T" in the method's parameter because it's not defined, but I'm not sure how or where to define it. I thought it was okay to have a generic method definition.

View 2 Replies

Generic Cannot Instantiate Instance Of The Generic Type With New?

Feb 8, 2012

I am trying to write a generic method, to avoid code duplication, which will create or activate a Form as an MDI children, based on its type. But I have to lines in error (see comments).

[Code]...

View 4 Replies

Include A Generic Type Parameter In A Lamba Expression (2010)?

Jun 25, 2010

(Not really sure if I phrased the question correctly...) I want to create a lambda expression that would take an Object, attempt to convert it to a passed-in Type, and print to the console whether it was successful or not. At a glance, the lambda expression may seem a pretty silly way to accomplish this task, but I'd really like to know what I'm doing wrong, so I can better grow my skill set.

VS gives me a designer error about the second "T" in the expression below, telling me it isn't defined) This is where I left off:

[Code]...

View 1 Replies







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