POV-Ray : Newsgroups : povray.pov4.discussion.general : Loading of Non-SDL Files : Re: Loading of Non-SDL Files Server Time
9 May 2024 13:22:20 EDT (-0400)
  Re: Loading of Non-SDL Files  
From: Allen
Date: 25 Nov 2008 04:55:00
Message: <web.492bcb6a25d670068f162dfb0@news.povray.org>
I also think it would be nice to have some basic mesh operations while loading.

1. Automatic merging of duplicate vertices as defined by a threshold

3. Automatic subdivision, with support to specify a crease angle

import3d
{
    obj "object.obj"

    // merging of duplicate vertices (before subdivision)
    merge_vertices on
    merge_threshold 0.01

    // subdivision
    crease_angle 30
    subdivide 1
}


Post a reply to this message

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