[x3d-public] Here's something worth tracking down Roy
    John Carlson 
    yottzumm at gmail.com
       
    Thu Oct 26 08:02:13 PDT 2017
    
    
  
Okay, would it be okay to move normal up to X3DGeometryNode from  X3DComposedGeometryNode?  Or move PointSet and IndexedLineSet down to X3DComposedGeometryNode children?  Or do we need another choice for geometry nodes? Or? I have no clue, myself, I don’t work with this type of data.
John
Sent from Mail for Windows 10
From: Nicholas Polys
Sent: Thursday, October 26, 2017 10:49 AM
To: John Carlson; Cad3D working group
Cc: Roy Walmsley; Don Brutzman; x3d-public at web3d.org
Subject: Re: [x3d-public] Here's something worth tracking down Roy
HI all~
this is important in geo processing pipelines since tools like meshlab can calculate normals on point clouds, 
so they should be legal in the standard IMO
also
we NEED point properties or sprites for better visualization 
eg
http://svn.xj3d.org/xj3d_code/trunk/parsetest/xj3d_extensions/pointsprites/
or ParticleSet
On Thu, Oct 26, 2017 at 10:04 AM, John Carlson <yottzumm at gmail.com> wrote:
Everit validator, Roy’s schema:
 
json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/0/Group/-children/0/Switch/-children/0/Shape/-geometry/PointSet: extraneous key [-normal] is not permitted C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPattern.json
json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/0/Group/-children/0/Switch/-children/1/Shape/-geometry/IndexedLineSet: extraneous key [-normal] is not permitted C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPattern.json
 
Ajv reports nothing for Roy’s schema (bug?).
 
 
 
-normal is not allowed in V3.3 for PointSet or IndexedLineSet, I think.  They aren’t X3DComposedGeometryNode’s, and X3DGeometryNode doesn’t have normal in the object model.  Change the object model or the standard.
 
I doubt if points and lines have normals, so it’s likely the example is wrong, and roy’s schema is right.  If they are getting normals.  I will report an Ajv bug.
 
John
 
 
_______________________________________________
x3d-public mailing list
x3d-public at web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org
-- 
Nicholas F. Polys, Ph.D.
Director of Visual Computing 
Virginia Tech Research Computing 
Affiliate Professor
Virginia Tech Department of Computer Science
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20171026/3db9c221/attachment.html>
    
    
More information about the x3d-public
mailing list