![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
This Q might not be absolutely 'newBee' But i AM, so i will post here.
I have used the HF_square macro to produce a heightfield on disk
When i open that file it has the content:
mesh2
{
vertex_vectors 10000,{....}//{..some thousend vectors..}
normal_vectors 10000, {....}
face_indices 19602, {....}
}
I believed it to be a mesh2-file a .wrl-file but with kind help from the
board i have learned that it is a POV-script
Can I do anything with this huge chunck of numbers that would tranlate it to
any other format? I would _realy_ like: 3ds *sigh*
regards krus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Gilles Tran
Subject: Re: converting POV-script to other formats
Date: 18 Aug 2002 16:35:21
Message: <3d600509@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
web.3d5b9a201b42860d2f4bd1e30@news.povray.org...
> Can I do anything with this huge chunck of numbers that would tranlate it
to
> any other format? I would _realy_ like: 3ds *sigh*
In short, nothing :-(
There's hope, still, because this is a mesh. Possibly the HF_Square macro
could be modified to create an Wavefront OBJ file instead of a Povray mesh2
file (both formats are relatively close).
Another possibility would be to use the function to create a bitmap in
Pov-Ray (instead of a mesh) and then load the image in Rhino (the demo is
fully functional) and then save it as a mesh.
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Gilles Tran wrote:
>web.3d5b9a201b42860d2f4bd1e30[at]news.povray.org...
>> Can I do anything with this huge chunck of numbers that would tranlate it
>to
>> any other format? I would _realy_ like: 3ds *sigh*
>
>In short, nothing :-(
>There's hope, still, because this is a mesh. Possibly the HF_Square macro
>could be modified to create an Wavefront OBJ file instead of a Povray mesh2
>file (both formats are relatively close).
>
>Another possibility would be to use the function to create a bitmap in
>Pov-Ray (instead of a mesh) and then load the image in Rhino (the demo is
>fully functional) and then save it as a mesh.
>
>G.
>
>**********************
>http://www.oyonale.com
>**********************
>- Graphic experiments
>- POV-Ray and Poser computer images
>- Posters
>
>--
Thank you for ur reply Gilles!
I'm a litle outside my league here -
Would I have to make some modifications to the HF_square macro my self or is
there someone that have made a variant of the macro?
-Being new with pov i dont think i could do that (rather ..know ;) that..)
The other sugested solution realy have me bafled but that is because i dont
know the program Rhino.
If I understand u correctly the Rhino program can read a .bmp !Picture! and
convert THAT to a mesh! *wow*
I will look for that demo -I can asure u !
regards krus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
web.3d62cb6a47b41e72f4bd1e30@news.povray.org...
> Thank you for ur reply Gilles!
> I'm a litle outside my league here -
> Would I have to make some modifications to the HF_square macro my self or
is
> there someone that have made a variant of the macro?
> -Being new with pov i dont think i could do that (rather ..know ;) that..)
You'll probably have to do that yourself. If you're a programmer, it
shouldn't be so complicated in fact, as I see that the mesh creation feature
is nicely packed into a little macro.
> If I understand u correctly the Rhino program can read a .bmp !Picture!
and
> convert THAT to a mesh! *wow*
> I will look for that demo -I can asure u !
In fact this could be the easiest way to do it, at least you'll be able to
repeat the operation until you run out of "saves" (you can save up to 20
times in the demo).
When I think of it, other software support this feature in fact. You can do
this in Leveller, for instance, load the bitmap and export is as DXF.
Terragen can also load RAW image files and save them in Lightwave format.
I'm quite sure that Bryce can do it too. Or you could even load a flat OBJ
file in Poseray (a Poser -> Povray converter), deform it with your bitmap
and save the resulting OBJ. (all previous solution untested).
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Gilles Tran wrote:
>web.3d62cb6a47b41e72f4bd1e30[at]news.povray.org...
>> Thank you for ur reply Gilles!
>> I'm a litle outside my league here -
>> Would I have to make some modifications to the HF_square macro my self or
>is
>> there someone that have made a variant of the macro?
>> -Being new with pov i dont think i could do that (rather ..know ;) that..)
>
>You'll probably have to do that yourself. If you're a programmer, it
>shouldn't be so complicated in fact, as I see that the mesh creation feature
>is nicely packed into a little macro.
>
>> If I understand u correctly the Rhino program can read a .bmp !Picture!
>and
>> convert THAT to a mesh! *wow*
>> I will look for that demo -I can asure u !
>
>In fact this could be the easiest way to do it, at least you'll be able to
>repeat the operation until you run out of "saves" (you can save up to 20
>times in the demo).
>
>When I think of it, other software support this feature in fact. You can do
>this in Leveller, for instance, load the bitmap and export is as DXF.
>Terragen can also load RAW image files and save them in Lightwave format.
>I'm quite sure that Bryce can do it too. Or you could even load a flat OBJ
>file in Poseray (a Poser -> Povray converter), deform it with your bitmap
>and save the resulting OBJ. (all previous solution untested).
>
>
>G.
>
>--
>
>**********************
>http://www.oyonale.com
>**********************
>- Graphic experiments
>- POV-Ray and Poser computer images
>- Posters
>
Thank You Giles!
I will look at the macro. I have a lot of things i must read about because i
dont know most of the abowe mentioned file-formats *s*
regard krus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
krus wrote:
> I will look at the macro. I have a lot of things i
> must read about because i dont know most of the
> abowe mentioned file-formats *s*
Did you have any luck yet?
If you can use the height_field written in the OBJ format and find a way
to convert the OBJ to 3DS, then maybe I could modify the HF macro to
write in the OBJ format. As Gilles says, it shouldn't be too difficult.
Rune
--
3D images and anims, include files, tutorials and more:
rune|vision: http://runevision.com (updated July 12)
POV-Ray Ring: http://webring.povray.co.uk
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Rune wrote:
>krus wrote:
>> I will look at the macro. I have a lot of things i
>> must read about because i dont know most of the
>> abowe mentioned file-formats *s*
>
>Did you have any luck yet?
>
>If you can use the height_field written in the OBJ format and find a way
>to convert the OBJ to 3DS, then maybe I could modify the HF macro to
>write in the OBJ format. As Gilles says, it shouldn't be too difficult.
>
>Rune
>--
>3D images and anims, include files, tutorials and more:
>rune|vision: http://runevision.com (updated July 12)
>POV-Ray Ring: http://webring.povray.co.uk
>
Hej Rune!
That would be great!
I think that any conversion of the pov-mesh2 output to one of the more
common formats would be a huge step!
I would greatly apreciate any atempt to get the project on the road.
I thank you Rune, many time for the offer!
regards krus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I've uploaded the script to povray.binaries.scene-files
I haven't tested it because I don't have any software that use the OBJ
format, so please let me know if it works correctly. :)
Rune
--
3D images and anims, include files, tutorials and more:
rune|vision: http://runevision.com (updated July 12)
POV-Ray Ring: http://webring.povray.co.uk
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Rune wrote:
>I've uploaded the script to povray.binaries.scene-files
>
>I haven't tested it because I don't have any software that use the OBJ
>format, so please let me know if it works correctly. :)
>
>Rune
>--
>3D images and anims, include files, tutorials and more:
>rune|vision: http://runevision.com (updated July 12)
>POV-Ray Ring: http://webring.povray.co.uk
>
Thanks a million Rune!! I will test it tonight
That's is realy exiting!
regards krus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |