Re: [osg-users] Using HDRI to light models...

2010-03-02 Thread alessandro terenzi
Thanks I'll have a look at osgvertexprogram. Regards. Alessandro On Tue, Mar 2, 2010 at 4:52 PM, wrote: > Hi Alessandro, > > For image-based lighting, you can have a look in the Orange Book (OpenGL > Shading Language), chapter 12 (Lighting). There are some shaders for > image-based lighting wit

Re: [osg-users] Using HDRI to light models...

2010-03-02 Thread alessandro terenzi
Is there an example in OSG that uses IBL? Alessandro On Tue, Mar 2, 2010 at 4:21 PM, Roland Smeenk wrote: > Hi Alessandro, > > when Googling look for Image Based Lighting (IBL) and light probe. IBL is > typically done with a (HDR) cubemap. One for diffuse lighting and one for > specular lightin

Re: [osg-users] Using HDRI to light models...

2010-03-02 Thread josselin . petit
Hi Alessandro, For image-based lighting, you can have a look in the Orange Book (OpenGL Shading Language), chapter 12 (Lighting). There are some shaders for image-based lighting with a cube map, and you can use them with a HDR cube map (have a look in the osgvertexprogram for cube map exa

Re: [osg-users] Using HDRI to light models...

2010-03-02 Thread Roland Smeenk
Hi Alessandro, when Googling look for Image Based Lighting (IBL) and light probe. IBL is typically done with a (HDR) cubemap. One for diffuse lighting and one for specular lighting. When combined with HDR postprocessing effects from the osgPPU example this can deliver pretty impressive visual r

Re: [osg-users] Using HDRI to light models...

2010-03-02 Thread J.P. Delport
Hi, alessandro terenzi wrote: Thank you for your suggestions, I'll have a look at osgPPU example... I already have some HDR images but, since I have no experience with HDRI, I'd like to know what possibilities I have in order to use them for lighting...for example I'd like to know about the '

Re: [osg-users] Using HDRI to light models...

2010-03-02 Thread alessandro terenzi
Thank you for your suggestions, I'll have a look at osgPPU example... I already have some HDR images but, since I have no experience with HDRI, I'd like to know what possibilities I have in order to use them for lighting...for example I'd like to know about the 'high level' steps one has to follow

Re: [osg-users] Using HDRI to light models...

2010-03-02 Thread J.P. Delport
Hi, do you already have HDR images? If so, look at the list of plugins, some of them support >8bit input. If not, you can create HDR textures using RTT cameras. See e.g. osgprerender. Do you want to use shaders or fixed pipeline? osgPPU has an HDR example you can also maybe look at. jp ale

[osg-users] Using HDRI to light models...

2010-03-02 Thread alessandro terenzi
I'd like to use HDR images to light my 3D models, how can I achive this with OSG? Is there an example to start with? Thanks. Kind regards. Alessandro ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.c