POV-Ray : Newsgroups : povray.general : Suggestion for object collection : Re: Suggestion for object collection Server Time
31 Jul 2024 02:29:36 EDT (-0400)
  Re: Suggestion for object collection  
From: Chris B
Date: 10 Jan 2008 15:59:44
Message: <47868740$1@news.povray.org>
"SharkD" <nomail@nomail> wrote in message 
news:web.478684aeaac59e47d410b38f0@news.povray.org...
> "Chris B" <nom### [at] nomailcom> wrote:
>> pps You should comment out the "Axes_macro.inc" include statement in
>> 'spheregrid_demo.pov' so that anyone downloading just the SphereGridMacro
>> contribution doesn't get errors saying that the include file is missing.
>> Another option would be to use the file_exists() function to test whether
>> the person running 'spheregrid_demo.pov' has also downloaded that include
>> file:
>>   #if (file_exists("Axes_macro.inc"))
>>      #include "Axes_macro.inc"
>>       ....
>>   #end
>>
>> Regards,
>> Chris B
>
> OK, I'll do that. Sorry I missed that before uploading (especially since 
> the
> macro contained within include file is called nowhere in the file).
>
> One other question: how do I submit an image with the object to be shown 
> as a
> thumbnail? I looked for this in the submission form, but seem to have 
> missed
> it.
>

The thumbnail 160x120 should have the name of the contribution followed by 
'_thumbnail' (e.g. gridlines_thumbnail.jpg). You can also include a main 
image which will automatically be linked to from the thumbnail. The main 
image should have the same name as the contribution (e.g. gridlines.jpg).

Regards,
Chris B.


Post a reply to this message

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