near/far clip per object?
is there a way to use near and far clip for single objects and not the whole scene? Im making something that looks really great with the clip settings of the render object really tight together, but I want to be able to add another piece of geometry in that isn't affected by the clip planes.
Is this possible?
check out the glclipplane message to gl.sketch.
should do what you want.
Sorry, I had been confused about the functionality of the drawmatrix command, disregard this post.
_______
But what if my geometry is heavily based on something I'm pretty sure is not possible with sketch?? I am using gridshapes with matrixoutput 1 being distorted by a BFG and then going into a mesh... Is it possible to do this with sketch? I didn't think sketch had the ability to do matrixoutput.. or is there a way for me to run my mesh into sketch somehow, and then do the clipping inside there? The other objects I am working with are isosurf, would those be able to go into sketch somehow?
I see that I can run named matrix objects into sketch, but it seems like they loose some of their interactivity.. like they become sortof a "sample" of where they are at when they are drawn to sketch.. I guess Id just have to reset and draw the shape each frame.. Ill try it out.
Axiom-Crux wrote on Sat, 28 February 2009 13:38
I am using gridshapes with matrixoutput 1 being distorted by a BFG and then going into a mesh.
This isn't about your question, just about this sentence. I've done this too and I just have to say it's *amazing* for visualizations, for example sine functions rolling through the mesh like water waves. If anyone's looking to create visuals like this, the above plan works incredibly well... or an alternative is to just use the jit.bfg directly to jit.gl.mesh (especially good if the jit.bfg has an auto-offset driven by a counter so that it "scrolls" along). Think sine waves (in this case, actually "hills") rendered in 3D which affect a plane, gradually rolling through the surface, which of course can have video on it as a texture. beautiful!
Hey SHHHHHHHH quiet dont give out the secret master technique!!!
secret for noone
I was just joking around, of course its an obvious combo,, but it seems like I haven't seen anyone doing it...
It's an old trick, checkout Whitney brothers jit.bfg examples, from the sixties:)
(bfg at ~2:20)
I guess you guys are on a different tip with the BFG then I am, heres some of my bfg pics