Google
Official Google Earth Download Site

Google Earth Community

Earth >> Models and Annotations

Jump to first unread post. Pages: 1
smcq
Tourist


Reged: 06/11/05
Posts: 234
Loc: Salt Lake City, Utah
serious polygon color bug in build 693
      #172082 - 10/26/05 01:46 PM

View in Google Earth         View in Google Maps (238 downloads)


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)


Post Extras: Print Post   Remind Me!   Report this Post  
ink_polaroidAdministrator
Sysop


Reged: 01/01/05
Posts: 1868
Loc: SF Bay Area, CA
Re: serious polygon color bug in build 693 [Re: smcq]
      #172308 - 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  
xav
Tourist


Reged: 08/05/05
Posts: 141
Loc: Munich, Germany
Re: serious polygon color bug in build 693 [Re: ink_polaroid]
      #172445 - 10/26/05 09:43 PM

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


Post Extras: Print Post   Remind Me!   Report this Post  
Pages: 1




Extra information
0 registered and 9 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 

Print Topic

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

Rating:
Topic views: 2137

Rate this topic

Jump to

earth.google.com    bbs.keyhole.com

*
UBB.threads™ 6.5.1.1