Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Applying materials

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2003
    Location
    Santiago, Cuba
    Posts
    13

    Applying materials

    Im programming a 3ds file loader, but I have a doubt in some details. If Im not wrong, material info is composed of an RGB color (3 bytes) and sometimes also contains an image file name. The problem is that I dont know how to apply a texture and then a color to the same polygon. Can somebody ilustrate this with a simple code or something?
    programming | games | linux >> my_blog

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2003
    Posts
    680

    Re: Applying materials

    maybe you should learn some basics about lighting and texturing. It would take a lot of space to explain this here, and there is a lot of documentation about it.

Posting Permissions

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