POV-Ray : Newsgroups : povray.binaries.images : Blender exporter now features smoke simultation export via DF3 Server Time
2 Jul 2024 23:48:21 EDT (-0400)
  Blender exporter now features smoke simultation export via DF3 (Message 11 to 15 of 15)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: LanuHum
Subject: Re: Blender exporter now features smoke simultation export via DF3
Date: 11 Mar 2015 14:40:00
Message: <web.55008a64d9092e537a3e03fe0@news.povray.org>
Excellent quality at resolution = 128. Time: 18 minutes
But, manual adjustment of scale is required:

                file.write("scale<%.4g,%.4g,%.4g>\n" % (domdim/6, domdim/6,
(domdim/4)*1.25))
                file.write("translate<%.4g,%.4g,%.4g>\n" % (bbox[0][0],
bbox[0][1], bbox[0][2]))
                writeMatrix(global_matrix * smoke_obj.matrix_world)
                file.write("}\n")


Post a reply to this message


Attachments:
Download 'smoke_good.jpg' (80 KB)

Preview of image 'smoke_good.jpg'
smoke_good.jpg


 

From: Mr
Subject: Re: Blender exporter now features smoke simultation export via DF3
Date: 12 Mar 2015 03:35:01
Message: <web.550140c4d9092e5316086ed00@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> Excellent quality at resolution = 128. Time: 18 minutes
> But, manual adjustment of scale is required:
>
>                 file.write("scale<%.4g,%.4g,%.4g>\n" % (domdim/6, domdim/6,
> (domdim/4)*1.25))
>                 file.write("translate<%.4g,%.4g,%.4g>\n" % (bbox[0][0],
> bbox[0][1], bbox[0][2]))
>                 writeMatrix(global_matrix * smoke_obj.matrix_world)
>                 file.write("}\n")

Great! could you provide me the scene for testing the bug to fix please?
I sent you an email you can answer.


Post a reply to this message

From: LanuHum
Subject: Re: Blender exporter now features smoke simultation export via DF3
Date: 12 Mar 2015 13:00:00
Message: <web.5501c5c8d9092e537a3e03fe0@news.povray.org>
"Mr" <nomail@nomail> wrote:

> Great! could you provide me the scene for testing the bug to fix please?
> I sent you an email you can answer.

I sent :)


Post a reply to this message

From: LanuHum
Subject: Re: Blender exporter now features smoke simultation export via DF3
Date: 12 Mar 2015 13:20:00
Message: <web.5501c9bfd9092e537a3e03fe0@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> "Mr" <nomail@nomail> wrote:
>
> > Great! could you provide me the scene for testing the bug to fix please?
> > I sent you an email you can answer.
>
> I sent :)

I forgot to report another.
Parsing of the file in Blender happens vaguely long time.
I use Geany (small IDE) where parsing happens for some seconds, the render comes
to an end, and to Blender still there is a parsing :(
???


Post a reply to this message

From: LanuHum
Subject: Re: Blender exporter now features smoke simultation export via DF3
Date: 5 Apr 2015 04:10:01
Message: <web.5520ed80d9092e537a3e03fe0@news.povray.org>
Mr, I see you corrected scale, thanks!
I recommend to make change:
If smoke objects > 1 ????
smokePath = os.path.join(previewDir, "smoke_%s.df3"%povName)
Also
smoke_type == 'COLLISION' has to be visible
I would write so:
        renderEmitter = True
        for mod in ob.modifiers:
            if mod and hasattr(mod, 'smoke_type'):
                if (mod.smoke_type == 'DOMAIN'):
                    exportSmoke(ob.name)
                    renderEmitter = False
                break


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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