POV-Ray : Newsgroups : povray.animations : Animation of high density mesh data : Re: Animation of high density mesh data Server Time
28 Jul 2024 12:31:29 EDT (-0400)
  Re: Animation of high density mesh data  
From: Pabs
Date: 26 Jun 2000 22:48:43
Message: <3958162B.87598DBC@nospamthanks.hotmail.com>
>Any idea? Please...
With the persistence option in MegaPOV you must remember that the whole file
is reparsed for each frame so you must use something like the following.
This will ensure that once the mesh has been parsed once it will never be
parsed again.

camera{...}
light_source{...}

#ifndef (mymeshparsed)
mesh{
    ...
    ..
    .
    label TheMesh
}
#declare mymeshparsed = 1;//doesn't matter what the value is but you can't
do just #declare mymeshparsed
#end

Hope I've been of some help
--
Bye
Pabs


Post a reply to this message

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