|
 |
On 10/18/2026 6:12 PM, Tor Olav Kristensen wrote:
> Josh English <Jos### [at] joshuarenglish com> 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
|
 |