POV-Ray : Newsgroups : povray.binaries.scene-files : Mobius Macro Newest version - repost : Mobius Macro Newest version - repost Server Time
2 Sep 2024 12:17:53 EDT (-0400)
  Mobius Macro Newest version - repost  
From: Trevor Quayle
Date: 28 Sep 2001 12:07:38
Message: <3bb4a04a$1@news.povray.org>
Oops, hasty post, I found a small mistake in th MobiusO() macro that didn't
allow a single object to be used properly.  This version should have it
fixed.

Mobius(): Creates a mobius from mesh2, now includes thickness!
MobiusP(): Returns position vectors from the mobius to use for placing
objects on the surface.
MobiusO(): Creates a mobius from user-defined objects.
Orient(): Re-orients an object to align x and y axes with specified vector
and normal (I couldn't get the one included in transforms.inc to work
properly)

The macros were created for POV 3.5, I'm not sure if they work for previous
versions or for MegaPOV.

Please let me know of any problems, questions or suggestions you may have.

Enjoy!

-tgq


--
camera{location z*13look_at 0}light_source{15 15looks_like{sphere{0 10
}pigment{rgb 1}finish{ambient 15}}}union{torus{3,0.5rotate x*90}cone{y
*4,.5,-y*8,0}cone{-x*4,.5,x*8,0}pigment{rgb<.7,.6,.4>}finish{ambient 0
diffuse 0reflection{1fresnel on metallic 1}}interior{ior 25}rotate 15}
plane{y,-7pigment{checker rgb 0rgb 1scale 4}finish{diffuse.1}}//   TGQ


Post a reply to this message


Attachments:
Download 'Mobius.mcr.txt' (12 KB)

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