POV-Ray : Newsgroups : povray.general : Ask a silly question... Server Time
5 Nov 2024 20:19:43 EST (-0500)
  Ask a silly question... (Message 1 to 9 of 9)  
From: Josh English
Subject: Ask a silly question...
Date: 31 Mar 1999 18:12:13
Message: <3702AC2F.47E6F2BD@spiritone.com>
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

From: Margus Ramst
Subject: Re: Ask a silly question...
Date: 1 Apr 1999 01:17:01
Message: <37030F5A.1868DE1C@peak.edu.ee>
The Superpatch has two functions, min_extent() and max_extent() that return
the minimum and maximum coordinates of the object, in other words, its
bounding box. I really don't think you can do this with standard POV
functions.

Margus

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

From: Margus Ramst
Subject: Sorry 'bout that...
Date: 1 Apr 1999 01:34:47
Message: <37031386.C5B262EE@peak.edu.ee>
Damn!! I posted Happy99 again. This is the last time I'm posting from school
>:(
Don't worry, I removed the virus & cancelled the infected post. My last post
is OK. But this SOB is beginning to seriosly annoy me.

Margus


Post a reply to this message

From: Gilles Tran
Subject: Re: Ask a silly question...
Date: 1 Apr 1999 03:14:57
Message: <37032B88.5C79B038@inapg.inra.fr>
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

From: Alan Kong
Subject: Re: Ask a silly question...
Date: 1 Apr 1999 06:05:35
Message: <370352E7.12A5F4C3@compuserveNO-SPAM.com>
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, please do, Gilles. Sounds like a useful feature.

- Alan
---------------------------------------------------------------
" In the beginning of the Year 2000, either the worst fears are
realized and the Year 2000 bug eats some computers or, far more
likely, a lot of people have six months of groceries to eat. "
        - David Blitzer, chief economist for Standard & Poor's.
---------------------------------------------------------------


Post a reply to this message

From: Ken
Subject: Re: Ask a silly question...
Date: 1 Apr 1999 06:50:25
Message: <37035C6C.B75EC3B7@pacbell.net>
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


Try this site for the utility you seek:

http://www2.fwi.com/~parkerr/traces.html

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Josh English
Subject: Re: Ask a silly question...
Date: 1 Apr 1999 11:04:12
Message: <37039923.78E5309E@spiritone.com>
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

From: Gilles Tran
Subject: Re: Ask a silly question... (Tree macro 1.0a available)
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

From: Josh English
Subject: Re: Ask a silly question... (Tree macro 1.0a available)
Date: 1 Apr 1999 17:53:01
Message: <3703F92F.2FA1EA8A@spiritone.com>
So far so good, and it looks amazing!

Gilles Tran wrote:

> 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.