FORUMS TUTORIALS MAGAZINE STOCKYARD VIDEOS PODCASTS EVENTS SERVICES NEWSLETTER NEWS BLOGS
 MAXON CINEMA 4D: Cinema 4D Forum Cinema 4D Tutorials Cinema 4D Tag Adobe After Effects Forum

# Extrusion of gray-scale graphic

COW Forums : Cinema 4D

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
 Extrusion of gray-scale graphic by Sasha Zelman on Aug 25, 2012 at 1:16:53 am

I know that one extrudes surfaces and splines, not graphics.
I know that graphics can be used as displacement maps to create additional geometry... so the subject line is not quite what I mean...
What I do need is to quickly build 3D solids based on irregularly shaped cluster of gray-scale rectangles. The outline of the cluster should create boundary of the solid in plan (top) view and gray-scale values of the rectangles should be used for relevant extrusion of that part of the solid on Z axis (height).

I realize that I can simply trace the graphic in Illustrator, extrude the resulting vector outline in C4D, divide the surface with knife and extrude resulting polygons as needed - but I hope to find faster and more automatic way of doing this. Just imagine that you have gray-scale city plan where height of the buildings reflected in the brightness value and you want to quickly build city based on this plan - what would be the most efficient way to do it in C4D?

 Re: Extrusion of gray-scale graphicby Brian Jones on Aug 25, 2012 at 3:22:43 am

you'd have to post one of your greyscale images to be sure but assuming you have the 'building' outlines spaced unevenly placement is going to be problem (I think) so bringing in outlines from illustrator should be the way to go for placement. Extrude those (I don't understand a need for knifing but maybe I don't understand your final result) and do something like in this example...

 Re: Extrusion of gray-scale graphicby Sasha Zelman on Aug 25, 2012 at 9:22:19 pm

You are right, no need for knife, since the whole thing can be done in Illustrator. From your example I kind of see the solution by using original image as texture for Shader Effector and Illustrator vectors (derived from the same image) as splines to extrude.

The possible problem comes from very random placements of gray-scale rectangles in question... but I guess I will need to experiment with this...