• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

GSFX Per vertex normals

Author: lasal
Date: 04 Jan, 2014
Category: effect
Credits:

vux

Download

64bit

0-NormalsGSFX.zip
04 Jan, 2014 - 14:06
Geometry shader, calculate normals

Description

Just a GSFX to calculate flat normals.

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
colorsound
06 Jan, 2014 - 09:40

hey Lasal thanks.

Did you find a way to calculate smooth normals as well , the further i got is like in your shader ?

microdee
06 Jan, 2014 - 13:25

@colorsound: i'm thinking on the topic i already have a draft idea of a compute shader. the basic problem with smooth normals that you have to know which triangles share the same vertices.

colorsound
07 Jan, 2014 - 09:29

Yes you need TriangleListWithAdjacency i think,cool keep me updated.

woei
07 Jan, 2014 - 10:20

already tried unsuccessfully with adjacency. either no adjacency was passed (vertex indices > 2 were at origin) or with topology i'd get them, but then half the triangles were missing...

microdee
07 Jan, 2014 - 21:48

adjacency is not the full picture because that only includes the triangles that share the same edges, however there could be any number of triangles sharing the same vertice between the 2 adjacent triangle of the neighbouring edges. think of the triangle fan closing the top and the bottom of a cylinder.

mrboni
28 Apr, 2014 - 15:54

get anywhere with generating smooth normals?

screamer
17 Feb, 2015 - 10:50

bump...

mburk
22 Mar, 2015 - 19:40

Check this out: smooth-per-vertex-normals

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top