Author Topic: v7.0.0  (Read 11523 times)

2017-06-22, 12:39:44

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Just released a new version that fixes Issue #110 https://bitbucket.org/coronablender/render_corona/issues/110

This affects objects that link to the same mesh but have different modifier settings.

It means that some objects may have different output names, but should only affect objects in this specific instance.

2017-06-22, 14:13:05
Reply #1

Asticles

  • Active Users
  • **
  • Posts: 84
    • View Profile
YES!

2017-06-22, 14:15:29
Reply #2

Asticles

  • Active Users
  • **
  • Posts: 84
    • View Profile
Sorry, but seems that Only Modified option does not work anymore.
« Last Edit: 2017-06-22, 14:23:18 by Asticles »

2017-06-23, 12:53:33
Reply #3

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Thanks working on it

2017-06-23, 17:58:19
Reply #4

Sanekum

  • Active Users
  • **
  • Posts: 64
    • View Profile
Sorry but I can't find Camera motion blur tab. It's mentioned in the wiki page, but I can't figure out how to enable motion blur, only in Object properties but it didn't affect

2017-06-24, 00:03:58
Reply #5

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
motion blur isn't working yet, I will add it to the Todo list

2017-06-26, 09:32:22
Reply #6

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Motion blur works now in v7.1.0.

Only basic motion blur for objects and camera works right now.

You will need to enable it on the object and the camera.  Steps controls the quality/speed.  Make sure it is moving in the blender timeline too :)
« Last Edit: 2017-06-26, 13:08:33 by blanchg »

2017-06-27, 07:15:04
Reply #7

Sanekum

  • Active Users
  • **
  • Posts: 64
    • View Profile
Looks cool @blanchg, thanks
I did a quick test, motion blur works fine, but it looks like in 7.1.0 proxie particle instances got broken again :D
And if you want to motion blur proxy object got error too

Don't want to be annoying but it's realy life meaning features for archviz renders

Quote
Corona: Writing configuration file  Scene.conf
Corona: Writing scene file  Scene.scn
Traceback (most recent call last):
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\outputs.py", line 1120, in write_scn
    setObjTransform(scene, xml_inst, ob, dupli.name, dupli.matrix_world.copy())
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\outputs.py", line 643, in setObjTransform
    if use_ob_mb(obj, scene):
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\util.py", line 651, in use_ob_mb
    return scene.corona.use_ob_mblur and ob.corona.use_mblur and ob.corona.mblur
_type == 'object'
AttributeError: 'list' object has no attribute 'corona'
Corona: Failed :(
Error: Traceback (most recent call last):
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\outputs.py", line 1120, in write_scn
    setObjTransform(scene, xml_inst, ob, dupli.name, dupli.matrix_world.copy())
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\outputs.py", line 643, in setObjTransform
    if use_ob_mb(obj, scene):
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\util.py", line 651, in use_ob_mb
    return scene.corona.use_ob_mblur and ob.corona.use_mblur and ob.corona.mblur
_type == 'object'
AttributeError: 'list' object has no attribute 'corona'

Error: Something went wrong, unable to write .scn file. Check directory permissi
ons of export directory.
Traceback (most recent call last):
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\engine.py", line 495, in render
    render_start( self, scene)
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\engine.py", line 173, in render_start
    render_scene( engine, scene)
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\engine.py", line 327, in render_scene
    bpy.ops.corona.export_scene()
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\modules\bpy\ops.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\outputs.py", line 1120, in write_scn
    setObjTransform(scene, xml_inst, ob, dupli.name, dupli.matrix_world.copy())
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\outputs.py", line 643, in setObjTransform
    if use_ob_mb(obj, scene):
  File "C:\Program Files\Chaos Group\Blender 2.78 (With V-Ray Additions)\2.78\sc
ripts\addons\coronablender\util.py", line 651, in use_ob_mb
    return scene.corona.use_ob_mblur and ob.corona.use_mblur and ob.corona.mblur
_type == 'object'
AttributeError: 'list' object has no attribute 'corona'

Error: Something went wrong, unable to write .scn file. Check directory permissi
ons of export directory.


location: <unknown location>:-1

location: <unknown location>:-1

2017-06-27, 07:20:34
Reply #8

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Thanks it isn't annoying, there are so many ways to use Blender it is impossible for me to test them all.  I have some basic tests that I run before each release but there are things I just don't have time to run through each time :)

2017-06-27, 08:07:07
Reply #9

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Please give v7.1.1 a go.

2017-06-27, 09:04:37
Reply #10

Sanekum

  • Active Users
  • **
  • Posts: 64
    • View Profile
Proxy particles works great again! :)

Instanced groups are now working with one notice, only layer 1 of the scene got exported, it's not big problem, but the question of comfortable use.

For example a have a bulding in this scene, it has many separate objects, windows, facade detail, etc. And it's easier to work with by managing those objects by layers.
I can send them to layer 1 and for the many polygon building it will be little hard to work around because of hardware. I think you can make all layers to be exported but this is not to good because some time I use some layers for unused geometry for and in that case it will be exported to, so only grouped objects must be exported.

2017-06-27, 09:15:17
Reply #11

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
I will have a look but I think in the scene tab you choose which layers get exported right?

2017-06-27, 12:09:15
Reply #12

Sanekum

  • Active Users
  • **
  • Posts: 64
    • View Profile
I will have a look but I think in the scene tab you choose which layers get exported right?

Yep, it's the first thing I've checked, only first layers renders.

2017-06-27, 17:51:39
Reply #13

Asticles

  • Active Users
  • **
  • Posts: 84
    • View Profile
Sorry blanchg,

Did you manage to solve the "Only Modified" issue?

Thanks

2017-06-27, 20:47:17
Reply #14

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona

2017-06-27, 22:11:17
Reply #15

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
I will have a look but I think in the scene tab you choose which layers get exported right?

Yep, it's the first thing I've checked, only first layers renders.
From my testing it is this layer selector that affects which objects are exported.

2017-06-28, 07:03:11
Reply #16

Sanekum

  • Active Users
  • **
  • Posts: 64
    • View Profile
I will have a look but I think in the scene tab you choose which layers get exported right?

Yep, it's the first thing I've checked, only first layers renders.
From my testing it is this layer selector that affects which objects are exported.

Yes, and I found problem, for example if in my other scene instanced objects are on 1, 5 and 10 layers then in the main scene those 1, 5 and 10 layers must be active to.

I tried v-ray for blender and renderman exporters and they solve this some how, layers dont bothers them if some objects are assigned to group they renders, no mater what layers are active.

2017-06-28, 07:18:30
Reply #17

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
That is a very specific case that I haven't tested for :)

2017-06-28, 09:29:11
Reply #18

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Yes, and I found problem, for example if in my other scene instanced objects are on 1, 5 and 10 layers then in the main scene those 1, 5 and 10 layers must be active to.

I tried v-ray for blender and renderman exporters and they solve this some how, layers dont bothers them if some objects are assigned to group they renders, no mater what layers are active.

So should it export if the layers in the other scene aren't marked as visible?

other scene has object a on layer 2 and b on layer 3.  Only layer 2 is active.

main scene has layer 1 active and references both object a and b.  Should a and b export?  My guess is yes.

2017-06-28, 09:31:49
Reply #19

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona

2017-06-28, 11:19:19
Reply #20

Sanekum

  • Active Users
  • **
  • Posts: 64
    • View Profile
Yes, and I found problem, for example if in my other scene instanced objects are on 1, 5 and 10 layers then in the main scene those 1, 5 and 10 layers must be active to.

I tried v-ray for blender and renderman exporters and they solve this some how, layers dont bothers them if some objects are assigned to group they renders, no mater what layers are active.

So should it export if the layers in the other scene aren't marked as visible?

other scene has object a on layer 2 and b on layer 3.  Only layer 2 is active.

main scene has layer 1 active and references both object a and b.  Should a and b export?  My guess is yes.

Yes, and it's working perfectly now, thanks @blanchg

Another issue is with materials :D
It's not a big problem, but when I attach image texture to diffuse slot in nodes it change viewport color of material to grey, it will be better if diffuse color still has an affect to viewport color of object

2017-06-28, 11:57:06
Reply #21

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Will see what I can do I don't have direct control over the viewport

2017-06-28, 22:29:47
Reply #22

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Can you please show me your node setup it is working as expected here. Thanks

2017-06-29, 08:46:40
Reply #23

Sanekum

  • Active Users
  • **
  • Posts: 64
    • View Profile
Can you please show me your node setup it is working as expected here. Thanks


2017-06-29, 09:22:06
Reply #24

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Do you have uv's? That is a way I can reproduce.  I can't help because you have a texture I am asking blender it to render the texture, it won't fall back to the diffuse color.

2017-06-29, 09:58:12
Reply #25

Sanekum

  • Active Users
  • **
  • Posts: 64
    • View Profile
Yes i have uv's
Looks like i can solve this problem just by reattaching texture conection, after that viewport starts to read diffuse color even with texture connected.

It would be nice if viewport read diffuse color from base material from layered materials

2017-06-29, 09:59:26
Reply #26

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Yeah I can do that I think