Hi Jason,
 
thanks for your emails. I have not been able to get your osg component to work.
 
I have updated the project references to the osgdotnet wappers and tao.opengl and tao.platform.windows to where they are on my system.
 
the build goes ok, but trying to run the program or view the component in the form designer causes an error, where it says
 
Could not load file or assembly 'Osg.NET, Version=0.8.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Hide    

at OSGTesting.OSGControl..ctor()

The variable 'osgControl1' is either undeclared or was never assigned.

Hide    Edit

at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression _expression_)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression _expression_)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
 
then causes visual c# express 2005 to crash and close.
 
As i mentioned i have referenced the wrappers ok, and the build works ok, but so far i cannot work out what the problem is.
 
I am using the latest download of the prebuilt wrappers on the OSG website, and the dll's
from Tao framework, and the runtime DLL's are in the directories.
 
I am using OSG 2.0.0 as specified at the wrapper download page.
 
If you have any thoughts it would be appreciated.
 
Peter DeSantis
 
 
> Hi Gavin,

Peter DeSantis sent me an email offline and I sent him the project file I'm using.  Here is the entire project.  It is a VS2005 Express solution and you'll need to update your references to your copyof the wrappers.

Thanks,

Jason


On 10/3/07, Gavin Pailing <[EMAIL PROTECTED] >wrote:Hi,

Have you made any progress with this as I think that I am having the same
problem?

I've been able to build osgDotNet generator and the wrappers and verify that
it is working using the same quad code which runs osgViewer full screen.  I
also followed Jason's example of using TAO to host osg content.  It appears
that the TAO control is working fine (assuming that a plain black background
is to be expected by default) but the OSG content does not appear.

These are my first efforts at using OSG so I apologise if I'm missing
anything obvious.

Regards,

Gavin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto: [EMAIL PROTECTED] On Behalf Of Christoffer
Markusson
Sent: 19 September 2007 14:13
To: [email protected]
Subject: Re: [osg-users] osgDotNet and Windows Forms

Hi Jason,

Thanks for your help!

I've used your code to create a controller in Visual Studio. But when
I try to use the controller in a project it dosen't render anything.

Could you please give me an example of how you use your controller?

Christoffer

>2007/9/19, Jason Beverage <[EMAIL PROTECTED]>:
>Hi Christoffer,
>
>Here is a simple control that uses TAO to display an OSG window that I've
>used for testing.
>
>Thanks!
>
>Jason
>

>>2007/9/18, Christoffer Markusson <[EMAIL PROTECTED]>:
>> I'm using OSG together with C# in Visual Studio 2005 using the
osgDotNet wrappers.
>>
>>Is there an easy way to integrate and display an OSG window in a
Windows Form? >>Does anyone have example code?
>>
>> Christoffer
>>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

<



----------------------- Original Message -----------------------
  
From: "Jason Beverage" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], "OpenSceneGraph Users" <[email protected]>
Date: Wed, 3 Oct 2007 12:27:33 -0400
Subject: Re: [osg-users] osgDotNet and Windows Forms
  
Hi Gavin,

Peter DeSantis sent me an email offline and I sent him the project file I'm using.  Here is the entire project.  It is a VS2005 Express solution and you'll need to update your references to your copy of the wrappers.

Thanks,

Jason

On 10/3/07, Gavin Pailing <[EMAIL PROTECTED] > wrote:
Hi,

Have you made any progress with this as I think that I am having the same
problem?

I've been able to build osgDotNet generator and the wrappers and verify that
it is working using the same quad code which runs osgViewer full screen.  I
also followed Jason's example of using TAO to host osg content.  It appears
that the TAO control is working fine (assuming that a plain black background
is to be expected by default) but the OSG content does not appear.

These are my first efforts at using OSG so I apologise if I'm missing
anything obvious.

Regards,

Gavin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto: [EMAIL PROTECTED]] On Behalf Of Christoffer
Markusson
Sent: 19 September 2007 14:13
To: [email protected]
Subject: Re: [osg-users] osgDotNet and Windows Forms

Hi Jason,

Thanks for your help!

I've used your code to create a controller in Visual Studio. But when
I try to use the controller in a project it dosen't render anything.

Could you please give me an example of how you use your controller?

Christoffer

>2007/9/19, Jason Beverage <[EMAIL PROTECTED]>:
>Hi Christoffer,
>
>Here is a simple control that uses TAO to display an OSG window that I've
>used for testing.
>
>Thanks!
>
>Jason
>

>>2007/9/18, Christoffer Markusson <[EMAIL PROTECTED]>:
>> I'm using OSG together with C# in Visual Studio 2005 using the
osgDotNet wrappers.
>>
>>Is there an easy way to integrate and display an OSG window in a
Windows Form? >>Does anyone have example code?
>>
>> Christoffer
>>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to