POV-Ray : Newsgroups : povray.windows : rendering problems eagle 3d and pov ray Server Time
1 Jun 2024 06:10:28 EDT (-0400)
  rendering problems eagle 3d and pov ray (Message 5 to 14 of 34)  
<<< Previous 4 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Alain
Subject: Re: rendering problems eagle 3d and pov ray
Date: 29 Jun 2009 20:21:43
Message: <4a495a97$1@news.povray.org>

> Alain <aze### [at] qwertyorg> wrote:

>>> I'm not sure if this is the right place or not but recently I wanted to start
>>> doing 3d circuits and do some animation so when I do tutorials for the
>>> paranormal group I work with, I can show where everything goes and what it'll
>>> look like and stuff, but each time I render I get the following errors in pov
>>> ray.
>>>
>>> File: C:\Documents and Settings\user\My
>>> Documents\POV-Ray\v3.6\include\glass_old.inc Line: 18
>>> Parse Warning: Due to changes in version 3.1, you must add interior {I_Glass} to
>>> all objects calling glass_old.inc textures and finishes...
>>>
>>> My renders look like this...I assume I'm doing something wrong, but need to fix
>>> this glass error thing and I got no idea what to do.
>>>
>>> <img src="http://www.freewebs.com/evps/problems.JPG">
>>>
>>>
>> That's not an error but a warning.
>>
>> It tells you that glass objects should have an interior{} block where
>> you set the object's ior (index of refraction).
>>
>> If you don't set an ior, your transparent objects will usualy lack
>> "substence" and apears to flat.
>>
>>
>>
>> Alain
> 
> where exactly in line 18 am I supposed to put the iglass thingy...keep in mind
> this is my first time and it's pretty much greek to me. There isn't like a
> simpler way to handle these huh?

The line 18 mentionned is the 18th line from the file glass_old.inc. You 
don't need to change it. That warning is unconditionaly issued 
everytimes that include is used. Take it as a reminder.

The glass_old.inc files provide the finishes in a section, and some 
interiors in another. Textures are distinct from the interior. The 
texture describe the surface of the object. The interior affect the 
beviour if the interior of the object, how the light refract and fade 
inside the object, and if there is any media there.

You don't need to change anything at all in the file, exept, maybe, the 
actual line where the warning is issued. You can comment out that single 
line, add a "//" in front of it.

In the scene, not the .inc file, in the declaration of the object. AFTER 
the texture block last "}", add the following:

interior{ior 1.5}

or the proposed "interior {I_Glass}" that uses a value declared in that 
include file.

to get a material with about the refraction strenght of normal glass.

> 
> 
> File: C:\Documents and Settings\user\My
> Documents\POV-Ray\v3.6\include\glass_old.inc  Line: 18
> Parse Warning:  Due to changes in version 3.1, you must add interior {I_Glass}
> to all objects calling
> glass_old.inc textures and finishes...

> File: C:\Documents and Settings\user\My
> Documents\eagle\lm555\timer-555-based.pov  Line: 214
> Parse Warning: Should have at least 2 objects in csg.
> File: C:\Documents and Settings\user\My
> Documents\eagle\lm555\timer-555-based.pov  Line: 218
> Parse Warning: Should have at least 2 objects in csg.
This means that you have an union, difference or intersection with only 
one component. The warning is a reminder. It can point you to a possible 
error, maybe you forgot some elements, maybe you removed them for any 
reason.

All the preceding are only warnings. The parsing does continue and the 
image is traced.

The following is an actual error and causes the parsing to abort, and no 
image get traced.

> File: C:\Documents and Settings\user\My Documents\POV-Ray\v3.6\include\cap.inc
> Line: 30
> File Context (5 lines):
>  #local cap = object {superellipsoid{<1, 1>scale<diam,diam*0.25,diam>rotate
> <-90,-7.5,0>translate<0,diam*1.1,0>} }
>  #local txt = text{handelgo_font
> Parse Error: Expected 'ttf', undeclared identifier 'handelgo_font' found instead
> 
> 
> 

The first parameter of a text object MUST be "ttf"
Your text object should be declares this way:
#local Txt = text{ttf "handelgo_font.ttf"....

The way it's writen here, the parser expect to find a previously 
declared variable with the name "handelgo_font". There are no variable 
by that name.

Raster fonts, *.fon, are not supported.

Take the habit of ALWAYS starting the name of ANY user defined variable 
with an upper case letter. ALL builtin variables and keywords always 
start with a lower case letter, and some more may eventualy get added.



Alain


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: rendering problems eagle 3d and pov ray
Date: 30 Jun 2009 02:26:29
Message: <4a49b015$1@news.povray.org>
SIRS Tech wrote:
> where exactly in line 18 am I supposed to put the iglass thingy...keep in mind
> this is my first time and it's pretty much greek to me. There isn't like a
> simpler way to handle these huh?

Yes, there is: Get updates Eagle scripts, or update them yourself to add 
that line where appropriate. The scripts are clearly for POV-Ray 3.0, which 
is over 12 years out of date!

	Thorsten


Post a reply to this message

From: SIRS Tech
Subject: Re: rendering problems eagle 3d and pov ray
Date: 30 Jun 2009 10:50:01
Message: <web.4a4a25a84868867f614c3f500@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> SIRS Tech wrote:
> > where exactly in line 18 am I supposed to put the iglass thingy...keep in mind
> > this is my first time and it's pretty much greek to me. There isn't like a
> > simpler way to handle these huh?
>
> Yes, there is: Get updates Eagle scripts, or update them yourself to add
> that line where appropriate. The scripts are clearly for POV-Ray 3.0, which
> is over 12 years out of date!
>
>  Thorsten

updated pov ray to pov ray 7.0 the beta 33. I've got no idea how to edit any of
this stuff, to me it's jibberish. I've checked the schematic and board to see
if there was like a floating pin and there isn't...so it leads me to think it's
something with the code.

"C:\Documents and Settings\user\My Documents\POV-Ray\v3.7\include\special.inc"
line 1731: Parse Error: Unexpected additional '.' in floating-point number

Render failed


Post a reply to this message

From: Stephen
Subject: Re: rendering problems eagle 3d and pov ray
Date: 30 Jun 2009 11:00:01
Message: <web.4a4a28584868867f5fd99d9e0@news.povray.org>
"SIRS Tech" <Gre### [at] yahoocom> wrote:
> updated pov ray to pov ray 7.0 the beta 33. I've got no idea how to edit any of
> this stuff, to me it's jibberish. I've checked the schematic and board to see
> if there was like a floating pin and there isn't...so it leads me to think it's
> something with the code.
>

Hi SIRS Tech,
 This reply is not an answer to your questions but you might be better off

just give hints.


Stephen


Post a reply to this message

From: Alain
Subject: Re: rendering problems eagle 3d and pov ray
Date: 30 Jun 2009 11:05:57
Message: <4a4a29d5$1@news.povray.org>

> Thorsten Froehlich <tho### [at] trfde> wrote:
>> SIRS Tech wrote:
>>> where exactly in line 18 am I supposed to put the iglass thingy...keep in mind
>>> this is my first time and it's pretty much greek to me. There isn't like a
>>> simpler way to handle these huh?
>> Yes, there is: Get updates Eagle scripts, or update them yourself to add
>> that line where appropriate. The scripts are clearly for POV-Ray 3.0, which
>> is over 12 years out of date!
>>
>>  Thorsten
> 
> updated pov ray to pov ray 7.0 the beta 33. I've got no idea how to edit any of
> this stuff, to me it's jibberish. I've checked the schematic and board to see
> if there was like a floating pin and there isn't...so it leads me to think it's
> something with the code.
> 
> "C:\Documents and Settings\user\My Documents\POV-Ray\v3.7\include\special.inc"
> line 1731: Parse Error: Unexpected additional '.' in floating-point number
> 
> Render failed
> 
> 
> 
> 

This means that you have something like: 1.2.3 somewhere and it should 
be 1,2.3 or 1.2,3 or 1,2,3.
Probably a "," that got replaced by a ".".

Open the file special.inc
Scroll down to line 1731 and examine it closely.
If you don't find the error, post that line here.



Alain


Post a reply to this message

From: SIRS Tech
Subject: Re: rendering problems eagle 3d and pov ray
Date: 30 Jun 2009 12:15:00
Message: <web.4a4a39e44868867f614c3f500@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

> > Thorsten Froehlich <tho### [at] trfde> wrote:
> >> SIRS Tech wrote:
> >>> where exactly in line 18 am I supposed to put the iglass thingy...keep in mind
> >>> this is my first time and it's pretty much greek to me. There isn't like a
> >>> simpler way to handle these huh?
> >> Yes, there is: Get updates Eagle scripts, or update them yourself to add
> >> that line where appropriate. The scripts are clearly for POV-Ray 3.0, which
> >> is over 12 years out of date!
> >>
> >>  Thorsten
> >
> > updated pov ray to pov ray 7.0 the beta 33. I've got no idea how to edit any of
> > this stuff, to me it's jibberish. I've checked the schematic and board to see
> > if there was like a floating pin and there isn't...so it leads me to think it's
> > something with the code.
> >
> > "C:\Documents and Settings\user\My Documents\POV-Ray\v3.7\include\special.inc"
> > line 1731: Parse Error: Unexpected additional '.' in floating-point number
> >
> > Render failed
> >
> >
> >
> >
>
> This means that you have something like: 1.2.3 somewhere and it should
> be 1,2.3 or 1.2,3 or 1,2,3.
> Probably a "," that got replaced by a ".".
>
> Open the file special.inc
> Scroll down to line 1731 and examine it closely.
> If you don't find the error, post that line here.
>
>
>
> Alain

disc {<9.45-2.5, H+0.05, 7.28-2> y,0.7,0.6.5 pigment{col}}

thats the line....hope this is the last error.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: rendering problems eagle 3d and pov ray
Date: 30 Jun 2009 14:34:36
Message: <4a4a5abc@news.povray.org>
SIRS Tech wrote:
> Thorsten Froehlich <tho### [at] trfde> wrote:
>> SIRS Tech wrote:
>>> where exactly in line 18 am I supposed to put the iglass thingy...keep in mind
>>> this is my first time and it's pretty much greek to me. There isn't like a
>>> simpler way to handle these huh?
>> Yes, there is: Get updates Eagle scripts, or update them yourself to add
>> that line where appropriate. The scripts are clearly for POV-Ray 3.0, which
>> is over 12 years out of date!
>>
>>  Thorsten
> 
> updated pov ray 

I meant:
Update the Eagle 3D script! You need a version of the script designed for a 
more recent version of POV-Ray. Right now the script you have not only seems 
to be buggy, it also expects an ancient version of POV-Ray as its counterpart.

The Eagle 3D script is the source of all your problems, so you need to make 
sure you have the latest version and then if needed fix the other bugs in it 
yourself if you can. Eagle script files end with scr if I recall correctly.

	Thorsten


Post a reply to this message

From: Reactor
Subject: Re: rendering problems eagle 3d and pov ray
Date: 30 Jun 2009 15:05:00
Message: <web.4a4a61884868867fe4c4c3b90@news.povray.org>
"SIRS Tech" <Gre### [at] yahoocom> wrote:

>
> disc {<9.45-2.5, H+0.05, 7.28-2> y,0.7,0.6.5 pigment{col}}
>
> thats the line....hope this is the last error.

The problem is the radius of the hole, right before the pigment statement.
0.6.5 should almost certainly be 0.65

old version: disc {<9.45-2.5, H+0.05, 7.28-2> y,0.7,0.6.5 pigment{col}}
change to:   disc {<9.45-2.5, H+0.05, 7.28-2> y,0.7,0.65 pigment{col}}


That should do it.


-Reactor


Post a reply to this message

From: Alain
Subject: Re: rendering problems eagle 3d and pov ray
Date: 30 Jun 2009 17:48:49
Message: <4a4a8841@news.povray.org>

> SIRS Tech wrote:
>> Thorsten Froehlich <tho### [at] trfde> wrote:
>>> SIRS Tech wrote:
>>>> where exactly in line 18 am I supposed to put the iglass 
>>>> thingy...keep in mind
>>>> this is my first time and it's pretty much greek to me. There isn't 
>>>> like a
>>>> simpler way to handle these huh?
>>> Yes, there is: Get updates Eagle scripts, or update them yourself to add
>>> that line where appropriate. The scripts are clearly for POV-Ray 3.0, 
>>> which
>>> is over 12 years out of date!
>>>
>>>  Thorsten
>>
>> updated pov ray 
> 
> I meant:
> Update the Eagle 3D script! You need a version of the script designed 
> for a more recent version of POV-Ray. Right now the script you have not 
> only seems to be buggy, it also expects an ancient version of POV-Ray as 
> its counterpart.
> 
> The Eagle 3D script is the source of all your problems, so you need to 
> make sure you have the latest version and then if needed fix the other 
> bugs in it yourself if you can. Eagle script files end with scr if I 
> recall correctly.
> 
>     Thorsten

Great :( yet another application giving yet another meaning to the 
screen saver's extention...


Alain


Post a reply to this message

From: SIRS Tech
Subject: Re: rendering problems eagle 3d and pov ray
Date: 30 Jun 2009 21:35:00
Message: <web.4a4abd174868867f614c3f500@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

> > SIRS Tech wrote:
> >> Thorsten Froehlich <tho### [at] trfde> wrote:
> >>> SIRS Tech wrote:
> >>>> where exactly in line 18 am I supposed to put the iglass
> >>>> thingy...keep in mind
> >>>> this is my first time and it's pretty much greek to me. There isn't
> >>>> like a
> >>>> simpler way to handle these huh?
> >>> Yes, there is: Get updates Eagle scripts, or update them yourself to add
> >>> that line where appropriate. The scripts are clearly for POV-Ray 3.0,
> >>> which
> >>> is over 12 years out of date!
> >>>
> >>>  Thorsten
> >>
> >> updated pov ray
> >
> > I meant:
> > Update the Eagle 3D script! You need a version of the script designed
> > for a more recent version of POV-Ray. Right now the script you have not
> > only seems to be buggy, it also expects an ancient version of POV-Ray as
> > its counterpart.
> >
> > The Eagle 3D script is the source of all your problems, so you need to
> > make sure you have the latest version and then if needed fix the other
> > bugs in it yourself if you can. Eagle script files end with scr if I
> > recall correctly.
> >
> >     Thorsten
>
> Great :( yet another application giving yet another meaning to the
> screen saver's extention...
>
>
> Alain

I got eagle 5.6. I'm using the 3d script, 3d41 wich came with it...when opened
in wordpad it says for use with 4.1 and later...unless there is a new script.
In wich case where can I get it and whats the name?

I got it to render, yay! Thanks for the help, but here is another question, why
is there some items missing? Like there is 2 resistors and a diode a capactior
and the lm555 timer, yet the led and the battery along with some other stuff is
not there.


Post a reply to this message

<<< Previous 4 Messages Goto Latest 10 Messages Next 10 Messages >>>

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