POV-Ray : Newsgroups : povray.unofficial.patches : Tesselation and mesh data extraction patches : Re: Tesselation and mesh data extraction patches Server Time
13 May 2024 01:24:43 EDT (-0400)
  Re: Tesselation and mesh data extraction patches  
From: Chris Huff
Date: 14 Dec 2000 13:32:54
Message: <chrishuff-482882.13335314122000@news.povray.org>
In article <3a382eaf@news.povray.org>, "Tony[B]" 
<ben### [at] panamac-comnet> wrote:

> Can you make a patch for reading directly from 3DS and other file 
> formats directly? :)

That's a bit different from tesselating an object... :-)
A similar syntax could be used, though...especially if you ignore 
texturing information and only read geometry:
model_file {
    FORMAT "filename.FORMAT"
    ...maybe stuff for resizing to fit in a specified bounding box(which 
could save much guesswork with scaling), converting from different 
"handedness"(though that could be done just as well with a 
transformation), etc...also maybe a way to extract specific parts of 
files containing multiple models...
    ...usual modifiers and options...
}

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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