POV-Ray : Newsgroups : povray.advanced-users : Coding a warp in SDL Server Time: 26 Feb 2021 22:20:17 GMT
  Coding a warp in SDL (Message 1 to 1 of 1)  
From: Bald Eagle
Subject: Coding a warp in SDL
Date: 9 Feb 2021 18: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
SDL.

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-2008 Persistence of Vision Raytracer Pty. Ltd.