Part of the Khronos Group
Results 1 to 3 of 3

Thread: Sketchup Collada

  1. #1
    Junior Member
    Join Date
    Jul 2010

    Sketchup Collada

    I'm attempting to parse collada files that have been produced in Sketchup (free) via the Google Earth export function. The files are displayed in OpenGL. Everything is working fine except for my materials. The colors do not show up. I thought I would check the basics, and start with the normals. I'm deindexing the positions, normals, and texture coordinates for use in OpenGL. I've confirmed my deindexer against Collada Refinery outputs. The question I have is, are the sketchup normals vertex or surface normals? I've been assuming that they are vertex normals. The textured triangles are coming out alright using the same methods. The collada file is in z-up and opengl is y-up, do I need to convert the normals so that they are y-up? I guess that's more of an opengl question.

    Any help is appreciated.


  2. #2
    Senior Member
    Join Date
    Aug 2004

    Re: Sketchup Collada

    COLLADA meshes contain per-vertex attributes.

    Yes you also need to rotate the normals to match your run-time environment.

  3. #3
    Junior Member
    Join Date
    Jul 2010

    Re: Sketchup Collada

    Thanks for the reply! It gets me on to the next step.


Similar Threads

  1. sketchup and error in render
    By netskink in forum Implementation Discussions
    Replies: 1
    Last Post: 10-28-2011, 03:19 PM
  2. Importing COLLADA into SketchUp - line colours
    By asm in forum Content Discussions
    Replies: 4
    Last Post: 01-21-2011, 08:57 PM
  3. What's the deal with SketchUp?
    By GiantBen in forum Implementation Discussions
    Replies: 6
    Last Post: 07-07-2010, 12:05 AM
  4. Collada - Sketchup - Support - Thread
    By Staatsfeind in forum Implementation Discussions
    Replies: 3
    Last Post: 06-30-2009, 07:22 PM
  5. Sketchup file format
    By skunkwerk in forum Implementation Discussions
    Replies: 1
    Last Post: 09-07-2007, 11:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts