POV-Ray : Newsgroups : povray.binaries.utilities : export blender's smoke Server Time
31 Oct 2024 12:15:57 EDT (-0400)
  export blender's smoke (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Stephen
Subject: Re: export blender's smoke
Date: 19 Mar 2018 10:53:22
Message: <5aafcee2$1@news.povray.org>
On 19/03/2018 14:21, And wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
>> I want to export smoke of blender. I wrote some code to read df3, and here
>> https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Render/POV-Ray
>>
>> it says "A DF3 file (POV-Ray voxel format) is exported. I want to know where is
>> this file.
> 
> I have tried render a scene from it.
> 

I hope I can explain this.
In Blender with the render set to PovRay. Go to the scene properties 
(camera icon). Open the "Output" property and you will see the o/p 
directory. Mine reads /tmp/ Click the folder icon and Blender will show 
you where the Pov file should be saved.
I've not tried using df3s myself. Although I found and reported a bug 
using boids.

Keep us informed on how it goes.

-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: export blender's smoke
Date: 19 Mar 2018 11:00:16
Message: <5aafd080$1@news.povray.org>
On 19/03/2018 14:53, Stephen wrote:
> Blender will show you where the Pov file should be saved.

One more thing
In Properties deselect "Delete files" and select POV Editor. That way 
when you start to render PovRay will open and if the scene fails it will 
be loaded into PovRay

-- 

Regards
     Stephen


Post a reply to this message

From: And
Subject: Re: export blender's smoke
Date: 19 Mar 2018 23:30:00
Message: <web.5ab07f5217bef35764bb7d620@news.povray.org>
Stephen <mca### [at] aolcom> wrote:
> On 19/03/2018 14:21, And wrote:
> > "And" <49341109@ntnu.edu.tw> wrote:
> >> I want to export smoke of blender. I wrote some code to read df3, and here
> >> https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Render/POV-Ray
> >>
> >> it says "A DF3 file (POV-Ray voxel format) is exported. I want to know where is
> >> this file.
> >
> > I have tried render a scene from it.
> >
>
> I hope I can explain this.
> In Blender with the render set to PovRay. Go to the scene properties
> (camera icon). Open the "Output" property and you will see the o/p
> directory. Mine reads /tmp/ Click the folder icon and Blender will show
> you where the Pov file should be saved.
> I've not tried using df3s myself. Although I found and reported a bug
> using boids.
>
> Keep us informed on how it goes.
>
> --
>
> Regards
>      Stephen

Hmm I tried change the output directory to D:\ but it doesn't save the files to
that. I found the .pov and output image on user\AppData\Local\Temp directory
where PovRay message shows. Opening the .pov I found the df3 path finally. It is
on
....user\AppData\Roaming\Blender Foundation\Blender\2.79\preview\smoke.df3"
Windows 7.

Thanks for the response.


Post a reply to this message

From: Stephen
Subject: Re: export blender's smoke
Date: 20 Mar 2018 01:45:51
Message: <5ab0a00f$1@news.povray.org>
On 20/03/2018 03:26, And wrote:
> Stephen <mca### [at] aolcom> wrote:
>> On 19/03/2018 14:21, And wrote:
>>> "And" <49341109@ntnu.edu.tw> wrote:
>>>> I want to export smoke of blender. I wrote some code to read df3, and here
>>>> https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Render/POV-Ray
>>>>
>>>> it says "A DF3 file (POV-Ray voxel format) is exported. I want to know where is
>>>> this file.
>>>
>>> I have tried render a scene from it.
>>>
>>
>> I hope I can explain this.
>> In Blender with the render set to PovRay. Go to the scene properties
>> (camera icon). Open the "Output" property and you will see the o/p
>> directory. Mine reads /tmp/ Click the folder icon and Blender will show
>> you where the Pov file should be saved.
>> I've not tried using df3s myself. Although I found and reported a bug
>> using boids.
>>
>> Keep us informed on how it goes.
>>
>> --
>>
>> Regards
>>       Stephen
> 
> Hmm I tried change the output directory to D:\ but it doesn't save the files to
> that. I found the .pov and output image on user\AppData\Local\Temp directory
> where PovRay message shows. Opening the .pov I found the df3 path finally. It is
> on
> ....user\AppData\Roaming\Blender Foundation\Blender\2.79\preview\smoke.df3"
> Windows 7.
> 
> Thanks for the response.
> 

Sorry, I did some checking and that o/p location is for the render o/p. 
My pov files are saved in the same location that the blend file is saved in.
I do have some files in %appdata%\Blender Foundation\Blender\2.79\preview

But they are associated with a file that had packed textures. I don't 
know what happened there.


-- 

Regards
     Stephen


Post a reply to this message

From: And
Subject: Re: export blender's smoke
Date: 20 Mar 2018 02:35:00
Message: <web.5ab0ab1917bef35764bb7d620@news.povray.org>
I have another question: I found the df3 file of the blender exporter is just
one byte depth data, (I know povray df3 has one byte or two bytes variation), is
there an option to two bytes data? I wish my data is more accurate. Thank you.


Post a reply to this message

From: Stephen
Subject: Re: export blender's smoke
Date: 20 Mar 2018 03:23:12
Message: <5ab0b6e0$1@news.povray.org>
On 20/03/2018 06:32, And wrote:
> I have another question: I found the df3 file of the blender exporter is just
> one byte depth data, (I know povray df3 has one byte or two bytes variation), is
> there an option to two bytes data? I wish my data is more accurate. Thank you.
> 
> 

I've not used Blender with df3s so I will leave Maurice to answer.

-- 

Regards
     Stephen


Post a reply to this message

From: jr
Subject: Re: export blender's smoke
Date: 20 Mar 2018 18:00:49
Message: <5ab18491$1@news.povray.org>
hi,

On 20/03/2018 06:32, And wrote:
> I have another question: I found the df3 file of the blender exporter is just
> one byte depth data, (I know povray df3 has one byte or two bytes variation), is
> there an option to two bytes data? I wish my data is more accurate. Thank you.

you could use the 'df3util' program to convert from 8-bit to 16-bit (or
32), posted in p.b.u on 27th July last year.  hth.


regards, jr.


Post a reply to this message

From: Stephen
Subject: Re: export blender's smoke
Date: 21 Mar 2018 06:02:04
Message: <5ab22d9c$1@news.povray.org>
On 19/03/2018 14:21, And wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
>> I want to export smoke of blender. I wrote some code to read df3, and here
>> https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Render/POV-Ray
>>
>> it says "A DF3 file (POV-Ray voxel format) is exported. I want to know where is
>> this file.
> 
> I have tried render a scene from it.
> 

Thanks for bringing up this topic. I had not tried Blender's smoke 
before. It is very interesting playing with it.
The exported smoke texture I get is not the same in PovRay as rendered 
in Blender.

-- 

Regards
     Stephen


Post a reply to this message

From: clipka
Subject: Re: export blender's smoke
Date: 21 Mar 2018 22:08:07
Message: <5ab31007@news.povray.org>
Am 20.03.2018 um 23:00 schrieb jr:
> hi,
> 
> On 20/03/2018 06:32, And wrote:
>> I have another question: I found the df3 file of the blender exporter is just
>> one byte depth data, (I know povray df3 has one byte or two bytes variation), is
>> there an option to two bytes data? I wish my data is more accurate. Thank you.
> 
> you could use the 'df3util' program to convert from 8-bit to 16-bit (or
> 32), posted in p.b.u on 27th July last year.  hth.

That's rather pointless - no conversion in the world can restore the
high-precision information that wasn't exported in the first place.


Post a reply to this message

From: jr
Subject: Re: export blender's smoke
Date: 22 Mar 2018 13:04:38
Message: <5ab3e226$1@news.povray.org>
hi,

On 22/03/2018 02:08, clipka wrote:
>>> I have another question: I found the df3 file of the blender exporter is just
>>> one byte depth data, (I know povray df3 has one byte or two bytes variation), is
>>> there an option to two bytes data? I wish my data is more accurate. Thank you.
>>
>> you could use the 'df3util' program to convert from 8-bit to 16-bit (or
>> 32), posted in p.b.u on 27th July last year.  hth.
> 
> That's rather pointless - no conversion in the world can restore the
> high-precision information that wasn't exported in the first place.

superficially yes, but depends on the exact structure of the project +
data, of which I know nothing.  but, where there's a will etc.  if the
data can be created as a set of "ranged" 8-bit df3s, for instance, it
can easily be "assembled" into a a single df3 with full 16-bit range
(recoding data as needed).

regards, jr.


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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