Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-18 Thread Uma Devi Selvaraj
Hi Sebastain,
 
 Thank you so much for the reply. Yeah I have tried in osgviewer and it 
took 10-15 seconds. I have a doubt , does converting .obj or any other models 
to .osg will result in any loss of information.?

... 

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69062#69062





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-18 Thread Robert Osfield
On 18 October 2016 at 09:36, Uma Devi Selvaraj  wrote:
> Hi Robert,
>
>  The size of the model I used is 49675 K. And it is taking more than one 
> hour to render in debug mode and in release mode it is taking 5 mins.

I second Sebastian's suggestions. I can't help feel that you are
mixing up various times to do things - loading and rendering.

Also what does 49675 K refer to?  Number of vertices?  Number of
primitives?  Size on disk with/without textures.

You really need to be more specific if you want help, it really
shouldn’t be down other members of the community to drag all this
stuff out from you.  If you don't have the expertise to do what you
are doing then perhaps you should consider some training or spending
more time on reading books online resources.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-18 Thread Sebastian Messerschmidt



Hi Uma,

Hi Sebastain,

  Sorry  I am unable to load the model, because it is too big for 
attachment(only 10 MB are allowed).
...
Can't you upload it somewhere else? Also compressing with 7Zip Ultra can 
shrink most files a lot.


What about a stats-screenshot? Some info on the file-type/format?
If you want us to be able to help you, we need some more information.

Cheers
Sebastian


Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69055#69055





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-18 Thread Uma Devi Selvaraj
Hi Sebastain,

  Sorry  I am unable to load the model, because it is too big for 
attachment(only 10 MB are allowed).   
... 

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69055#69055





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-18 Thread Sebastian Messerschmidt



Am 10/18/2016 um 10:36 AM schrieb Uma Devi Selvaraj:

Hi Robert,

 The size of the model I used is 49675 K. And it is taking more than one 
hour to render in debug mode and in release mode it is taking 5 mins.
Do you mean loading? Can you provide the model for testing? Or at least 
give some additional information (file format, external nodes, number of 
nodes/ screenshot of the complete stats)


Cheers
Sebastian


...

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69053#69053





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-18 Thread Uma Devi Selvaraj
Hi Robert,

 The size of the model I used is 49675 K. And it is taking more than one 
hour to render in debug mode and in release mode it is taking 5 mins.

... 

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69053#69053





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-18 Thread Robert Osfield
Hi Uma,

Changing the OpenThreads backend will not change the performance you
see, it's just changing who sets up the threading.

With performance testing it only makes sense to do it with a release
build as debug build increases the CPU overhead massively and totally
distorts the framerates and crucially the relative balance for what
takes longest in the frame.  The later is important to optimization
work as you want to spend you time most effectively by fixing the
biggest bottlenecks,

As for how to make things faster, you don't provide any information
whatsoever about what your models are, the size of them, the hardware
you are working on, what the relative costs of the different
traversals.  There isn't anything we can do to advise you on such an
open ended question.

For instance, a question for you, I have a piece of string, could you
please tell me how long it?  Can you answer?

Robert.

On 18 October 2016 at 09:09, Uma Devi Selvaraj  wrote:
> Hi all,
>
> Regarding openthreads access violation issue,today I tried to build 
> osg without(BUILD_OPENTHREADS_WITH_QT) cmake options. And I tired to use 
> those exe and dll files to run my example code. I am able to render 3D model 
> Successfully in both debug and release mode, the problem is it is taking too 
> mush of time to render. Is there any to way to render the model quickly.
>  And I just want to know use of BUILD_OPENTHREADS_WITH_QT option.? Will it 
> create any issue if I build OSG without this option.?
>
> ...
>
> Thank you!
>
> Cheers,
> Uma
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69050#69050
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-18 Thread Uma Devi Selvaraj
Hi all,
 
Regarding openthreads access violation issue,today I tried to build osg 
without(BUILD_OPENTHREADS_WITH_QT) cmake options. And I tired to use those exe 
and dll files to run my example code. I am able to render 3D model Successfully 
in both debug and release mode, the problem is it is taking too mush of time to 
render. Is there any to way to render the model quickly.
 And I just want to know use of BUILD_OPENTHREADS_WITH_QT option.? Will it 
create any issue if I build OSG without this option.? 

... 

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69050#69050





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Uma Devi Selvaraj
Hi all,

Is there any problem in any my example code.?? 

... 

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69048#69048





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Uma Devi Selvaraj
Hi ,

   Thanks for the reply sebastain and robert. Hope I will get help from
osg forum to fix this .
... 

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69039#69039





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Robert Osfield
Hi Uma,

On 17 October 2016 at 12:40, Uma Devi Selvaraj  wrote:
> Hi Robert,
>
>I have used the example code.I have attached code.Yeah I am building 
> OpenThreads with QT in cmake. Yes I am using in single threaded mode since 
> "Qt5 is currently crashing and reporting "Cannot make QOpenGLContext current 
> in a different thread" ".

Thanks for the example.

I personally can't help out here - which is the gist of my previous
post, as I don't have the required Qt/Windows expertise.  This
osg-users mailing list/forum is the correct place for posting these
types of support issues, the experience and expertise of the community
is much bigger than any one person which makes it a real asset.

Hopefully others in the community will be able to chip in and help
resolve the problem.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Uma Devi Selvaraj
Hi Robert,

   I have used the example code.I have attached code.Yeah I am building 
OpenThreads with QT in cmake. Yes I am using in single threaded mode since "Qt5 
is currently crashing and reporting "Cannot make QOpenGLContext current in a 
different thread" ".

... 

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69035#69035





examplecode.rar
Description: Binary data
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Sebastian Messerschmidt

Hi Uma,


Hi Robert,

 Thanks for the reply. Shall I post it in some other forums like 
(osgPlugin,etc) so that I can get any idea ..?
A good portion of the folks here use the mailing list (where the posts 
to the forum are mirrored to), so using a different forum is not likely 
to get you different answers.


Can you give us the the code to a minimal example showing this behavior? 
Also are you building with the OpenThreads with Qt? (CMake option). And 
last not least: Are you using the viewer in singlethreaded mode?


Cheers
Sebastian


...

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69032#69032





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Uma Devi Selvaraj
Hi Robert,
  
 Thanks for the reply. Shall I post it in some other forums like 
(osgPlugin,etc) so that I can get any idea ..? 

... 

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69032#69032





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Robert Osfield
Hi Uma,

On 17 October 2016 at 11:43, Uma Devi Selvaraj  wrote:
>Just now I have installed stable release of OSG 3.4.0. I have tried 
> with both Debug and Release mode. I am getting error message. I have attached 
> it.

I made a mistake earlier in suggesting the OT version you had was the
latest, I checked it against my git checkout without realizing that I
had been doing working on the OSG-3.4 branch a few days ago.

The stack trace error suggests that you have built OT using Qt
threads.  I haven't done this personally - other members of the
community developed the Qt threads support in OT as well as osgQt so I
can't really help out with it as I don't have the specific expertise
or the software platform to test.

For problems that don't involve Qt+OSG I can have a bash, but this
combination I'll have to defer to others in the community as Qt adds
it's own very specific issues.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Uma Devi Selvaraj
Hi Robert,

   Just now I have installed stable release of OSG 3.4.0. I have tried with 
both Debug and Release mode. I am getting error message. I have attached it.


robertosfield wrote:
> Hi Uma,
> 
> The stack trace you have provide doesn't really give us any clues to
> what might be amiss.  Form the OT version it's clear you use a dev
> version of the OSG/OT, there is chance that there is bug lurking in
> the recent OT changes.  I would have expected this to be to appear in
> the debug version.  As the stack trace doesn't tell us which bit of
> code causes the seg fault we don't have a means of working out what
> might be wrong.  Could you do a release build with debug info, you'll
> need to rebuild OT and OSG with this setting, and then your own
> application.
> 
> Robert.
> 
> On 17 October 2016 at 07:08, Uma Devi Selvaraj <> wrote:
> 
> > Hi all,
> > 
> > I am trying to create GUI which renders 3D model using OSG and Qt in 
> > VS2013. I am able render 3D model successfully in Debug mode. but In 
> > release mode i am not able to render 3D model. I am getting access 
> > violation error in OpenThreads and symbol not loaded message. I have 
> > attached screen shots for both.I have used the example code which uses 
> > qtwidget to render the model.
> > 
> > ...
> > 
> > Thank you!
> > 
> > Cheers,
> > Uma
> > 
> > --
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=69021#69021
> > 
> > 
> > 
> > 
> > ___
> > osg-users mailing list
> > 
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > 
> > 
> ___
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  --
> Post generated by Mail2Forum


--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69029#69029



___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Robert Osfield
Hi Uma,

The stack trace you have provide doesn't really give us any clues to
what might be amiss.  Form the OT version it's clear you use a dev
version of the OSG/OT, there is chance that there is bug lurking in
the recent OT changes.  I would have expected this to be to appear in
the debug version.  As the stack trace doesn't tell us which bit of
code causes the seg fault we don't have a means of working out what
might be wrong.  Could you do a release build with debug info, you'll
need to rebuild OT and OSG with this setting, and then your own
application.

Robert.

On 17 October 2016 at 07:08, Uma Devi Selvaraj  wrote:
> Hi all,
>
>I am trying to create GUI which renders 3D model using OSG and Qt in 
> VS2013. I am able render 3D model successfully in Debug mode. but In release 
> mode i am not able to render 3D model. I am getting access violation error in 
> OpenThreads and symbol not loaded message. I have attached screen shots for 
> both.I have used the example code which uses qtwidget to render the model.
>
> ...
>
> Thank you!
>
> Cheers,
> Uma
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69021#69021
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] ot20-Openthreads.dll access violation

2016-10-17 Thread Uma Devi Selvaraj
Hi all,
 
   I am trying to create GUI which renders 3D model using OSG and Qt in 
VS2013. I am able render 3D model successfully in Debug mode. but In release 
mode i am not able to render 3D model. I am getting access violation error in 
OpenThreads and symbol not loaded message. I have attached screen shots for 
both.I have used the example code which uses qtwidget to render the model.

... 

Thank you!

Cheers,
Uma

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69021#69021



___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org