Author Topic: Corona - Projection + Workaround  (Read 4838 times)

2019-06-11, 08:39:22

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
Hello,
due to current corona limitation render to texture does not support "Projection" as part of this process. Simply ignoring the "Cage" and rendering over the surface.

I found a workaround that might be helpful to some of you, here it is:

(I'm sorry if its well-known thing and I'm just late to the party)

- To do projection mapping all you need to do is create your regular retopology mesh as you would in normal conditions
- Unwrap the mesh
- Collapse it
- Copy the mesh and start moving vertexes around just as you would with projection mesh, use push and regular vertex manipulation
- Make sure that each element is covered by a new mesh cage just like you would with projection
- Render to Texture - pick the elements that you desire
- Use the rendered elements with Original Mesh

In my case, the effects are good enough to call this usable. So hope that it helps someone here :)
« Last Edit: 2019-06-11, 11:44:25 by Tanakov »
Using Corona since 2014-01-02
https://www.behance.net/Gringott

2019-06-11, 09:26:41
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12754
  • Marcin
    • View Profile
But the "cage" mesh and the "original" mesh must have very similar unwrapping, right? I don't think this is always possible.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-06-11, 09:51:35
Reply #2

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
But the "cage" mesh and the "original" mesh must have very similar unwrapping, right? I don't think this is always possible.

If you commit the original UVW unwrap before you modify the cage it will behave exactly as Projection would as that's how that modifier works.

So the result is identical

I edited my initial post.
« Last Edit: 2019-06-11, 11:08:34 by Tanakov »
Using Corona since 2014-01-02
https://www.behance.net/Gringott

2021-12-11, 07:53:31
Reply #3

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
Hey,
projection does not work at all for normals at this moment, something changed and it got impossible to create projection normal maps.

Any other way to render to texture? I would love to get some assistance on this topic if possible.
Using Corona since 2014-01-02
https://www.behance.net/Gringott

2021-12-11, 10:01:41
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8839
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Unless for some reason it is absolutely necessary to use Corona, i would suggest to look for other tools for texture projection. There are plenty of dedicated tools that does much better job at that, some of them are even free.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2021-12-11, 11:10:08
Reply #5

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
Unless for some reason it is absolutely necessary to use Corona, i would suggest to look for other tools for texture projection. There are plenty of dedicated tools that does much better job at that, some of them are even free.

Aww... that sucks I was hoping I was doing something wrong. 😕

The render element normalmap should be removed from projection mapping since it does not work. I wanted two hours today figuring our what I was doing wrong.

Thank you for your answer Romullus
Using Corona since 2014-01-02
https://www.behance.net/Gringott

2021-12-11, 11:17:28
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8839
  • Let's move this topic, shall we?
    • View Profile
    • My Models
AFAIK projection baking was never supported by Corona, just old boring RTT.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2021-12-14, 10:44:34
Reply #7

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
But it somewhat worked, now it does not work at all. Or I cant figure it out, anyway. That's a pickle, thank you!
Using Corona since 2014-01-02
https://www.behance.net/Gringott