|
|
>> vertex_vectors
>> {
>> xdim*ydim
>> #declare row=0;
>> #while (row<ydim)
>> #declare col=0;
>> #while (col<xdim)
>> #declare clrvect=eval_pigment(map, <1/(xdim*2)+col/xdim,
>> 1-(1/(ydim*2)+row/ydim), 1>);
>
> I cannot read that ;-)
>
> Thinking a bit more about this, meshes with loose triangles at least
> have their vertices at the /same/ locations; here there seems to be a
> gap. Either, this is already present in the original DEMs, or the math
> above for the conversion has some errors... Difficult to say.
Even if it has errors it shouldn't introduce gaps as he is using
face_indices to reference the vertices (all 6 triangles using that
vertex will have exactly the same value, even if it is an incorrect value).
Post a reply to this message
|
|