POV-Ray : Newsgroups : povray.binaries.images : A 3D Lindenmayer system plant : Re: A 3D Lindenmayer system plant Server Time
4 Nov 2026 11:20:14 EST (-0500)
  Re: A 3D Lindenmayer system plant  
From: Josh English
Date: 26 Oct 2026 14:37:02
Message: <6adf9dce$1@news.povray.org>
On 10/18/2026 6:12 PM, Tor Olav Kristensen wrote:
> Josh English <Jos### [at] joshuarenglishcom> wrote:
>>
>> I have the same conceptual problem in my solution to these.
>>
>> I keep trying to model a proper mesh2 object for a complete surface and
>> I should probably just be happy enough to create four triangles to mimic
>> the conical or cylindrical shape of each segment and call it a day.
>>
>> I also was doing my generation scripts in Python, but I'm trying to
>> figure out how to do them purely in SDL.
> 
> Hi Josh
> 
> Yes, gathering the triangles into a mesh2 is cumbersome, especially if one wants
> to allow for stacked polygons.
> 
> Do you want gather all the triangles from a full expansion of a L-system into a
> single mesh2 ?
> 
> --
> Tor Olav

That was my plan, as silly at it seems. I've been playing with arrays 
and I could probably hack together a simple method of counting the 
necessary vectors and then calculating them by manipulating a stack. 
It's the SDL that's proving challenging. It wasn't designed for this 
sort of tomfoolery.

Josh


Post a reply to this message

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