POV-Ray : Newsgroups : povray.general : Help deciphering Error message Server Time
17 Nov 2024 03:19:46 EST (-0500)
  Help deciphering Error message (Message 1 to 6 of 6)  
From: J  Vicente
Subject: Help deciphering Error message
Date: 23 Jan 1999 03:51:54
Message: <36A98D42.89A8FE34@hotmail.com>
I've been trying to create an object with an image map but I keep
running into problems...the latest message says:

"Error reading magic number from bmp image" or something along those
lines.

I've also had messages such as "texture expected but } found instead"

HEEEEELP!


Post a reply to this message

From: Your Name
Subject: Re: Help deciphering Error message
Date: 23 Jan 1999 04:11:57
Message: <36A9925A.1E3114B2@pacbell.net>
J. Vicente wrote:
> 
> I've been trying to create an object with an image map but I keep
> running into problems...the latest message says:
> 
> "Error reading magic number from bmp image" or something along those
> lines.
> 
> I've also had messages such as "texture expected but } found instead"
> 
> HEEEEELP!

With the first problem I can't help without a little more info.
Specificly the exact error message would help and the part of
the pov scene that is causing the problem. Sounds like there is
an error in the bit mapped file itself but it's hard to say.
Try a different image to see if the problem persists. If the
new bmp image works correctly then your first one is probably
corrupt. Sometimes they can be repaired by taking them into a
paint program and resaving them. The resave often times will
fix bad or incorrect header information that could be confusing
Pov. Sometimes not !

The second part is easy. You are not matching your braces
correctly or do not have enough to close the statement.
For every { there has to be a }. To find these start counting.
If you have them in the wrong place in the object statement
you will also get this warning. It takes a while to learn where
to close a function but once you have worked with the program
for a while you will get the hang of it.

An example of wrong would be:

incorrect
union{
sphere{<0,0,0>,1 pigment{rgb 1} - here is a missing brace
sphere{<0,0,0>,1 pigment{rgb 1}}}} - wrongly placed here

correct
union{
sphere{<0,0,0>,1 pigment{rgb 1}}
sphere{<0,0,0>,1 pigment{rgb 1}}}

In the first example there are the correct # of brace pairs
but one is not closing the first sphere statement correctly.
This will generate the warning you recieved.

The second example has corrected the mistake and will
render correctly.

Ken Tyler


Post a reply to this message

From: Lance Birch
Subject: Re: Help deciphering Error message
Date: 23 Jan 1999 05:21:42
Message: <36a9a2b6.0@news.povray.org>
"Your Name"?  That's original ;-)

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone


Post a reply to this message

From: Julius Klatte
Subject: Re: Help deciphering Error message
Date: 26 Jan 1999 17:13:56
Message: <36ae3e24.0@news.povray.org>
>"Your Name"?  That's original ;-)


Having fun with his newsreader again... :)

Julius


Post a reply to this message

From: Johannes Hubert
Subject: Re: Help deciphering Error message
Date: 27 Jan 1999 15:00:16
Message: <36af7050.0@news.povray.org>
Julius Klatte wrote in message <36ae3e24.0@news.povray.org>...
>>"Your Name"?  That's original ;-)
>
>Having fun with his newsreader again... :)


I guess Ken starts posting anonymously now to get out of the spotlight of
having the first place in the "contributed posts in povray.general" list.
Fame is probably getting to him (ya know, all these groupies can really wear
you out! :-)

Johannnes.


Post a reply to this message

From: Ken
Subject: Re: Help deciphering Error message
Date: 27 Jan 1999 16:15:07
Message: <36AF81C9.E840DA5C@pacbell.net>
Johannes Hubert wrote:
> 
> Julius Klatte wrote in message <36ae3e24.0@news.povray.org>...
> >>"Your Name"?  That's original ;-)
> >
> >Having fun with his newsreader again... :)
> 
> I guess Ken starts posting anonymously now to get out of the spotlight of
> having the first place in the "contributed posts in povray.general" list.
> Fame is probably getting to him (ya know, all these groupies can really wear
> you out! :-)
> 
> Johannnes.

Actually if you people (term used loosely) want to know the truth
my prefs file became corrupt and I forgot to update my name in the
known as field. Because of this netscape used the default of -
"Your Name". They are really creative over there at Netscape.

-- 
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

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