Git Product home page Git Product logo

Comments (9)

vorg avatar vorg commented on June 16, 2024 1

I'm looking at v4 alpha. IMO size of gizmo should be only related to range as it indicates physical distance. Directional light being prism like omni/point light is just confusing as usually quite big=strong. Maybe a quad with more and more lines sticking out if it (could work well for point light too). Will do research how others do it.

from pex-renderer.

dmnsgn avatar dmnsgn commented on June 16, 2024

Which version are you looking at?

Currently v4 alpha has:
directional light:

  • intensity: prism size

point light:

  • range: lines sticking out of prism vertices lines length
  • intensity: nothing, should be prism size maybe ⚠️

spot light:

  • intensity: cone apex circle radius
  • radius: cone base outer circle radius
  • innerRadius: cone base inner circle radius
  • range: cone length

area light:

  • intensity: lines sticking out of rectangle vertices lines length
  • width/height (eg. transform scale X/Y): rectangle size

I am in favour of showing intensity/range in light helpers as it helps differentiate lights and matches scene scale (bigger scene often = bigger range).

from pex-renderer.

vorg avatar vorg commented on June 16, 2024

Unity

  • shows only icons by default and gizmo on select
  • gizmos don't grow with intensity
  • gizmos grow with range/size

Screenshot 2023-10-18 at 11 06 39

  • icon changes color with light color

Screenshot 2023-10-18 at 11 08 35

from pex-renderer.

vorg avatar vorg commented on June 16, 2024

ThreeJS
the helpers are very basic with manual size setting

Screenshot 2023-10-18 at 11 17 23

from pex-renderer.

vorg avatar vorg commented on June 16, 2024

Blender

  • same as Unity, wireframe icon + gizmo for range (i prefer ugly unity icons for visiblity)
  • no color visible on the icon

Screenshot 2023-10-18 at 11 21 54

from pex-renderer.

vorg avatar vorg commented on June 16, 2024

Godot

  • same as Unity, wireframe icon + gizmo for range
  • no area light (screenshot showing unselected faded out spot light light in 4th slot)

Screenshot 2023-10-18 at 11 34 10

from pex-renderer.

vorg avatar vorg commented on June 16, 2024

@dmnsgn i like godot/unity most

from pex-renderer.

vorg avatar vorg commented on June 16, 2024

Baylon

Screenshot 2023-10-18 at 11 36 45

from pex-renderer.

vorg avatar vorg commented on June 16, 2024

Playcanvas

  • icons when not selected
  • intensity doesn't influence size, color reflected in icon
  • no area light

Screenshot 2023-10-18 at 11 49 03

from pex-renderer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.