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

2015-03-05, 15:42:20
Reply #495

Stan_But

  • Active Users
  • **
  • Posts: 526
    • View Profile
    • https://www.behance.net/archdizs
Hi Martin


Quote
>>> SCENE Info: <<<
Corona version: 1.00 DailyBuild Feb 28 2015, build timestamp: Feb 28 2015 16:07:42
Converter version: 1.03
# Material conversion took 1.95 seconds
# Iterations: 195, converted: 194
# Map conversion took 0.349 seconds
# Iterations: 145, converted: 51
# Light conversion took 0.082 seconds
# Iterations: 27

Error occured in VRayFastSSS2 : Marble_white:VRayFastSSS2
-- Unknown property: "texmap_opacity" in Marble_white:VRayFastSSS2


2015-03-05, 15:46:22
Reply #496

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
huh? O_o that's weird. Which vray version are you using? My SSS2 shader has this property...
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-05, 15:50:26
Reply #497

Stan_But

  • Active Users
  • **
  • Posts: 526
    • View Profile
    • https://www.behance.net/archdizs
huh? O_o that's weird. Which vray version are you using? My SSS2 shader has this property...

vray adv. 3.00.08

And also Converter converts in Diffuse slots to CoronaColor maps which do crashe scene if try to show/hide maps globally.
If replace the maps in manual mode -  all works OK

2015-03-05, 16:02:08
Reply #498

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Could you send me the material that's causing the conversion error? I'm on 3.10.01, I'll check the changelog to see if the opacity channel is new.

[Edit] Yes, Opacity map channel was added in 3.10.01 : "(*) VRayFastSSS2: Added opacity texture slot;"
Will fix this asap

Quote
And also Converter converts in Diffuse slots CoronaColor maps which do crashe scene if try to show/hide maps globally.
If replace the maps in manual mode -  all works OK
Afaik, this is a bug in Corona. https://forum.corona-renderer.com/index.php/topic,7180.0.html
You're still using a build from Feb 28, so this should be fixed when you install a new version.
« Last Edit: 2015-03-05, 16:11:00 by DeadClown »
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-05, 18:06:53
Reply #499

Stan_But

  • Active Users
  • **
  • Posts: 526
    • View Profile
    • https://www.behance.net/archdizs
Damn. You are right
I update with every new builds. Don't understand why was v. from 28 feb
Thanks

if it will help here report with DB 04/03/15

Quote
>>> SCENE Info: <<<
Corona version: 1.00 DailyBuild Mar  4 2015, build timestamp: Mar  4 2015 17:49:43
Converter version: 1.03
# Material conversion took 2.032 seconds
# Iterations: 195, converted: 194
# Map conversion took 0.252 seconds
# Iterations: 145, converted: 51
# Light conversion took 0.076 seconds
# Iterations: 27

Error occured in VRayFastSSS2 : Marble_white:VRayFastSSS2
-- Unknown property: "texmap_opacity" in Marble_white:VRayFastSSS2

2015-03-06, 13:24:38
Reply #500

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be
Damn. You are right
I update with every new builds. Don't understand why was v. from 28 feb
Thanks

if it will help here report with DB 04/03/15

Quote
>>> SCENE Info: <<<
Corona version: 1.00 DailyBuild Mar  4 2015, build timestamp: Mar  4 2015 17:49:43
Converter version: 1.03
# Material conversion took 2.032 seconds
# Iterations: 195, converted: 194
# Map conversion took 0.252 seconds
# Iterations: 145, converted: 51
# Light conversion took 0.076 seconds
# Iterations: 27

Error occured in VRayFastSSS2 : Marble_white:VRayFastSSS2
-- Unknown property: "texmap_opacity" in Marble_white:VRayFastSSS2

Hi Deadclown,

I got the same message:
>>> SCENE Info: <<<
Corona version: 1.00 DailyBuild Mar  4 2015, build timestamp: Mar  4 2015 17:49:43
Converter version: 1.03
# Material conversion took 1.024 seconds
# Iterations: 35, converted: 34
# Map conversion took 0.007 seconds
# Iterations: 15, converted: 2
# Light conversion took 0.01 seconds
# Iterations: 3

Error occured in VRayFastSSS2 : Material #3:VRayFastSSS2
-- Unknown property: "texmap_opacity" in Material #3:VRayFastSSS2

Johan

2015-03-06, 13:30:35
Reply #501

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Ok, I've uploaded the fixed version :)

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

changelog:
v1.04 - [2015/03/06]
  • fixed VrayFastSSS2, conversion now respects older Vray versions (pre 3.10.01)
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-06, 13:52:25
Reply #502

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be

2015-03-09, 11:21:05
Reply #503

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I'm probably asking too much, but it would be nice if CMLC has its own icon to place in toolbar. Picture of DeadClown should be enough ;]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-03-09, 11:33:19
Reply #504

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
In theory that wouldn't be a problem (if you like clown icons!) but it would mean that I'd have to distribute more than 1 file. There would be 1 or 2 extra files for the icon and probably one extra file to make a macroscript that has a reference to the major script file.
I want to keep everything as simple as possible (drag & drop the file into a viewport is currently all you need to do), and just the additional icon would mean I would have to make a zip or mzp package and installation notes etc...
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-09, 12:18:09
Reply #505

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Fair enough. I should do little search myself on how to use custom icons in 3ds max - text buttons in vertical toolbars takes just too much place.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-03-10, 01:01:23
Reply #506

Dollmaker

  • Active Users
  • **
  • Posts: 164
    • View Profile
I'm probably asking too much, but it would be nice if CMLC has its own icon to place in toolbar. Picture of DeadClown should be enough ;]

+1 for this request. button is required :)

2015-03-13, 23:57:38
Reply #507

antanas

  • Active Users
  • **
  • Posts: 269
  • Hmm ...
    • View Profile
Hi, custom icon surely would be a nice addition, even a clown one ) - why not, in it's absence I for instance, am constantly forgetting which icon I used for CMLC the last time (after the previous update) and sometimes search for it for quite some time both when selecting a new one and when trying to find cmlc using new one after. About simplicity, well hard to argue with that - still I'm never use scripts by dragging them into max instead I always do buttons for them using this simple and quick method http://pablab.pasart.net/3ds-max-how-to-create-maxscript-toolbar-button/ so personally I wouldn't be too unhappy if I would have to do some more additional manipulations which in turn probably will be less than all those that I do now each time.

2015-03-16, 17:03:33
Reply #508

Rimas

  • Active Users
  • **
  • Posts: 156
  • Please refer all complaints to a brick wall nearby
    • View Profile
Hi!

I'm not sure if anyone else at all does this, but when using Mental Ray I tend to use a composite shader as a diffuse map and then within that composite - a texmap and then a MR Ambient/Reflective Occlusion shader multiplied on top (it makes for a nice look and contact shadows).

So when I try to convert such a scene to Corona, I obviously have a problem with those shaders still being there unnecessarily. How do I go about automating the remedy for this? What I'd love to happen is the texmap used in the Composite map to be used directly as a diffuse map and the AO scrapped. Maybe someone clever could even implement that into the converter? :D
The reason I'm asking is because it takes a good while checking and fixing those materials...

Any thoughts/solutions are much appreciated!

Thanks!
A morning of awkwardness is far better than a night of loneliness...

2015-03-19, 13:14:52
Reply #509

markeeyboy

  • Active Users
  • **
  • Posts: 5
    • View Profile
Hello - sorry but just wondering if you have converter from corona material to vray converter?

Thanks !