Author Topic: Corona Material/Lights Converter (legacy)  (Read 1095423 times)

2015-11-11, 03:39:54
Reply #780

Noah45

  • Active Users
  • **
  • Posts: 437
  • press *1
    • View Profile
Having difficulties converting a Vray file.
Using the latest material converter, and Corona 1.3

In the screenshot, after executing 'start conversion', it does nothing.
There is an original Corona material (tshirt) and a corona light.

I'm wondering if the Client did something different w/ Vray, But a friend that has Vray, has no problem with this file?
Retail Illustrator  (for ever' 80's )
3DMax 2020/Corona Version: 6DB

2015-11-11, 03:51:25
Reply #781

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Hi. You need to have Vray installed to convert Vray materials. Don't know if that's the problem, but it sounds like this.

I think there is a trial/demo version of Vray that will make conversion possible.

2015-11-11, 03:52:58
Reply #782

Noah45

  • Active Users
  • **
  • Posts: 437
  • press *1
    • View Profile
I'll try it, but did not need VRay on earlier conversions
Retail Illustrator  (for ever' 80's )
3DMax 2020/Corona Version: 6DB

2015-11-11, 05:24:13
Reply #783

Noah45

  • Active Users
  • **
  • Posts: 437
  • press *1
    • View Profile
Workaround for tonight... my Vray licensed buddy is exporting as .3ds. (deadline a.m!)
Retail Illustrator  (for ever' 80's )
3DMax 2020/Corona Version: 6DB

2015-11-11, 10:00:26
Reply #784

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
I'll try it, but did not need VRay on earlier conversions
The converter needs vray installed if you want to convert vray classes. Without having the plugin running, max has no idea about these materials, their properties and so on. But it has always been like this (and will be in the future) ;)
Installing the Demo version of vray is sufficient.
Any sufficiently advanced bug is indistinguishable from a feature.

2015-11-11, 10:15:57
Reply #785

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8832
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Hi Martin, not sure if i'm doing it wrong or selection modes are broken in converter v1.20. I have a bunch of bitmap nodes in slate editor and i want to convert some of them into CoronaBitmaps. I select those specific nodes in SME, choose "selected material editor slot" in converter and press start conversion, but it converts every single bitmap node in that view, not just selected ones.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-11, 10:29:17
Reply #786

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
mhhh.. I'm not sure if I remember it correctly but I think maps do not respect the selection modes. So you either convert ALL materials + maps or just the materials themselves (excluding maps) via object or material editor slot. It's due to the way I'm collecting the map instances and also to avoid breaking instancing between materials =/
Any sufficiently advanced bug is indistinguishable from a feature.

2015-11-11, 10:43:38
Reply #787

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8832
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Looks like there is no option to do that at all? :/ Maybe it's possible to force converter to respect SME views, so we'd have at least some workaround - move necessary nodes to separate view and convert all maps only in that specific view?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-11, 10:48:16
Reply #788

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Doing stuff for slate is quite... unpleasing.. to put it this way ;) . Or at least has been in the past, haven't checked lately. Would it be sufficient if the current selected mtl editor slot converts whatever is in there? Either the map or the material + the maps used by this material (possibly breaking the instancing).
Any sufficiently advanced bug is indistinguishable from a feature.

2015-11-11, 11:45:48
Reply #789

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8832
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Well, not very usefull for me, but still better than nothing. No rush, though.

Oh, and i couldn't care less about keeping instancing, since in slate it's quite easy to tell whether node is instanced or not :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-11, 12:35:03
Reply #790

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12752
  • Marcin
    • View Profile
Regarding the Noah45 problem: you can see that the red material says "missing material" - so it is not something which did not get converted, but simply a missing material.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-11-11, 13:01:19
Reply #791

Noah45

  • Active Users
  • **
  • Posts: 437
  • press *1
    • View Profile
Thanks for responses.  OK. I need to find out what the client did differently to these files.
Retail Illustrator  (for ever' 80's )
3DMax 2020/Corona Version: 6DB

2015-11-13, 10:57:09
Reply #792

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
some fixes

Get it here: http://www.racoon-artworks.de/CoronaConverter/CoronaConverter.html

changelog:
v1.22 - [2015/11/13]
  • fixed conversion issue with fog texmap (affecting older Vray builds prior 2.5)
  • adjusted bump conversion for Arch___Design__mi, Standard
  • added additional check to prevent crashes with 0 face objects and ProxyConverter
Any sufficiently advanced bug is indistinguishable from a feature.

2015-11-24, 13:26:37
Reply #793

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
new public version

Get it here: http://www.racoon-artworks.de/CoronaConverter/CoronaConverter.html

changelog:
v1.23 - [2015/11/24]
  • added VrayDisplacementMod conversion tool
  • improved VrayLight units conversion, luminance and radiance still inaccurate due to limitations
  • improved VrayMtl anisotropy conversion: 50 percent decresed intensity, orientation in local z preserved
Any sufficiently advanced bug is indistinguishable from a feature.

2015-12-04, 04:11:34
Reply #794

brightlight

  • Users
  • *
  • Posts: 4
    • View Profile
Error recorded trying to convert this Vray material:
Quote
>>> SCENE Info: <<<
Corona version: 1.3, build timestamp: Nov  3 2015 13:07:12
Converter version: 1.20
Installed Vray plugins: V_Ray_RT_3_20_03  V_Ray_Adv_3_20_03 
# Material conversion took 24.763 seconds
# Iterations: 833, converted: 830
# Map conversion took 0.986 seconds
# Iterations: 691, converted: 199
# Light conversion took 0.144 seconds
# Iterations: 21

Error occured in VRayMtl : Glass Opaque:VRayMtl
-- Unable to convert: undefined to type: Float

Error occured in VRayMtl : Glass Opaque:VRayMtl
-- Unable to convert: undefined to type: Float

Error occured in VRayMtl : Glass Opaque:VRayMtl
-- Unable to convert: undefined to type: Float