POV-Ray : Newsgroups : povray.general : Blob of a Union : Re: Blob of a Union Server Time
6 Oct 2024 09:12:39 EDT (-0400)
  Re: Blob of a Union  
From: clipka
Date: 17 Jan 2014 11:02:15
Message: <52d95407@news.povray.org>
Am 17.01.2014 07:07, schrieb Simulator:

>> You should then be able to modify the vertex_geometry as follows:
>>
>> #declare vertex_geometry = blob
>> {
>> #declare vertctr=0;
>> #while (vertctr < nverts0000)
>> #declare vertvalue=ptscalars[verts[vertctr][1]];
>>            VertGlyph(
>>              VertScaleFunction(vertvalue),
>>              pts[verts[vertctr][1]]
>>          )
>> #declare vertctr = vertctr+1;
>> #end
>> };
>>
>> (BTW, POV-Ray now supports a #for statement that makes counted loops
>> easier.)
>
>
> I have tried this an the above suggestions. I still get the same error "Need at
> least one component in blob."

Are you sure "nverts0000" is set to a positive value?


Post a reply to this message

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