Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeMaterial: Playground r2 #22868

Merged
merged 11 commits into from
Nov 23, 2021
Merged

NodeMaterial: Playground r2 #22868

merged 11 commits into from
Nov 23, 2021

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Nov 22, 2021

Related issue: #22833

Introduction

Some improvements from community suggestions and roadmap.

https://raw.githack.com/sunag/three.js/dev-node-editor/examples/?q=playground#webgl_materials_nodes_playground

image

Description

Node Editor

  • Add example list
    • Animate UV
    • Fake Top Light
    • Oscillator Color
    • Rim
  • New Nodes
    • Slider
    • Color Improvements
    • Vector 2, 3 and 4
    • Blend
    • Invert - Negate
    • Limiter - Max / Min
    • Dot Product
    • Power
    • Trigonometry - Sin / Cos / Tan
    • Normalize
    • Timer
    • Oscillator
  • setSerializable() support
  • Improve Loader
  • setVisible(): Used in Slider
  • Improve ObjectNode
  • Improve right-click ContextMenu to create nodes
  • Add focus and blur events

NodeMaterial System

  • Add OscNode: Sine, Square, Triangle, Sawtooth
  • Fix SplitNode if input is a float
  • ShaderNodes: New nodes: PI2, PI_HALF, RECIPROCAL_PI2, abs, fract, round, sin, cos

Fixes

  • Fix mobile support - ContextMenu / Remove Node ( Chrome )
  • Fix StringInput change event

This contribution is funded by Google via Igalia.

@Mugen87 Mugen87 added this to the r135 milestone Nov 22, 2021
@gsimone
Copy link
Contributor

gsimone commented Nov 23, 2021

Just wanted to say kudos for taking all the feedback and really putting everything into it 👏 👏

@mrdoob mrdoob merged commit 14a49c2 into mrdoob:dev Nov 23, 2021
@mrdoob
Copy link
Owner

mrdoob commented Nov 23, 2021

Nice! Thanks!

@sunag sunag deleted the dev-node-editor branch January 27, 2022 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants