POV-Ray : Newsgroups : povray.newusers : Using Bolts.inc Server Time
27 Nov 2024 21:59:53 EST (-0500)
  Using Bolts.inc (Message 1 to 2 of 2)  
From: Dennis Borree
Subject: Using Bolts.inc
Date: 24 Apr 2002 21:06:04
Message: <3cc7567c@news.povray.org>
I am very new  at using POV-RAY 3.1g. I have found bolts.inc and am having
trouble getting it to make bolts. There is no instructions on how to use it.
I have put it in #include "bolts.inc" but do not know how to get it to make
a bolt. Any help found be greatly appreciated.
Thanks in advance,
Dennis Borree


Post a reply to this message

From: Ken
Subject: Re: Using Bolts.inc
Date: 24 Apr 2002 21:39:03
Message: <3CC75E78.7133384A@pacbell.net>
Dennis Borree wrote:
> 
> I am very new  at using POV-RAY 3.1g. I have found bolts.inc and am having
> trouble getting it to make bolts. There is no instructions on how to use it.
> I have put it in #include "bolts.inc" but do not know how to get it to make
> a bolt. Any help found be greatly appreciated.
> Thanks in advance,
> Dennis Borree

Usually when you use an include file you need to find a #declared object
within that file and use it in your scene illustrated with the example
below (the name I use below may not be the name in the include file) -

#include "bolts.inc"

object { Bolt }

If the include file does not provide a default texture or pigment then
you will need to provide one yourself -

#include "bolts.inc"

object { Bolt texture { Bolt_Texture } }

If you can't figure it out yourself then send me a copy of the include
file via email and I will send you back a working example to get you
started.

Cheers,

-- 
Ken Tyler


Post a reply to this message

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