algorithmic modeling for Rhino
Hi group,
My first post here!
I've been able to create a definition that takes a digital image and divides it into different colors with the Image Sampler and a Split ARGB, and now I want to be able to import a projection mapped 3D surface and color sample it in a similar matter. Any suggestions on on how to sample and split a 3D surface that has color data embedded on it from a projection map?
Thanks!
-Ben
Tags:
What am I to visualise for 'projection mapped 3D surface'? How is the colour data 'embedded' in the surface? Rhino can have materials and textures/decals assigned to a surface, but there's no way to embed that data into the surface. It is possible for meshes.
Thanks David. Yes, let's stick with meshes. Can I link to a projection-mapped mesh in rhino? I see this post on 3D printing that saves off embedded color data in either VRML97 or X3D format but I'm not sure how to achieve it in rhino:
http://www.shapeways.com/tutorials/exporting_to_vrml_and_x3d_for_co...
As far as visualizing "proj mapped 3D surface" I uploaded a projection map of a face to the original forum post. I like the way the projection shears off the side of the surface.
This is eventually going into RhinoCAD btw after the image gets divided into colors.
I presume that vertex colours are imported correctly from Rhino into Grasshopper, but I haven't tested this lately. If you import a file such as VRML which contains vertex colour they should persist. Then, instead of sampling the mesh like you do with the image, it would be much easier to just get all the colours for all the vertices.
It may be possible to sample in between vertices as well, not entirely sure everything works the way it's supposed to for this...
Commonly meshes also have texture coordinates embedded in them which allows one to wrap an image texture correctly onto the shape, but Grasshopper cares not for either textures or texture coordinates.
How do I "get all the colours for all the vertices"?
What's the best way to compress the GH file so I can send to you? it's 25mb in its entirety. Can I send it to you offline?
The Deconstruct Mesh component will give you all the vertices, faces, normals and colours.
GH files are already compressed, I doubt you're going to make great gains compressing one again. Any chance you can limit the file to just those components that are relevant? You can remove large swaths of network by internalising data inside inputs. This will make the current solution permanent and you can then delete anything to the left of those parameters.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by