Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: johnyboo on 2016-06-02, 17:23:16

Title: Getting color from current position
Post by: johnyboo on 2016-06-02, 17:23:16
Hello,

let's assume that I have mapped plane and instances of box on this plane. Is possible for mapping those boxes in way of getting color from position boxes stand on?
F.e. left box color blue, right box color white, middle one color orange, etc.
If it is posiible, is this also possible in corona scatter?
(http://i.imgur.com/XHIaTV8.jpg)
Title: Re: Getting color from current position
Post by: TomG on 2016-06-02, 17:43:31
My first thought would be to apply the same UV map to all objects, so that they would all be coloured in the same way. Without scatter, I've done this just by selecting all the objects and applying a UV Map modifier, but can't speak to the workflow using scatter.
Title: Re: Getting color from current position
Post by: sebastian___ on 2016-06-02, 17:52:29
Hmm, Crysis 1 editor had a similar option to make the grass varied, "borrowing" color from the texture on the ground. So I'm guessing this option would be useful for the same thing.

When watching grass (or other types of plants) from above, the colors are not uniform
Picture:

(http://sciencenordic.com/sites/default/files/1_3.jpg)
Title: Re: Getting color from current position
Post by: maru on 2016-06-02, 17:59:05
I think this should be possible with particles. However AFAIK Corona had some problems with it.... I will try to test it later.
Title: Re: Getting color from current position
Post by: maru on 2016-06-02, 18:08:20
Yup, works in viewport and with Scanline, but not with Corona...
Title: Re: Getting color from current position
Post by: romullus on 2016-06-02, 18:32:42
There is a way(s) to achieve that in 3ds max through camera map world space modifier. It works with Corona, but not with CoronaScatter unfortunatelly. Although you can use max's native scatterer.
Title: Re: Getting color from current position
Post by: Frood on 2016-06-02, 18:52:56
Forest Pack (Pro) can do exactly this in any case, maybe also the Lite version? Have not checked:

https://www.itoosoft.com/forestpack.php


Good Luck!

Title: Re: Getting color from current position
Post by: Juraj on 2016-06-02, 19:16:43
Yeah, Forest and Multiscatter do this very easily. I kept doing grass color this way, by mapping a photo and the blades diffuse would take tone from it.
Title: Re: Getting color from current position
Post by: johnyboo on 2016-06-02, 22:31:27
Thx for replies. So i have to try forest lite version and see if it works. But i like corona scatter much - simple and fast, it would be great if corona team could add such option in scatter:)
Title: Re: Getting color from current position
Post by: maru on 2017-04-24, 14:23:08
This is already possible with the new Corona 1.6:
https://corona-renderer.com/download
Title: Re: Getting color from current position
Post by: mirokurcik on 2017-04-24, 22:39:14
ok, but how?
Title: Re: Getting color from current position
Post by: romullus on 2017-04-24, 23:31:32
Through some hacks (https://forum.corona-renderer.com/index.php/topic,15049.0.html) only. At least for now.
Title: Re: Getting color from current position
Post by: mirokurcik on 2017-04-24, 23:51:07
Thank You !