Google
Official Google Earth Download Site

Google Earth Community

Earth >> Models and Annotations

ink_polaroidAdministrator
Sysop


Reged: 01/01/05
Posts: 1868
Loc: SF Bay Area, CA
Re: serious polygon color bug in build 693
      10/26/05 05:28 PM

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.)

Post Extras Print Post   Remind Me!     Report this Post


Entire topic
Subject Posted by Posted on
* serious polygon color bug in build 693 smcq 10/26/05 01:46 PM
. * * Re: serious polygon color bug in build 693 ink_polaroidAdministrator   10/26/05 05:28 PM
. * * Re: serious polygon color bug in build 693 xav   10/26/05 09:43 PM


Extra information
0 registered and 6 anonymous users are browsing this forum.

Moderator:  Hill, Jumble, Kempster, mcshea98, jeffryv, dulce, esterrett, NormB, Frank_McVey, BeadieJay, TheLedge, Cyclonic, no_stranger, LuciaM, tekgergedan, Noisette, danescombe, Michal_Drewniak, mutex, marinerfan, Delta102, bebop 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 2104

Rate this thread

Jump to

earth.google.com    bbs.keyhole.com

*
UBB.threads™ 6.5.1.1