View Full Version : Expresso Help
04-25-2005, 08:57 PM
Hello...I am just a humble architecture student using cinema4d for designing buildings (I bow down to all of your works!). I have come to a speed bump in the road with using cinema for this particular project. I have only been introduced to the very basics of expresso and don't completely understand it. I was wondering if any of you would be able to help me. What I want to do is attach a material to a point in space. This point will have a certain radius around the center. When I move this point around my 'site' it will change any shapes that fall within this radius, the material that is attached to the point. Is there a way to do this?
Thank you in advance for helping me!
04-25-2005, 11:30 PM
no way can you assign a material to a single point---
you need to assign the material to at least one polygon object, then set the coordinates of the polygon to the points coordinates--
04-26-2005, 12:43 AM
he can assign a material to a null. however i still don't understand what he wants to do. maybe he wants to use nickl (part of jenna) or ditool dishaper, and shape objects using a texture and a deformer (no need to use xpresso then). you can't same textures in space using xpresso (last time i checked anyway), though you can sample noises though the noise node.
or maybe he wants the texture to change. just use proximal to blend between the textures you want to use on your objects that will be affected, then use a projector shader and using xpresso link it's projection coords to the null you're moving around (and that's used in the proximal).
04-26-2005, 05:32 AM
Hi again. First of all "nickl (part of jenna) or ditool dishaper" is way over my head. It's like you're speaking another language. Ok, after I had posted my question I realized that I couldn't assign materials to a point and instead figured small spheres might work (maybe? - I have no idea). I also made a simple diagram of what I want:
You have a center point (let it be a sphere) with a radius (x). There are a few of these points on a single plane. Each boundary given by the radius is assigned with a materials (transparent, translucent, and so on - I also don't know how to do this). What I want is, as I manually move the cube within the boundary of the transparent material, it turns transparent. Or if I move it into the translucent material, it turns translucent.
Also keep in mind that I am just an architecture student. I do not know all these fancy words for things. So please be easy on me!
04-26-2005, 03:30 PM
Ok - I think I understand now. You can do this with xpresso a few different ways. Here is the basic setup.
Cube > check collision with object > set transparent/translucent of material.
If you don't want things to change only on collision you could do it by comparing position and even have it fade in and out.
Another approach would be to use proximal you might not have enough control that way though - I would go the xpresso route myself.
04-27-2005, 12:27 AM
Ok, I'm going to try the expresso (seems the best route for me). Thanks for your help!
04-27-2005, 12:27 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.