Re: [osg-users] Etende light source example
On 02/16/2012 05:38 PM, Sajjadul Islam wrote: So it is posible to implement it with GLSL and could you provide me with some reference materials ? A quick Google search for (GLSL area lights) found this: http://www.gamedev.net/topic/552315-glsl-area-light-implementation/ --J ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Etende light source example
Hi, Is there any example of extended light source for example , rectangular light source inside the osg repository. I could not locate it in the repository, please help me to locate if i missed it there. Thank you! Cheers, Sajjadul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45505#45505 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Etende light source example
OpenGL FFP lights are point light sources only. Generally you have to simulate non-point light sources with arrays of lights (FFP) or a custom shader (GLSL). No examples of either of these are included in OSG. What are you trying to accomplish? -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Etende light source example
On 02/16/2012 07:57 AM, Sajjadul Islam wrote: Hi, Is there any example of extended light source for example , rectangular light source inside the osg repository. I could not locate it in the repository, please help me to locate if i missed it there. I think OSG is currently limited to the OpenGL light sources (point, spot, and directional light sources, as well as ambient light). There isn't currently any code to handle global illumination in OSG, so area lights (like rectangles) don't really mean much anyway. --J ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Etende light source example
Chris Hanson wrote: OpenGL FFP lights are point light sources only. Generally you have to simulate non-point light sources with arrays of lights (FFP) or a custom shader (GLSL). No examples of either of these are included in OSG. What are you trying to accomplish? -- Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/ (http://www.alphapixel.com/) Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android -- Post generated by Mail2Forum So it is posible to implement it with GLSL and could you provide me with some reference materials ? I am experimenting and trying to implement summed area variance shadow mapping with extended light source. And i need to define this extended light source first . Regards Sajjad -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45518#45518 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org