Re: [osg-users] [3rdparty] 3DShapefile immune to Lighting/Material

2010-04-20 Thread Suvajit Sengupta
Hi Gordon, Yes, now I am able to view the surfaces with shades after adding a normal to the geometries. But it was it of trial and error to set up the normal. I am still not clear theoretically what is a Normal and how a Normal Array for a given geometry is defined. I am trying something to

Re: [osg-users] [3rdparty] 3DShapefile immune to Lighting/Material

2010-04-20 Thread Tomlinson, Gordon
To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] [3rdparty] 3DShapefile immune to Lighting/Material Hi Gordon, Yes, now I am able to view the surfaces with shades after adding a normal to the geometries. But it was it of trial and error to set up the normal. I am still not clear

[osg-users] [3rdparty] 3DShapefile immune to Lighting/Material

2010-04-19 Thread Suvajit Sengupta
Hi, I wanted to read in 3D Shapefile will PolygonZ features and then viewe it in 3D. The shape file contain a set of buildings. I am able to read in the shapefile with SHP plugin and then view it correctly. But the polygon faces are showing in flat bold color as shown in attached image. But now

Re: [osg-users] [3rdparty] 3DShapefile immune to Lighting/Material

2010-04-19 Thread Tomlinson, Gordon
...@lists.openscenegraph.org] On Behalf Of Suvajit Sengupta Sent: Monday, April 19, 2010 12:59 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] [3rdparty] 3DShapefile immune to Lighting/Material Hi, I wanted to read in 3D Shapefile will PolygonZ features and then viewe it in 3D