Re: [osg-users] Can I run OSG even on 128MB RAM grapics card

2012-09-24 Thread Ulrich Hertlein
Hi Koduri,

On 21/09/12 22:17, Koduri Lakshmi wrote:
 I did a sample program to render a model using OSG.
 
 I created a complex model from 3dsmax having  1lack of vertices.
 I exported it as OSG using OSGExporter. I used optimization techniques to 
 reduce size
 of the final osg file (don't know whether the vertexes are optimized or not ).
 
 It renders very well on the system having NVIDIA GeForce 8400GS with a RAM of 
 512 MB graphics card. 
 
 Now when I run this on a system having Intel graphics card with 128 MB RAM 
 then the
 performance is very poor. I did a small transformation from left to right. 
 The moving is
 sooo slow and getting
 Scaling Image from 640 by 480 to 512 by 512 on command prompt (for textures 
 of the model).

Scaling the textures will kill performance.

- if your hardware does not support non-power-of-two textures then rescale them 
offline.
- if you're running out of texture memory scale them down, e.g. 128x128 rather 
than 512x512.

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


Re: [osg-users] Can I run OSG even on 128MB RAM grapics card

2012-09-23 Thread Sergey Polischuk
Hi

vram isnt issue as your model + framebuffer uses only small part of it.
Post stats you get with osg StatsHandler, as we dont even know where your 
program spending time, and also what exactly you mean by jerky.
If you are getting low fps - may be you are using some gl modes which switch 
driver to software emulation? Also, there are couple of useful guides about 
optimizing stuff to run on intel cards, check intel site for those.

Cheers,
Sergey.

22.09.2012, 12:39, Koduri Lakshmi ankiredd...@gmail.com:
 Hi Christian,

 Thank you very much for the help.

 I gone through some of the OSG posts saying that the OSG will not run on 
 Intel 128 MB VRAM's.

 But I have a project which should run even on Intel 128 MB VRAM (System 
 brought say 5 years back). Because I can't ask end users to upgrade their 
 VRAM only for my application.

 I optimized my model from  lack vertices,  1lack polygons to nearly 14000 
 vertices and 14000 vertices. I set simple textures. I exported this from 3ds 
 max as OSG model. The final size of the OSG model comes down from 25MB to 
 4.3MB.

 But still my animation (transformation) is jerky.

 Is there any chance to optimize in model or in C++ code to make animation 
 smooth. Or upgrading VRAM is only the solution?

 ...

 Thank you!

 Cheers,
 Hemamcs

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

 ___
 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] Can I run OSG even on 128MB RAM grapics card

2012-09-22 Thread Koduri Lakshmi
Hi Christian,

Thank you very much for the help.

I gone through some of the OSG posts saying that the OSG will not run on Intel 
128 MB VRAM's.

But I have a project which should run even on Intel 128 MB VRAM (System brought 
say 5 years back). Because I can't ask end users to upgrade their VRAM only for 
my application.

I optimized my model from  lack vertices,  1lack polygons to nearly 14000 
vertices and 14000 vertices. I set simple textures. I exported this from 3ds 
max as OSG model. The final size of the OSG model comes down from 25MB to 4.3MB.

But still my animation (transformation) is jerky.

Is there any chance to optimize in model or in C++ code to make animation 
smooth. Or upgrading VRAM is only the solution?


... 

Thank you!

Cheers,
Hemamcs

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




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


[osg-users] Can I run OSG even on 128MB RAM grapics card

2012-09-21 Thread Koduri Lakshmi
Hi,

I did a sample program to render a model using OSG.

I created a complex model from 3dsmax having  1lack of vertices.
I exported it as OSG using OSGExporter. I used optimization techniques to 
reduce size of the final osg file (don't know whether the vertexes are 
optimized or not ). 

It renders very well on the system having NVIDIA GeForce 8400GS with a RAM of 
512 MB graphics card. 

Now when I run this on a system having Intel graphics card with 128 MB RAM then 
the performance is very poor. I did a small transformation from left to right. 
The moving is sooo slow and getting Scaling Image from 640 by 480 to 512 by 512 
on command prompt (for textures of the model).

My final file size is nearly 25MB. 

If I test the same program with 2MB of file then the transformation is a bit 
better.

My doubt is can I improve the performance of my program even on 128MB video RAM 
for a heavy models?

Is there any technique to optimize and to improve the performance?





... 

Thank you!

Cheers,
Koduri

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




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


Re: [osg-users] Can I run OSG even on 128MB RAM grapics card

2012-09-21 Thread Christian Buchner
A lot of the older Intel graphics cards do the vertex transformations
(TL, vertex shaders etc) on the CPU. If your scene has lot of
vertices, you will feel it.

If you need the performance to be acceptable on Intel cards, you have
to account for that - for example by adding dynamic level of detail
depending on graphics capabilities.

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