XML Feeds

.

[jitter] Re: [Bug report] Jitter texture disparition

Vincent Goudard programmeur at pucemuse.com
Mon Feb 4 00:25:29 MST 2008


Otto: I do use automatic for *all* jitter objects I use ... except 
jit.gl.texture, which I assumed
to be "banged" every time a GL object using one of them is banged itself....
Maybe I'm wrong on this point... could any Joshua confirm this? :)
I'll try some test on stripped patch anyway on this point..
Still, is it not a strange thing that layers change index while 
recomputing the same overall GL scene, no?

Now, I understand from what you say, there could be some recalculation 
of the GL scene
when changing window size, that may move used the jit.gl.texture to a 
postponed position
in the layers.
I admit I usually do not bang the gl.texture.

Derrick Giscloux :
> 2) since rendering order theorie is not so obvious some clarification are required :
> - how to render in proper order (I mean with gl's) ?
1. Bang the objects to be rendered
2. Bang the render
>  
> - how (and why) to use the @automatic 0 ? (nothing about this attribute in jitter tutorial) 
>   
How : simply add attribut "@automatic 0" in the object box at creation, 
or turn it on with "automatic 0/1" message sent to any GL object.
Why : (at least two major reasons, but there's more to this) :
    -- it's no use to compute GL objects you do not want to render, 
which might be the case in any complex patch
    -- it allows to compute several scene with objects rendered at 
different position in on single render tick
        (e.g.:  to render the 4 wheels of a car, simply define 1 wheel 
object with, say, a jit.gl.sketch. Then bang the jit.gl.sketch 4 times 
updating the position
of the wheel for the 4 of them, *then*, bang the render to display the 4 
wheels at one)

> - Does a patch with several gl objects need several renders ?
>   
No, given the answer to the previous question
> - and finally what are the rules with rendering ? (since I'm personally not an open gl specialist or video engineer) 
>   
Be super optimized.
I personnally still hope I can avoid the metro object... but that 
quickly turns to a real challenge ;)
There are some essential ideas which you can find in Andrew ' jitter 
recipes, plus some patch from Mr vade in the forum archive which are 
good starting point.
good luck

vincent
www.pucemuse.com


More information about the jitter mailing list