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