POV-Ray : Newsgroups : povray.newusers : Convert a solid to something pov-ray can read Server Time
10 Nov 2026 02:10:28 EST (-0500)
  Convert a solid to something pov-ray can read (Message 1 to 22 of 22)  
From: SecondCup
Subject: Convert a solid to something pov-ray can read
Date: 15 Sep 2016 20:35:05
Message: <web.57db3deb40043d07f17efbc0@news.povray.org>
Hi All,

I'm trying to render a scene in pov ray of a real life mineral ore body. The ore
body has been made and is a complicated wireframe modeled in a mining software
in .dxf format. What is the best way to convert this to something pov-ray can
read, where I can then use the program to adjust the textures, colors and the
usual stuff once its placed where I want it.

Ive downloaded 'PoseRay' by FlyerX and had played with this for a while but I'm
wondering if there is something that can make it a little easier to import.

It doesn't have to be .dxf, if someone knows and easier format that pov-ray
likes while retaining its detail, I'm willing to try this too.

Apologies for the repeat question, but I've tried multiple links provided on the
'resources: Conversion utilities' page and many appear to be not in use anymore.


Post a reply to this message

From: scott
Subject: Re: Convert a solid to something pov-ray can read
Date: 16 Sep 2016 02:50:24
Message: <57db9630$1@news.povray.org>
On 16/09/2016 01:33, SecondCup wrote:
> Hi All,
>
> I'm trying to render a scene in pov ray of a real life mineral ore body. The ore
> body has been made and is a complicated wireframe modeled in a mining software
> in .dxf format. What is the best way to convert this to something pov-ray can
> read, where I can then use the program to adjust the textures, colors and the
> usual stuff once its placed where I want it.
>
> Ive downloaded 'PoseRay' by FlyerX and had played with this for a while but I'm
> wondering if there is something that can make it a little easier to import.
>
> It doesn't have to be .dxf, if someone knows and easier format that pov-ray
> likes while retaining its detail, I'm willing to try this too.
>
> Apologies for the repeat question, but I've tried multiple links provided on the
> 'resources: Conversion utilities' page and many appear to be not in use anymore.

If your mining software can export a mesh-based format like .obj, .stl, 
.slp, .vrml then there's software to convert to POV format.


Post a reply to this message

From: clipka
Subject: Re: Convert a solid to something pov-ray can read
Date: 16 Sep 2016 05:54:08
Message: <57dbc140$1@news.povray.org>
Am 16.09.2016 um 08:50 schrieb scott:

> If your mining software can export a mesh-based format like .obj, .stl,
> ..slp, .vrml then there's software to convert to POV format.

... and direct OBJ import into POV-Ray is on its way.


Post a reply to this message

From: SecondCup
Subject: Re: Convert a solid to something pov-ray can read
Date: 19 Sep 2016 13:10:00
Message: <web.57e01b70b7609bb865efcef0@news.povray.org>
scott <sco### [at] scottcom> wrote:
> On 16/09/2016 01:33, SecondCup wrote:
> > Hi All,
> >
> > I'm trying to render a scene in pov ray of a real life mineral ore body. The ore
> > body has been made and is a complicated wireframe modeled in a mining software
> > in .dxf format. What is the best way to convert this to something pov-ray can
> > read, where I can then use the program to adjust the textures, colors and the
> > usual stuff once its placed where I want it.
> >
> > Ive downloaded 'PoseRay' by FlyerX and had played with this for a while but I'm
> > wondering if there is something that can make it a little easier to import.
> >
> > It doesn't have to be .dxf, if someone knows and easier format that pov-ray
> > likes while retaining its detail, I'm willing to try this too.
> >
> > Apologies for the repeat question, but I've tried multiple links provided on the
> > 'resources: Conversion utilities' page and many appear to be not in use anymore.
>
> If your mining software can export a mesh-based format like .obj, .stl,
> .slp, .vrml then there's software to convert to POV format.


Thanks Scott.

I'm not sure how familiar you are with PoseRay but it renders the wireframe
(whether a .dxf or .obj) as a kind of a snapshot of the solid as it is on the
screen at the time of rendering. Then when you run the .pov, it produces a black
and white shaded image of the solid and exports it as a .png too. When run in
pov-ray, its a badly pixelated shaded surface

In summary, its not producing the wireframe as a true solid the way it is when
viewed as a .dxf or .obj in other software. I'm probably not explaining my self
very well, but I can provide all the files if you want


Post a reply to this message

From: Stephen
Subject: Re: Convert a solid to something pov-ray can read
Date: 19 Sep 2016 14:13:02
Message: <57e02aae$1@news.povray.org>
On 9/19/2016 6:09 PM, SecondCup wrote:
>
>
> Thanks Scott.
>
> I'm not sure how familiar you are with PoseRay but it renders the wireframe
> (whether a .dxf or .obj) as a kind of a snapshot of the solid as it is on the
> screen at the time of rendering. Then when you run the .pov, it produces a black
> and white shaded image of the solid and exports it as a .png too. When run in
> pov-ray, its a badly pixelated shaded surface
>
> In summary, its not producing the wireframe as a true solid the way it is when
> viewed as a .dxf or .obj in other software. I'm probably not explaining my self
> very well, but I can provide all the files if you want
>

Just a thought. A wireframe is not a solid it is just the edges as far 
as I understand it.

When I use PoseRay. I do not allow it to render the scene but export the 
geometry and material then import it into Bishop3D* to work on it and 
view it in openGL.

*
Bishop3D is a modeller for PovRay which is now free but only works with 
PovRay Ver 3.6
Also you would need to use an older version of PoseRay ver 3.12.2.456 or 
Bishop3D will not be able to import it.

-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Convert a solid to something pov-ray can read
Date: 20 Sep 2016 02:52:39
Message: <57e0dcb7$1@news.povray.org>
On 19-9-2016 19:09, SecondCup wrote:
> scott <sco### [at] scottcom> wrote:
>> On 16/09/2016 01:33, SecondCup wrote:
>>> Hi All,
>>>
>>> I'm trying to render a scene in pov ray of a real life mineral ore body. The ore
>>> body has been made and is a complicated wireframe modeled in a mining software
>>> in .dxf format. What is the best way to convert this to something pov-ray can
>>> read, where I can then use the program to adjust the textures, colors and the
>>> usual stuff once its placed where I want it.
>>>
>>> Ive downloaded 'PoseRay' by FlyerX and had played with this for a while but I'm
>>> wondering if there is something that can make it a little easier to import.
>>>
>>> It doesn't have to be .dxf, if someone knows and easier format that pov-ray
>>> likes while retaining its detail, I'm willing to try this too.
>>>
>>> Apologies for the repeat question, but I've tried multiple links provided on the
>>> 'resources: Conversion utilities' page and many appear to be not in use anymore.
>>
>> If your mining software can export a mesh-based format like .obj, .stl,
>> .slp, .vrml then there's software to convert to POV format.
>
>
> Thanks Scott.
>
> I'm not sure how familiar you are with PoseRay but it renders the wireframe
> (whether a .dxf or .obj) as a kind of a snapshot of the solid as it is on the
> screen at the time of rendering. Then when you run the .pov, it produces a black
> and white shaded image of the solid and exports it as a .png too. When run in
> pov-ray, its a badly pixelated shaded surface
>
> In summary, its not producing the wireframe as a true solid the way it is when
> viewed as a .dxf or .obj in other software. I'm probably not explaining my self
> very well, but I can provide all the files if you want
>

If I understand you correctly (I may be wrong) I think that what you 
need to do is 'export' your .dxf or .obj to POV-Ray using Poseray. This 
generates a couple of files (MyObject_POV_geom.inc and 
MyObject_POV_mat.inc) containing a mesh2{} file that describes the 
original geometry and textures, and which you can then render in POV-Ray 
as an object{}. You may probably need to edit the material file.

-- 
Thomas


Post a reply to this message

From: William F Pokorny
Subject: Re: Convert a solid to something pov-ray can read
Date: 20 Sep 2016 08:52:58
Message: <57e1312a$1@news.povray.org>
On 09/15/2016 08:33 PM, SecondCup wrote:
> Hi All,
>
> I'm trying to render a scene in pov ray of a real life mineral ore body. The ore
> body has been made and is a complicated wireframe modeled in a mining software
> in .dxf format. What is the best way to convert this to something pov-ray can
> read, where I can then use the program to adjust the textures, colors and the
> usual stuff once its placed where I want it.
>
> Ive downloaded 'PoseRay' by FlyerX and had played with this for a while but I'm
> wondering if there is something that can make it a little easier to import.
>
> It doesn't have to be .dxf, if someone knows and easier format that pov-ray
> likes while retaining its detail, I'm willing to try this too.
>
> Apologies for the repeat question, but I've tried multiple links provided on the
> 'resources: Conversion utilities' page and many appear to be not in use anymore.
>
>

I'm not aware of a direct path to povray from dxf. If the mining 
software can output obj(povray import just added to 3.7.1) or something 
PoseRay can handle that is probably the easiest path into POV-Ray as 
others have suggested. The latter the better path, if you are getting 
materials/textures from which you'd like to start.

Though I've not used them, I know of FreeCAD and OpenSCAD. At least from 
their docs it looks like there is perhaps path for the mesh data:

dxf -> openscad -> off -> freecad -> povray

There is too the MeshLab tool I've played with a little, which can 
import/export many mesh formats as well as process them in various ways 
- but it doesn't import or export from the POV-Ray native mesh formats.

Bill P.


Post a reply to this message

From: SecondCup
Subject: Re: Convert a solid to something pov-ray can read
Date: 21 Sep 2016 15:00:00
Message: <web.57e2d78bb7609bb7f17efbc0@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:
> On 09/15/2016 08:33 PM, SecondCup wrote:
> > Hi All,
> >
> > I'm trying to render a scene in pov ray of a real life mineral ore body. The ore
> > body has been made and is a complicated wireframe modeled in a mining software
> > in .dxf format. What is the best way to convert this to something pov-ray can
> > read, where I can then use the program to adjust the textures, colors and the
> > usual stuff once its placed where I want it.
> >
> > Ive downloaded 'PoseRay' by FlyerX and had played with this for a while but I'm
> > wondering if there is something that can make it a little easier to import.
> >
> > It doesn't have to be .dxf, if someone knows and easier format that pov-ray
> > likes while retaining its detail, I'm willing to try this too.
> >
> > Apologies for the repeat question, but I've tried multiple links provided on the
> > 'resources: Conversion utilities' page and many appear to be not in use anymore.
> >
> >
>
> I'm not aware of a direct path to povray from dxf. If the mining
> software can output obj(povray import just added to 3.7.1) or something
> PoseRay can handle that is probably the easiest path into POV-Ray as
> others have suggested. The latter the better path, if you are getting
> materials/textures from which you'd like to start.
>
> Though I've not used them, I know of FreeCAD and OpenSCAD. At least from
> their docs it looks like there is perhaps path for the mesh data:
>
> dxf -> openscad -> off -> freecad -> povray
>
> There is too the MeshLab tool I've played with a little, which can
> import/export many mesh formats as well as process them in various ways
> - but it doesn't import or export from the POV-Ray native mesh formats.
>
> Bill P.


Hi all,

Ive found a great online conversion program called AccuTrans. Its converts to
..pov and other formats for seamless importing.


Post a reply to this message

From: Stephen
Subject: Re: Convert a solid to something pov-ray can read
Date: 21 Sep 2016 15:14:07
Message: <57e2dbff$1@news.povray.org>
On 9/21/2016 7:55 PM, SecondCup wrote:
>
>
> Hi all,
>
> Ive found a great online conversion program called AccuTrans. Its converts to
> ...pov and other formats for seamless importing.
>

I've just had a look at the file formats. It supports Pov ver 3.0
That is quite old and it is not free.
I use Bishop3D which is dead but supports Pov Ver 3.6
I use it to generate pov files that I can run in Pov 3.7 for the speed 
of using all my CPUs

Although not supported now. There are a couple of uses here who could help.


-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Convert a solid to something pov-ray can read
Date: 22 Sep 2016 03:58:57
Message: <57e38f41$1@news.povray.org>
On 21-9-2016 21:14, Stephen wrote:
> On 9/21/2016 7:55 PM, SecondCup wrote:
>>
>>
>> Hi all,
>>
>> Ive found a great online conversion program called AccuTrans. Its
>> converts to
>> ...pov and other formats for seamless importing.
>>
>
> I've just had a look at the file formats. It supports Pov ver 3.0
> That is quite old and it is not free.
> I use Bishop3D which is dead but supports Pov Ver 3.6
> I use it to generate pov files that I can run in Pov 3.7 for the speed
> of using all my CPUs
>
> Although not supported now. There are a couple of uses here who could help.
>
>

And I am stubborn: I still would like to hear (maybe see an example in 
p.b.i.?) from SecondCup how he fares with a proper pov-ray mesh2{} 
export in Poseray.

-- 
Thomas


Post a reply to this message

From: Stephen
Subject: Re: Convert a solid to something pov-ray can read
Date: 22 Sep 2016 04:18:35
Message: <57e393db$1@news.povray.org>
On 9/22/2016 8:58 AM, Thomas de Groot wrote:

>
> And I am stubborn: I still would like to hear (maybe see an example in
> p.b.i.?) from SecondCup how he fares with a proper pov-ray mesh2{}
> export in Poseray.
>

And I would like to see an example of a small  model. For when trouble 
shooting, checking the input file is a valid starting point.


-- 

Regards
     Stephen


Post a reply to this message

From: SecondCup
Subject: Re: Convert a solid to something pov-ray can read
Date: 23 Sep 2016 11:20:01
Message: <web.57e547dcb7609bbbe6b2e390@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 21-9-2016 21:14, Stephen wrote:
> > On 9/21/2016 7:55 PM, SecondCup wrote:
> >>
> >>
> >> Hi all,
> >>
> >> Ive found a great online conversion program called AccuTrans. Its
> >> converts to
> >> ...pov and other formats for seamless importing.
> >>
> >
> > I've just had a look at the file formats. It supports Pov ver 3.0
> > That is quite old and it is not free.
> > I use Bishop3D which is dead but supports Pov Ver 3.6
> > I use it to generate pov files that I can run in Pov 3.7 for the speed
> > of using all my CPUs
> >
> > Although not supported now. There are a couple of uses here who could help.
> >
> >
>
> And I am stubborn: I still would like to hear (maybe see an example in
> p.b.i.?) from SecondCup how he fares with a proper pov-ray mesh2{}
> export in Poseray.
>
> --
> Thomas

Hi Thomas,

Apologies mate but I have no idea what 'p.b.i' means. The Accutrans conversion
program converts my .dxf file into a single .pov file (no material or geometry
files a la poseray), version 3.5 with a simple 'save as' click. I can then make
any adjustments to the textures etc that I want and call this converted mesh
file into any pov scene I like.


Post a reply to this message

From: clipka
Subject: Re: Convert a solid to something pov-ray can read
Date: 23 Sep 2016 12:02:56
Message: <57e55230@news.povray.org>
Am 23.09.2016 um 17:19 schrieb SecondCup:

> Apologies mate but I have no idea what 'p.b.i' means.

It's shorthand for "povray.binaries.images".


Post a reply to this message

From: SecondCup
Subject: Re: Convert a solid to something pov-ray can read
Date: 23 Sep 2016 14:00:00
Message: <web.57e56d1bb7609bbbe6b2e390@news.povray.org>
> It's shorthand for "povray.binaries.images".

Thanks Clipka, why I'm still posting in the 'newusers' section :)


Post a reply to this message

From: Doctor John
Subject: Re: Convert a solid to something pov-ray can read
Date: 23 Sep 2016 14:53:40
Message: <57e57a34$1@news.povray.org>
On 23/09/16 18:58, SecondCup wrote:
>> It's shorthand for "povray.binaries.images".
> 
> Thanks Clipka, why I'm still posting in the 'newusers' section :)
> 

... and p.o-t is povray.off-topic, but you have to be mad to go there :-D

John
-- 
It's not about bravery.
It's about doing what I need to do to win


Post a reply to this message

From: Stephen
Subject: Re: Convert a solid to something pov-ray can read
Date: 23 Sep 2016 15:04:05
Message: <57e57ca5$1@news.povray.org>
On 9/23/2016 7:53 PM, Doctor John wrote:
> On 23/09/16 18:58, SecondCup wrote:
>>> It's shorthand for "povray.binaries.images".
>>
>> Thanks Clipka, why I'm still posting in the 'newusers' section :)
>>
>
> .... and p.o-t is povray.off-topic, but you have to be mad to go there :-D
>

And that is why you live there. ;)

Come join us, if you dare. :)


-- 

Regards
     Stephen


Post a reply to this message

From: Doctor John
Subject: Re: Convert a solid to something pov-ray can read
Date: 23 Sep 2016 15:32:49
Message: <57e58361$1@news.povray.org>
On 23/09/16 20:03, Stephen wrote:
> On 9/23/2016 7:53 PM, Doctor John wrote:
>> .... and p.o-t is povray.off-topic, but you have to be mad to go there
>> :-D
>>
> 
> And that is why you live there. ;)
> 

I have never claimed to possess a single shred of sanity. You, however,
often attempt to be the voice of reason ;-)

> Come join us, if you dare. :)
> 

@SecondCup, if you pop in to see us, Stephen will go to the bar and
order your drink, Jim Henderson will pay for it

John the financially Embarassed
-- 
It's not about bravery.
It's about doing what I need to do to win


Post a reply to this message

From: Stephen
Subject: Re: Convert a solid to something pov-ray can read
Date: 23 Sep 2016 15:48:53
Message: <57e58725$1@news.povray.org>
On 9/23/2016 8:32 PM, Doctor John wrote:
> On 23/09/16 20:03, Stephen wrote:
>> On 9/23/2016 7:53 PM, Doctor John wrote:
>>> .... and p.o-t is povray.off-topic, but you have to be mad to go there
>>> :-D
>>>
>>
>> And that is why you live there. ;)
>>
>
> I have never claimed to possess a single shred of sanity. You, however,
> often attempt to be the voice of reason ;-)
>

That is true for you and a lot of us. :)

>> Come join us, if you dare. :)
>>
>
> @SecondCup, if you pop in to see us, Stephen will go to the bar and
> order your drink, Jim Henderson will pay for it
>
> John the financially Embarassed
>

Only because you always leave your wallet at home. :-P


-- 

Regards
     Stephen


Post a reply to this message

From: Doctor John
Subject: Re: Convert a solid to something pov-ray can read
Date: 23 Sep 2016 16:12:46
Message: <57e58cbe$1@news.povray.org>
On 23/09/16 20:48, Stephen wrote:
> 
> Only because you always leave your wallet at home. :-P
> 
> 
You are, of course, joking; the Kat and/or the Feegle would be on it in
a flash.

I leave it at work

John
-- 
It's not about bravery.
It's about doing what I need to do to win


Post a reply to this message

From: Stephen
Subject: Re: Convert a solid to something pov-ray can read
Date: 23 Sep 2016 16:42:06
Message: <57e5939e$1@news.povray.org>
On 9/23/2016 9:12 PM, Doctor John wrote:
> On 23/09/16 20:48, Stephen wrote:
>>
>> Only because you always leave your wallet at home. :-P
>>
>>
> You are, of course, joking; the Kat and/or the Feegle would be on it in
> a flash.
>

You mean they know your combination number?
I will have to get someone from security to give you a refresher. :-P

> I leave it at work
>

And you trust them, THEM?


-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Convert a solid to something pov-ray can read
Date: 24 Sep 2016 03:02:05
Message: <57e624ed$1@news.povray.org>
On 23-9-2016 19:58, SecondCup wrote:
>> It's shorthand for "povray.binaries.images".
>
> Thanks Clipka, why I'm still posting in the 'newusers' section :)
>
>

Sorry, my bad indeed. I should have written it out loud and clear ;-)

However, back to the matter at hand: could you post (in p.b.i) an image 
of the object as it appears to you in Poseray and/or after render in 
POV-Ray? That may help me/us to give a learned answer. I have a couple 
of ideas on the matter but I want to be sure.

-- 
Thomas


Post a reply to this message

From: SecondCup
Subject: Re: Convert a solid to something pov-ray can read
Date: 29 Sep 2016 15:35:00
Message: <web.57ed6c5db7609bb7f17efbc0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 23-9-2016 19:58, SecondCup wrote:
> >> It's shorthand for "povray.binaries.images".
> >
> > Thanks Clipka, why I'm still posting in the 'newusers' section :)
> >
> >
>
> Sorry, my bad indeed. I should have written it out loud and clear ;-)
>
> However, back to the matter at hand: could you post (in p.b.i) an image
> of the object as it appears to you in Poseray and/or after render in
> POV-Ray? That may help me/us to give a learned answer. I have a couple
> of ideas on the matter but I want to be sure.
>
> --
> Thomas

Dammnit I cant recall which group I posted in but I just posted a new question
with attachments to either the images or scene-files. Ether way it'll be up
soon. The attachment 'lobes_all.pov" was created in Accutrans3D


Post a reply to this message

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