POV-Ray : Newsgroups : povray.general : Ask a silly question... : Re: Ask a silly question... (Tree macro 1.0a available) Server Time
12 Aug 2024 03:27:56 EDT (-0400)
  Re: Ask a silly question... (Tree macro 1.0a available)  
From: Gilles Tran
Date: 1 Apr 1999 11:59:50
Message: <3703A690.738EBB7E@inapg.inra.fr>
You got it. It's in povray.binaries.utilities.
The lower/upper corner of the containing box is displayed on screen after the
end of the parsing, and a commented line is added at the end of the generated
file :
// Tree in box{<-20.8239,-3.15052,-15.6178>,<16.2539,48.6219,22.4758>
pigment{Green}}
If it's buggy let me know (I just tested it on extree1.pov).
Gilles Tran.

Josh English wrote:

> That would be great... if it wouldn't be too much trouble I know I'd
> appreciate it. This is a great macro and the trees look great, I just can't
> place them properly.
>
> Thanks, Josh
>
> Gilles Tran wrote:
>
> > If you want, I can release a version of the tree macro that gives you the
> > upper and lower corners of the containing box. It's very easy actually,
> > since all the objects positions are known in <x,y,z> coordinates in the
> > macro. In fact it's so handy that I wish I had thought of that earlier...
> > Thanks.
> > Gilles Tran
> >
> > Josh English wrote:
> >
> > > I am almost done with a scene I'm worknig on and I need to replace the
> > > cylinder and sphere "trees" with something a bit more realistic. Gilles
> > > Trans tree macro is amazing, and there's always LParser, but the biggest
> > > problem I have is that I can't find the outer extremities of these
> > > shapes to scale them and place them properly in my scene.
> > >
> > > I remember that there was an include file of some sort that could find
> > > the outer extremities of any object and build a frame around it... it
> > > was also recommended to help place a text object in the file. Does
> > > anyone remember this or have I been hallucinating again?
> > >
> > > Josh English
> > > english/@spiritone.com


Post a reply to this message

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