Closed GoogleCodeExporter closed 9 years ago
The oceanExample application is now able to load other models specified on the
command line. They are placed under the OceanScene (like the islands model).
They
don't seem to look quite right (the cessna turns out green, and I didn't expect
the
cow to work because it uses reflection mapping) but the loading works.
I'll do more testing tomorrow to finish this up.
Original comment by jean.sebastien.guay13@gmail.com
on 15 Jun 2009 at 2:30
The problem was simply that the islands texture (generally green) was bleeding
into
untextured models since the OceanScene default scene shader assumes that
texture unit
0 is used for all models. I applied the classic workaround (a 1x1 white texture
at
the root of the scene, which will thus get applied to untextured models) and
it's fine.
Original comment by jean.sebastien.guay13@gmail.com
on 15 Jun 2009 at 1:55
Original issue reported on code.google.com by
jean.sebastien.guay13@gmail.com
on 12 Jun 2009 at 1:43