[Plugin] Raytracer
-
@panga said:
@unknownuser said:
So, would it be like sub-dividing a sphere and shoot a ray for every segment?
This could be a good solution with a sphere that surrounds the whole model.
I didn't mean to put an actual sphere in the model, just how one would determine which of the infinite possible directions the rays should be shot. What I meant by the sphere was they the ray's be evenly distributed based on how many rays one shoot.
-
@unknownuser said:
I didn't mean to put an actual sphere in the model, just how one would determine which of the infinite possible directions the rays should be shot. What I meant by the sphere was they the ray's be evenly distributed based on how many rays one shoot.
Yes I understood you. And controlling the number of segments/faces of the "virtual sphere" could help to have more or less rays. Whatever you can do for that, thanks in advance.
EDIT : In fact, what could be really nice is a "sun" or a omnilight that I could place wherever I want in my SU model, and with shadows activated I could see the illuminated parts of my models and the dark ones...
-
I'm writing this down in the todo list. Will see what I can do.
-
hmm.... I'm not quite sure how to calculate the rays to shoot. Been all too long since I've done math like this...
-
My knowledge in maths are very limited...so I'll not be able to help you on that. Anyway, thanks for giving it a try !!
-
Found a solution!
-
I had no doubt about that !!
-
When I say I I mean, someone smarter than me helped me out.
-
Whatever if someone helped you or not, you were the one looking for the solution...so you found it !
-
sir Thomthom,
thank you very much for this plugin.
what a coincidence! This day I've been thinking of raytracing and what is its concept. I think I'll understand this once I use your plugin and of course read some notes about it. -
grrrr.... SU8 has even more troublesome bug with the
raytest
method. I'm struggling to find a workaround.
I got the Spray Ray working in SU7 - but SU8 is being a PITA. -
Version 1.1.0
- Requires TT_Lib2 (v2.3.0)
- Trace Spray Ray.
- Bugfixes.
Note: SU8 does not process rays properly and the results are not reliable!
I've been unable to work out a successful workaround. -
Kind-of like a cob-web... if the CLines was replaced with catenary curves...
Wiki uses cob-webs as an example for catenary curves http://en.wikipedia.org/wiki/Catenary
I have no idea what the usage would be, other than for Halloween... but... cool...
-
Thanks Thomthom, I'll try it. Hope you can find a way to make it work under SU8 later.
EDIT :
Hi Thomthom,
I made a Test under SU8, and it Works pretty well. Until now, I test it with a max of 10 000 rays, and it takes about 15 seconds to calculate, so It's pretty fast. The only thing is it seems that some directions are ignored by rays, see on the picture below :
Whatever, It's already a really good tool for me. I'm thinking of other options, but I'll do some tests before talking about...See u and thanks again.
-
Damned I have missed this hidden collection under a falacious title
-
@panga said:
EDIT :
Hi Thomthom,
I made a Test under SU8, and it Works pretty well. Until now, I test it with a max of 10 000 rays, and it takes about 15 seconds to calculate, so It's pretty fast. The only thing is it seems that some directions are ignored by rays, see on the picture below :
Sorry for the last reply - but I never noticed this edit. (Don't think edits marks the topic as unread.)
As mentioned in the first post, SU8 has a nasty bug in the raytracer. Only thing one can do is wait for Google to fix it and release a new version. -
Hi Thom
I am getting a few weird results with the drop component option...
I thought I would try an test with a series of cars on a slope to simulate a parking lot scenrio.??? There are some non conformers
Test file attached.
Cheers
Dave
-
Drop by Bounds, right?
I see the car crashes as well...
-
Yup...
Maybe Magneto is in the area...
-
Version 1.1.1
- Fixed a bug in Drop by Bounds that caused chaos when objects where dropped.
Advertisement