POV-Ray : Newsgroups : povray.binaries.images : Trunks. Episode 2 Server Time
14 Aug 2024 18:00:43 EDT (-0400)
  Trunks. Episode 2 (Message 1 to 3 of 3)  
From: Gena Obukhov
Subject: Trunks. Episode 2
Date: 6 Oct 2002 01:22:00
Message: <3D9FC759.D06274B6@mail.com>
Corrected birch trunk and added one more trunk -
trunk#5 = trunk#2 + trunk#3
The image was slightly distorted using 'normal' in camera.
I would apriciate your help if you know how to add spline
path to these trunks and how to make it conical.

Gena.


Post a reply to this message


Attachments:
Download 'trunks.jpg' (81 KB)

Preview of image 'trunks.jpg'
trunks.jpg


 

From: Gena Obukhov
Subject: Re: Trunks. Episode 2
Date: 6 Oct 2002 01:23:29
Message: <3D9FC7B5.F55B61CD@mail.com>
See the source in p.b.s.f.

Gena.


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: Trunks. Episode 2
Date: 6 Oct 2002 08:06:29
Message: <3da02745@news.povray.org>
"Gena Obukhov" <obu### [at] mailcom> schrieb im Newsbeitrag
news:3D9FC759.D06274B6@mail.com...
> I would apriciate your help if you know how to add spline
> path to these trunks and how to make it conical.

To make it conical, use instead of

x*x + z*z - 1

somethink like

x*x + z*z - (1-y/30) [to fit into your container].

To make it follow a spline you should declare the spline as a function and
the isosurface function

#declare Spline_Fun= function{ spline{...}}
#declare Iso_Fun=function{}

In the isosurface use somethink like

function{Iso_Fun{x+Spline_Fun(y).x,y,z+Spline_Fun(y).z}}.

A good reference for such methods is the Isosurface tutorial
http://www.econym.demon.co.uk/isotut/index.htm. The described method is also
used in the "New Tricks" section.

Hope that helps!

Good work btw!

Regards,

Marc-Hendrik


Post a reply to this message

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