|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Remco de Korte wrote:
>...
>Otherwise I have a similar little utility (less powerfull) that'll make
>an INC file of an image, giving you all the data you need.
Sounds interesting, do you have it on your site?
What I'm actually looking for is something that generates "raw" data: the
number of horizontal and vertical points and an array of rgb-values.
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ingo wrote:
>
> Remco de Korte wrote:
> >...
> >Otherwise I have a similar little utility (less powerfull) that'll
> make
> >an INC file of an image, giving you all the data you need.
>
> Sounds interesting, do you have it on your site?
> What I'm actually looking for is something that generates "raw" data:
> the
> number of horizontal and vertical points and an array of rgb-values.
>
> Ingo
>
> --
> Photography: http://members.home.nl/ingoogni/
> Pov-Ray : http://members.home.nl/seed7/
I haven't tried TGAMosaic (yet); doesn't that do the trick?
Otherwise you can get the utility at my page
(http://www.xs4all.nl/~remcodek/pov.html). Look for ImagInc. It only
supports BMPs right now, but it'll be easy to put in other formats (as I
did with Bumper). The INC-file it spits out has 3 2-dimensional arrays,
for the R-, G-, and B-component of each pixel. You can change the
resolution (use low ones for testing). The melting rings and tentacle
thingies were made with this.
Remco
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Remco de Korte wrote:
>
>I haven't tried TGAMosaic (yet); doesn't that do the trick?
No, it doesn't do an array, it writes objects with colours directly.
>Otherwise you can get the utility at my page
>(http://www.xs4all.nl/~remcodek/pov.html). Look for ImagInc. ...
Got it and exploring now. Thank you.
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Popov <pet### [at] usanet> wrote:
: You can do it in the official version but it's quite a heavier
: solution than using trace(). Convert the hf source picture to ppm,
: then use search/replace to replace all white space with commas, and
: then use the file i/o functions in POV to read it into a 2D array.
Getting the height in-between the pixels requires some math.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
True. However, you would have to do interpolation for intermediate values. And
finding the surface normal will be a bit more difficult, if required.
Margus
Peter Popov wrote:
>
> On Wed, 19 Jan 2000 20:21:21 -0500, Andrea Ryan <ary### [at] global2000net>
> wrote:
>
> >Is there any way of finding the height of a height field at a given
> >point?
> >Brendan Ryan
>
> You can do it in the official version but it's quite a heavier
> solution than using trace(). Convert the hf source picture to ppm,
> then use search/replace to replace all white space with commas, and
> then use the file i/o functions in POV to read it into a 2D array.
>
> Peter Popov
> pet### [at] usanet
> ICQ: 15002700
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This sounds like it has potential to do many things, thanks for sharing it.
Bob
"Remco de Korte" <rem### [at] xs4allnl> wrote in message
news:388708F2.6012D124@xs4all.nl...
| ingo wrote:
| >
| > Remco de Korte wrote:
| > >...
| > >Otherwise I have a similar little utility (less powerfull) that'll
| > make
| > >an INC file of an image, giving you all the data you need.
| >
| > Sounds interesting, do you have it on your site?
| > What I'm actually looking for is something that generates "raw" data:
| > the
| > number of horizontal and vertical points and an array of rgb-values.
| >
| > Ingo
| >
| > --
| > Photography: http://members.home.nl/ingoogni/
| > Pov-Ray : http://members.home.nl/seed7/
|
| I haven't tried TGAMosaic (yet); doesn't that do the trick?
| Otherwise you can get the utility at my page
| (http://www.xs4all.nl/~remcodek/pov.html). Look for ImagInc. It only
| supports BMPs right now, but it'll be easy to put in other formats (as I
| did with Bumper). The INC-file it spits out has 3 2-dimensional arrays,
| for the R-, G-, and B-component of each pixel. You can change the
| resolution (use low ones for testing). The melting rings and tentacle
| thingies were made with this.
|
| Remco
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Bob Hughes wrote:
>
> This sounds like it has potential to do many things, thanks for
> sharing it.
>
> Bob
>
I don't know how useful it is to others, especially since I had the
impression it did just a fraction of what TGAMosaic did. If there's any
need for it I can make some changes so it'll work better for other
people. I live on feedback ;)
Remco
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 20 Jan 2000 17:01:25 +0200, Margus Ramst <mar### [at] peakeduee>
wrote:
>True. However, you would have to do interpolation for intermediate values. And
>finding the surface normal will be a bit more difficult, if required.
Margus and Warp, that's why I said it would be a heavier solution :)
Peter Popov
pet### [at] usanet
ICQ: 15002700
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Popov wrote:
>
> Margus and Warp, that's why I said it would be a heavier solution :)
>
Yeah, I know. Just showing I'm informed here ;)
Margus
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Get the superpatch or megapov versions of povray and use the trace
function.
Andrea Ryan wrote:
> Is there any way of finding the height of a height field at a given
> point?
> Brendan Ryan
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |