Jump to content

a shader each day


rdg

Recommended Posts

  • Replies 88
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 2 weeks later...

Day 23: Touching Circles on a Spline

sample_od.jpg

Very minimalistic ripoff of uncontrol's 'Animated Circles Animation' [1]

A spline is drawn between NULL objects.

For every point > 0 pscale is set to the distance of P(n) to P(n-1) minus the pscale of P(n-1).

setup_touching_circles_on_a_spline.hipnc

Happy New Year.

[1] http://circle.uncontrol.com/

Edited by rdg
Link to comment
Share on other sites

Day 24: Touching Circles on a Spline Cont'd

sample_arcs_od.jpg

The next step somehow didn't work out as expected: creating an arc to between two segments.

I started this in September and back then the results where looking more promising [1] [2] [3].

The longitude/latitude formulas Mario posted [4] maybe produce more usable results?

We will see.

--> The orientation of the arc depends on if the next point P is left or right of the current segment AB. [5]

v = (Ay-By)*Px+(Bx-Ax)*Py+(Ax*By-Bx*Ay)
v>0: "Left"
v<0: "Right"
v=0: "On the line" (or in front of B / behind A)

sample_resample_od.jpg

Meanwhile I just added a resampleSOP to add more elements.

setup_touching_circles_on_a_spline_v2.hipnc

[1] http://proforma.preset.de/spool/arc.jpg

[2] http://proforma.preset.de/spool/arc2.jpg

[3] http://proforma.preset.de/spool/arc3.jpg

[4] http://forums.odforce.net/index.php?showto...ost&p=54521

[5] http://groups.google.de/group/comp.graphic...+line&pli=1

Edited by rdg
Link to comment
Share on other sites

  • 2 weeks later...

Day 25: Never touch a running system

Updated my Ubuntu 7.xx laptop to Ubuntu 8.04 - the result:

 rdg@brittany:/opt/hfs9.5.303$ hescape
rdg@brittany:/opt/hfs9.5.303$ Cannot preload icons for shelf: <hou.Shelf 'rbd_dynamics'>
Cannot preload icons for shelf: <hou.Shelf 'drive_simulation'>
 (sent by pid 819073088)entation Fault
Saving application data to /tmp/rdg.16831.hip
Crash log saved to /tmp/crashlog_rdg

Some never learn.

-- ---

Last image before update:

post-960-1231603330_thumb.jpg

-- ---

Pagefan reminded me that 8.04 uses gcc4.2 and I have to install another houdini build.

This fixed the issue.

Thanks.

-- ---

Something - me ? - unfixed the issue and it crashes on startup. :angry:

-- ---

Argh. It's the restricted ATI driver ... need to disable it to run Houdini. :(

Edited by rdg
Link to comment
Share on other sites

  • 3 weeks later...

Day 26: EOF

I am closing this thread now as I am relocating again.

Feels more promising to start a new one after some time - new country - new inspiration - new topic.

Thanks for your patience.

Georg

Link to comment
Share on other sites

Day 26: EOF

I am closing this thread now as I am relocating again.

Feels more promising to start a new one after some time - new country - new inspiration - new topic.

Thanks for your patience.

Georg

Good luck with the relocation. This thread and your work has been very inspirational!

Thanks for showing and sharing!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...