Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Feature Requests => [Max] Resolved Feature Requests => Topic started by: Juraj on 2016-04-21, 00:49:31

Title: Better texture viewport representation (show map)
Post by: Juraj on 2016-04-21, 00:49:31
The said material is multi-material, and the diffuse is MIX-map. It doesn't show the actual result of the mix when checked, but Vray perfectly does.

Edit: Faulty 3dsMax's maps are to blame. Temporary solution is to use node which has functioning "show shaded", on top of your nodal tree, such as ColorCorrect for example. That is, if you want to propagate such node to 100 materials that you mix map.
Ultimate solution would be to see how Vray can work around this and be able to use "show shaded" on top/material level.

It's not deal-breaking thing, but Interactive isn't always feasible (and it never will for actual scene work like dressing space, there is just too much lag for that), so the viewport should look somehow representive of the result. Esp. when viewports are getting more and more real-time.

DISCLAIMER for reading comprehension: This has nothing to do with ConverterScript function "show diffuse", which just activates top node with "show shaded" in diffuse slot. Which, doesn't work in all cases. A point of this request.

Illustration better than 1000 words:

Render:
(https://forum.corona-renderer.com/index.php?action=dlattach;topic=11616.0;attach=45578;image)

Viewport:
(https://forum.corona-renderer.com/index.php?action=dlattach;topic=11616.0;attach=45580;image)


Title: Re: Better texture viewport representation (show map)
Post by: Juraj on 2016-04-21, 01:06:36
Piggy-backing on this: What was the reason Corona can't display the final look in viewport but only top map in particular slot (and even that mostly works just for individual bitmaps).

This makes it big hassle when doing scene dressing with big amount of assets that requires color coordination in viewport. There is a point when I don't remember how the asset looks (books are good example).
Title: Re: Better texture viewport representation (show map)
Post by: Christa Noel on 2016-04-21, 09:21:51
vote +1 for this. I don't want to always use IR for some negligible need like this :)
if it is possible, all corona texmap (coronamix, coronaAO, coronafrontback) should be compatible with usual viewport shading.
Title: Re: Better texture viewport representation (show map)
Post by: Cheesemsmsm on 2016-04-21, 10:50:18
This is annoying me too.
and another thing, is it possible to make Corona materials support "Show shaded material in viewport" in the future version?
I know I can go to a specific node and click the button. It's just a little thing but really annoying me.
Title: Re: Better texture viewport representation (show map)
Post by: Ondra on 2016-04-21, 11:03:40
What was the reason Corona can't

3ds Max API... :/
Title: Re: Better texture viewport representation (show map)
Post by: Frenkkk on 2016-04-21, 11:53:29
I had the same problem
I solved it using show map in corona converter
Title: Re: Better texture viewport representation (show map)
Post by: Juraj on 2016-04-21, 12:03:34
I had the same problem
I solved it using show map in corona converter

That's not the same problem. This is using "show map" already. But because it's in (either) multi-material, or the mix-map, it doesn't show the actual result of mixing texture and mask.
Title: Re: Better texture viewport representation (show map)
Post by: Juraj on 2016-04-21, 12:04:15
What was the reason Corona can't

3ds Max API... :/

But how does Vray do it ? This same material works perfectly in Vray in viewport.
Title: Re: Better texture viewport representation (show map)
Post by: arqrenderz on 2016-04-21, 14:37:35
Bump
Title: Re: Better texture viewport representation (show map)
Post by: maru on 2016-04-21, 14:44:58
Juraj, the top picture - did you use 3ds Max Mix, or CoronaMix texmap? AFAIK CoronaMix should work pretty fine.
Title: Re: Better texture viewport representation (show map)
Post by: Juraj on 2016-04-21, 16:30:21
I did not use anything, this is converted material from commercial model (ModelPlusModel vol.6), and it uses 3dsMax's 'Mix' (Corona's Mix is called 'CoronaMix' and has completely different UI and does something completely else despite name afaik).

Actually, after further testing, this behaviour happens in Vray as well when using "show shaded" while in mix, but, is aleviated by using "show shaded" in material itself, feature, Corona does not support.

The MixMap is therefore Autodesk's fault, but show shaded should still work in Corona. This particular case shows that simply being able to show top level node doesn't suffice for all cases.

Title: Re: Better texture viewport representation (show map)
Post by: moadr on 2016-04-21, 21:50:20
Tomorrow when I am in the office I will have a look into this. I have to check how the materials are built up, but as I also use some of these collections I can say that it works fine for me. When I import the files with the vray materials on top, after converting them to corona materials all the diffuse textures get turned off and only the diffuse color of the books show up. But after selecting the specific objects and selecting the "show diffuse map for selected objects in viewport" option inside the material conversion script it works fine for me.
I will double check it just to make sure and will let you know what I find.
Title: Re: Better texture viewport representation (show map)
Post by: Juraj on 2016-04-21, 23:02:57
Guys, I am not yesterday.. I am glad "show diffuse" is mentioned second time in this thread but no.

This has nothing to do with ConverterScript function "show diffuse", which just activates top node with "show shaded" in diffuse slot, which you can do manually as well. Which, doesn't work in all cases where that given node doesn't work properly (Autodesk fault). A point of this request thread.

If the top level map is texture map, or composite, or CoronaMix, it will show, because 3dsMax knows what to show. 'Mix' map, doesn't have this feature working correctly (Autodesk fault), and only full material-level "show shaded" works in those cases, and Vray and other engines support this feature. Corona currently does not.

I attach examples from this particular collection, of course all of them work mostly, but not those setup using 'mix' node. That's the 5th asset group, the only one with interchangeable masks.

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=11616.0;attach=45582;image)

Title: Re: Better texture viewport representation (show map)
Post by: Juraj on 2016-04-21, 23:14:36
Temporary solution to this issue, is to use another node on top of 'mix' which has correctly functioning "show shaded" function. For example 'ColorCorrect' node.

But the ultimate solution is just to use material to do this automatically, otherwise each nodal structure will have to keep particular node on top to visually function in viewport. Otherwise I have to modify hundreds of materials with performance degrading node (output doesn't show either of course, but that's again Autodesk's fault).

Did something like this ever made it into "small requests" on Autodesk Area ? Did ChaosGroup patched this by themselves ? Golden Unreal4...
Title: Re: Better texture viewport representation (show map)
Post by: Christa Noel on 2016-04-22, 03:43:21
Temporary solution to this issue, is to use another node on top of 'mix' which has correctly functioning "show shaded" function. For example 'ColorCorrect' node.

But the ultimate solution is just to use material to do this automatically, otherwise each nodal structure will have to keep particular node on top to visually function in viewport. Otherwise I have to modify hundreds of materials with performance degrading node (output doesn't show either of course, but that's again Autodesk's fault).

Did something like this ever made it into "small requests" on Autodesk Area ? Did ChaosGroup patched this by themselves ? Golden Unreal4...
aha that's a smart solution, but if we add a node above it I think it will affect rendering performance eventhough we keep it at default values ,am I right?
Title: Re: Better texture viewport representation (show map)
Post by: Juraj on 2016-04-22, 09:07:41
Honestly I am not sure if the node is kept "dormant" if it still hogs performance (in 2016 Max, it's not dramatic, but it's still there) but I guess yes.
Title: Re: Better texture viewport representation (show map)
Post by: Ondra on 2016-05-13, 20:42:04
If I understand correctly, this is about the material "show map in viewport" button. That is a duplicate request here on forum. I want to give it another shot in 1.5
Title: Re: Better texture viewport representation (show map)
Post by: Juraj on 2016-05-13, 21:48:12
If I understand correctly, this is about the material "show map in viewport" button. That is a duplicate request here on forum. I want to give it another shot in 1.5

Yes. At first I didn't realize that half of 3dsMaps don't function correctly with it (when they aren't grayed out like those that don't at all), but full "show map in viewport" would alleviate it anyway, despite being Autodesk's fault.

If ColorCorrect can function similarly, maybe worth looking at it.