POV-Ray : Newsgroups : povray.advanced-users : Problems with .inc file 'sky' macro Server Time
26 Nov 2024 13:43:39 EST (-0500)
  Problems with .inc file 'sky' macro (Message 1 to 6 of 6)  
From: ranger5
Subject: Problems with .inc file 'sky' macro
Date: 18 Apr 2000 09:24:41
Message: <38fc6219@news.povray.org>
I've seperated my scene into several objects and have written a seperate
.inc file for each object. In each .inc file I define a macro to draw the
object. I then call the macro in the main .pov file. The problem i'm having
is with the sky .inc file.

All the other .inc file macros work when called. The Sky() macro however
refuses to work. I've tried several things such as trying to make a union
object of all the parts of the sky but nothing seems to work, POV-Ray seems
to get hung-up on the fact that i'm calling the Sky_Sphere inside a macro. I
know that the code inside the macro works when I call it from the main .pov
file, but I really need to seperate out each component of the scene into
it's own file to aid future re-useability.

I've included .pov and .inc files as a zip file attachment to this posting,
if anyone can help by making suggestions or posting some working code back
to the newsgroup I would be eternally thankful.

Thanks
Paul


Post a reply to this message


Attachments:
Download 'sky.zip' (1 KB)

From: Ken
Subject: Re: Problems with .inc file 'sky' macro
Date: 18 Apr 2000 15:41:55
Message: <38FCBA3E.898CC60F@pacbell.net>
ranger5 wrote:

> I've included .pov and .inc files as a zip file attachment to this posting,
> if anyone can help by making suggestions or posting some working code back
> to the newsgroup I would be eternally thankful.

I have noticed that you have multi-posted this same message to several
groups on this news server. We ask that you do not multi-post messages
here. There is no real need for it and it consumes precious news server
resources. Additionaly we do not allow people to post binary attachements
in the non binaries groups. You should have posted your source in the
povray.binaries.scene-files groups and provided a reference to it in
your post to this group.

Please take the time to visit the announcements group on this server
and read the various posting guidelines we have provided.

Be patient, someone will get around to answering your question for
you.

Thank you for your co-operation,

-- 
Ken Tyler - POV-Ray Techical Assistance Group Member


Post a reply to this message

From: ranger5
Subject: Re: Problems with .inc file 'sky' macro
Date: 18 Apr 2000 16:25:57
Message: <38fcc4d5$1@news.povray.org>
Sorry about the multi-posting Ken, I posted to other groups after my initial
posting went unanswered after several hours.
I won't multi-post again and i'll make sure any future postings are made in
the appropriate group.
I don'y suppose there is any chance of some serious help on my 'sky' macro
problem is there? I'm getting desperate!

Thanks
Paul


Ken <tyl### [at] pacbellnet> wrote in message
news:38FCBA3E.898CC60F@pacbell.net...
>
>
> ranger5 wrote:
>
> > I've included .pov and .inc files as a zip file attachment to this
posting,
> > if anyone can help by making suggestions or posting some working code
back
> > to the newsgroup I would be eternally thankful.
>
> I have noticed that you have multi-posted this same message to several
> groups on this news server. We ask that you do not multi-post messages
> here. There is no real need for it and it consumes precious news server
> resources. Additionaly we do not allow people to post binary attachements
> in the non binaries groups. You should have posted your source in the
> povray.binaries.scene-files groups and provided a reference to it in
> your post to this group.
>
> Please take the time to visit the announcements group on this server
> and read the various posting guidelines we have provided.
>
> Be patient, someone will get around to answering your question for
> you.
>
> Thank you for your co-operation,
>
> --
> Ken Tyler - POV-Ray Techical Assistance Group Member


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Problems with .inc file 'sky' macro
Date: 18 Apr 2000 16:47:48
Message: <38fcc9f4$1@news.povray.org>
In article <38fc6219@news.povray.org> , "ranger5" <ran### [at] freenetcouk> 
wrote:
> I've seperated my scene into several objects and have written a seperate
> .inc file for each object. In each .inc file I define a macro to draw the
> object. I then call the macro in the main .pov file. The problem i'm having
> is with the sky .inc file.
>
> All the other .inc file macros work when called. The Sky() macro however
> refuses to work. I've tried several things such as trying to make a union
> object of all the parts of the sky but nothing seems to work, POV-Ray seems
> to get hung-up on the fact that i'm calling the Sky_Sphere inside a macro. I
> know that the code inside the macro works when I call it from the main .pov
> file, but I really need to seperate out each component of the scene into
> it's own file to aid future re-useability.

You are using

  object{Sky()}

and your macro starts with

  sky_sphere {


This is wrong. You cannot put a sky sphere in an object (or make a union)
because a sky sphere is not a "real" object.  Please read the POV-Ray user
manual regarding sky spheres and how to use them.  To solve your problem,
just use

  Sky()

> I've included .pov and .inc files as a zip file attachment to this posting,
> if anyone can help by making suggestions or posting some working code back
> to the newsgroup I would be eternally thankful.

In article <38fcc4d5$1@news.povray.org> , "ranger5" <ran### [at] freenetcouk>
wrote:
> Sorry about the multi-posting Ken, I posted to other groups after my initial
> posting went unanswered after several hours.
> I won't multi-post again and i'll make sure any future postings are made in
> the appropriate group.

It would be good if you could cancel your posts in the other groups. Read up
in your newsreader help file how to cancel (= delete) posts to a newsgroup.


      Thorsten


____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Ken
Subject: Re: Problems with .inc file 'sky' macro
Date: 18 Apr 2000 17:02:50
Message: <38FCCD39.B906F104@pacbell.net>
Thorsten Froehlich wrote:

> This is wrong. You cannot put a sky sphere in an object (or make a union)
> because a sky sphere is not a "real" object.  Please read the POV-Ray user
> manual regarding sky spheres and how to use them.

The same is also true of the other "virtual" lighting effects in POV-Ray
including the Fog, Rainbow, and Background features.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: ranger5
Subject: Re: Problems with .inc file 'sky' macro
Date: 18 Apr 2000 17:48:10
Message: <38fcd81a@news.povray.org>
Thanks for your help guys. I've cancelled the other postings.

Paul


Post a reply to this message

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