algorithmic modeling for Rhino
I've just woke up from nap with this massive h...sorry, I said, post in my inbox.
Why any English teacher teaches you this things?
Slang Primer 101, David, waiting for it :D
innuendo is the backbone (no pun intended) of british comedyhttp://en.wikipedia.org/wiki/British_humour
I need more info. Attach the mesh and/or post the error message that you get in the red component.
And, obviously, you need to change the file path to the image.
Ah, you didn't reference new geometry. The problem is then that you are running Rhino 4. The script uses a method "mesh.unweld" that is not available in Rhino 4.
You have to either use Rhino 5 or manually unweld the mesh in Rhino 4.
For the second option:
- Double click on the script component with the error to edit the code
- Comment out the first line (type ' before the line), press OK.
- Bake the mesh to Rhino
- Run the _weld command. Use "0" as angle.
- Reference the unwelded mesh back into GH
The problem with this method is that unwelding in Rhino changes the vertex normals so the mesh will look more faceted.
hello vicente,
your script (as the only thing so far) already took me quite close to my aim to export vertex colour and render them via obj. thanx for sharing!
but there is still one problem:
this should be a smooth transition. somehow the vertex within a face are put out of order.
when i look at a really simple example i noticed that there each vertex colour is export 8 times (right) to the bitmap; wouldn't it be possible write 4 pixel (like on the left) for this 4 vertex mesh? or am i overseeing something?
Vincente answered that on another thread. He needs to explode the mesh into individual triangles in order to make some internal functions work.
This is the thread that Hannes is referring to:
http://www.grasshopper3d.com/forum/topics/export-mesh-colour-in-c4d
This script is far from a perfect solution but it shouldn't be as bad as that image. Can you post the mesh with vertex colors so I can take a look?
Christian, on the other thread people where trying to render in Cinema 4D, where are you exporting to?
I just installed Cinema 4D to test it and it seems to work perfectly fine. I exported the mesh as a .obj file.
Rhino displaying the mesh vertex colors (no material with texture):
Cinema 4D render in viewport, object has assigned a material with the texture from the script in the color slot:
thank you for your help!
i attached the mesh file. maybe you could just try it to see how it works - because the strange thing is with you horse it example it worked fine for me too but with this example it still looks somehow faceted..
but of course quite likely that i'm confusing something :)
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