Author Topic: Getting color from current position  (Read 3190 times)

2016-06-02, 17:23:16

johnyboo

  • Active Users
  • **
  • Posts: 10
    • View Profile
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?

2016-06-02, 17:43:31
Reply #1

TomG

  • Corona Team
  • Active Users
  • ****
  • Posts: 2558
    • View Profile
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.

2016-06-02, 17:52:29
Reply #2

sebastian___

  • Active Users
  • **
  • Posts: 135
    • View Profile
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:



2016-06-02, 17:59:05
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 9056
  • Marcin
    • View Profile
I think this should be possible with particles. However AFAIK Corona had some problems with it.... I will try to test it later.

2016-06-02, 18:08:20
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 9056
  • Marcin
    • View Profile
Yup, works in viewport and with Scanline, but not with Corona...

2016-06-02, 18:32:42
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 5793
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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.
I'm not Corona Team member. Everything i say, is my personal opinion only.

2016-06-02, 18:52:56
Reply #6

Frood

  • Active Users
  • **
  • Posts: 1304
    • View Profile
    • Rakete GmbH
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!

Never underestimate the power of a well placed level one spell.

2016-06-02, 19:16:43
Reply #7

Juraj Talcik

  • Active Users
  • **
  • Posts: 3627
  • Tinkering away
    • View Profile
    • studio website
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.
talcikdemovicova.com  Website and blog
be.net/jurajtalcik   Our studio Behance portfolio
Instagram   Our studio Instagram, managed by Veronika

2016-06-02, 22:31:27
Reply #8

johnyboo

  • Active Users
  • **
  • Posts: 10
    • View Profile
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:)

2017-04-24, 14:23:08
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 9056
  • Marcin
    • View Profile

2017-04-24, 22:39:14
Reply #10

mirokurcik

  • Active Users
  • **
  • Posts: 38
    • View Profile

2017-04-24, 23:31:32
Reply #11

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 5793
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Through some hacks only. At least for now.
I'm not Corona Team member. Everything i say, is my personal opinion only.

2017-04-24, 23:51:07
Reply #12

mirokurcik

  • Active Users
  • **
  • Posts: 38
    • View Profile