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