[Plugin] RayTrace & RaySpray
-
AdamB, That's right about sound, then again (I am guessing that) if you have a mirror, with a thick exposed glass edge, with refraction, the behavior of light too is not that simple.
Which brings to mind, the question of how much accuracy do we need? In one of my renderings, the biggest component is a pair of ladies shoes that I downloaded from Google. Nice touch in the rendering, but it was bigger then the architectural model itself. The other day someone posted a simple looking room with lots of computers, (maybe 50+) complaining about the size of his model. I'll bet that the keyboard keys were individually built with graphics, molded corners, etc. What did the renderer have to do to get that image out?
We need a program that will simplify mesh models of small things that are drawn with great care and accuracy. But guess that is off post:-), sorry.
-
wow, good work TIG,
I was just wondering this morning if there is such a tool available in sketchup.
and it exists, created just one day ago!!.what's the coincidense
great tool for me as a student, who doesnt have such expensive software to do raytrace/spray modelling. -
@honoluludesktop said:
AdamB, That's right about sound, then again (I am guessing that) if you have a mirror, with a thick exposed glass edge, with refraction, the behavior of light too is not that simple.
But thats the point. The wavelength of visible light is so small compared to the thickness of the mirror, the interference between the bounce from the back of the mirror and front is effectively zero.
Unless you have very thin mirrors!
[OT: Few years back I lifted the hinged door off an old french clothes cupboard to do something. The door had a mirror on it and must have weighed 50-60Kg. I staggered over to the bed and dropped it on the bedcovers and noticed the mirror had tiny flecks of mercury oozing out. The whole mirror was constructed by sandwiching mercury between glass!]
-
@honoluludesktop said:
We need a program that will simplify mesh models of small things that are drawn with great care and accuracy. But guess that is off post:-), sorry.
For many many years people have struggled with this "level-of-detail" issue. There has been some great work done by Hugues Hoppe etc but ultimately its difficult to get satisfactory results because the shapes have "meaning" to us that the computer program doing the reduction simply don't understand.
In some sense, we've got this all back to front. We should be describing our models with the minimum information and then refine that description to get more details. Certainly when you get to the point of having sub-pixel polygons, you have to question whether this is such a great representation.
-
This RayTrace tool etc IS a very basic tool - typically it's for use in placing elements, like acoustic reflectors in ceiling etc, at something like the correct angle to get the reflected sound to the right places.
You'd only use it in your early volumetric designs - once the design develop I'm sure specialist acoustic design tools will be used to fine-tune the details... -
@adamb said:
In some sense, we've got this all back to front. We should be describing our models with the minimum information and then refine that description to get more details. Certainly when you get to the point of having sub-pixel polygons, you have to question whether this is such a great representation.
hmm... a plugins to analyse the model from the current viewport and highlight the ones with many sub-pixel polygons... or is there one out there already?
-
OK, I can visualize it now, the TV detective pulls out his laptop, fires up Sketchup and the ray trace plugin, and determine the bullets fight path, and solves another crime, all thanks to TIG and his plugin.
Ken
-
@adamb said:
But thats the point. The wavelength of visible light is so small compared to the thickness of the mirror, the interference between the bounce from the back of the mirror and front is effectively zero.
Unless you have very thin mirrors!
Sounds like I got it backwards
How about a render program that lets the user adjust select components (like keyboards in a large office) to reduce render times?
-
Cool plugin TIG !
I'll surely use it to explain to my students how light bounces when hiting objects and so on
I cannot see the usual red-green-black-blue-cyan colored dots when snapping points for postionning the start and end points. Is this normal ? -
@didier bur said:
Cool plugin TIG !
I'll surely use it to explain to my students how light bounces when hitting objects and so on
I cannot see the usual red-green-black-blue-cyan colored dots when snapping points for postioning the start and end points. Is this normal ?I have probably not set 'inferencing' properly in the tool code !
I did it in a rush...
I'll look at it.......... -
I give you 1 hour to correct the problem. And please DON'T GO TO SLEEP. HEAR ME ?
-
TIG
Thanks for a fun plugin. I know other will need this, and I know sometime in the future I will be able to find a good use for this plugin.
On a side note, my version just keep bouncing the ole rays until it doesn't hit anything. I was playing with it in a box. Selecting the "NO" bottom does not stop the rays.
Just passing this on. If I am the only one with this problem, I can live with it.
Again, thanks for plugin. Can't wait until I find some usual project for this plugin.
Ken
-
Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=235227#p235227
The bouncing now stops on 'No' - stupid typo
Inferencing improved.
[Sorry it took so long - but I do have to eat etc... ] -
TIG
thx
Can you make a icon for this plugin -
Holy crap - THANK YOU! I've been needing something like this for a while but don't have the time to learn enough Ruby to make it happen. You ROCK!
-
I cannot find any link to this. It would be really handy to me for roughing up mirror lenses. Where is link
-
@lincol said:
I cannot find any link to this. It would be really handy to me for roughing up mirror lenses. Where is link
First post on the first page of this thread.
-
thanks - I didnt have proper access - something to do with new subscription
lin -
This is really interesting. I look forward to sifting through the code.
As a sound and video designer, I can say this could be very handy. It does however have some issues for practical use as it stands.
When using spray, all sources must be assumed as omnidirectional. It would great to be able to show just a 50 degree spray and specify the focus. As it stands you have to show spray as "flat", i.e. no tilt in the XYZ axes. This prevents you from, say, angling a speaker down. I do use more advanced sound software like EASE for this normally, but I think Sketchup could work better for showing raytracing to a client than EASE.
In trace mode, it would be cool to be able to just show source and direction and the first reflection angle is calculated when it encounters a face. I have coverage angles I use in Sketchup and used them to illustrate. Right now, if I click on the origin, then the end of the coverage line, it calculates the reflection off the end of the line, not off the face it's aimed at.
Just some thoughts if you keep modifying the script. Thanks for the awesome work.
-
raytrace test.skprayspray test.skpThis is really interesting. I look forward to sifting through the code.
As a sound and video designer, I can say this could be very handy. It does however have some issues for practical use as it stands.
When using spray, all sources must be assumed as omnidirectional. It would great to be able to show just a 50 degree spray and specify the focus. As it stands you have to show spray as "flat", i.e. no tilt in the XYZ axes. This prevents you from, say, angling a speaker down. I do use more advanced sound software like EASE for this normally, but I think Sketchup could work better for showing raytracing to a client than EASE.
In trace mode, it would be cool to be able to just show source and direction and the first reflection angle is calculated when it encounters a face. I have coverage angles I use in Sketchup and used them to illustrate. Right now, if I click on the origin, then the end of the coverage line, it calculates the reflection off the end of the line, not off the face it's aimed at.
Just some thoughts if you keep modifying the script. Thanks for the awesome work.
Advertisement