POV-Ray : Newsgroups : povray.pov4.discussion.general : Loading of Non-SDL Files : Re: Loading of Non-SDL Files Server Time: 22 Nov 2008 22:26:13 GMT
  Re: Loading of Non-SDL Files  
From: Allen
Date: 17 Jan 2008 07:15:00
For this it would also be nice to read the existing material names and their
definitions, and support overriding the materials somehow.

import
{
  obj "plane.obj"
  usemtl "plane.mtl"
  material "surface"
  {
    texture
    {
      pigment { ... }
      finish { .. }
    }
  }
  material "glass"
  {
    ...
  }
  material "tires"
  {
  }
}

Not a very good syntax, but something like that would be nice if loading
external model data.


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.