|
|
|
|
#1 |
|
Senior Member
|
I usually don't like posting unfinished preset, but this time I have a problem that you guys might know how to solve.
If you load the preset, you'll see that the light sometimes goes in the box in the cube. I would like to see that fixed without removing the random movements of the box and the light. I tried to make the light stay on a cylinder around the box, when it comes to close, but that wouldn't work. |
|
|
|
|
|
#2 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
Could you give some more info on the vars? Doesn't make much sense to me now.
What are the coordinates of the light... of the box? How are they projected? Under what conditions is the light in the box? Very nice effect btw. Very knipperlichtjes. |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
|
I like it
It indeed has great lighting effects, and indeed nogal knipperlichtjes
|
|
|
|
|
|
#4 |
|
Senior Member
|
I tried to make a list of the used vars.
--- In frame: ox, oy, oz: the coördinates of the light xm, ym: coördinates of the moving box rx, ry, rz: the rotation angles, these are made from ox, oy, oz. This isn't really necessary for the ssc, but it was in the dynmov that the code was written in at first. rs: the rotation around the y-axis after raytracing is done. cs: zooming in on the cube for a bit more dynamic action. --- In pixel: ---- r1, r2: the theta and phi for a orb. x1, y1, z1: the coördinates of the orb Then there's the 3d rotation code. k1, k2, k3, k4: the k of the sides of the moving box k5 to k10: the k of the sides of the cube kx, ky, kz: these are the lowest values of the planes parrallel to either the x, y or z axis. These values were aren't really necessary, but they clean up the code a bit. I'm thinking of using them in the colorcoding. k: the lowest value of kx, ky and kz. ix, iy, iz: you could actually use these values already to make the ssc, but I wanted rotation, which will be done next. xx, zz: the ix, iy and iz are rotated around the y-axis, to make the cube moving, instead of what you see in most raytraced ssc presets. And then you have the projection code. --- The light is in the box, when (0.5+ox+xm)<ox<(-0.5+ox+xm) and (0.5+oy+ym)<oy<(-0.5+oy+ym). |
|
|
|
|
|
#5 | |
|
Wildly Confused
(Major Dude) Join Date: Jan 2003
Location: Minnesota
Posts: 1,204
|
Quote:
![]() Neat effects skupers - unfortunately this kind of stuff is way over my head.... "It's like saying give a man a Les Paul guitar and he becomes Eric Clapton, and of course that's not true, give a man an amplifier and a synthesizer and he doesn't become...whoever; he doesn't become us." - Roger Waters |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|