smcq
Tourist
Reged: 06/11/05
Posts: 234
Loc: Salt Lake City, Utah
|
|
Just intalled 693 and, much to my dread, seeing aberrant polygon color behavior. Upon inspecting the troublesome files via edit in GE PRO, the colors chosen are as they should be, but rendering otherwise. Choosing different colors makes no difference. Black seems the default rendering color in many, not all, cases, no matter what I choose.
In attached file, the lowest level folders share style. Inspect them, comparing chosen color with rendered color. Funerial black where color should prevail, on my XP Home system.
These polygons were exported from SketchUp using the old, GE produced kml exporter, and colorized in GE. All was well until this upgrade. That shouldn't be a problem, as colors should be responsive to fresh choices in GE, but they are not.
At the very least, it should be possible to choose the colors freshly and see them rendered as such, but this is not possible. Am I being redundant? Of course, how else does one get attention in this world?
Have restarted, rebooted and all that tired jazz ad nauseum.
SMcQ
-------------------- Just another user, not an authority.
Edited by smcq (10/26/05 02:05 PM)
|
ink_polaroid
Sysop
Reged: 01/01/05
Posts: 1868
Loc: SF Bay Area, CA
|
|
So this is a winding order issue. Polygons have two sides, and they are determined by the winding order -- clockwise or anticlockwise -- of the face's vertices.
Previously, GE didn't care about polygon winding orders as both sides received the same lighting. Now, however, we use dynamic lighting, so the winding order is very important. (For reference, both we and SketchUp (and most other 3D programs) use the right-hand rule, where surface normals are declared positive with an anticlockwise winding order.) If polygons have the "wrong" order, they will not be coloured correctly.
Judging from your model, it looks like almost all of the faces have the wrong winding order, which is actually a good thing as it's trivial to fix this in SketchUp. Load up your model, select all faces (ctrl-a) right-click on one of them and select reverse faces.
Note that SketchUp also differentiates between the front and back of a face, and colours them accordingly. You should ensure that your models have a consistent winding order before exporting to GE.
(SketchUp does a great job of keeping things consistent, but problems may be encountered when importing externally authored 3ds/dwg files. Fixing the orientation of faces can be a real issue in these instances.)
|
xav
Tourist
Reged: 08/05/05
Posts: 141
Loc: Munich, Germany
|
|
Details of the "winding order - normal vectors" isssue can be found in this post.
I have the impression that the shading of polygons is now much better than it was before. As I remember there was no different shading of polygons in the older versions.
xav
-------------------- I know my song well before I start singing ...
|
|