POV-Ray : Newsgroups : povray.general : .ray format? Server Time
6 Nov 2024 20:19:00 EST (-0500)
  .ray format? (Message 1 to 5 of 5)  
From: Rafal 'Raf256' Maj
Subject: .ray format?
Date: 18 Mar 2004 21:59:23
Message: <Xns94B1288D1CA22raf256com@203.29.75.35>
Hi,
some person asked me to do some tuning and re-rendering of an 3d scene.

Scene looks quite like PovRAY, but it is in files called *.ray and the 
syntax is a bit different (simplifierd, like without barces etc), example 
file looks like:


 
box s_stone_light -480.625 -234.395 0  -462.2468 234.395 9.25  
cylinder s_stone_light 1 -480.625 -234.395 8.25  -480.625 234.395 8.25  
disc s_stone_light 1 -480.625 -234.395 8.25  0 -1 0  
disc s_stone_light 1 -480.625 234.395 8.25  0 1 0  
box s_stone_light -462.2468 -234.395 9.25  -444.8686 234.395 18.5  
cylinder s_stone_light 1 -462.2468 -234.395 17.5  -462.2468 234.395 17.5  
box s_stone_light  -444.8686 -234.395 18.5  -435.826 234.395 27.75  
cylinder s_stone_light 1 -444.8686 -234.395 26.75  -444.8686 234.395 26.75  

  
/* the main corners of the dome */  
name u_corner_type1 list   
  
difference  
  difference  
    box s_stone_light  0 0 0  -99.7364 38.7564 654.75   
    list  
      cylinder s_stone_light 29.327  -99.7364 38.7564 127.2644  -99.7364 
38.7564 257.7134  
      disc     s_stone_light 29.327  -99.7364 38.7564 127.2644  0 0 -1  
      disc     s_stone_light 29.327  -99.7364 38.7564 257.7134  0 0 1  
      cylinder s_stone_light 29.327  -99.7364 38.7564 385.2389  -99.7364 
38.7564 


any idea how can I convert to .pov? It looks like this file could be 
converted perfectly in "1 to 1 scale" - just some converter to reorganize 
syntactics of file...


Files are from page:

http://www.fbe.unsw.edu.au/exhibits/rayshade/church/





-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Norbert Kern
Subject: Re: .ray format?
Date: 19 Mar 2004 01:28:46
Message: <405a931e$1@news.povray.org>
Hi,
I tried it by myself one year ago with these old files from Nathan o'Brian.
It is extremely time consuming to do it by hand, which is what I tried.
Despite looking easy, I was only successful in small parts, because the csg
affords too much concentration.

The most important Rayshade scene description formate rules can be seen at
http://netghost.narod.ru/gff/graphics/summary/rayshade.htm.

There is no converter of .ray to .pov files except one, but IIRC this
utility only handles meshes (don't find the name).
If you find one, I would be glad to hear from you.

Norbert Kern



"Rafal 'Raf256' Maj" <spa### [at] raf256com> schrieb im Newsbeitrag
news:Xns94B1288D1CA22raf256com@203.29.75.35...
> Hi,
> some person asked me to do some tuning and re-rendering of an 3d scene.
>
> Scene looks quite like PovRAY, but it is in files called *.ray and the
> syntax is a bit different (simplifierd, like without barces etc), example
> file looks like:
>
>
>
> box s_stone_light -480.625 -234.395 0  -462.2468 234.395 9.25
> cylinder s_stone_light 1 -480.625 -234.395 8.25  -480.625 234.395 8.25
> disc s_stone_light 1 -480.625 -234.395 8.25  0 -1 0
> disc s_stone_light 1 -480.625 234.395 8.25  0 1 0
> box s_stone_light -462.2468 -234.395 9.25  -444.8686 234.395 18.5
> cylinder s_stone_light 1 -462.2468 -234.395 17.5  -462.2468 234.395 17.5
> box s_stone_light  -444.8686 -234.395 18.5  -435.826 234.395 27.75
> cylinder s_stone_light 1 -444.8686 -234.395 26.75  -444.8686 234.395 26.75
>
>
> /* the main corners of the dome */
> name u_corner_type1 list
>
> difference
>   difference
>     box s_stone_light  0 0 0  -99.7364 38.7564 654.75
>     list
>       cylinder s_stone_light 29.327  -99.7364 38.7564 127.2644  -99.7364
> 38.7564 257.7134
>       disc     s_stone_light 29.327  -99.7364 38.7564 127.2644  0 0 -1
>       disc     s_stone_light 29.327  -99.7364 38.7564 257.7134  0 0 1
>       cylinder s_stone_light 29.327  -99.7364 38.7564 385.2389  -99.7364
> 38.7564
>
>
> any idea how can I convert to .pov? It looks like this file could be
> converted perfectly in "1 to 1 scale" - just some converter to reorganize
> syntactics of file...
>
>
> Files are from page:
>
> http://www.fbe.unsw.edu.au/exhibits/rayshade/church/
>
>
>
>
>
> --
> http://www.raf256.com/3d/
> Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
> Computer Graphics


Post a reply to this message

From: Paul Bourke
Subject: Re: .ray format?
Date: 19 Mar 2004 03:38:44
Message: <pdb_NOSPAM-A25398.19384319032004@news.povray.org>
> Scene looks quite like PovRAY, but it is in files called *.ray and the 
> syntax is a bit different (simplifierd, like without barces etc), example 
> file looks like:
> box s_stone_light -480.625 -234.395 0  -462.2468 234.395 9.25  
> cylinder s_stone_light 1 -480.625 -234.395 8.25  -480.625 234.395 8.25  
> disc s_stone_light 1 -480.625 -234.395 8.25  0 -1 0  
> disc s_stone_light 1 -480.625 234.395 8.25  0 1 0  
> box s_stone_light -462.2468 -234.395 9.25  -444.8686 234.395 18.5  
> cylinder s_stone_light 1 -462.2468 -234.395 17.5  -462.2468 234.395 17.5  
> box s_stone_light  -444.8686 -234.395 18.5  -435.826 234.395 27.75  
> cylinder s_stone_light 1 -444.8686 -234.395 26.75  -444.8686 234.395 26.75  

It is this model
   http://astronomy.swin.edu.au/~pbourke/rendering/rayshade/

> any idea how can I convert to .pov? It looks like this file could be 
> converted perfectly in "1 to 1 scale" - just some converter to reorganize 
> syntactics of file...

COnverting to POVRay is non trivial but I was under the impression that
someone had already done it....sorry no clues as to who, you might try
contacting Nathan.
-- 
Paul Bourke
pdb_NOSPAMswin.edu.au


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: .ray format?
Date: 19 Mar 2004 08:02:52
Message: <Xns94B18EDDA9084raf256com@203.29.75.35>
nor### [at] t-onlinede news:405a931e$1@news.povray.org

> Hi,
> I tried it by myself one year ago with these old files from Nathan
> o'Brian. It is extremely time consuming to do it by hand, which is
> what I tried. Despite looking easy, I was only successful in small
> parts, because the csg affords too much concentration.

If You have some experience in that, I was thinking about writting a 
converter. Assuming it would take about... 2 weeks of regular work, do YOu 
think it is worth the effort? i.e.:
1) are there meany works in rayshade?
2) any chance that someone will buy this converter ;) ?
 
> The most important Rayshade scene description formate rules can be
> seen at http://netghost.narod.ru/gff/graphics/summary/rayshade.htm.

Thanks

> There is no converter of .ray to .pov files except one, but IIRC this
> utility only handles meshes (don't find the name).
> If you find one, I would be glad to hear from you.
> Norbert Kern

It looks like I could write one, but unfortunately I probably can not do it 
totaly non-profit (out-of-free-time)

-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: .ray format?
Date: 19 Mar 2004 08:04:31
Message: <Xns94B18F253BC63raf256com@203.29.75.35>
pdb### [at] swineduau news:pdb_NOSPAM-
A25398.19384319032004@news.povray.org

> It is this model
>    http://astronomy.swin.edu.au/~pbourke/rendering/rayshade/

Yes.

I have to do some trivial modifications and re-render images (im helping a 
friend in architects-school) like change colors etc... I think it would be 
more easy to just modyfie *.ray files and render using RayShade... I'm 
installing it now on my Linux... :)

-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

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