Author Topic: Cylinder Corona light flip  (Read 4117 times)

2017-10-11, 11:10:40

bulyfabi

  • Active Users
  • **
  • Posts: 61
    • View Profile
    • 128hi Studio
Can we have small switch on cylinder light between lighting inside or outside?

*prettyplease* thanks

2017-10-11, 11:44:38
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8967
  • Let's move this topic, shall we?
    • View Profile
    • My Models
You can tick option "emit from both sides", maybe that would solve youre request?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2017-10-11, 17:18:22
Reply #2

bulyfabi

  • Active Users
  • **
  • Posts: 61
    • View Profile
    • 128hi Studio
You can tick option "emit from both sides", maybe that would solve youre request?

That's unfortunately not available on cylinder (and sphere).

2017-10-11, 20:37:35
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8967
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Oh sorry, didn't know that. In that case you can use cylinder primitive with flipped normals and CoronaLight material assigned.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2017-10-12, 10:00:13
Reply #4

bulyfabi

  • Active Users
  • **
  • Posts: 61
    • View Profile
    • 128hi Studio
Yep, that's kind of what I do. Is lightmtl still affecting preformance (noise, speed ect.) or it's not a thing anymore.. ?

2017-10-12, 10:43:33
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8967
  • Let's move this topic, shall we?
    • View Profile
    • My Models
If your cylinder won't be unnecessary subdivided, difference in performance shouldn't be significant.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2017-10-17, 15:25:46
Reply #6

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
in fact it will be exactly the same for cylindrical light ;)
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2024-06-08, 15:33:49
Reply #7

shafky

  • Users
  • *
  • Posts: 1
    • View Profile
Unfortunately, there's no such options available - even today in Corona 11 (Latest one). Very unfortunate...
But now to deal with the problem, what I did is, I draw a surface around the light (You can draw a circle and extrude it, with edit poly you can delete both the faces but keep only the height face), and apply Mirror material (99 reflective) to that height face, so It will reflect the light. It worked for me, may be it will help others too.

2024-06-08, 20:30:42
Reply #8

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8967
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Unfortunately, there's no such options available - even today in Corona 11 (Latest one). Very unfortunate...
But now to deal with the problem, what I did is, I draw a surface around the light (You can draw a circle and extrude it, with edit poly you can delete both the faces but keep only the height face), and apply Mirror material (99 reflective) to that height face, so It will reflect the light. It worked for me, may be it will help others too.

That's extremely inefficient way to do this. Much better way is to make cylinder (or extruded circle), flip its normals and apply Corona light material, just as described few messages above.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures