They probably have no normals, for lighting and standard shading you
need normals 



Gordon Tomlinson
Product Manager 3d Technology & Project Wyvern
Overwatch(r)
An Operating Unit of Textron Systems

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Suvajit
Sengupta
Sent: Monday, April 19, 2010 12:59 AM
To: [email protected]
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. 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 I want to apply Light/Shading to the building models to make the
buildings appear realistic and visually distinct.

I tried applying Materials and Textures to the StateSet of the Geode
that contain the Geometry of the buildings but to no avail.

Need some directions to go forward on this.
Using OSG 2.9.7 on VS2009 .


... 


Thank you!

Cheers,
Suvajit

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




Attachments: 
http://forum.openscenegraph.org//files/3dshp_161.jpg


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to