POV-Ray : Newsgroups : povray.advanced-users : Coding a warp in SDL Server Time
15 Apr 2024 20:58:40 EDT (-0400)
  Coding a warp in SDL (Message 1 to 1 of 1)  
From: Bald Eagle
Subject: Coding a warp in SDL
Date: 9 Feb 2021 13:55:01
Message: <web.6022d979fda163ba1f9dae300@news.povray.org>
So, Mike inquired about whether the vortex had been worked out and added to the
source code, and incorporated into a warp.

It's been a while since I've looked over that part of the source, but I recall
struggling with how to to replicate some of the vector coordinate operations in

I'm also thinking that for something like an atmospheric storm, that having a
somewhat random distribution might be desirable, which may or may not be
something one can do with warps - but maybe they can with turbulence applied?

Or perhaps, given an array of 3D vectors, a #for loop could be used to add
instances of the vortex to a pattern in specified places...?

I am going to get some rest, and maybe the brain will return from holiday.
Until then, maybe someone conversant with warps, functions, or just having an
intuitive idea could suggest an approach.

Post a reply to this message

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