Paint sharp rectangular stroke on object/shader

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Display Modes
  02 February 2018
Paint sharp rectangular stroke on object/shader

Hi,
I have a scanner orbiting around a sphere. The scanner shoots a ray in form of a pyramid at the sphere and where the ray hits the sphere I want to paint a stroke on the object. I would need a shader solution since I want to create a mask for composinting and I might have bump and displ later on.

Here is an animation that basically does what I want I just need the c4d version of it (minnute 1:37 -1:50)
https://www.youtube.com/watch?v=FJWzLxdSMyA

I tried the proximal shader with the tracer but the proximal shader does not give me sharp edges.
Second was a shader plugin but it renders very slow in high quality:
http://www.blackstar-solutions.de/happy.php

Do you guys know of a way painting a dynamic stroke like this in a c4d shader?

Cheers
 
  03 March 2018
Maybe not the easiest approach, but ..
I used a boole for the red poly loop and a plane for the ray.
I used a cube to boole the poly strip with it's axis set to 000, then rotate the cube.


__________________
David

iMac 3.06 ghz Intel Core 2 Duo / 16 GB / OS 10.13.4 / C4D StudioR12 / CS6
 
  03 March 2018
Hi David,
thank you for chiming in. The problem is that the scanner rotates 360 degrees around the object and has a consistent beam width at every point. That is my problem at the moment. Please see the rays the satelites paint in the video I linked. And I would need a shader solution since I it has to work with bump and displacement maps and it also needs to have multiple strokes overlapping each other.

Thank you!
 
  03 March 2018
You could animate the slice of a tube with a cloner and random effector ...
nesting multiple tubes under the cloner

__________________
David

iMac 3.06 ghz Intel Core 2 Duo / 16 GB / OS 10.13.4 / C4D StudioR12 / CS6
 
  03 March 2018
Hi,
If those scanned areasare going to be long stripes running around the globe like those seen
in the clip you attached, and they are going to serve as mask for
future post ..you could use just Sweeps with animated End Growth.
Scanners end point would be constrained to it.
https://www.dropbox.com/s/6rjnfcerm...s_001_.wmv?dl=0
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 01:52 PM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.