POV-Ray : Newsgroups : povray.newusers : <no subject> : Re: <no subject> Server Time
3 Jul 2024 02:26:46 EDT (-0400)
  Re: <no subject>  
From: Christian Froeschlin
Date: 9 Jul 2011 18:45:53
Message: <4e18da21$1@news.povray.org>
> the texture looks like that:
> 
> texture
>    {
..
>    }
>   }


If the exported code contains a literal embedded texture
for each object there is no easy solution I think. Basically
you need a perl script or similar to find the texture blocks
and replace them - this may require to count opening and closing
curly braces after texture keyword, although if the export is
consistently indented it may suffice to scan for "    }".

An alternative may be to use a different export format from your
source software (e.g. *.obj file) and convert using poseray.


Post a reply to this message

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