octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #8951] Calculate vertexnormals for patch o


From: Markus Mützel
Subject: [Octave-patch-tracker] [patch #8951] Calculate vertexnormals for patch objects
Date: Thu, 17 Mar 2016 18:48:45 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/patch/?8951>

                 Summary: Calculate vertexnormals for patch objects
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Do 17 Mär 2016 18:48:44 GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This patch adds the functionality to calculate vertexnormals for patch
objects.

While it seems to work quite good in most cases, I do not know how to immitate
Matlab's behavior in the following case (a test is included):
In Matlab:

>> hpa = patch ();
>> get (hpa, 'VertexNormals')
ans =
     0     0     1
     0     0     1
     0     0     1
>> get (0, 'DefaultPatchVertexNormals')
ans =
     []


The vertexnormals should be calculated while the patch is created. I managed
to get that behavior after calling "reset (hpa)". But I do not know where to
call update_normals to trigger it when the patch is created with default
values.

I would appreciate any help, tips, info and opinions. 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Do 17 Mär 2016 18:48:44 GMT  Name: patch_vertexnormals.patch  Size:
12kB   By: mmuetzel

<http://savannah.gnu.org/patch/download.php?file_id=36674>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8951>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]