Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: OpenGL

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    3

    OpenGL

    I was wondering if there is opensource code available that will load geometry from a collada file into and OpenGL application?

    Thanks,
    Stu

  2. #2
    Yes, the sample COLLADA viewer is an OpenGL application and it comes with source code:


    **EDITED**, this was obsolete information, please see further in this thread.
    -- Remi

  3. #3
    Junior Member
    Join Date
    Apr 2006
    Posts
    6

    collada viewer

    I am looking for the COLLADA viewer source code, but the link above mentioned does not exist.
    Where may I find it?
    Thanks

  4. #4
    Junior Member
    Join Date
    Mar 2006
    Location
    Spain
    Posts
    24

    Re: collada viewer

    Quote Originally Posted by Douglas
    I am looking for the COLLADA viewer source code, but the link above mentioned does not exist.
    Where may I find it?
    Thanks
    I'm also interested... is there any viewer for collada specificacion 1.4 ?

  5. #5
    Senior Member
    Join Date
    Aug 2005
    Location
    California
    Posts
    165
    We have plans for releasing a sample COLLADA viewer on the sourceforge COLLADA DOM project. It is called COLLADA RT and it is a sample for how to use the DOM to load COLLADA and turn it into a renderable format using opengl.

    Our engineer who works on the COLLADA RT is currently on vacation for this week but we plan on our public release shortly after he returns.

    -Andy

  6. #6
    melon
    Guest
    I'm really looking forward to it. A small sample of how to use COLLADA DOM makes it much easier to understand how the DOM is structured than figuring everything out yourself ...

  7. #7
    Senior Member
    Join Date
    Aug 2005
    Location
    California
    Posts
    165
    The COLLADA RT sample code is now available at sourceforge.
    http://sourceforge.net/projects/collada-dom/

    -Andy

  8. #8
    Junior Member
    Join Date
    Jun 2006
    Location
    Brasil
    Posts
    2

    Problems compiling COLLADA_RT

    I've problems with make:
    Code :
    kurumin@pcton:~/sources/COLLADA_RT$ export COLLADA_DOM_VERSION=1.4                 
    kurumin@pcton:~/sources/COLLADA_RT$ make
    make -C platform/linux
    make[1]: Entrando no diretório `/home/kurumin/sources/COLLADA_RT/platform/linux'
    ccache g++ -c -g -O2 -std=c++98 -W -Wall  -I/home/kurumin/sources/COLLADA_RT/../COLLADA_DOM/include -I../../include -I../../include/1.4 -I/home/kurumin/sources/COLLADA_RT/../COLLADA_FX/include -I/home/kurumin/sources/COLLADA_RT/../COLLADA_DOM/include/1.4  -DCOLLADA_DOM_VERSION -DCRT_PLATFORM_INCLUDE='"CrtLinux.h"' -DCFX_PLATFORM_INCLUDE='"cfxLinux.h"' -MMD -o objs/../../src/Crt/CrtCommonCg.cpu.o ../../src/Crt/CrtCommonCg.cpp
    ../../include/Crt/CrtLinux.h:63: error: 'void (* glActiveTexture)(GLenum)' redeclared as different kind of symbol
    /usr/include/GL/gl.h:1882: error: previous declaration of 'void glActiveTexture(GLenum)'
    ../../include/Crt/CrtLinux.h:64: error: 'void (* glClientActiveTexture)(GLenum)' redeclared as different kind of symbol
    /usr/include/GL/gl.h:1884: error: previous declaration of 'void glClientActiveTexture(GLenum)'
    make[1]: ** [objs/../../src/Crt/CrtCommonCg.cpu.o] Erro 1
    make[1]: Saindo do diretório `/home/kurumin/sources/COLLADA_RT/platform/linux'
    make: ** [platform/linux-subdir-build] Erro 2
    kurumin@pcton:~/sources/COLLADA_RT$

    someone can help me ?
    if ( talent < needed ) { return effort ^ 2; } // if it will not be able to be distinguished for the talent, is successful for the effort.

  9. #9
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771
    Make sure your Cg and OpenGL installations are compatible versions.

  10. #10
    Junior Member
    Join Date
    Jun 2006
    Location
    Brasil
    Posts
    2
    Quote Originally Posted by marcus
    Make sure your Cg and OpenGL installations are compatible versions.
    Ok... but what the compatibles versions of Cg and OpenGL ?
    I'm using linux with OpenGL 1.2 and the Lastest Cg version

    Tks for reply.
    if ( talent < needed ) { return effort ^ 2; } // if it will not be able to be distinguished for the talent, is successful for the effort.

Page 1 of 2 12 LastLast

Posting Permissions

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