POV-Ray : Newsgroups : povray.pov4.discussion.general : Loading of Non-SDL Files : Re: Loading of Non-SDL Files Server Time
9 May 2024 06:20:34 EDT (-0400)
  Re: Loading of Non-SDL Files  
From: Allen
Date: 17 Jan 2008 02:15:00
Message: <web.478effe425d67006b8c4b42a0@news.povray.org>
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-2023 Persistence of Vision Raytracer Pty. Ltd.