[osg-users] Vizard 3D Model

Jan Ciger jan.ciger at gmail.com
Wed Jul 1 08:33:19 PDT 2015


Hello,

On Wed, Jul 1, 2015 at 5:19 PM, HITESH Singhal <ug201211016 at iitj.ac.in> wrote:
> Hi,
>
> Currently I'm working on a 3D Environment, I need 3D model of a Theater
> Chair (Picture Hall Chairs). Where can I get the same in osg file.

I think that you have got several answers regarding file exporters,
3DS Max and even marketplaces to this question already.

> And how can we create lights in our 3D environment, i.e. to turn on and off
> a light or making a light?

That very much depends on what exactly are you after because there are
several techniques.

OSG supports the OpenGL lights "out of the box". You need to create
them by calling the appropriate functions in your code (search the
documentation for "Light"). I am not sure whether any OSG exporters
support lights. These lights are good for dynamic lighting, but are
fairly computationally expensive and there is only a limited amount of
them (~8 or so) available.

Another option is that you go for "baked lighting" and create
lightmaps in your 3D modelling software (Blender, 3DS Max, Maya, etc.)
Then you export those and use them as textures on your objects. This
is used for static parts of the scene and to give you a photorealistic
look without having to do a lot of computation.

Then there are things like screen space ambient occlusion or image
based lighting and such, but I don't think OSG supports any of that
"out of the box" - you would have to implement that yourself.

However, to me it seems that you have very little experience with 3D
graphics - I strongly suggest that you get one of the OSG books
(http://www.openscenegraph.com/index.php/documentation/books ). All
these basic questions are answered there.

Regards,

Jan.



More information about the osg-users mailing list